modelCInflow
Controlled inflow element
Information
This is the System Dynamics controlled restricted Inflow element, whereby the rate itself is determined by a single variable in its laundry list. This element is a restricted rate element with the additional feature that the downstream level can control the flow by telling it that it is full. This is accomplished by a Boolean control signal from the downstream level to the rate element.The controlled inflow element should e.g. be used to model the access to a parking garage. Additional cars are only admitted as long as the garage is not full.
The model contains a dissipative loss of enthalpy (but not mass) to the environment. Mass is always conserved. By attaching an R element to a 1 junction, we guarantee that the mass flow is not affected at all by the dissipative term. Only enthalpy is being dissipated.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | inf | Modelica.Constants.inf | |
| Real | minFlow | 0 | Smallest allowed flow |
| Real | maxFlow | inf | Largest allowed flow |
| Real | R0 | 0 | Specific enthalpy of dissipation |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Signal inflow variable | |
| Modelica.Blocks.Interfaces.BooleanInput | s | Control signal | |
| BondLib.Interfaces.BondCon | BondCon1 | Mass and power flow | |
| BondLib.Interfaces.BondCon | BondCon2 | Mass and power flow |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | rate | ||
| Modelica.Blocks.Nonlinear.Limiter | Limiter1 | ||
| Modelica.Blocks.Logical.Switch | Switch1 | ||
| Modelica.Blocks.Sources.Constant | Const1 | ||
| Bonds.eBond | B1 | ||
| Bonds.eBond | B3 | ||
| Bonds.fBond | B2 | ||
| BondLib.Sources.mSf | mSf | Flow source | |
| Junctions.J1p4 | j1p4_1 | ||
| Bonds.eBond | B4 | ||
| Passive.R | R1 |