.BuildingSystems.HAM.HeatAndMoistureTransport.Functions.interpol

Calculates a value y for a given value x based on discrete tuple of values

Interface

function interpol
  input Real x "Independent value";
  input Real tabX[:] "Discrete independent value list";
  input Real tabY[:] "Discrete dependent value list";
  input Integer mode "1: linear interpolation; 2: exponential interpolation";
  output Real y "dependent value";
end interpol;

Generated at 2025-04-03T18:24:42Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos