blockCLevel1b

General System Dynamics controlling level with no inflow
Diagram of CLevel1b

Information

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

Once the level reaches its minimum allowed value, it sends a Boolean signal to its outflow rate element to tell it to stop demanding more stuff.

Parameters

TypeNameDefaultDescription
Realx00Initial condition
RealminLevel0Smallest allowed value of stock

Connectors

TypeNameDefaultDescription
SystemDynamics.Interfaces.MassInPortu1Outflow 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.Math.GainGain1
Modelica.Blocks.Logical.GreaterThresholdGreaterThreshold1