functionPSD_Convolution
Apply an arbitrary filter by convolution with its impulse response
Extends from Noise.Utilities.Interfaces.PSD (The basic interface for a power spectral density function).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Time | instance (from InputOutput) | The current time for an arithmetic random number generator | |
| Integer | states_in (from InputOutput) | The discrete states for a recursive random number generator | |
| Modelica.SIunits.Time | t (from PSD) | The current value of the internal simulation time | |
| Modelica.SIunits.Period | dt (from PSD) | The intended period of the raw random number | |
| Modelica.SIunits.Time | t_last (from PSD) | The last time a random number was generated | |
| Integer | n | 5 | Number of support points for convolution |
| Integer | max_n | n | Maximum nummber of support points for comparability |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | rand_hold (from PSD) | The raw random number | |
| Real | rand (from InputOutput) | The random number with a uniform distribution on the interval [1,0] | |
| Integer | states_out (from InputOutput) | The new states of a recursive random number generator |
Contents
| Name | Description |
|---|---|
Revisions
Developed 2014 at the DLR Institute of System Dynamics and Control