ADN-RT-EMTP-Model: Active Distribution Network Model for Real-Time and EMTP-Type Power System Simulations
This project contains an Active Distribution Network Power System Model originally developed H. Hooshyar and other researchers in Prof. Luigi Vanfretti's research group, ALSETLab).
The model was developed for use with the Opal-RT eMegaSim real-time power system simulator.
As a result, EMTP-RV versions of the model are available.
Real-Time Models (Stub-Line and SSN Solvers)
Several versions of the model are provided in this repository, along with a model description and a self-contained documentation (i.e. help file).
Details of the first version (V2) can be found in the open access publication in the following link:
- Ref. 1: H. Hooshyar, F. Mahmood, L. Vanfretti, M. Baudette, ''Specification, implementation, and hardware-in-the-loop real-time simulation of an active distribution grid,'' Sustainable Energy, Grids and Networks, Volume 3, September 2015, Pages 36-51, ISSN 2352-4677, http://dx.doi.org/10.1016/j.segan.2015.06.002
The second version of the model was developed to overcome several of the limitations in accuracy of the "stub-line" modeling used to decouple the model into different cores. Hence, V6 partitions each subsystem into state-space-nodal (SSN) groups so that parallel computations can be carried out with the ARTEMiS-SSN solver. More information about the model can be found on the "ReadMe.pdf" included in the V6 folder, and in the following paper:
- Ref. 2: H. Hooshyar, L. Vanfretti, C. Dufour, ''Delay-free parallelization for real-time simulation of a large active distribution grid model'', in Proc. IEEE IECON, Florence, Italy, October 23-27, 2016. https://doi.org/10.1109/IECON.2016.7793885
Note:A pre-print copy of this paper is available in the V6 folder, however, note that it is not the final version that appeared in the proceedings of the IEEE IECON conference. A modified version of this model for Matlab 2015aSP1 is also available.
A third version of the model was developed to address some of the differences found when implementing the model using EMTP-RV (see below). More information about the model can be found on the V6_1_correcctions.pdf.
The EMTP-RV versions of the model are reported in the following papers, and are available under the
./EMTP-RV/ folder of this repository.
Pre-prints of the papers and related presentations are available in a
./EMTP-RV/...version.../doc/ folder for each model.
- Ref. 3: A. Haddadi, H. Hooshyar, J. Mahseredjian, C. Dufour, and Luigi Vanfretti, A First Step Towards the Implementation and Software-to-Software Validation of an Active Distribution Network Model'', in Proc. International Conference on Power System Transients (IPST), Seoul, Republic of Korea, June 26th-29th, 2017. Website, Proceedings .
- Ref. 4: A. Haddadi, J. Mahseredjian, H. Hooshyar, L. Vanfretti and C. Dufour, "An Active Distribution Network Model for Smart Grid Control and Protection Studies―Model Validation Progress", paper submitted to the Electrical Power and Energy Conference (EPEC2017), Saskatoon, SK, Canada, October 22-25, 2017. Website.
You will need access to an Opal-RT eMegaSim simulator or equivalent, and associated software. The models run with the following software versions:
- V2: Runs under RT-Lab v10.6, ARTEMiS v6.3.3 and MATLAB 2010b
- V6: Runs under RT-Lab v11, ARTEMiS v7.0.2 and Matlab 2011b
- V6.1: It requires at least RT-Lab v11.0.8 and ARTEMiS v7.0.4. It runs with both Matlab 2011b and Matlab 2015aSP1.
- V6.2: RT-Lab v188.8.131.52, ARTEMiS v184.108.40.2061, MATLAB 2015aSP1.
Future updates will no longer support older versions of MATLAB, currently the only one being supported is MATLAB 2015aSP1.
Please contact Opal-RT support if you have issues with your own software configuration: link
Using our Models = Citing our Work!
If you use our model in your work or research, all we ask from you in exchange is that you cite our publications above! If you only have space for one citation, please cite Ref. 1.
If you make modifications to the model that improve it or add functionality, you are welcome to submit a "pull request". When you do this, please add a new folder with your files, and use versioning (e.g. VXXX.0.0).
The software is licensed under GPLv3. If you are unfamiliar with the GPLv3 terms and conditions, please see this link.
This model represents an active distribution grid with high penetration of distributed generation (DG). The model was initially developed as part of the IDE4L (Ideal Grid for All) project, financed by the European Commission . It can be used to study dynamics of active distribution grids under several test scenarios.
The modeled grid is a 79-bus multi-phase unbalanced network including components of 10 different types, each with electrical and mechanical parts, various controllers and protection systems, allowing to simulate the behavior of an active distribution grid. Details of the component models and the grid structure are explained in , see Ref. 1 below. The modeled grid includes four different voltage levels: HV (220 kV), MV (36 kV), LV (6.6 kV), and residential LV (0.4 kV).
The HV section is a 6-bus network adopted from  with 50 MW wind farm generation added.
The MV section is based on the IEEE 34 bus test feeder with the main difference being that three constant power loads (total of 110 kVA) are replaced by motor load models to incorporate motor loads dynamics, and two 1.5 MW wind farms are added to the middle and end of the feeder . In addition, a circuit breaker supervised by an overcurrent protection relay and a three-phase recloser are added to the beginning and middle of the MV feeder, respectively.
LV and residential LV sections:
The LV and residential LV sections are based on the IEEE 37 bus test feeder. The following differences are made: two constant power loads (total of 150 kVA) are replaced by motor load models; two PV farm models (total of 1.05 MW), three residential PV system models (total of 0.77 MW), and two battery storage models (total of 325 Ah) are added to the feeder ; and two sets of single-phase reclosers are added to this section.
In order to comply with real-time simulation constraints, the model was implemented in three subsystems each partitioned into SSN groups so that parallel computations can be performed using the ARTEMiS-SSN solver. More details on the real-time simulation setup of the model can be found in .
 EU-FP7 IDE4L project official website: link
 H. Hooshyar, F. Mahmood, L. Vanfretti, M. Baudette, “Specification, implementation, and hardware-in-the-loop real-time simulation of an active distribution grid,” Elsevier Sustainable Energy, Grids and Networks (SEGAN), vol. 3, pp. 36-51, September 2015. http://dx.doi.org/10.1016/j.segan.2015.06.002
 R. Billinton, S. Kumar, N. Chowdhury, K. Chu, K. Debnath, L. Goel, E. Khan, P. Kos, G. Nourbakhsh, J. Oteng-Adjei, “A reliability test system for educational purposes-basic data”, IEEE Transactions on Power Systems, vol. 4, no. 3, pp. 1238-1244, Aug. 1989.
 Available on-line at: link
 H. Hooshyar, L. Vanfretti, C. Dufour, “Delay-free parallelization for real-time simulation of a large active distribution grid model”, in Proc. IEEE IECON, Florence, Italy, October 23-27, 2016. 10.1109/IECON.2016.7793885