modelPeriodicCurveSource

Periodic signal source as 2D natural cubic interpolation spline defined with (x,y,slope) points on scaled preriod interval (0,1)

Information

It is generated by fast fourier transform.

Parameters

TypeNameDefaultDescription
Real[:]xfill(Modelica.Constants.N_A, 1)X coordinations of interpolating points
Real[:]yfill(Modelica.Constants.N_A, 1)Y coordinations of interpolating points
Real[:]slopefill(Modelica.Constants.N_A, 1)Slopes at interpolating points
Realdatatranspose({x, y, slope})Array of interpolating points as {x,y,slope}
RealXscale1Conversion scale to SI unit of x values
RealYscale1Conversion scale to SI unit of y values
Integernu4*9*25Amount of points of generated curve

Connectors

TypeNameDefaultDescription
Physiolibrary.Types.RealIO.FrequencyInputfrequence
Modelica.Blocks.Interfaces.RealOutputval