blockStep
Generates a step signal.
Extends from ModelicaDEVS.Templates.DSource (DEVS source block).
Information
The Step BlockParameters:
| offset | step ground value |
| a | step amplitude |
| ts | step start time (when the signal executes the "step") |
Description:
This block generates a simple step signal.
Note that it is possible to assign a negative value to the amplitude, such that the step signal is mirrored at the straight line y=offset.
Generated Events (QSS1/QSS2/QSS3):
| yVal[1] | yVal[2] | yVal[3] | |
| t=0 | offset | 0 | 0 |
| t=ts | offset+a | 0 | 0 |
![]() |
Parameter setting: |
offset=0 a=1.5 ts=2 |
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | method (from DSource) | world.qss | Use QSS1, QSS2 or QSS3 |
| Real | offset | 0 | Step start value |
| Real | a | 1 | Step Amplitude |
| Real | ts | 0 | Step Time |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ModelicaDEVS.Templates.DiscreteOutPort | outPort (from DSource) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ModelicaDEVS.Miscellaneous.worldModel | world (from DSource) |
