blockStep
Generate step signal of type Real
Extends from Interfaces.PartialClockedSO (Block with clocked single output Real signal).
Information
The block is similar to the block in Modelica.Blocks.Sources.Step, but adapted to work in clocked partitions (by internal sampling of the continuous time variable).
The Real output y is a step signal:
Example
See model Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | height | 1 | Height of step |
| Real | offset | 0 | Offset of output signal y |
| SI.Time | startTime | 0 | Output y = offset for time < startTime |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | y (from PartialClockedSO) | Connector of clocked, Real output signal |