blockCLevel1a

General System Dynamics controlling level with no outflow
Diagram of CLevel1a

Information

This is the continuous controlling Level model of the System Dynamics methodology with a single inflow and no outflow. It computes the level by integrating over the inflow rate.

Once the level reaches its maximum allowed value, it sends a Boolean signal to its inflow rate element to tell it to stop sending more stuff.

Parameters

TypeNameDefaultDescription
RealinfModelica.Constants.inf
Realx00Initial condition
RealmaxLevelinfLargest allowed value of stock

Connectors

TypeNameDefaultDescription
SystemDynamics.Interfaces.MassInPortu1Inflow variable
SystemDynamics.Interfaces.MassOutPortyState variable
SystemDynamics.Interfaces.MassOutPorty1State variable
SystemDynamics.Interfaces.MassOutPorty2State variable
SystemDynamics.Interfaces.MassOutPorty3State variable
Modelica.Blocks.Interfaces.BooleanOutputsControl signal

Components

TypeNameDefaultDescription
ReallevelContinuous state variable
Modelica.Blocks.Continuous.IntegratorIntegrator1
Modelica.Blocks.Logical.LessThresholdLessThreshold1