modelPartialOneWayFlowElement

Partial model for flow resistance with one-way flow

Extends from AixLib.Fluid.Interfaces.PartialTwoPortInterface, AixLib.Airflow.Multizone.BaseClasses.ErrorControl.

Information

This partial model is used to model one way flow-elements. It holds the conservation equations and should be extended by definition of one of the following variables:

m_flow = mass flow rate trough the component

or

V_flow = volume flow rate through the component

The flow from A->B is the positive flow. The resulting equation should be in the extends statement, not in the equation section since this model sets both m_flow = V_flow*rho and V_flow = m_flow/rho.

Parameters

TypeNameDefaultDescription
Advanced
BooleanhomotopyInitializationtrue= true, use homotopy method
BooleanuseDefaultPropertiestrueSet to false to use density and viscosity based on actual medium state, rather than using default values
Modelica.Units.SI.PressureDifferencedp_turbulent0.1Pressure difference where laminar and turbulent flow relation coincide. Recommended = 0.1

Components

TypeNameDefaultDescription
Modelica.Units.SI.VolumeFlowRateV_flowm_flow/rhoVolume flow rate through the component
Modelica.Units.SI.DensityrhoFluid density at port_a

Revisions

  • February 2, 2022, by Michael Wetter:
    Revised implementation.
    This is for IBPSA, #1436.
  • Apr 06, 2021, by Klaas De Jonge:
    First implementation.