Skip to main content

Overlaying real-world data with dynamic results

Background

In this second part of the data benchmarking series, we will show you how to overlay real-world data with dynamic simulation results. This is a common task when benchmarking dynamic simulations against real-world data, such as hold-point testing data (R1, R2) or site data.

In this part, we will

  • Add a PSS®E simulation to the gridmo project we started in the previous step.
  • Overlay the PSS®E simulation results with the real-world data.
tip

You can download the complete example project file used in this series from the below link. The example data file and the models required to run this example simulation are packaged with the gridmo Engine - no further configuration is required.

In the previous section, we imported real-world data and plotted it using the Data and Plot Nodes. We could see a single reactive power step in our real-world data. Specifically, we could see a step from 0 MVAr to about 26 MVAr during the simulation.

In this section, we will add a dynamic simulation to the gridmo project and plot the real-world data against the dynamic simulation results.

Example

1) Add PSS®E Nodes to your Flow

  • PSS®E Static Node (or PowerFactory Static Node)
  • PSS®E Dynamic Node (or PowerFactory Dynamic Node)

2) Connect the Nodes as shown below

  • The PSS®E Static Node should be connected to the PSS®E Dynamic Node.
  • The existing Data Node should be connected from the Start Node to the Plot Node.
  • The PSS®E Dynamic Node should also be connected to the Plot Node.

example of a data Node in parallel with a psse static and dynamic Node, both being plotted

3) Configure the PSS®E Static Node

  • Set the Model to gridmo\wecc-solar\psse\solar.sav to use an example 175 MW solar farm's PSS®E case file.
  • Under the Commands field add the following commands, which describe what we want the PSS®E model to initialize to:
PSS®E Static Node's Commands field
// Set SCR, XR, and POC P, Q and V - then apply all CONTROL commands at the same time
SET, LINE=1000->999#1, STATUS=IN, SCR=7.5, XR=4
CONTROL, GEN=999#1, Q=VDIRECT, ATBUS=1000, VTARGET=1.00, QMIN=-9999, QMAX=9999
CONTROL, GEN=91003#S1, ATLINE=1001->1000#1, P=175
CONTROL, GEN=91003#S1, ATLINE=1001->1000#1, Q=FIXED, QTARGET=0
SOLVE

The above commands:

  • Set the SCR and X/R ratio for this example SMIB model to 7.5 and 4 respectively.
  • It then controls the example solar farm to achieve P=175 MW, Q=0 MVAr at the solar farm's connection point.
  • It also uses the infinite bus generator to achieve 1.00 pu voltage at the connection point.

4) Configure the PSS®E Dynamic Node

  • Select the tickbox to enable Use model from linked PSS®E Static Node
  • Set the Dynamics model data to gridmo\wecc-solar\psse\solar.dyr to use an example 175 MW solar farm's PSS®E dynamic data record.
  • In the Define simulation tab:
    • Set the Simulation time [seconds] to 60 seconds.
    • Add the following commands into the Commands field:
PSS®E Dynamic Node's Actions field
// Put solar farm in Q control mode (see PSSE Model PDF docs for ICON reference)
CONTROL, AT=0, ICON=M+5, GEN=91003#S1, DYRMODEL=REPCA1, VAL=0

// Set initial P and Q at POC
CONTROL, AT=0, VAR=L+3, GEN=91003#S1, DYRMODEL=REPCA1, VAL=175, VALSCALE=1/200
CONTROL, AT=0, VAR=L+1, GEN=91003#S1, DYRMODEL=REPCA1, VAL=0

// Make a single Q to 26.25 MVAr (on S base of 200 MVA - which this PSSE model requires)
CONTROL, AT=5, VAR=L+1, GEN=91003#S1, DYRMODEL=REPCA1, VAL=26.25, VALSCALE=1/200
  • The above commands:

    • Set the solar farm's controller into fixed reactive power reference mode.
    • Set the initial active power to 175 MW and sets the initial reactive power to 0 MVAr.
    • Performs a single reactive power reference step at 5 seconds from 0 MVAr to 26.25 MVAr.
  • In the Define outputs tab, add the following outputs:

PSS®E Dynamic Node's Outputs field
OUTPUT, BUS=1000, VAL=V, NAME=i_ch_poc_v
OUTPUT, LINE=1001->1000#1, VAL=P, NAME=i_ch_poc_p
OUTPUT, LINE=1001->1000#1, VAL=Q, NAME=i_ch_poc_q
  • The above commands:
    • Measure the voltage magnitude at the connection point and assign the name i_ch_poc_v.
    • Measure the active power at the connection point and assign the name i_ch_poc_p.
    • Measure the reactive power at the connection point and assign the name i_ch_poc_q.

5) Launch the simulation

  • Launch the simulation using the green Launch button in the top right of the web-app and enter your Engine ID.
tip

As we are naming the outputs i_ch_poc_v, i_ch_poc_p and i_ch_poc_q - which are the same as the names we defined as the outputs of the Data Node - we do not need to make any changes to the Plot Node.

The Plot Node will automatically plot all connected Nodes with the same output names on the same subplot.

6) Review results

  • We can see in our outputs folder (example below) that we have plotted the real-world data against the dynamic simulation results:
    • ✅ There is a reactive power step in both PSS®E and the real-world data
    • ⚠️ The benchmarking is really poor, the reactive power steps are done at different times during the simulation, the initial active power isn't 175 MW and the POC voltage magnitude isn't 1.00 pu.

example of results from step 2, showing psse dynamic and data overlayed but with a very poor benchmark

Next step

In the next step, we will use the manual alignment mode of the Data Node to improve the benchmarking with the PSS®E result.