blockLevel3
General System Dynamics level with two inflows and two outflows
Information
This is the general continuous Level model of the System Dynamics methodology with two inflows and two outflows. 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 | First inflow variable | |
| SystemDynamics.Interfaces.MassInPort | u2 | Second inflow variable | |
| SystemDynamics.Interfaces.MassInPort | u3 | First outflow variable | |
| SystemDynamics.Interfaces.MassInPort | u4 | Second outflow variable | |
| SystemDynamics.Interfaces.MassOutPort | y | State variable | |
| SystemDynamics.Interfaces.MassOutPort | y1 | State variable | |
| SystemDynamics.Interfaces.MassOutPort | y2 | State variable |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | level | Continuous state variable | |
| Modelica.Blocks.Continuous.Integrator | Integrator1 | ||
| Modelica.Blocks.Math.Add3 | Add1 | ||
| Modelica.Blocks.Math.Add | Add2 |