modelFlowControlled_m_flow

Fan or pump with ideally controlled mass flow rate as input signal

Extends from AixLib.Fluid.Movers.BaseClasses.PartialFlowMachine.

Information

This model describes a fan or pump with prescribed mass flow rate.

Note that if the model operates with a head that is larger than dpMax, which by default is two times larger than the largest head declared in eff.per.pressure.dp, the simulation will stop with an error message. This guards against unreasonably high pressure drops and electrical power use, which can happen if the model is forcing mass flow rate through a closed actuator.

See the User's Guide for more information.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRateconstantMassFlowRatem_flow_nominalConstant pump mass flow rate, used when inputType=Constant
Modelica.Units.SI.MassFlowRatemassFlowRatesm_flow_nominal*{per.speeds[i]/per.speeds[end] for i in 1:size(per.speeds, 1)}Vector of mass flow rate set points, used when inputType=Stage
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominalNominal mass flow rate
Modelica.Units.SI.PressureDifferencedp_nominalif rho_default < 500 then 500 else 10000Nominal pressure raise, used for default pressure curve if not specified in record per
Dynamics › Motor speed
Modelica.Units.SI.MassFlowRatem_flow_start0Initial value of mass flow rate
Advanced
Modelica.Units.SI.PressuredpMax2*max(eff.per.pressure.dp)Maximum pressure allowed to operate the model, if exceeded, the simulation stops with an error

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputm_flow_inPrescribed mass flow rate
Modelica.Blocks.Interfaces.RealOutputm_flow_actualActual mass flow rate

Revisions

  • August 26, 2024, by Michael Wetter:
    Implemented linear dynamics for change in motor speed.
    This is for Buildings, #3965 and for IBPSA, #1926.
  • March 1, 2023, by Hongxiang Fu:
    Refactored the model with a new declaration for m_flow_nominal.
    This is for #1705.
  • April 27, 2022, by Hongxiang Fu:
    Replaced not use_powerCharacteristic with the enumerations AixLib.Fluid.Movers.BaseClasses.Types.HydraulicEfficiencyMethod and AixLib.Fluid.Movers.BaseClasses.Types.MotorEfficiencyMethod.
    This is for #2668.
  • November 15, 2022, by Michael Wetter:
    Added assertion if model operates with a pressure higher than dpMax.
    This is for #1659.
  • March 7, 2022, by Michael Wetter:
    Set final massDynamics=energyDynamics.
    This is for #1542.
  • June 17, 2021, by Michael Wetter:
    Changed implementation of the filter.
    Removed parameter y_start which is not used because m_flow_start is used.
    This is for #1498.
  • February 21, 2020, by Michael Wetter:
    Changed icon to display its operating stage.
    This is for #1294.
  • March 24, 2017, by Michael Wetter:
    Renamed filteredSpeed to use_inputFilter.
    This is for #665.
  • November 10, 2016, by Michael Wetter:
    Changed default values for massFlowRates.
    This is for #583.
  • March 2, 2016, by Filip Jorissen:
    Refactored model such that it directly extends PartialFlowMachine. This is for #417.
  • April 2, 2015, by Filip Jorissen:
    Added code for supporting stage input and constant input.
  • January 6, 2015, by Michael Wetter:
    Revised model for OpenModelica.
  • February 14, 2012, by Michael Wetter:
    Added filter for start-up and shut-down transient.
  • May 25, 2011, by Michael Wetter:
    Revised implementation of energy balance to avoid having to use conditionally removed models.
  • July 27, 2010, by Michael Wetter:
    Redesigned model to fix bug in medium balance.
  • March 24, 2010, by Michael Wetter:
    Revised implementation to allow zero flow rate.
  • October 1, 2009 by Michael Wetter:
    Model added to the AixLib library.