modelPartialSource_m_flow
Partial source with prescribed flow rate
Extends from IBPSA.Fluid.Sources.BaseClasses.PartialSource.
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 |
|---|---|---|---|
| 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| 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.