Datasets
Standard Dataset
Study of Microgrid Resilience through Co-Simulation of Power System Dynamics and Communication Systems Use Cases
- Citation Author(s):
- Submitted by:
- Priya Thekkumpa...
- Last updated:
- Tue, 05/17/2022 - 22:17
- DOI:
- 10.21227/de5b-9p04
- Research Article Link:
- License:
- Categories:
- Keywords:
Abstract
Smart grid technologies are deepening the interdependence of electric power and communication systems, but that interdependence is difficult to quantify. In the case of microgrids, communication systems can be essential to maintaining stability during islanded operations. Though many power system studies assume the presence of perfect communication networks, detailed modelling of power and communication systems for dynamic studies of microgrids is rare. The work presented in this paper develops a framework, for power and communication system co-simulation, to study the effects of communication systems on microgrid stability. An operational use case is examined in which a battery energy storage system operates to offset the loss of generation in an islanded microgrid. The framework is evaluated for different communication technologies, network structures, and communication media.
The following software were used for the co-sumaltions listed in the paper. Note that these files may not be operational with the updated versions of the software. Please use the files as a reference.
1. Gridlab-d [https://github.com/gridlab-d/gridlab-d] (develop branch) - built using FNCS as in https://github.com/FNCS/FNCS-Tutorial/tree/master/demo-gld-ns3
2. Framework for Network co-simulation(fncs) [https://github.com/FNCS/fncs] (develop branch)
3. ns-3.26 with FNCS API [https://github.com/FNCS/ns-3.26] - built using FNCS
4. Python 3
The four folders in the dataset are named after each of the four use cases.
Each folder contains the following key components-
1. ns3 folder -> multider-wireless-delta.cc This is the main ns3 file for the case that simulates the communication system.
fncs.zpl contains the necessary data to let fncs know the information that is being sent/received by this simulator/federate. The pcap files collected at the communication nodes is also available in this folder.
2. tracer folder -> pytracer.py contains the control center python controller logic.
3. IEEE-123_Dynamic.glm is the main gridlabd file, while IEEE-123_Diesels.glm and IEEE-123_Inverters are required auxillary files for all the DERs. The file fncs_configure.cfg contains the necessary data to let fncs know the information that is being sent/received by this simulator/federate.
4. The co-simulation is started and ended using the scripts runall.sh and killAll.sh respectively. Please replace '2der-wireless-delta' with 'multider-wireless-delta' in the runAll.sh script. Also, it is the best to run killAll.sh to completely terminate the simulators every time after a run (succesful or unsuccessful).
5. Gridlabd output can be analyzed using matlab_post_processing_v2.m
Troubleshooting:
If you get an error about gridlabd timestep being smaller than fncs time step, go to your gridlabd source folder -> connections - > fncs.cpp. Replace fncs_step *= 1000000000 to fncs_step *= 10000000.Then reinstall gridlabd (you can just run 'make' and 'make install' as in the installation steps). This changes the minimum time-step allowed by fncs API in gridlabd from 1 second to 10 milliseconds.