pypowsybl.network.Network.open_dc_switch

Network.open_dc_switch(id)[source]

Opens a DC switch.

Parameters:

id (str) – the identifier of the DC switch to open.

Returns:

True if the switch state changed (was closed before), False if it was already open.

Return type:

bool