blockLevel
General System Dynamics level
Information
This is the general continuous 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.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x0 | 0 | Initial condition |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| SystemDynamics.Interfaces.MassInPort | u1 | Inflow variable | |
| SystemDynamics.Interfaces.MassInPort | u2 | Outflow variable | |
| SystemDynamics.Interfaces.MassOutPort | y | State variable | |
| SystemDynamics.Interfaces.MassOutPort | y1 | State variable | |
| SystemDynamics.Interfaces.MassOutPort | y2 | State variable | |
| SystemDynamics.Interfaces.MassOutPort | y3 | State variable | |
| SystemDynamics.Interfaces.MassOutPort | y4 | State variable |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | level | Continuous state variable | |
| Modelica.Blocks.Math.Add | Add1 | ||
| Modelica.Blocks.Continuous.Integrator | Integrator1 |