Function to calculate
coefficients record based on
InternalCoefficients record.
It is used in the example
CalculateCoefficientsFromMeasurements.
function coefficientsFromInternalCoefficients extends Modelica.Icons.Function; input ThermofluidStream.Processes.Internal.CentrifugalPump.Auxiliaries.InternalCoefficients data "Internal pump coefficients"; output ThermofluidStream.Processes.Internal.CentrifugalPump.Coefficients.GenericPump coefficients(rho_ref = data.rho_ref, w_ref = data.w_ref, head_peak = data.head_ref, V_flow_peak = data.V_flow_ref, eta_peak = data.eta_ref, V_0n = V_0n, h_0n = h_0n, P_0n = P_0n) "Input pump coefficients"; end coefficientsFromInternalCoefficients;