electricpy.rxrecompose

electricpy.rxrecompose(x_pu, XoR, S3phs=None, VLL=None, VLN=None)[source]

Resistance/Reactance from Per-Unit System Evaluator.

Function to reverse per-unit conversion and return the ohmic value of an impedance given its per-unit parameters of X.

Parameters:
x_pu : float

The per-unit, complex value corresponding to the impedance

XoR : float

The X/R ratio (reactance over impedance).

S3phs : float, optional

The total three-phase power rating of the system. If left as None, the per-unit values will be set to 1, resulting in an unscaled impedance

VLL : float, optional

The Line-to-Line Voltage; default=None

VLN : float, optional

The Line-to-Neutral Voltage; default=None

Returns:

z – The ohmic impedance evaluated from the per-unit base.

Return type:

complex