Skip to content

Quickstart Guide Excel

CVLenerginet edited this page Feb 28, 2023 · 3 revisions

Overview

TestCases.xlsx are used as reference for the toolbox to obtain model information and on how to setup cases. 32 general cases are premade, with the option to disable as many as needed and to add others aswell. TestCases.xlsx consist of the following sheets that are all explained in depth on the coming sections:

  • Input
  • Cases
  • PSCAD Compilers

Input

The Input sheet contains model-specific information as seen below. For PowerFactory, only the columns from B-J are important. For PSCAD the columns K-N are also important.

Cases

The Cases sheet contains data to setup each case. Rows represent individual cases and the columns specify the setup of each of those cases. More rows can be added to run user-defined cases.

Example

As an example, case 30 (Rank, column C) is made to demonstrate the models ability to step reactive power.

Firstly, the case is active (Included, column D) and will control the reactive power reference signal (QrefCtrl, column I) throughout the case. Active power is initialized to 1 p.u. (P0, column E) with reactive power controlmode, Qmode = 0 (Qmode, column F). In this case Qmode = 0 corresponds to reactive power setpoint control, this is specified in the Input sheet. The reactive power is then initialized to 0 (InitValue, column G).

Only ´QrefCtrl, column I is activated while column H, M, N and O are deactivated (= 0). Since the case seeks to control the reactive power setpoint, there is no need for simulating a fault, so columns J, K and L are also deactivated (= 0).

The grid impedance is then scaled to 1 (GridImped, column P) and the total simulation time is set to 145 seconds (Tstop (s), column Q).

The reactive power setpoint is then controlled throughout the simulation, in this case only in the negative direction. This is done by specifying setpoints in the value sets in column R - AL.

  • The first point (C1start + C1setpoint + C1ramp, columns R, S and T) starting at the time 3 seconds, drops the reactive power setpoint to -0.1 p.u. with no ramp, i.e. as a step.
  • Next point (C2start + C2setpoint + C2ramp, columns U, V and W) starts at the time 40 seconds and drops the setpoint to -0.2 p.u. also with no ramp.
  • Next point (C3start + C3setpoint + C3ramp, columns X, Y and Z) starts at the time 75 seconds and further drops the setpoint to -0.3 p.u. with no ramp.
  • The final point (C4start + C4setpoint + C4ramp, columns AA, AB and AC) starts at 110 seconds, returning the reactive power setpoint to 0 p.u. in a step. Since this is the final point, the setpoint will stay unchanged until end of simulation.

PSCAD Compilers

The PSCAD Compilers sheet contains additional information on the different PSCAD compilers. The figure below shows the different PSCAD compilers that are usable.