functionbasicFlowFunction_m_flow_der2

2nd derivative of function that computes pressure drop for given mass flow rate

Extends from Modelica.Icons.Function (Icon for functions).

Information

Function that implements the second order derivative of Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow, assuming a constant flow coefficient.

When called with m_flow_der=der(m_flow) and m_flow_der2=der(m_flow_der), this function returns the second order derivative of dp with respect to time. When called with m_flow_der=1 and m_flow_der2=0, this function returns the second order derivative of dp with respect to m_flow.

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.MassFlowRatem_flowMass flow rate in design flow direction
RealkFlow coefficient, k=m_flow/sqrt(dp), with unit=(kg.m)^(1/2)
Modelica.Units.SI.MassFlowRatem_flow_turbulentMass flow rate where transition to turbulent flow occurs
Realm_flow_der1st derivative of mass flow rate in design flow direction
Realm_flow_der22nd derivative of mass flow rate in design flow direction

Outputs

TypeNameDefaultDescription
Realdp_der22nd derivative of pressure difference between port_a and port_b (= port_a.p - port_b.p)

Revisions

  • January 4, 2019, by Michael Wetter:
    Set `Inline=false`.
    See #1070.
  • May 1, 2017, by Filip Jorissen:
    Revised implementation such that Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_dp is C2 continuous. See #725.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • July 29, 2015, by Michael Wetter:
    First implementation.