blockFan

Declaration of an FMU that exports a fan

Extends from Buildings.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 fluid flow component. The FMU has an instance of Buildings.Fluid.Movers.FlowControlled_dp.

See Buildings.Fluid.FMI.UsersGuide for why there is no model that exports Buildings.Fluid.Movers.FlowControlled_m_flow.

Parameters

TypeNameDefaultDescription
Booleanuse_p_in (from PartialTwoPort)true= true to use a pressure from connector, false to output Medium.p_default
Modelica.Units.SI.MassFlowRatem_flow_nominal0.01Nominal mass flow rate
Modelica.Units.SI.PressureDifferencedp_nominal500Pressure drop at nominal mass flow rate
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)true= true to allow flow reversal, false restricts to design direction (inlet -> outlet)

Connectors

TypeNameDefaultDescription
Interfaces.Inletinlet (from PartialTwoPort)Fluid inlet
Interfaces.Outletoutlet (from PartialTwoPort)Fluid outlet
Modelica.Blocks.Interfaces.RealInputdp_inPrescribed pressure rise

Components

TypeNameDefaultDescription
Buildings.Fluid.Interfaces.PartialTwoPortcom (from ReplaceableTwoPort)
Modelica.Blocks.Sources.RealExpressiondpCom (from ReplaceableTwoPort)Pressure drop of the component

Revisions

  • April 9, 2024, by Hongxiang Fu:
    Specified nominalValuesDefineDefaultPressureCurve=true in the mover component to suppress a warning. This is for #3819.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • November 3, 2014 by Michael Wetter:
    First implementation.