pypowsybl.network.Network.set_working_variant#

Network.set_working_variant(variant)[source]#

Changes the working variant. The provided variant ID must correspond to an existing variant, for example created by a call to clone_variant.

Parameters:

variant (str) – id of the variant selected (it must exist)

Return type:

None