blockLevel2b
General System Dynamics level with two outflows
Information
This is the general continuous Level model of the System Dynamics methodology with a single inflow 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 | Inflow variable | |
| SystemDynamics.Interfaces.MassInPort | u2 | First outflow variable | |
| SystemDynamics.Interfaces.MassInPort | u3 | Second 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | level | Continuous state variable | |
| Modelica.Blocks.Continuous.Integrator | Integrator1 | ||
| Modelica.Blocks.Math.Add3 | Add1 |