functionsmoothInterpolation
Get interpolated data without triggering events
Extends from Modelica.Icons.Function (Icon for functions).
Information
Function to interpolate within a data array without triggerring events.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | y | Data array | |
| Real | x | x value |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | val | Interpolated value |
Revisions
-
March 13, 2015, by Michael Wetter:
Changed function to beInline=false, as otherwise OpenModelica fails to translate Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation. For Buildings.ThermalZones.Detailed.Examples.MixedAirFreeResponse, this change does not affect the computing time. -
March 4, 2011, by Wangda Zuo:
First implementation.