modelPerformanceCurve

Cubic spline of a characteristic curve of power vs. volume flow rate

Extends from PartialPowerChar (Base class for pump power characteristics.).

Information

Pump shaft-power characteristic in the form W = affinityLaw * f(V_flow, V_flow_curve, W_curve, N/N_nominal), where affinityLaw = (N/N_nominal)³ (diameter/diameter_nominal)³ as expected from the power-affinity relation. A homotopy fallback gives a linear power-vs-flow expression during initialisation.

The spline tangents d_curve are computed once as a final parameter and passed to Functions.PerformanceCurve, keeping splineDerivatives out of the time-derivative chain.

Parameters

TypeNameDefaultDescription
SI.VolumeFlowRate[:]V_flow_curve{0, V_flow_nominal, 1.5*V_flow_nominal}Volume flow rate for three operating points (single pump)
SI.Power[size(V_flow_curve, 1)]W_curve{0, W_nominal, 2*W_nominal}Pump head for three operating points
Real[size(V_flow_curve, 1)]d_curveTRANSFORM.Math.splineDerivatives(x = V_flow_curve, y = W_curve, ensureMonotonicity = TRANSFORM.Math.isMonotonic(x = W_curve, strict = false))Spline tangents at the support points (precomputed once for analytic derivative)
Internal Interface › Nominal Operating Parameters
Modelica.Units.NonSI.AngularVelocity_rpmN_nominal (from PartialCharacteristic)Pump speed
SI.Lengthdiameter_nominal (from PartialCharacteristic)Impeller Diameter
SI.VolumeFlowRateV_flow_nominal (from PartialCharacteristic)Nominal volumetric flow rate
SI.PowerW_nominal (from PartialPowerChar)Power consumption
Internal Interface › Initialization
SI.VolumeFlowRateV_flow_start (from PartialCharacteristic)

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatestate (from PartialCharacteristic)Thermodynamic state
SI.VolumeFlowRateV_flow (from PartialCharacteristic)Mass flow rate
Modelica.Units.NonSI.AngularVelocity_rpmN (from PartialCharacteristic)Pump speed
SI.Lengthdiameter (from PartialCharacteristic)Impeller Diameter
Units.NonDimaffinityLaw (from PartialCharacteristic)Affinity law for scaling
SI.MassFlowRatem_flow (from PartialPowerChar)
SI.PowerW (from PartialPowerChar)Power consumption