modelStepCurrent
Step current source
Extends from Interfaces.CurrentSource (Interface for current sources).
Information
This current source uses the corresponding signal source of the Modelica.Blocks.Sources package. Care for the meaning of the parameters in the Blocks package. Furthermore, an offset parameter is introduced, which is added to the value calculated by the blocks source. The startTime parameter allows to shift the blocks source behavior on the time axis.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Current | I | Height of step | |
| SI.Current | offset (from CurrentSource) | 0 | Current offset |
| SI.Time | startTime (from CurrentSource) | 0 | Time offset |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | p (from TwoPin) | Positive electrical pin | |
| NegativePin | n (from TwoPin) | Negative electrical pin |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from TwoPin) | Voltage drop of the two pins (= p.v - n.v) | |
| SI.Current | i (from OnePort) | Current flowing from pin p to pin n | |
| Modelica.Blocks.Interfaces.SignalSource | signalSource (from CurrentSource) |
Revisions
- 1998
by Christoph Clauss
initially implemented