modelCurrentSource
Interface for current sources
Extends from Modelica.Electrical.Analog.Icons.CurrentSource (Icon for current sources), OnePort (Component with two electrical pins p and n and current i from p to n).
Information
The CurrentSource partial model prepares current sources by providing the pins, and the offset and startTime parameters, which are the same at all current sources. The source behavior is taken from Modelica.Blocks signal sources by inheritance and usage of the replaceable possibilities.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Current | offset | 0 | Current offset |
| SI.Time | startTime | 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 |
Revisions
- 1998
by Christoph Clauss
initially implemented