modelVoltageSource
Interface for voltage sources
Extends from Modelica.Electrical.Analog.Icons.VoltageSource (Icon for voltage sources), OnePort (Component with two electrical pins p and n and current i from p to n).
Information
The VoltageSource partial model prepares voltage sources by providing the pins, and the offset and startTime parameters, which are the same at all voltage 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.Voltage | offset | 0 | Voltage 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