modelPartialSource_m_flow
Partial source with prescribed flow rate
Extends from IBPSA.Fluid.Sources.BaseClasses.PartialSource (Partial component source with one fluid connector).
Information
Partial model that defines the sum of
ports.m_flow using an optional input for
the total mass flow rate.
All port pressures are assumed equal.
Otherwise the parameter value is used.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts (from PartialSource) | 0 | Number of ports |
| Advanced | |||
| Boolean | verifyInputs (from PartialSource) | false | Set to true to stop the simulation with an error if the medium temperature is outside its allowable range |
| Conditional inputs | |||
| Boolean | use_m_flow_in | false | Get the mass flow rate from the input connector |
| Fixed inputs | |||
| Modelica.SIunits.MassFlowRate | m_flow | 0 | Fixed mass flow rate going out of the fluid port |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts] | ports (from PartialSource) | ||
| Modelica.Blocks.Interfaces.RealInput | m_flow_in | Prescribed mass flow rate |
Revisions
-
February 2nd, 2018 by Filip Jorissen
Initial version for refactoring inputs of sources. See #882.