
blockCLevel
General System Dynamics controlling level
Information
This is the continuous controlling Level model of the System Dynamics methodology with a single inflow and a single outflow. It computes the level by integrating over the difference between inflow and outflow rates.
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. Once it reaches its minimum allowed value, it sends a Boolean signal to its outflow rate element to tell it to stop demanding more stuff.
Parameters
| Type | Name | Default | Description |
| Real | inf | Modelica.Constants.inf | |
| Real | x0 | 0 | Initial condition |
| Real | minLevel | 0 | Smallest allowed value of stock |
| Real | maxLevel | inf | Largest allowed value of stock |