modelPerformanceCurve
Extends from PartialFlowChar (Base class for pump flow characteristics. Extending class solves for head.).
Information
Pump head characteristic in the form
head = affinityLaw * f(V_flow, V_flow_curve, head_curve, N/N_nominal), solving for
head given volumetric flow. The affinity-law factor used here is
affinityLaw = (N/N_nominal)² (diameter/diameter_nominal)², applied to the
head output only.
If checkValve = true, a parametric s abscissa with a homotopy
transition is used so that reverse flow is suppressed below the closing point of the curve. The
homotopy fallback expression at s = 0 uses head_start, evaluated once at
parameter time from the same curve.
The spline tangents d_curve are computed once as a final parameter
and passed to
Functions.PerformanceCurve
on every call (including the head_start parameter evaluation). This keeps
splineDerivatives out of the time-derivative chain and enables analytic Jacobians.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.VolumeFlowRate[:] | V_flow_curve | {0, V_flow_nominal, 1.5*V_flow_nominal} | Volume flow rate nominal operating points (single pump) |
| SI.Height[size(V_flow_curve, 1)] | head_curve | {2*head_nominal, head_nominal, 0} | Pump head nominal operating points |
| Real[size(V_flow_curve, 1)] | d_curve | TRANSFORM.Math.splineDerivatives(x = V_flow_curve, y = head_curve, ensureMonotonicity = TRANSFORM.Math.isMonotonic(x = head_curve, strict = false)) | Spline tangents at the support points (precomputed once for analytic derivative) |
| SI.Height | head_start | Functions.PerformanceCurve(V_flow_start, V_flow_curve, head_curve, d_curve, N_nominal/N_nominal) | Used for simplified initialization model |
| 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.Height | head_nominal (from PartialFlowChar) | Nominal head | |
| 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 | |
| SItf.NonDim | affinityLaw (from PartialCharacteristic) | Affinity law for scaling | |
| Boolean | checkValve (from PartialFlowChar) | =true then no reverse flow | |
| SI.Height | head (from PartialFlowChar) | Pump pressure head | |
| Real | s | Curvilinear abscissa for the flow curve in parametric form (either volume flow rate or head) |