.BuildSysPro.BoundaryConditions.Scenarios.StepFunctionSimpleXY

Information

Periodic constant-segment interpolation.

Hypothesis and equations

Constant-segment interpolation in one dimension specified by 2 vectors.

It could be periodic or not.

The dependent variable (homogenous to the input) is specified in the parameter X vector.

The independent variable to be interpolated are defined in the parameter Yvector.

Instructions for use

X vector (dependent variable) and Y vector (data to be interpolated) are 2 vectors having the same size: n elements each.

For all i from 1 to n-1, for any x in [Xi, X (i + 1) [, calculation of y = Yi

For all x >= Xn : y = Yn

For all x, calculation of xp = >if period > 0 then mod(x,period) else x and calculation of y=y(xp)

Validations

Validated model - Hassan Bouia 07/2012

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Hassan BOUIA, EDF (2012)
--------------------------------------------------------------


Generated at 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos