Package Modelica.​StateGraph.​Examples.​Utilities
Utility components for the examples

Information

This icon indicates a package containing utility classes.

Extends from Modelica.​Icons.​UtilitiesPackage (Icon for utility packages).

Package Contents

NameDescription
CompositeStepState machine demonstrating a composite step (used in StateGraph.Examples.ShowCompositeStep)
CompositeStep1Composite step used to demonstrate exceptions (in StateGraph.Examples.ShowExceptions)
CompositeStep2Composite step used to demonstrate exceptions (in StateGraph.Examples.ShowExceptions)
Inflow1Inflow connector (this is a copy from Isolde Dressler's master thesis project)
Inflow2Inflow connector (this is a copy from Isolde Dressler's master thesis project)
MakeProductState machine defining the time instants when to fill or empty a tank
Outflow1Outflow connector (this is a copy from Isolde Dressler's master thesis project)
Outflow2Outflow connector (this is a copy from Isolde Dressler's master thesis project)
SourceSimple source model (this is a copy from Isolde Dressler's master thesis project)
TankSimple tank model (this is a copy from Isolde Dressler's master thesis project)
TankControllerController for tank system
valveSimple valve model (this is a copy from Isolde Dressler's master thesis project)

Connector Modelica.​StateGraph.​Examples.​Utilities.​Inflow1
Inflow connector (this is a copy from Isolde Dressler's master thesis project)

Fields

TypeNameDescription
input VolumeFlowRateFiinflow

Connector Modelica.​StateGraph.​Examples.​Utilities.​Inflow2
Inflow connector (this is a copy from Isolde Dressler's master thesis project)

Fields

TypeNameDescription
output VolumeFlowRateFiinflow

Connector Modelica.​StateGraph.​Examples.​Utilities.​Outflow1
Outflow connector (this is a copy from Isolde Dressler's master thesis project)

Fields

TypeNameDescription
output VolumeFlowRateFooutflow
input Booleanopenvalve open

Connector Modelica.​StateGraph.​Examples.​Utilities.​Outflow2
Outflow connector (this is a copy from Isolde Dressler's master thesis project)

Fields

TypeNameDescription
input VolumeFlowRateFooutflow
output Booleanopenvalve open

Model Modelica.​StateGraph.​Examples.​Utilities.​valve
Simple valve model (this is a copy from Isolde Dressler's master thesis project)

Connectors

TypeNameDescription
input BooleanInputvalveControl 
Inflow2inflow1 
Outflow2outflow1 

Model Modelica.​StateGraph.​Examples.​Utilities.​Tank
Simple tank model (this is a copy from Isolde Dressler's master thesis project)

Parameters

TypeNameDefaultDescription
RealA1Ground area of tank in m^2
Reala0.2Area of drain hole in m^2
Realhmax1Max height of tank in m

Connectors

TypeNameDescription
output RealOutputlevelSensor 
Inflow1inflow1 
Outflow1outflow1 

Model Modelica.​StateGraph.​Examples.​Utilities.​Source
Simple source model (this is a copy from Isolde Dressler's master thesis project)

Parameters

TypeNameDefaultDescription
Realmaxflow1maximal flow out of source

Connectors

TypeNameDescription
Outflow1outflow1