blockHeaterCooler_u

Declaration of an FMU that exports an ideal heater or cooler with prescribed heat flow rate

Extends from IDEAS.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 IDEAS.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

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flow_nominal0.01Nominal mass flow rate
Modelica.Units.SI.PressureDifferencedp_nominal0Pressure
Modelica.Units.SI.HeatFlowRateQ_flow_nominal100Heat flow rate at u=1, positive for heating

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputuControl input

Revisions

  • March 7, 2022, by Michael Wetter:
    Removed massDynamics.
    This is for #1542.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • November 3, 2014 by Michael Wetter:
    First implementation.