Package Modelica.​Fluid.​Examples.​ControlledTankSystem.​Utilities
Icon for utility packages

Information

This icon indicates a package containing utility classes.

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

Package Contents

NameDescription
NormalOperationNormal operation of tank system (button start pressed)
RadioButtonButton that sets its output to true when pressed and is reset when an element of 'reset' becomes true
TankControllerController for tank system

Model Modelica.​Fluid.​Examples.​ControlledTankSystem.​Utilities.​TankController
Controller for tank system

Extends from Modelica.​StateGraph.​Interfaces.​PartialStateGraphIcon (Icon for a StateGraph object).

Parameters

TypeNameDefaultDescription
HeightmaxLevel Fill level of tank 1
HeightminLevel Lowest level of tank 1 and 2
TimewaitTime Wait time, between operations

Connectors

TypeNameDescription
input BooleanInputstart 
input BooleanInputstop 
input BooleanInputshut 
input RealInputlevel1 
input RealInputlevel2 
output BooleanOutputvalve1 
output BooleanOutputvalve2 
output BooleanOutputvalve3 

Model Modelica.​Fluid.​Examples.​ControlledTankSystem.​Utilities.​NormalOperation
Normal operation of tank system (button start pressed)

Extends from Modelica.​StateGraph.​PartialCompositeStep (Superclass of a subgraph, i.e., a composite step that has internally a StateGraph).

Parameters

TypeNameDefaultDescription
IntegernSuspend1Number of suspend ports
IntegernResume1Number of resume ports
HeightmaxLevel Fill level of tank 1
HeightminLevel Lowest level of tank 1 and 2
TimewaitTime Wait time between operations

Connectors

TypeNameDescription
Step_ininPort 
Step_outoutPort 
CompositeStep_suspendsuspend[nSuspend] 
CompositeStep_resumeresume[nResume] 
input RealInputlevel1 

Block Modelica.​Fluid.​Examples.​ControlledTankSystem.​Utilities.​RadioButton
Button that sets its output to true when pressed and is reset when an element of 'reset' becomes true

Parameters

TypeNameDefaultDescription
TimebuttonTimeTable[:] Time instants where button is pressed

Inputs

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

Connectors

TypeNameDescription
output BooleanOutputon