pypowsybl.network.Network.reduce#

Network.reduce(v_min=0, v_max=1.7976931348623157e+308, ids=None, vl_depths=(), with_dangling_lines=False)[source]#

Reduce to a smaller network according to the following parameters

Parameters:
  • v_min (float) – minimum voltage of the voltage levels kept after reducing

  • v_max (float) – voltage maximum of the voltage levels kept after reducing

  • ids (List[str] | None) – ids of the voltage levels that will be kept

  • vl_depths (tuple) – depth around voltage levels which are indicated by their id, that will be kept

  • with_dangling_lines (bool) – keeping the dangling lines

Return type:

None