functionspeedShift
Interpolates value between two speeds
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.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | spe | Speed of compressor | |
| Real[:] | speSet | Array of standard compressor speeds | |
| Real[:] | u | Array to be interpolated |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | y | Interpolated value |
Revisions
-
August 24, 2012, by Michael Wetter:
Moved function fromBuildings.Fluid.DXSystems.BaseClassestoBuildings.Fluid.DXSystems.Cooling.BaseClasses.Functionsbecause the packageBuildings.Fluid.DXSystems.BaseClassesalready contains a block calledSpeedShiftwhich gives a clash in file names on file systems that do not distinguish between upper and lower case letters. -
August 9, 2012, by Kaustubh Phalak:
Origin added in support points to avoid linear extrapolation below standard rotational speed. -
August 1, 2012 by Kaustubh Phalak:
First implementation.