Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the Data Manager.

  2. Right-click on the Project -> “Import”.

  3. Select “

    View file
    nameOPAL-RT UDB Export Definition-v11.pfd
    ” -> “Open”.

    1. For PowerFactory versions 2019 and earlier use

      View file
      nameOPAL-RT UDB Export Definition v19-v11-PF2019.pfd

  4. Optionally select a new destination path via “New Path” in your Data Manager:

    • As this Export Definition is equal for all projects, it can be imported outside of your PowerFactory project.

  5. Click “OK” to import the export definition

  6. Afterwards a new folder should appear in the project structure

2. Pack External References into the Project

  1. Deactivate the project in the Data Manager.

  2. Do a right-click on the project in the Data Manager, an select → External References → Pack External References.

    PF_pack_external_ref.pngImage Added

  3. Use the default options and click on OK:

    PF_pack_external_ref_dialog.pngImage Added
  4. All project external references are now internalized into the project hierarchy:

    image-20241216-113450.pngImage Added

3. Export of Model

  1. Activate the project in the Data Manager.

  2. Open project in PowerFactory main window.

  3. Run a positive sequence AC Load Flow.

...

  1. Select “File” -> “Export” -> “DGS Format...”

  2. Configure the following settings in the DGS-Export dialog:

    • General tab:

      • DGS Version: V7.00

      • Format: XML File

      • Encoding: UTF-8 (with BOM) (not an option in PowerFactory 2019)

      • File Name: as you wish (e.g. Your Model.xml)

      • Variable Sets: OPAL-RT UDB Export Definition (from step 1) (only in 2019 version)

        powerfactory - Remote Desktop Connection.pngImage Removedimage-20241223-124841.pngImage Added

    • Selection tab (not an option in PowerFactory 2019):

      • Variable Sets: OPAL-RT UDB Export Definition (from step 1) (only in 2021 and higher versions)

      • Base Selection: All elements of the active project

        Image Modified
  3. Start export by clicking on “Execute”.

Note

Important Warning

Verify and ensure there is absolutely no error or warning reported in PowerFactory's Output window regarding this process.Otherwise

If errors are shown, the generated *.xml format may not be compatible with OPAL-RT’s Unified Database (UDB).
If errors are shown, make Make sure your model is fulfilling the requirements listed on this page: Specs for DGS Supported Components in DGS-XML File Format

...

.

Please note that all external references to the PowerFactory model must be internalized in the project (see step 2.)

4. ePHASORSIM Solver Configuration

  1. To use the generated XML file, PowerFactory must be selected from Input file format in the Network data tab of the Solver mask.Set the following settings in the ePHASORSIM Solver Mask

    • Network data tab:

      • Input file format: “PowerFactory”

      • PowerFactory → DGS file (XML Format): The exported XML file from PowerFactory

      • Optionally set the “Import Switches” checkbox

image-20241216-112336.pngImage Added