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
| Type | Name | Default | Description |
|---|---|---|---|
| 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_curve | TRANSFORM.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_rpm | N_nominal (from PartialCharacteristic) | Pump speed | |
| SI.Length | diameter_nominal (from PartialCharacteristic) | Impeller Diameter | |
| SI.VolumeFlowRate | V_flow_nominal (from PartialCharacteristic) | Nominal volumetric flow rate | |
| SI.Power | W_nominal (from PartialPowerChar) | Power consumption | |
| Internal Interface › Initialization | |||
| SI.VolumeFlowRate | V_flow_start (from PartialCharacteristic) | ||
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialCharacteristic) | Thermodynamic state | |
| SI.VolumeFlowRate | V_flow (from PartialCharacteristic) | Mass flow rate | |
| Modelica.Units.NonSI.AngularVelocity_rpm | N (from PartialCharacteristic) | Pump speed | |
| SI.Length | diameter (from PartialCharacteristic) | Impeller Diameter | |
| Units.NonDim | affinityLaw (from PartialCharacteristic) | Affinity law for scaling | |
| SI.MassFlowRate | m_flow (from PartialPowerChar) | ||
| SI.Power | W (from PartialPowerChar) | Power consumption |