pypowsybl.network.Network.clone_variant#

Network.clone_variant(src, target, may_overwrite=True)[source]#

Creates a copy of the source variant

Parameters:
  • src (str) – variant to copy

  • target (str) – id of the new variant that will be a copy of src

  • may_overwrite (bool) – indicates if the target can be overwritten when it already exists

Return type:

None