pypowsybl.network.Network.remove_elements_properties#

Network.remove_elements_properties(ids, properties)[source]#

Remove properties from a list of network elements

Parameters:
  • ids (Union[str, List[str]]) – list of the network elements that will have their properties removed

  • properties (Union[str, List[str]]) – list of the properties that will be removed

Return type:

None

Examples

To remove properties prop1 and prop2 from network elements GEN1 and GEN2:

network.remove_elements_properties(ids=['GEN1', 'GEN2'], properties=['prop1', 'prop2'])