electricpy.phaseline¶
- electricpy.phaseline(VLL=None, VLN=None, Iline=None, Iphase=None, realonly=None, **kwargs)[source]¶
Line-Line to Line-Neutral Converter.
This function is designed to return the phase- or line-equivalent of the voltage/current provided. It is designed to be used when converting delta- to wye-connections and vice-versa. Given a voltage of one type, this function will return the voltage of the opposite type. The same is true for current.
(1)¶\[V_{LL} = \sqrt{3}∠30° * V_{LN}\]Typical American (United States) standard is to note voltages in Line-to-Line values (VLL), and often, the Line-to-Neutral voltage is of value, this function uses the voltage (1) relation to evaluate either voltage given the other.
(2)¶\[I_{Φ} = \frac{I_{line}}{\sqrt{3}∠30°}\]Often, the phase current in a delta-connected device is of particular interest, and the line-current is provided. This function uses the current (2) formula to evaluate phase- and line-current given the opposing term.
- Parameters:
VLL (float, optional) – The Line-to-Line Voltage; default=None
VLN (float, optional) – The Line-to-Neutral Voltage; default=None
Iline (float, optional) – The Line-Current; default=None
Iphase (float, optional) – The Phase-Current; default=None
realonly (bool, optional) – Replacement of complex argument. Control to return value in complex form; default=None
complex (bool, optional, DEPRECATED) – Control to return value in complex form, refer to realonly instead. default=None
Examples
>>> import electricpy as ep >>> ep.cprint(ep.phaseline(VLL=(13.8*ep.k))) # 13.8kV 7967.434 ∠ -30.0°