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.

Main Author:
Olaf Enge-Rosenblatt
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de

Connectors

TypeNameDefaultDescription
PosComplexPinp (from OnePort)Positive complex pin (potential p.v > n.v for positive voltage drop v)
NegComplexPinn (from OnePort)Negative complex pin
Modelica.Blocks.Interfaces.RealOutputactivePwr (from OnePort)Active power of component
Modelica.Blocks.Interfaces.RealOutputreactivePwr (from OnePort)Reactive power of component
ComplexLib.Interfaces.ComplexOutputcomplexPwr (from OnePort)Complex value of power of component
Modelica.Blocks.Interfaces.RealInputRResistance of component via input signal [Ohm]

Components

TypeNameDefaultDescription
SI.Voltagev (from OnePort)Voltage phasor
SI.VoltagevRe (from OnePort)Active part of voltage phasor
SI.VoltagevIm (from OnePort)Reactive part of voltage phasor
SI.Currenti (from OnePort)Current phasor
SI.CurrentiRe (from OnePort)Active part of current phasor
SI.CurrentiIm (from OnePort)Reactive part of current phasor
SI.Anglephi (from OnePort)Angle between voltage and current phasors
SI.Anglephi_v (from OnePort)Angle of voltage phasor
SI.Anglephi_i (from OnePort)Angle of current phasor