|
FhSim
3.1.0
Marine systems simulation
|
Normally distributed random numbers.
Collaboration diagram for Random:Generates random numbers (normally distributed). The user must specify the type of random (constant or variable).
This function has no inputs.
| Name | Width | Description |
|---|---|---|
| Out | <PortWidth> | The output signal |
| OutDot | <PortWidth> | The derivative of the output signal |
| Name | Width | Description |
|---|---|---|
| PortWidth | The number of elements in the signal. | |
| RandomType | 1 |
A bool variable define the type of random function. Choose a constant random number or a variable random number. The variable must be defined as <ConstRandom> or <VariableRandom>. |
| RandomMin | <PortWidth> |
The lower limit for the random numbers. |
| RandomMax | <PortWidth> |
The upper limit for the random numbers. |
There are no initial conditions for this function.
This SimObject is referred to as Src/Random