Step
Generates a step function.
Description
Unit Step ensures that the signal changes between two specified levels at a specified time. If the simulation time is less than the value of the parameters Step time, the block output is equal to the value of parameter Initial value. If the simulation time is greater than or equal to the value of the parameter Step time, the output is equal to the value of the parameters. Final value.
Ports
Output
#
OUT_1
—
output signal
scalar
| vector
Details
Output signal of the function Step*defined by parameters *Step time, Initial value и Final value.
Data types |
|
Complex numbers support |
No |
Parameters
Main
#
Initial value —
output value before the step
Scalar / array of real and/or complex numbers
Details
Block output if the simulation time is less than the parameter value Step time.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Final value —
output value after a step
Scalar / array of real and/or complex numbers
Details
Block output when the simulation time is greater than or equal to the parameter value Step time.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Step time —
stride time
Scalar / array of real numbers
Details
Time in seconds when the output goes from the parameters value Initial value to a parameter Final value.
Default value |
|
Program usage name |
|
Tunable |
Yes |
Evaluatable |
Yes |
#
Sample time —
interval between calculation steps
SampleTime (real number / vector of two real numbers)
Details
Specify the interval between calculation steps as a non-negative number. To inherit a calculation step, set this parameters to -1
.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
Examples
-
Modelling of control systems on the example of PID controller
-
Integrating Julia code into Engee models using the Engee Function block
-
Demonstration of the influence of PID controller coefficients on the control system output signal
-
Transmission line model with two-way supply and three-phase fault tripping