modelVariableResistor
Ideal linear electrical resistor with variable resistance
Extends from ComplexLib.SinglePhase.Interfaces.OnePort (Passive component having two ComplexPins p and n (one port) and using current phasor balance).
Information
The linear resistor connects the branch voltage phasor v with the branch current phasor i by
R*i = v.There is no phase shift between voltage and current.
The resistance R is specified by input signal.
Attention!!!
To ensure that the phasor domain-based model works in a quasi-stationary
mode, the resistance R may alter only very slowly in comparison
with both the nominal frequency f=ω/(2π) and the dominant
time constant of the phasor domain-based model.
Remark:
It is recommended that the R signal should not cross the zero value.
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PosComplexPin | p (from OnePort) | Positive complex pin (potential p.v > n.v for positive voltage drop v) | |
| NegComplexPin | n (from OnePort) | Negative complex pin | |
| Modelica.Blocks.Interfaces.RealOutput | activePwr (from OnePort) | Active power of component | |
| Modelica.Blocks.Interfaces.RealOutput | reactivePwr (from OnePort) | Reactive power of component | |
| ComplexLib.Interfaces.ComplexOutput | complexPwr (from OnePort) | Complex value of power of component | |
| Modelica.Blocks.Interfaces.RealInput | R | Resistance of component via input signal [Ohm] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from OnePort) | Voltage phasor | |
| SI.Voltage | vRe (from OnePort) | Active part of voltage phasor | |
| SI.Voltage | vIm (from OnePort) | Reactive part of voltage phasor | |
| SI.Current | i (from OnePort) | Current phasor | |
| SI.Current | iRe (from OnePort) | Active part of current phasor | |
| SI.Current | iIm (from OnePort) | Reactive part of current phasor | |
| SI.Angle | phi (from OnePort) | Angle between voltage and current phasors | |
| SI.Angle | phi_v (from OnePort) | Angle of voltage phasor | |
| SI.Angle | phi_i (from OnePort) | Angle of current phasor |