UCTE-DEF to pandapower

panpapower functionality allows to convert grid data from UCTE Data Exchange Format for load flow and three phase short circuit studies (UCTE-DEF) to pandapower. The UCTE-DEF is a simple data format for electric transmission systems for the exchange of grid data introduced by the Union for the Co-ordination of Transmission of Electricity (UCTE), the predecessor of the ENTSO-E.

Using the Converter

In order to start the converter the following method is used. Only the location of the UCTE file that should be converted must be specified.

pandapower.converter.ucte.from_ucte.from_ucte(ucte_file, slack_as_gen=True)

Converts net data stored as an UCTE file to a pandapower net.

Parameters:
  • ucte_file (str) – path to the ucte file which includes all the data of the grid (EHV or HV or both)

  • slack_as_gen (bool) – decides whether slack elements are converted as gen or ext_grid elements.

Returns:

A pandapower net

Return type:

pandapowerNet

Example:
>>> import os
>>> from pandapower import pp_dir
>>> from pandapower.converter.ucte.from_ucte import from_ucte
>>>
>>> ucte_file = os.path.join(pp_dir, "test", "converter", "testfiles", "test_ucte_DK.uct")
>>> net = from_ucte(ucte_file)