modelResistor
Ideal linear electrical resistor
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 = vThere is no phase shift between voltage and current.
The resistance
Fraunhofer IIS/EAS, Dresden
email: olaf.enge@eas.iis.fraunhofer.de
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Resistance | R | 1 | Resistance of component |
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 |
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 |