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
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | x | fill(Modelica.Constants.N_A, 1) | X coordinations of interpolating points |
| Real[:] | y | fill(Modelica.Constants.N_A, 1) | Y coordinations of interpolating points |
| Real[:] | slope | fill(Modelica.Constants.N_A, 1) | Slopes at interpolating points |
| Real | data | transpose({x, y, slope}) | Array of interpolating points as {x,y,slope} |
| Real | Xscale | 1 | Conversion scale to SI unit of x values |
| Real | Yscale | 1 | Conversion scale to SI unit of y values |
| Integer | nu | 4*9*25 | Amount of points of generated curve |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Physiolibrary.Types.RealIO.FrequencyInput | frequence | ||
| Modelica.Blocks.Interfaces.RealOutput | val |