functionPerformanceCurve
Information
Pump-characteristic copy of TRANSFORM.Math.PerformanceCurve. See that function for the math, argument meaning and the analytic-derivative pattern.
Both copies must be kept in sync. This local copy exists so that the
PumpCharacteristics closure-relation models can reference a function within their
own sub-package; the implementation, default for d, and derivative annotation are
identical.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | Value of interest | |
| Real[:] | x_curve | ||
| Real[size(x_curve, 1)] | y_curve | ||
| Real[size(x_curve, 1)] | d | TRANSFORM.Math.splineDerivatives(x = x_curve, y = y_curve, ensureMonotonicity = TRANSFORM.Math.isMonotonic(x = y_curve, strict = false)) | Derivatives at the support points (precomputed; default keeps backward compatibility) |
| Real | r_N | Relative revolution, r_N=N/N_nominal | |
| Real | delta | 0.05 | Small value for switching implementation around zero rpm |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | Output at x |