blockLevel2a
General System Dynamics level with two inflows
Information
This is the general continuous Level model of the System Dynamics methodology with two inflows 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 | First inflow variable | |
| SystemDynamics.Interfaces.MassInPort | u2 | Second inflow variable | |
| SystemDynamics.Interfaces.MassInPort | u3 | 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 |