recordTwoNPortsFlowResistanceParameters

Parameters for flow resistance for models with two N ports

Extends from Modelica.Icons.Record.

Information

This class contains parameters that are used to compute the pressure drop in models that have one fluid stream. Note that the nominal mass flow rate is not declared here because the model PartialTwoNPortsInterface already declares it.

Parameters

TypeNameDefaultDescription
IntegernPortsNumber of fluid ports on each side
Flow resistance
Boolean[nPorts]computeFlowResistancefill(true, nPorts)=true, compute flow resistance. Set to false to assume no friction
Boolean[nPorts]from_dpfill(false, nPorts)= true, use m_flow = f(dp) else dp = f(m_flow)
Boolean[nPorts]linearizeFlowResistancefill(false, nPorts)= true, use linear relation between m_flow and dp for any flow rate
Real[nPorts]deltaMfill(0.1, nPorts)Fraction of nominal flow rate where flow transitions to laminar
Nominal condition
Modelica.Units.SI.PressureDifference[nPorts]dp_nominalPressure difference

Revisions

  • February, 2024, by Massimo Cimmino:
    First implementation.