A full-replica MATLAB/Simulink dynamic model of the IEEE 39-bus power system, including dynamic models of conventional generation and dynamic load profiles.
The IEEE 39-bus does not specify any line lengths; therefore, we choose them to obtain a propagation speed just below the speed of light.
We include two types of load profiles: constant and realistic. The constant load profiles are the original data of the IEEE 39-bus system. The realistic load profiles are active and reactive components inferred by time series data, adapted from a monitoring system based on Phasor Measurement Units (PMUs) installed in the 125-kV grid of the city of Lausanne, Switzerland. The resolution of the time series is 20 milliseconds and the profiles are voltage and frequency independent.
We use the Opal-RT real-time digital simulator OP5600, coupled with the eMEGAsim PowerGrid running on the RT-LAB real-time simulation platform. For installation, user guide and more information of the real-time simulator go here.
The following software is required to run the model:
Before building the model, you need to add an S-function file (sfun_discreteVariableDelay.c) in the files section of your model. This file can be found under the following path C:\Program Files (x86)\MATLAB\R2015aSP1\toolbox\physmod\powersys\powersys. Add the file and choose ascii in Mode, S-Function in Category, and Before Compilation in the Transfer Time.
For a more detailed description of this full-replica IEEE 39-bus system model, refer to the following references:
For more details about the PMU installation that we used to generate the load profiles, refer to the following reference: