blockHeaterCooler_u
Declaration of an FMU that exports an ideal heater or cooler with prescribed heat flow rate
Extends from AixLib.Fluid.FMI.ExportContainers.ReplaceableTwoPort.
Information
This example demonstrates how to export an FMU with a heater that takes as an input signal the normalized heat flow rate. The FMU has an instance of AixLib.Fluid.HeatExchangers.HeaterCooler_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 |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | 0.01 | Nominal mass flow rate |
| Modelica.Units.SI.PressureDifference | dp_nominal | 0 | Pressure |
| Modelica.Units.SI.HeatFlowRate | Q_flow_nominal | 100 | Heat flow rate at u=1, positive for heating |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Control input |