electricpy.vscdcbus

electricpy.vscdcbus(VLL, Zs, P, Q=0, mmax=0.8, debug=False)[source]

Voltage Sourced Converter DC Bus Voltage Function.

The purpose of this function is to calculate the required DC-bus voltage for a Voltage-Sourced- Converter (VSC) given the desired P/Q parameters and the known source impedance (Vs) of the VSC.

Parameters:
  • VLL (complex) – Line-to-Line voltage on the line-side of the source impedance.

  • Zs (complex) – The source impedance of the VSC

  • P (float) – The desired real-power output

  • Q (float, optional) – The desired reactive-power output, default=0

  • mmax (float, optional) – The maximum of the m value for the converter default=0.8

  • debug (bool, optional) – Control value to enable printing stages of the calculation, default=False

Returns:

VDC – The DC bus voltage.

Return type:

float