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.