Source for constant voltage
The ConstantVoltage source is a simple source for an ideal constant voltage which is provided by a parameter. There is no internal resistance modeled. If it is used instead of a battery model it is not very realistic: This battery will never be unloaded.
Extends from Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n).
Type | Name | Default | Description |
---|---|---|---|
Voltage | V | Value of constant voltage [V] |
Type | Name | Description |
---|---|---|
PositivePin | p | Positive pin (potential p.v > n.v for positive voltage drop v) |
NegativePin | n | Negative pin |
Sine voltage source
This voltage 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.
Extends from Interfaces.VoltageSource (Interface for voltage sources).
Type | Name | Default | Description |
---|---|---|---|
Voltage | V | Amplitude of sine wave [V] | |
Angle | phase | 0 | Phase of sine wave [rad] |
Frequency | freqHz | Frequency of sine wave [Hz] | |
Voltage | offset | 0 | Voltage offset [V] |
Time | startTime | 0 | Time offset [s] |
Type | Name | Description |
---|---|---|
PositivePin | p | Positive pin (potential p.v > n.v for positive voltage drop v) |
NegativePin | n | Negative pin |
Generic voltage source using the input signal as source voltage
The signal voltage source is a parameterless converter of real valued signals into a the source voltage. No further effects are modeled. The real valued signal has to be provided by components of the blocks library. It can be regarded as the "Opposite" of a voltage sensor.
Type | Name | Description |
---|---|---|
PositivePin | p | |
NegativePin | n | |
input RealInput | v | Voltage between pin p and n (= p.v - n.v) as input signal [V] |
Ramp voltage source
This voltage 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.
Extends from Interfaces.VoltageSource (Interface for voltage sources).
Type | Name | Default | Description |
---|---|---|---|
Voltage | V | Height of ramp [V] | |
Time | duration | Duration of ramp [s] | |
Voltage | offset | 0 | Voltage offset [V] |
Time | startTime | 0 | Time offset [s] |
Type | Name | Description |
---|---|---|
PositivePin | p | Positive pin (potential p.v > n.v for positive voltage drop v) |
NegativePin | n | Negative pin |
Generic current source using the input signal as source current
The signal current source is a parameterless converter of real valued signals into a the source current. No further effects are modeled. The real valued signal has to be provided by components of the blocks library. It can be regarded as the "Opposite" of a current sensor.
Type | Name | Description |
---|---|---|
PositivePin | p | |
NegativePin | n | |
input RealInput | i | Current flowing from pin p to pin n as input signal [A] |