.SystemDynamics.Functions.Utilities.Piecewise

Piecewise linear function

Interface

function Piecewise
  input Real x "Independent variable";
  input Real x_grid[:] "Independent variable data points";
  input Real y_grid[:] "Dependent variable data points";
  output Real y "Interpolated result";
end Piecewise;

Generated at 2025-12-31T19:14:00Z by OpenModelicaOpenModelica 1.26.0 using GenerateDoc.mos