PulseCurrent
Pulse current source
![]()
Library
Modelica/Electrical/Analog/Sources
Description
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

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_I | I | Amplitude of pulse | Scalar | |
mo_width | width | Width of pulse in % of period | Scalar | |
mo_period | period | Time for one period | Scalar | |
mo_offset | offset | Current offset | Scalar | |
mo_startTime | startTime | Time offset | Scalar |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'v' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
p | implicit | Positive electrical pin | input | 1 |
n | implicit | Negative electrical pin | output | 1 |