.Buildings.Fluid.DXSystems.Cooling.BaseClasses.Functions.speedShift

Information

This function interpolates data for intermediate compressor speeds using cubic hermite splines with linear extrapolation. To avoid linear extrapolation below minimum standard speed, the origin is added to the modified arrays.

Interface

function speedShift
  input Real spe "Speed of compressor";
  input Real speSet[:] "Array of standard compressor speeds";
  input Real u[:] "Array to be interpolated";
  output Real y "Interpolated value";
end speedShift;

Revisions


Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos