electricpy.secondary

electricpy.secondary(val, Np, Ns=1, invert=False)[source]

Electrical Transformer Secondary Evaluator.

Returns a current or voltage value reflected across a transformer with a specified turns ratio Np/Ns. Converts to the secondary side.

Parameters:
val : complex

Value to be reflected across transformer.

Np : float

Number of turns on primary side.

Ns : float, optional

Number of turns on secondary side.

invert : bool, optional

Control argument to invert the turns ratio, used when reflecting current across a voltage transformer, or voltage across a current transformer.

Returns:

reflection – The reflected value referred to the secondary side according to Np and Ns.

Return type:

complex