blockSpeedShift
Interpolates values between speeds
Information
This block uses the Buildings.Fluid.DXSystems.Cooling.BaseClasses.Functions.speedShift function to interpolate the input array. Depending on input speed ratio and speed set array the input array u is interpolated.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nSta | Number of standard compressor speeds | |
| Modelica.Units.SI.AngularVelocity[nSta] | speSet | Compressor speeds | |
| Boolean | variableSpeedCoil | Flag, set to true to interpolate data |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | speRat | Speed ratio | |
| Modelica.Blocks.Interfaces.RealInput[nSta] | u | Array to be interpolated | |
| Modelica.Blocks.Interfaces.RealOutput | y | Interpolated value | |
| Modelica.Blocks.Interfaces.IntegerInput | stage | Stage of coil, or 0/1 for variable-speed coil |
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. -
Aug. 9, 2012 by Kaustubh Phalak:
First implementation.