Skip to main content

Module hvdc

Module hvdc 

Source
Expand description

HVDC lines as fixed bus injections.

A balanced calculation has no DC network: an Hvdc line couples its two AC terminal buses only through the power its converters exchange with them. The calculations therefore carry each in service line as two fixed injections at its stated operating point.

The calculation interface is the bus-to-device terminal view, Hvdc::calc_bus_to_device_powers: at each end, active and reactive power are positive from that end’s AC bus into the HVDC system (the two converters and the DC line taken as one device), the direction AC branch terminal flows use. The two active terminal powers sum to the power the line and its converters lose, and the injection into each bus is the negative of that end’s terminal power, negated once in Hvdc::calc_terminal_injections.

The stored fields pf, pt, qf, and qt keep MATPOWER’s dcline signs throughout 0.11.x, whatever the source format: pf is positive from the from bus into the line, while pt, qf, and qt are positive from the line into their bus. The terminal view converts them once: p_from = pf, q_from = -qf, p_to = -pt, q_to = -qt. The injections match MATPOWER’s toggle_dcline dummy generators.

Structs§

HvdcInjections
Every fixed HVDC injection a network states, with the lines that make none. Build it with BalancedNetwork::calc_hvdc_injections.
HvdcTerminalInjection
The injection one HVDC line makes at one of its AC terminal buses.
HvdcTerminalPowers
The bus-to-device terminal powers of one HVDC line: at each end, active and reactive power positive from that end’s AC bus into the HVDC system (both converters and the DC line taken as one device). Build it with Hvdc::calc_bus_to_device_powers.

Enums§

HvdcTreatment
How a calculation treats the network’s HVDC lines.