blockHumidifier_u
Declaration of an FMU that exports an ideal humidifier
Extends from IBPSA.Fluid.FMI.ExportContainers.ReplaceableTwoPort (Container to export thermofluid flow models with two ports as an FMU).
Information
This example demonstrates how to export an FMU with a humidifier that takes as an input signal the normalized mass flow rate of water that will be added to the medium. The FMU has an instance of IBPSA.Fluid.Humidifiers.Humidifier_u.
The mass dynamics has been set to
massDynamics=Modelica.Fluid.Types.Dynamics.SteadyState.
See the
user's guide
for the rationale.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_p_in (from PartialTwoPort) | true | = true to use a pressure from connector, false to output Medium.p_default |
| Modelica.SIunits.MassFlowRate | m_flow_nominal | 0.01 | Nominal mass flow rate |
| Modelica.SIunits.PressureDifference | dp_nominal | 0 | Pressure |
| Modelica.SIunits.MassFlowRate | mWat_flow_nominal | 0.01*0.005 | Water mass flow rate at u=1, positive for humidification |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = true to allow flow reversal, false restricts to design direction (inlet -> outlet) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Inlet | inlet (from PartialTwoPort) | Fluid inlet | |
| Interfaces.Outlet | outlet (from PartialTwoPort) | Fluid outlet | |
| Modelica.Blocks.Interfaces.RealInput | u | Control input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| IBPSA.Fluid.Interfaces.PartialTwoPort | com (from ReplaceableTwoPort) | ||
| Modelica.Blocks.Sources.RealExpression | dpCom (from ReplaceableTwoPort) | Pressure drop of the component |
Revisions
-
April 12, 2017, by Michael Wetter:
Removed temperature that is no longer needed.
This is for issue Buildings #704. -
January 22, 2016, by Michael Wetter:
Corrected type declaration of pressure difference. This is for #404. -
April 29, 2015 by Michael Wetter:
First implementation.