Package Modelica.​StateGraph.​Temporary
Components that will be provided by other libraries in the future

Information

This library is just temporarily present. The components of this library will be present in the future in the Modelica standard library (with the new block connectors) and in the Interaction library .

Extends from Modelica.​Icons.​Package (Icon for standard packages) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Package Contents

NameDescription
allTrueReturns true, if all elements of the Boolean input vector are true
anyTrueReturns true, if at least on element of the Boolean input vector is true
IndicatorLampDynamically show Boolean input signal (false/true = white/green color)
NumericValueShow value of Real input signal dynamically
RadioButtonButton that sets its output to true when pressed and is reset when an element of 'reset' becomes true
SetRealParameterDefine Real parameter (GUI not yet satisfactory)

Type Modelica.​StateGraph.​Temporary.​SetRealParameter
Define Real parameter (GUI not yet satisfactory)

Information

This is an experimental component to define a Real parameter in the diagram layer. The idea is to drag the icon from the package browser into the diagram layer. Then a window pops up in which the properties of this parameter can be defined (such as the default value). The name and default value of the parameter are displayed in the icon of this component. Whenever clicking on it, the dialog to change parameter settings pops-up.

In Dymola, the described property is not fully available. Currently, when dragging this component in the diagram layer, a dialog pops up in which the properties of the parameter can be defined. However, afterwards, the parameter is not visible in the diagram layer. Making it visible requires to go into the text layer and add an annotation with the component size, resulting for example in:

  parameter StateGraph.Temporary.SetRealParameter name = 2
                       annotation(Placement(transformation(extent={{-10,-10},{10,10}})));

This change makes the parameter icon visible in the diagram layer. However, clicking on this icon has no effect. Changing parameter properties, such as the default value, still requires to go in to the text layer.

Extends from Real.

Attributes

NameValue
min-Modelica.Constants.inf
maxModelica.Constants.inf
start0.

Function Modelica.​StateGraph.​Temporary.​anyTrue
Returns true, if at least on element of the Boolean input vector is true

Information

Extends from Modelica.​Icons.​Function (Icon for functions) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

TypeNameDescription
Booleanb[:] 

Outputs

TypeNameDescription
Booleanresult 

Function Modelica.​StateGraph.​Temporary.​allTrue
Returns true, if all elements of the Boolean input vector are true

Information

Extends from Modelica.​Icons.​Function (Icon for functions) and Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Inputs

TypeNameDescription
Booleanb[:] 

Outputs

TypeNameDescription
Booleanresult 

Block Modelica.​StateGraph.​Temporary.​RadioButton
Button that sets its output to true when pressed and is reset when an element of 'reset' becomes true

Information

This partial class is intended to provide a default icon for an obsolete model that will be removed from the corresponding library in a future release.

Extends from Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Parameters

TypeNameDefaultDescription
TimebuttonTimeTable[:]{0}Time instants where button is pressed and released

Inputs

TypeNameDefaultDescription
Booleanreset[:]{false}Reset button to false, if an element of reset becomes true

Connectors

TypeNameDescription
output BooleanOutputon 

Model Modelica.​StateGraph.​Temporary.​NumericValue
Show value of Real input signal dynamically

Information

This partial class is intended to provide a default icon for an obsolete model that will be removed from the corresponding library in a future release.

Extends from Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Parameters

TypeNameDefaultDescription
Integerprecision3Number of significant digits to be shown
BooleanhideConnectorfalse= true, if connector is not shown in the dynamic object diagram

Connectors

TypeNameDescription
input RealInputValueReal value to be shown in icon

Model Modelica.​StateGraph.​Temporary.​IndicatorLamp
Dynamically show Boolean input signal (false/true = white/green color)

Information

This partial class is intended to provide a default icon for an obsolete model that will be removed from the corresponding library in a future release.

Extends from Modelica.​Icons.​ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Connectors

TypeNameDescription
input BooleanInputu