PowerStudio

Guide · 1.2.0

Import a model from another tool

If your network already exists in another tool, you can open it in PowerStudio instead of drawing it. This chapter shows you which formats PowerStudio reads, how to import them, and how to check the result.

PowerStudio imports 4 kinds of file: CGMES models, PSS/E RAW files (with DYR files for dynamic data), MATPOWER cases, and PowerStudio's own files and projects. An imported network opens as a new network. Nothing you already have is overwritten.

Before you start

Find out which format you have, and collect every file it needs.

FormatVersionsFiles to select together
CGMES2.4.15 and 3.0The EQ, TP, SSH and SV files, and the boundary set, as XML files or ZIP archives
PSS/E RAW32, 33 and 35, bus-branch or node-breakerThe .raw file, and its .dyr file if you want the machines' dynamic models
MATPOWERCase files of version 2, from the MATPOWER power flow toolboxThe .m file
PowerStudioFiles and projects, including encrypted onesThe .json file

CGMES, the Common Grid Model Exchange Standard, is the format European transmission operators use to share models. A CGMES model splits into profiles. EQ is the equipment and TP the topology. SSH is the steady-state hypothesis (set points and switching) and SV the state variables (the solved voltages). PowerStudio also reads the DL and GL profiles. The files can come in any order.

Import a file

  1. Go to the File tab.
  2. Select Import.
  3. Select the card for your format: PowerStudio file or project, CGMES model, PSS/E RAW and DYR files or MATPOWER case.
  4. In the file chooser, select all the files for the model.

You can also drop the files anywhere on the window. Or press Ctrl+Shift+O, which is Import file on the Insert tab. That file chooser accepts .json, .xml, .zip, .raw and .m files only. To bring in a DYR file with its RAW file, use the File page or drop both files on the window.

For a PowerStudio file, the network opens at once. For any other format, PowerStudio reads the files first and then shows the import dialog.

Read the import dialog

The dialog is titled with the file's name, or with the number of files. It opens before the network does, so you can stop if the result is not what you expect.

The first line gives the format, how many nodes, branches, sources and loads PowerStudio read, and how long it took.

Below it, a status says how closely PowerStudio's network matches the source. PowerStudio solves a load flow on the imported model and on the network it built, and compares the voltages.

StatusWhat it means
ExactThe voltages agree to within a tiny tolerance.
CheckThe voltages differ. The message gives the largest difference and where it is. Read the notes below.
DiffersPowerStudio's network does not reach the imported model's solution.

If the imported model's own load flow does not converge, the dialog says PowerStudio could not check the network against it.

Open the sections below the status to see more:

Select Open network to import the model, or Cancel to stop.

Check the imported network

After the import, the network opens as a new network, laid out automatically. A message appears with the number of elements. The notes go to the Output tab.

  1. Read the Output tab for notes and warnings.
  2. Select Fit (F) on the View tab to see the whole diagram.
  3. Run a load flow (Alt+L).
  4. Compare the voltages and flows with your source tool's results.

The diagram simplifies what the editor's 7 kinds of element cannot hold:

The dialog's status tells you how closely the simplified network matches the source model's load flow.

Know what each format brings

CGMES.

PSS/E RAW and DYR.

MATPOWER.

PowerStudio files and projects.

Set up the study case after an import

PowerStudio sets the study case where the file shows how it was solved. If in-service machines sit at a reactive power limit in the file's own solution, the study case respects reactive power limits. The dialog tells you why. Without the limits, those machines would hold voltages they cannot reach.

Check the study case settings (Ctrl+,) before a short circuit, stability or EMT study. Then continue with Enter element data to replace typical values with your own, and Set up study cases, scenarios and variants.

If something goes wrong

ProblemWhat to do
Import failed appearsRead the message and the Output tab. Check you selected every file of the model together.
A CGMES model shows few elementsCheck you selected the EQ, TP, SSH and SV files and the boundary set.
The status is Differs or CheckRead Simplified for the editor and Notes from the import. Some differences come from simplifying a 3-winding transformer or a converter station.
A model you expect is missing busbarsLook in Validation and the Load flow tab. Parts without a source are left out as de-energised.
The load flow does not convergeThe network may need a good starting point. PowerStudio starts from the imported voltages, then from its own last solution.
A machine keeps its classical model after a DYR importIts DYR model is outside the library. The notes list it.

For what each importer maps, and how it is checked against other tools, see the calculation engine.