pypowsybl.network.Network.remove_elements#
- Network.remove_elements(elements_ids)[source]#
Removes elements from the network.
Notes
Elements can be provided as a list of IDs or as a single ID.
Elements can be any identifiable object of the network (line, generator, switch, substation …).
Examples
network.remove_elements('GENERATOR-1') # Removes only 1 element network.remove_elements(['GENERATOR-1', 'BUS'])