modelPerformanceCurve

Cubic-Hermite spline of a characteristic curve V_flow = f(head), with affinity-law scaling

Extends from PartialFlowChar (Base class for pump flow characteristics. Extending class solves for head.).

Information

Pump flow characteristic in the inverted form V_flow = affinityLaw_flow * f(head/affinityLaw_head, head_curve, V_flow_curve, N/N_nominal), solving for volumetric flow given head. The affinity laws appear on both axes: the head input is divided by (N/N_nom)² to look up the curve at nominal-speed coordinates, and the returned nominal flow is multiplied by (N/N_nom) to give actual flow.

The spline tangents d_curve are computed once as a final parameter from head_curve and V_flow_curve, and passed explicitly to TRANSFORM.Math.PerformanceCurve. This keeps splineDerivatives out of the time-derivative chain and lets Dymola build analytic Jacobians.

Parameters

TypeNameDefaultDescription
SI.Height[:]head_curve{0, head_nominal, 2*head_nominal}Pump head nominal operating points
SI.VolumeFlowRate[size(head_curve, 1)]V_flow_curve{1.5*V_flow_nominal, V_flow_nominal, 0}Volume flow rate nominal operating points (single pump)
Real[size(head_curve, 1)]d_curveTRANSFORM.Math.splineDerivatives(x = head_curve, y = V_flow_curve, ensureMonotonicity = TRANSFORM.Math.isMonotonic(x = V_flow_curve, strict = false))Spline tangents at the support points (precomputed once for analytic derivative)
Internal Interface › Initialization
SI.VolumeFlowRateV_flow_start (from PartialFlowChar)
SI.Heighthead_start (from PartialFlowChar)
Internal Interface › Nominal Operating Parameters
Modelica.Units.NonSI.AngularVelocity_rpmN_nominal (from PartialFlowChar)Pump speed
SI.Lengthdiameter_nominal (from PartialFlowChar)Impeller Diameter
SI.VolumeFlowRateV_flow_nominal (from PartialFlowChar)Nominal volumetric flow rate
SI.Heighthead_nominal (from PartialFlowChar)Nominal head
Advanced
BooleancheckValve (from PartialFlowChar)false=true then no reverse flow

Components

TypeNameDefaultDescription
SI.PressureDifferencedp (from PartialFlowChar)
Medium.ThermodynamicStatestate (from PartialFlowChar)Thermodynamic state
Modelica.Units.NonSI.AngularVelocity_rpmN (from PartialFlowChar)Pump speed
SI.Lengthdiameter (from PartialFlowChar)Impeller Diameter
SI.Heighthead (from PartialFlowChar)Pump pressure head
SI.VolumeFlowRateV_flow (from PartialFlowChar)Flow rate
Units.NonDimaffinityLaw_flow (from PartialFlowChar)(N/N_nominal)*(diameter/diameter_nominal)^3Affinity law for scaling
Units.NonDimaffinityLaw_head (from PartialFlowChar)(N/N_nominal)^2*(diameter/diameter_nominal)^2Affinity law for scaling
RealsCurvilinear abscissa for the flow curve