Next Article in Journal
Innovative High-Induction Air Diffuser for Enhanced Air Mixing in Vehicles and Personalized Ventilation Applications
Next Article in Special Issue
A Feasible Region-Based Evaluation Method for the Renewable Energy Hosting Capacity with Frequency Security Constraints
Previous Article in Journal
A Review of Coupled Geochemical–Geomechanical Impacts in Subsurface CO2, H2, and Air Storage Systems
Previous Article in Special Issue
Prediction Model for Trends in Submarine Cable Burial Depth Variation Considering Dynamic Thermal Resistance Characteristics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modeling and Simulation of Distribution Networks with High Renewable Penetration in Open-Source Software: QGIS and OpenDSS

by
Ramón E. De-Jesús-Grullón
*,
Rafael Omar Batista Jorge
,
Abraham Espinal Serrata
,
Justin Eladio Bueno Díaz
,
Juan José Pichardo Estévez
and
Nestor Francisco Guerrero-Rodríguez
School of Mechanical and Electrical Engineering, Pontificia Universidad Católica Madre y Maestra, Santiago de los Caballeros 51000, Dominican Republic
*
Author to whom correspondence should be addressed.
Energies 2024, 17(12), 2925; https://doi.org/10.3390/en17122925
Submission received: 23 April 2024 / Revised: 30 May 2024 / Accepted: 6 June 2024 / Published: 14 June 2024

Abstract

:
There are important challenges in modeling large electrical distribution circuits, especially with the presence of distributed renewable generation. Constructing simulations to assess the effect of the penetration of distributed generation on electrical distribution networks has become of great importance for Distribution Network Operators (DNOs). This paper proposes a simulation strategy based on open-source platforms and the integration of scripting tools for the rapid modeling of large-scale electrical distribution circuits with distributed renewable generation. The implementation is based on the adaptation of a tool called QGIS2OpenDSS, which creates OpenDSS distribution network models directly from an open-source geographic information system, QGIS. The plugin’s capabilities are demonstrated using a real distribution feeder with more than 60% penetration of renewable generation based on photovoltaic systems. These simulations are carried out using real data from a circuit provided by a DNO in the Dominican Republic, which is used to demonstrate how this approach provides a more accessible and flexible way to simulate and assess the effect of Distributed Energy Resources (DERs) in medium voltage (MV) and low voltage (LV) networks, enabling utilities to evaluate system performance and identify potential issues. The integration of this open-source tool within the DNO software stack enables users to apply it according to specific project needs, enhancing their capability to analyze and manage high DER penetration levels, aiding in better planning, operation, and decision-making processes related to renewable energy projects.

1. Introduction

With the intention of effectively performing analysis on the impact of Distributed Energy Resources (DERs) in the medium voltage (MV) and low voltage (LV) networks, utilities must first have in place the data necessary to build detailed models of the Distribution Network (DN) components [1], as well as advanced simulation tools that allow for comprehensive analysis to evaluate system performance and identify potential issues [2].
The fact that DERs are geographically dispersed, and that their engineering treatment, i.e., energy planning, stationary or dynamic grid analysis and protection, mainly depend on some geographical qualities, makes Geographic Information System (GIS) environments ideal for their study [3]. Furthermore, GIS has become an important tool for utilities and city planners and has been embedded in their internal processes from asset and operations management to planning, design, and engineering. Various works on the scientific literature have focused on the integration of GIS environments for adding value to decision processes regarding the topology of electrical power systems and DER potential assessment [4,5,6,7].
To make the simulation of DER behavior more accessible and flexible, the use of open-source software tools such as OpenDSS® (Open Distribution System Simulator) and open-source GIS software (QGIS) has been recently explored and used by utilities and research laboratories across the world [8,9,10,11,12].
However, simulation results with these tools highly depend on the quality and availability of network data (location and capacity of distribution transformers, capacitors, and DERs, as well as type, material, size, and length of conductors, etc.) [13], and the necessary work to translate (clean, fix, aggregate or remove incorrect, corrupted, incorrectly formatted, duplicated, or incomplete) data within the GIS network to the respective power flow. Simulation tool use is not only arduous, but often requires third party commercial software packages [14] that need licensing, and that do not allow access to the source code to change or add any functionalities and new algorithms from users.
Several works in the scientific literature present various approaches for the manipulation of the GIS database to generate automatically network models. The authors in [15,16,17] report on the construction of network models using MATLAB® (2022b) for the extraction, processing, or network modeling. However, a common feature and liability of these studies is the fact that recurring modifications in the GIS databases require new interactions of file exchanges between software packages, a repetitive and time-consuming task. It is also often the case that studies of photovoltaic (PV) penetration are carried out using synthetic data of the DER characteristics [18,19,20,21,22] with simplified or generic networks; this reduces the accuracy on capturing specific regional or site-specific factors and limits the validation opportunities for the models and the correct representation of the real distribution circuit behavior [23].
This paper reports on the implementation and adaptation of a software plugin called QGIS2OpenDSS, developed by researchers at the Electric Power & Energy Research Laboratory (EPERLab) of the University of Costa Rica (UCR) [24]. This tool creates the OpenDSS network model directly from an open-source geographic information system (QGIS) using PyQGIS, QGIS library for executing Python code [25]. Although limited by its Graphical User Interface (GUI), OpenDSS has been used in several studies, harnessing the functionality of plugins that are capable of automatically scripting the required connection matrices [26]. Nevertheless, exploring the use of the QGIS2OpenDSS plugin in a real circuit with real data on DER penetration has not been widely investigated. This paper contribution focuses on adapting and applying the proposed simulation scheme to a real study case of a DNO. The main contributions are the following:
  • Direct Integration of Real Data: This study implements the QGIS2OpenDSS plugin with real-world data from a georeferenced high PV penetration network, unlike studies which relied on synthetic data or simplified models. This ensures more accurate and reliable simulation results.
  • Detailed Explanation on the procedure required for the use of the QGIS2OpenDSS plugin: The original publications presenting this plugin [8,27] do not discuss in detail the necessary steps for using the plugin in different regions. By addressing this gap, this work contributes to extending the usage of the plugin and documents the required adaptations and modifications for its implementation in other locations. Furthermore, guidelines for extracting the required data for the plugin from the DNO data are presented. This effort enhances the utility of the plugin and supports its broader applicability.
  • Automated Data Processing: The development of an automated data processing algorithm allows for the conversion of legacy GIS data from the DNO into the format needed for QGIS2OpenDSS, reducing the time and effort required for manual data handling and minimizing the risk of errors associated with repetitive data exchanges.
  • Open-Source and Customizable Tool: The use of open-source tools like QGIS and OpenDSS eliminates dependency on costly, proprietary software, and allows for customization. This enables users to modify the tools according to specific project needs and enhances flexibility in performing various analyses.
  • Practical Application: By applying the developed tool in the context of the Dominican Republic’s distribution network, the study provides practical insights and validates the effectiveness of the tool in a real-world scenario, potentially accelerating DER integration and supporting the local energy market’s growth.
The integration of this tool in the software stack of the DNOs in the Dominican Republic is an important contribution. Recent studies on the issues regarding the development of DERs in the island have identified that the lack of access and capacity on specialized electrical system analysis software for DER interconnection procedures creates unnecessary delays on the approval of projects and the further development of the market due to the current established policies [28].
This paper is organized as follows: Section 2 includes a summary of QGIS2OpenDSS and the software stack behind it, as well as the required list of attributes for each DN element to build its model in OpenDSS and the adaptations made to the plugin for the case study. In addition, Section 3 explains the Distribution Network Data Extraction Process from a real DN feeder (VOLG101) with high renewable penetration (>60% PV) in Santiago de los Caballeros, Dominican Republic, with 7428 customers, while a demonstration of the plugin capabilities is shown in Section 4. Finally, Section 5 illustrates the type of analysis that can be carried out to study the impact of PV generation, and future work and conclusions are drawn in Section 6.

2. Materials and Methods

To perform effectively an analysis on the impact of Distributed Energy Resources (DERs) in the medium voltage (MV) and low voltage (LV) networks, utilities must first have in place the data necessary to build detailed models of the Distribution Network (DN) components, as well as advanced simulation tools that allow for comprehensive analysis to evaluate system performance and identify potential issues. This section presents a description of the open-source GIS software package in which the plugin was built (QGIS) and the power engineering software for which the models are created (OpenDSS), as well as a summary of the most important aspects of QGIS2OpenDSS plugin architecture and functionalities.

2.1. QGIS

Geographical Information Systems (GISs) are a powerful tool which can be defined as an integrated set of data, hardware, software, and processes designed as a computer system for gathering, managing, mapping, and analyzing spatial data [29]. GISs are now being widely used by distribution energy utilities to manage and store information about the characteristics of their assets, which in turn allows power engineers to use this data (overhead lines distance, conductor type, transformer data, customer location, and consumption, etc.) to create detailed network models.
QGIS is an Open-Source Geographic Information System (GIS) licensed under the GNU General Public License, and part of the Open-Source Geospatial Foundation (OSGeo), which allows developers to create plugins to add additional features that are not part of the original software stack [30].

2.2. OpenDSS

OpenDSS is a comprehensive electrical power system simulation tool primarily for electric utility power distribution systems. It is an open-source software package that supports nearly all frequency domain (RMS sinusoidal steady-state) analyses commonly performed on electric utility power distribution systems by the DNO [31].
A key aspect of this script-driven simulation tool is that it works with numerous solution modes including the standard single Snapshot mode, Daily mode, Duty Cycle Mode, Monte Carlo mode, and several modes where the load varies as a function of time, which is critical to quantifying the impacts of variable sources and loads [32]. OpenDSS differs from the traditional radial circuit solvers because it solves networked (meshed) distribution systems as easily as radial systems.
Figure 1 shows the internal architecture of the software and the sequence of definitions, i.e., power delivery, conversion, and control elements that contain the characteristics and configuration.

2.3. QGIS2OPENDSS Plugin

QGIS2OpenDSS extracts and processes GIS data to generate the OpenDSS files (*.dss) required to run the simulator. The plugin contains a Graphical User Interface (GUI) that facilitates the translation of data, that comes in the form of *.shp files, which contain the information, characteristics, and attributes of object classes (LV/MV lines, loads, transformers, etc.) (See Figure 2).
In the GUI, the user would select the layer of DN elements to be modeled in OpenDSS, each layer has attributes that are classified as mandatory (essential) and optional (these attributes can be extracted indirectly from the files generated by the GIS departments of the electricity distribution companies).
Relevant aspects of the plugin´s inner workings such as the connectivity of elements (done using Python Library Kd-trees [33]) and the load profile allocation algorithm (where a typical demand profile is assigned to each load) are out of the scope of this paper; an interested reader can refer to references [34].

2.3.1. Data Requirements in QGIS2OpenDSS

The plugin was originally designed to work with the CRTM05-WGS84 (Costa Rica) projection, but users can modify this if the projection coordinates are given in meters. This is important because the object location is a common attribute among all DN elements. For our case study UTM Zone 31-WGS84 was selected. Here is the list of some of the required DN elements to build a DN model, and an example of how the naming convention for the attributes works on the plugin for the overhead MV/LV lines and for PV DERs.
  • Overhead MV/LV Lines
Table 1 presents the list of attributes in the shape files of overhead medium voltage (MV), low voltage (LV) lines. A description of each parameter is presented below.
    • NEUTMAT: Neutral conductor material (CU, AAC, AAAC, ACSR).
    • NEUTZIZ: Neutral conductor gauge—Can be specified in AWG, mm2, MCM.
    • PHASEMAT: Phase conductor material (CU, AAC, AAAC, ACSR).
    • PHASESIZ: Phase conductor gauge—Can be specified in AWG, mm2, MCM.
    • LINEGEO: Geometry of the line—These data characterize the geometry used in the conductors. Only one letter is used to indicate the type (H—Horizontal, B- Biphasic, V-Vertical, T-Triangular).
    • PHASEDESIG: Designation of the phases. The user can use letters or numbers as encoding.
    • NOMVOLT: Coding for nominal voltage. The user must select one of the predefined codes for the voltage selection.
  • Small Scale DERs (PV)
Table 2 shows the list of mandatory and optional attributes in the shapefiles of the distributed generators. These generators take the number of phases and connections of the loads where they are installed. A description of each parameter is presented below.
    • TECH: Distributed generator type (PV, hydro, wind).
    • KVA: Generator installed power in kVA.
    • CURVE1: Irradiance curve file name for photovoltaic systems, must include the extension.
    • Curve2: File name of the temperature curve for photovoltaic systems.
Table 2. Distributed generators attributes.
Table 2. Distributed generators attributes.
Required AttributesOptional Attributes
TechX1
KVAY1
PHASEMAT
Curve 1 (Irradiance)
Curve 2 (temperature)
The user will need to verify and translate the existing utility network data to match the naming convention and requirement of the plugin for the rest of the DN elements:

2.3.2. Erroneous Data

One of the key features of the plugin is that if any of the attributes listed are missing, the user will be alerted with an error message. It is possible that the attribute name in the plugin may not match the name in the table, leading to non-recognition. The plugin is also capable of the following:
  • Detecting disconnected elements due to small coordinate displacements.
  • Wrong phase designation: The plugin verifies that the elements being connected have the correct phase designation.
  • Unknown transformer model capacity or nominal voltage:
These errors must be fixed in the GIS database to successfully run the plugin.

2.3.3. Adaptations and Updates to the Plugin for the Dominican Republic Case Study

  • Line configuration library.
Several new line geometries were added to the Line Configuration Library (see Figure 3). Each Line geometry object specifies the number of conductors (nconds), the number of phases (nphases), the spacing configuration (spacing), the wire types (wires), and whether the conductor information should be reduced for modeling (Reduce = Y). As expected, the distribution network code and regulation from the Dominican Republic differ from Costa Rica, so configurations such as depicted in Figure 4 were added, as well as new line geometries for underground cables. Procedures similar to those shown in [35] follow.
  • List of reactance and resistance for single phase three winding transformers.
In the Dominican Republic, 12.47 kV feeders represent almost 90% of all MV feeders. Series impedances for the transformers at this nominal voltage level were added to the TrafoOperations.py script. The plugin uses a look up table of typical series impedances based on the nominal voltage and capacity of transformers. If the value is not found in the table, it will trigger an error.
  • Function related to single-phase L-N voltage and three-phase L-L voltage assignation.
The function called renameVoltage (see Figure 5) was modified in the TrafoOperations.py; this function takes two input parameters, MVCode and LVCode. The purpose of the function is to convert medium voltage (MV) and low voltage (LV) codes into their respective voltage values for both line-to-neutral (LN) and line-to-line (LL) configurations. The commented part indicates that the voltage values for the MVCode 210 are specific to the Dominican Republic. This suggests that the voltages 7.22 kV (line-to-neutral) and 12.5 kV (line-to-line) are standard for medium voltage in the Dominican Republic.
  • Functions related to service connection to loads.
A segment of the plugin qgis2opendss.py that determines which line the load is connected to, to validate if the wire code accepts the indicated SERVICE type, was modified to accept cable type==“DPX”. In general, the complete operation sequence of the plugin is shows on the flowchart in Figure 6, the red boxes are the scripts that were modified and adapted for the Dominican Republic case study.

3. Case Study: Distribution Network Data Extraction Process

With the goal of implementing the OpenDSS-Based Distribution Network Builder in a real case study, a blueprint of the processes to obtain, clean, and transform the existing GIS data of a regional distribution energy company in the Dominican Republic (EDENORTE) was created (see Figure 7). Several data dictionaries, models, and workflows were created in QGIS to standardize and summarize the process.
The test feeder (VOLG 101) characteristics are shown in Table 3.
QGIS Model Designer was used to create a model for data extraction and translation with a simple and easy-to-use graphical interface (See Figure 8). This was a key development because, while working on the GIS datasets, most of the analysis operations that were executed were not isolated but were part of a set of operations. A model was used such that the chain of processes could be executed in a single process or algorithm, saving time and effort, which is proportional to the volume of the model.
The algorithm facilitates the transformation of network elements such as transformers, and assigning values to key attributes based on specific conditions derived from existing tabular data. By systematically altering attributes such as phase designation, primary and secondary voltages, connection types, and power ratings, the algorithm streamlines the process of data preparation for subsequent use in the plugin.
Another model was used to extract MV/LV loads from the registered consumption in kilowatt-hours by clients (monthly energy consumption), which is the equivalent of the KWHMONTH attribute for the plugin.
For the irradiance data used in the simulation, physical measurements were taken from a sensor located in the selected circuit for the case study. The Pyranometer SI-485 provides measurements in the spectral range between 300–2900 nm, with a maximum irradiance measurement of 1600 W/m2 with an output resolution of 1 W/m2 [36]. Table 4 shows the statistics of one year of measured data; the highest irradiance measurement registered was the selection criterium for choosing the irradiance curve for the proposed case study. This single day was selected to represent the most critical case of renewable penetration in the distribution circuit.

4. Demonstration

QGIS2OpenDSS File Creator

Once all issues regarding connectivity and naming conventions are cleared, the plugin takes the attributes of the GIS layers to generate the OpenDSS files. The plugin execution time averages 3 min approximately, on a PC INTEL® Core I7, 8 GB RAM, 64 bits, running QGIS 3.18 Zürich. In this case study, the files generated on the directory by the plugin are shown in Figure 9.
The plugin also creates a list of buses for all the LV and MV elements in a *csv file, which can be used to plot the circuit and see power flow simulations in OpenDSS 9.4.1.1 and, which can be seen in Figure 10.
Each individual file created on the project directory is crucial for the execution of the power flow simulation on OpenDSS. The description of the function of these files is explained below:
  • DG.dss: Includes the bus name, phases, nominal voltage, connection type, power rating, irradiance, and temperature. Figure 11 shows the typical irradiance curve in Santiago used to model the PV generation.
  • MVLines.dss: Details the connectivity of each MVline/cable segment, geometry of line/cable, and its length.
  • LVLines.dss: Details the connectivity of each LV line/cable segment, geometry of line/cable, and its length.
  • MV/LVLoads.dss: Indicates load location, type, nominal voltage, and power factor and the associated load-shape.
  • Substation.dss: Provides information on the source bus, phases, connection, windings, power rating.
  • Transformers.dss: Provides information on all transformers (e.g., losses, impedance, voltages, etc.).
Furthermore, a set of supplementary libraries with information regarding load profiles, wire information, and the geometry configuration for the distribution network must be available. This is also produced by the plugin and organized in the following manner:
  • Wiredata: Database that contains the characteristics (name, resistance, diameter, and GMR, etc.) of each wire.
  • ConfigLines: Database that contains the geometry (spacing, number of conductors, phases) of each line.
  • Loadshapes: Provides the electrical behavior of a load along a given period.
In total, the plugin allocated 451 load profiles among 7528 customers. The circuit provided by the DNO is mostly residential, with only 10% of the customers being commercial. This is relevant when looking at the average load shape in Figure 12. Additionally, this form of residential load shape is consistent with profiles of residential circuits reported in the scientific literature, as shown in [37].

5. Results and Discussion

5.1. Simulation in OpenDSS

This section illustrates various studies that have been carried out to study the impact of photovoltaic (PV) generation in the proposed case study, showcasing the integration of OpenDSS and QGIS.
Figure 13 presents the GIS model of the circuit provided by EDENORTE. The blue circles represent loads, black triangles MV transformers, while yellow circles are the PV generators. This model is made of 10,206 LV and 2470 MV buses, 9990 LV line sections and wire services, 873 (3φ) MV, 4 (2φ) MV, and 1621 (1φ) line sections, and 579 MV transformers.
Once all OpenDSS files *.dss were generated as shown in Section 4, a snapshot power flow simulation was carried out to quantify the impacts of variable sources and loads in the voltage profiles of the feeder.
Figure 14 depicts line-to-neutral (L-N) voltage profiles in per unit (pu) over a distance (in kilometers) for two scenarios: (a) without photovoltaic (PV) generation (left graph) and (b) with PV generation (right graph). The X-axis (distance in km) represents the distance along the distribution line from the substation, while the Y-Axis (p.u. voltage) shows the voltage levels per unit (pu), where 1.0 pu represents the nominal or rated voltage. The different colors represent different voltage phases. The slope of the voltage profile is less steep in the right graph, suggesting that PV generation has a stabilizing effect on the voltage levels along the distribution line.
Figure 15 and Figure 16 present the variation of all MV/LV buses throughout the day. There is significant variability in the LV/MV bus voltages, however mostly within the 120 V to 130 V range, suggesting that the system is generally well-regulated. There are notable voltage drops in the early morning (6:00 a.m.) and evening (6:00 p.m.). These times correspond to periods of increasing demand and low PV contributions.
The effect of PV integration on the technical losses in the DN was also evaluated. For this purpose, a daily time series simulation was carried out under two conditions: no PV systems and the inclusion of the PV systems that were present in the DNO GIS database. Figure 17 shows the results of the feeder load profile, which is consistent with the residential nature of the circuit, as can be seen in Figure 10.
This time series simulation allows us to identify the critical hours on which to explore the effects of PV system penetration on technical losses. As can be seen, around 12:00 p.m. is the moment in the day on which the effect of the PV penetration causes important changes in the behavior of the main electrical feeder of the circuit under study. As stated in Section 4 of this paper, actual irradiance information was captured for the construction of this simulation results. From this information, and using the power flow results, it is possible to construct a heat map for the zones on which the PV penetration impact is greater in terms of percentage voltage rise, as shown in Figure 18. The y-axis represents the percentage voltage rise, indicating how much the voltage levels have increased due to the addition of PV generation. Each dot on the plot represents a measurement point, and the color coding visually differentiates the magnitude of the voltage rise.
On average, the buses with the highest percentage of voltage rise (16%) are those close to the highest concentration of PV while the lower voltage rise is found at the tails of the secondary circuits and where the PV concentration is the lowest.
Finally, to measure the effect of these changes on the behavior of the circuit, it is important to determine if there is a global reduction or increase in technical losses. As shown in Figure 19, the total circuit losses are reduced from 238.83 kW to 209.35 kW for an improvement of 12.34%. The summary of the power flow simulation is shown in Figure 20.

5.2. Discussion

As demonstrated, detailed studies on real geographically dispersed DERs can be easily carried out with the integration of GIS and advanced simulation tools such as OpenDSS. These tools facilitate the assessment, accurate representation, and analysis of complex distribution networks facing increasing integration of renewable energy sources, allowing for the evaluation of various technical aspects such as voltage regulation, power quality, and system stability. This creates the possibility of conducting studies of the Dominican Republics’ electrical grid with similar focus to the ones shown in [38,39,40].
For validation purposes, the obtained results were compared with real data provided by the DNO regarding the reported average technical losses for the year 2021 (as shown in Table 3. As can be seen in Figure 20, the absolute error between this value and the one reported by the DNO is approximately 9.5%. This implies that the topological arrangement and considerations that were taken in the modeling process are in line with the real behavior of the circuit. The differences between the reported technical losses value and the simulation results can be explained by the previous exposed modeling challenges regarding the DNO dataset. Thus, the methodology presented by this work could be implemented for the simulation of the actual DNO distribution circuit topology.
This subject holds utmost significance, particularly in countries like Dominican Republic, where present regulations require a supplementary study for new photovoltaic systems if the actual installed capacity in that circuits exceeds 15% of the circuit´s annual peak load [41]. The additional cost of such a study constitutes an obstacle to the installation of new photovoltaic systems, for small-scale photovoltaic systems where the cost is disproportionately high. In addition, it creates a backlog in the studies on the DNO side since it needs to process many studies through applications above the 15% limit.
Recent studies have demonstrated that the technical limit is often much higher than the proposed limit of 15% by the regulations in the Dominican Republic. Even extreme feeders with PV distribution at the end show at least 25% accommodation capacity with mitigation measures such as voltage setpoint optimization or reactive power control, and even 50% in urban feeders [42]. As the country seeks to increase its renewable energy generation, understanding the maximum penetration level of PV installations is crucial for ensuring the stability and reliability of the distribution grid, as well as to help in planning and implementing sustainable energy strategies, fostering the growth of renewable energy, and reducing dependence on fossil fuels.
However, from the author’s experience, the DNOs in the Dominican Republic lack access to tools to conduct these detailed studies; therefore an open-source repository with the processes and models to clean, fix, aggregate, or remove incorrect, corrupted, incorrectly formatted, duplicated, or incomplete data within the GIS network dataset was created to enable the data to be processed by the QGIS2OPENDSS plugin in QGIS, which is the key in carrying out these studies.
Through the validation process some errors were found in the network element database, requiring additional network analysis for correction. Namely, there are discrepancies in the association of loads to transformers, as well as energy consumption data in the DNO database. This database must undergo a thorough cleansing process to remove any erroneous information that may lead to the creation of impractical engineering network models. Correcting these errors is a complex task that demands an understanding of the construction of GIS network models and their appropriate adaptation for power engineering purposes.
Finally, to fully harness the capabilities of GIS software, forthcoming efforts will concentrate on the development of hosting capacity maps and investigations pertaining to the penetration of electric vehicles (EVs). Additionally, GIS-based tools will be devised to facilitate the mapping and identification of infrastructure weakness, such as trees located near overhead medium voltage (MV) lines, among other location-based hazards. For example, preliminary analysis conducted on the DN data reveals that the occurrence of tree limbs falling into overhead distribution lines constitutes a contributing factor to nearly 10% of power outages within certain distribution feeders.

6. Conclusions

Overall, this paper contributes to the growing body of research on modeling and simulation of distribution networks with high renewable penetration. The proposed framework utilizing QGIS and OpenDSS provides a valuable tool for network planning, analysis, and optimization in the context of increasing renewable energy integration. It offers a cost-effective and flexible solution, empowering stakeholders to make informed decisions and pave the way towards a sustainable and resilient energy future.
The power of the tool was demonstrated on a real circuit in Dominican Republic with high renewable penetration and with more than 7000 customers. The illustrative network studies highlight the convenience of the tool to perform effectively analysis on the impact of Distributed Energy Resources (DERs) in the medium voltage (MV) and low voltage (LV) networks.
The data obtained from the simulations is a key input for the DNO regarding the penetration of renewable energy inside the distribution circuit selected for the case study. Even though penetration levels above 50% were presented, the voltage profile and congestion level shown in the simulations results are within regulation thresholds. Moreover, positive effects when considering voltage profile at some buses were observed, improving the case for the inclusion of higher renewable penetration levels in the circuit.
Furthermore, the possibility of using this tool for the creation of co-simulation scenarios will be explored in future projects, with the aim of creating toolboxes for the development of digital twin technologies focused on the operation of distribution network and fault detection processes.
The implementation of the tool using real data is expected to bring new opportunities for capacity building within the DNO, as well as future collaborations from the remaining DNOs and other research groups within the DR.

Author Contributions

Conceptualization, R.E.D.-J.-G.; methodology, R.E.D.-J.-G. and R.O.B.J.; software, R.E.D.-J.-G. and J.E.B.D.; validation, R.O.B.J. and A.E.S.; formal analysis, R.E.D.-J.-G., R.O.B.J. and J.E.B.D.; investigation, R.E.D.-J.-G., R.O.B.J., A.E.S. and J.J.P.E.; resources, R.E.D.-J.-G., R.O.B.J., A.E.S. and J.J.P.E.; data curation, R.E.D.-J.-G., R.O.B.J. and A.E.S. and J.J.P.E.; writing—original draft preparation, R.E.D.-J.-G.; writing—review and editing, R.E.D.-J.-G., R.O.B.J. and N.F.G.-R.; visualization, R.E.D.-J.-G., R.O.B.J. and J.E.B.D.; supervision, R.E.D.-J.-G.; project administration, R.E.D.-J.-G.; funding acquisition, R.E.D.-J.-G., R.O.B.J. and A.E.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work is financially supported by the Partnership for Enhanced Engagement in Research (PEER) Program (Cycle 9), which is funded by the United States Agency for International Development (USAID) under parent award number AID-OAA-A-11-00012 and implemented by the National Academy of Sciences (NAS).

Data Availability Statement

The developed open-source code and modify libraries may be accessed at the following GitHub repository: https://github.com/MicrogridPUCMM/QGIS2OpenDSS_EDENORTE (accessed on 4 April 2024).

Acknowledgments

The authors express their gratitude to EDENORTE’s Distribution, Planning, and Network Study Department for providing the GIS database and technical support essential to the analysis of the case study. Special thanks go to Joan Núñez (Technical Distribution Management) and Saúl Azcona (Engineering Management), whose contributions were crucial to the success of this research. Additionally, the authors appreciate the contributions of EPERLab researchers, who made this tool open source.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Shirek, G.; Lassiter, B.; Carr, W.; Kersting, W.H. Modeling Secondary Services in Engineering and Mapping. In Proceedings of the 2010 IEEE Rural Electric Power Conference (REPC), Orlando, FL, USA, 16–19 May 2010; pp. 254–262. [Google Scholar]
  2. Adesina, L.M.; Abdulkareem, A.; Katende, J.; Fakolujo, O. Newton-Raphson Algorithm as a Power Utility Tool for Network Stability. Adv. Sci. Technol. Eng. Syst. J. 2020, 5, 444–451. [Google Scholar] [CrossRef]
  3. Lazarou, S.; Vita, V.; Karampelas, P.; Ekonomou, L. A Power System Simulation Platform for Planning and Evaluating Distributed Generation Systems Based on GIS. Energy Syst. 2013, 4, 379–391. [Google Scholar] [CrossRef]
  4. Alhamwi, A.; Medjroubi, W.; Vogt, T.; Agert, C. Development of a GIS-Based Platform for the Allocation and Optimisation of Distributed Storage in Urban Energy Systems. Appl. Energy 2019, 251, 113360. [Google Scholar] [CrossRef]
  5. Bottaccioli, L.; Patti, E.; Macii, E.; Acquaviva, A. GIS-Based Software Infrastructure to Model PV Generation in Fine-Grained Spatio-Temporal Domain. IEEE Syst. J. 2018, 12, 2832–2841. [Google Scholar] [CrossRef]
  6. Parajeles, M.J.; Quirós-Tortós, J.; Valverde, G. Assessing the Performance of Smart Inverters in Large-Scale Distribution Networks with PV Systems. In Proceedings of the 2017 IEEE PES Innovative Smart Grid Technologies Conference-Latin America (ISGT Latin America), Quito, Ecuador, 20–22 September 2017; pp. 1–6. [Google Scholar] [CrossRef]
  7. Massano, M.; Macii, E.; Lanzini, A.; Patti, E.; Bottaccioli, L. A GIS Open-Data Co-Simulation Platform for Photovoltaic Integration in Residential Urban Areas. Engineering 2022, 26, 198–213. [Google Scholar] [CrossRef]
  8. González, R.; Arguello, A.; Valverde, G.; Quirós-Tortós, J. OpenDSS-Based Distribution Network Analyzer in Open Source GIS Environment. In Proceedings of the 2016 IEEE PES Transmission & Distribution Conference and Exposition-Latin America (PES T&D-LA), Dallas, TX, USA, 3–5 May 2017. [Google Scholar] [CrossRef]
  9. Jain, A.K.; Horowitz, K.; Ding, F.; Sedzro, K.S.; Palmintier, B.; Mather, B.; Jain, H. Dynamic Hosting Capacity Analysis for Distributed Photovoltaic Resources—Framework and Case Study. Appl. Energy 2020, 280, 115633. [Google Scholar] [CrossRef]
  10. Hariri, A.; Newaz, A.; Faruque, M.O. Open-source Python-OpenDSS Interface for Hybrid Simulation of PV Impact Studies. IET Gener. Transm. Distrib. 2017, 11, 3125–3133. [Google Scholar] [CrossRef]
  11. Rathbun, M.; Xu, Y.; Nejad, R.R.; Qu, Z.; Sun, W. Impact Studies and Cooperative Voltage Control for High PV Penetration. IFAC-PapersOnLine 2018, 51, 684–689. [Google Scholar] [CrossRef]
  12. García-Muñoz, F.; Jiménez-Martínez, M.; Eichman, J.; Corchero, C.; Benveniste, G. Exploring the Viability of Local Electricity Markets for Managing Congestion in Spanish Distribution Networks. Energies 2024, 17, 659. [Google Scholar] [CrossRef]
  13. Vega-Fuentes, E.; Yang, J.; Lou, C. Power Flow Visualization in DER-Rich Low Voltage Networks. In Proceedings of the 2020 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), The Hague, The Netherlands, 26–28 October 2020; pp. 735–738. [Google Scholar] [CrossRef]
  14. Sigurdsson, G.Á.; Abdel-Fattah, M.F. Smart Grids Simulation Tools: Overview and Recommendations. In Proceedings of the 2021 IEEE 62nd International Scientific Conference on Power and Electrical Engineering of Riga Technical University (RTUCON), Riga, Latvia, 15–17 November 2021. [Google Scholar] [CrossRef]
  15. Antoncic, M.; Mikec, M.; Blazic, B. Development of Distribution Network Model in OpenDSS Using Matlab and GIS Data. In Proceedings of the 2019 7th International Youth Conference on Energy (IYCE), Bled, Slovenia, 3–6 July 2019; pp. 1–6. [Google Scholar] [CrossRef]
  16. Abdulrahman, I.; Radman, G. Power System Spatial Analysis and Visualization Using Geographic Information System (GIS). Spat. Inf. Res. 2020, 28, 101–112. [Google Scholar] [CrossRef]
  17. Olauson, J.; Marin, M.; Soder, L. Creating Power System Network Layouts: A Fast Parallel Algorithm. IEEE Syst. J. 2020, 14, 3687–3694. [Google Scholar] [CrossRef]
  18. Quiros-Tortos, J.; Valverde, G.; Arguello, A.; Ochoa, L.N. Geo-Information Is Power: Using Geographical Information Systems to Assess Rooftop Photovoltaics in Costa Rica. IEEE Power Energy Mag. 2017, 15, 48–56. [Google Scholar] [CrossRef]
  19. Martinez-Velasco, J.; Guerra, G. Reliability Analysis of Distribution Systems with Photovoltaic Generation Using a Power Flow Simulator and a Parallel Monte Carlo Approach. Energies 2016, 9, 537. [Google Scholar] [CrossRef]
  20. de Negreiros, G.F.; Lobo, F.X.; Torres, I.C.; Tiba, C. Impact on Voltage Regulation in Medium Voltage Distribution Networks Due to the Insertion of Photovoltaic Generators. Energies 2023, 16, 1307. [Google Scholar] [CrossRef]
  21. Ebad, M.; Grady, W.M. An Approach for Assessing High-Penetration PV Impact on Distribution Feeders. Electr. Power Syst. Res. 2016, 133, 347–354. [Google Scholar] [CrossRef]
  22. Radatz, P.; Kagan, N.; Rocha, C.; Smith, J.; Dugan, R.C. Assessing Maximum DG Penetration Levels in a Real Distribution Feeder by Using OpenDSS. In Proceedings of the 2016 17th International Conference on Harmonics and Quality of Power (ICHQP), Belo Horizonte, Brazil, 16–19 October 2016; pp. 71–76. [Google Scholar] [CrossRef]
  23. Weber, M.; Cakmak, H.K.; Kuhnapfel, U.; Hagenmeyer, V. A Novel Method for Topology Preserving Static Network Reduction. In Proceedings of the 2023 IEEE 11th International Conference on Smart Energy Grid Engineering (SEGE), Oshawa, ON, Canada, 13–15 August 2023; pp. 58–63. [Google Scholar] [CrossRef]
  24. Pereira, O.; Quiros-Tortos, J.; Valverde, G. Phase Rebalancing of Distribution Circuits Dominated by Single-Phase Loads. IEEE Trans. Power Syst. 2021, 36, 5333–5344. [Google Scholar] [CrossRef]
  25. Jovanović, D. From Qgis To Python: Comparison of Free and Open Tools for Statistical Analysis of Cultural Heritage and Data Representation. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2022, 48, 229–236. [Google Scholar] [CrossRef]
  26. McGarry, C.; Anderson, A.; Elders, I.; Galloway, S. A Scalable Geospatial Data-Driven Localization Approach for Modeling of Low Voltage Distribution Networks and Low Carbon Technology Impact Assessment. IEEE Access 2023, 11, 64567–64585. [Google Scholar] [CrossRef]
  27. Quesada, P.; Arguello, A.; Quirós-Tortós, J.; Valverde, G. Distribution Network Model Builder for OpenDSS in Open Source GIS Software. In Proceedings of the 2016 IEEE PES Transmission & Distribution Conference and Exposition-Latin America (PES T&D-LA), Morelia, Mexico, 20–24 September 2016. [Google Scholar] [CrossRef]
  28. Donastorg, A.; Renukappa, S.; Suresh, S. Evaluating Critical Success Factors for Implementing Renewable Energy Strategies in the Dominican Republic. Renew. Energy 2020, 149, 329–335. [Google Scholar] [CrossRef]
  29. Wang, S.; Liu, S.; Huang, C.; Tang, J.; Pang, Y. Integration Implementation and Application of Power Grid GIS Platform and Production Management System Based on ESB. In Proceedings of the 2022 International Seminar on Computer Science and Engineering Technology (SCSET), Indianapolis, IN, USA, 8–9 January 2022; pp. 287–290. [Google Scholar] [CrossRef]
  30. Domoto, E.; Okuhara, K.; Rene, A.O.N. Development of QGIS Plugin for Seamless Integration of Ideation Support and Geoprocessing. In Proceedings of the 2021 10th International Congress on Advanced Applied Informatics (IIAI-AAI), Niigata, Japan, 11–16 July 2021; pp. 569–574. [Google Scholar] [CrossRef]
  31. Assis, F.A.; Coelho, F.C.R.; Castro, J.F.C.; Donadon, A.R.; Roncolatto, R.A.; Rosas, P.A.C.; Andrade, V.E.M.S.; Bento, R.G.; Silva, L.C.P.; Cypriano, J.G.I.; et al. Assessment of Regulatory and Market Challenges in the Economic Feasibility of a Nanogrid: A Brazilian Case. Energies 2024, 17, 341. [Google Scholar] [CrossRef]
  32. Dugan, R.C.; McDermott, T.E. An Open Source Platform for Collaborating on Smart Grid Research. In Proceedings of the 2011 IEEE Power and Energy Society General Meeting, Detroit, MI, USA, 24–28 July 2011; pp. 1–7. [Google Scholar] [CrossRef]
  33. Ram, P.; Sinha, K. Revisiting Kd-Tree for Nearest Neighbor Search. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; ACM: New York, NY, USA, 2019; pp. 1378–1388. [Google Scholar]
  34. Leiva, D.; Araya, C.; Valverde, G.; Quiros-Tortos, J. Statistical Representation of Demand for GIS-Based Load Profile Allocation in Distribution Networks. In Proceedings of the 2017 IEEE Manchester PowerTech, Manchester, UK, 18–22 June 2017; pp. 1–6. [Google Scholar] [CrossRef]
  35. Brusilowicz, B.; Herlender, J. Transmission Line Modelling and Simulating for Transient Analysis. In Proceedings of the 2019 Modern Electric Power Systems (MEPS), Wroclaw, Poland, 9–12 September 2019. [Google Scholar] [CrossRef]
  36. Soluzione Solare. User Manual: PYRANOMETER PYRA-485 2019. Available online: https://www.soluzionesolare.com/documenti/Manual_Pyr-485.pdf (accessed on 25 May 2024).
  37. Zanocco, C.; Sun, T.; Stelmach, G.; Flora, J.; Rajagopal, R.; Boudet, H. Assessing Californians’ Awareness of Their Daily Electricity Use Patterns. Nat. Energy 2022, 7, 1191–1199. [Google Scholar] [CrossRef]
  38. Azzopardi, B.; Gabdullin, Y. Assessing Combined High Photovoltaic and Electric Vehicle Charging Penetration in Low-Voltage Distribution Networks: A Case Study in Malta. Energies 2024, 17, 263. [Google Scholar] [CrossRef]
  39. Haces-Fernandez, F. Risk Assessment Framework for Electric Vehicle Charging Station Development in the United States as an Ancillary Service. Energies 2023, 16, 8035. [Google Scholar] [CrossRef]
  40. Ni, Q.; Jiang, H. Topology Identification of Low-Voltage Distribution Network Based on Deep Convolutional Time-Series Clustering. Energies 2023, 16, 4274. [Google Scholar] [CrossRef]
  41. Garabitos Lara, E.; Vallejo Díaz, A.; Ocaña Guevara, V.S.; Santos García, F. Tecno-Economic Evaluation of Residential PV Systems under a Tiered Rate and Net Metering Program in the Dominican Republic. Energy Sustain. Dev. 2023, 72, 42–57. [Google Scholar] [CrossRef]
  42. Li, S.; Lian, J.; Conejo, A.J.; Zhang, W. Transactive Energy Systems: The Market-Based Coordination of Distributed Energy Resources. IEEE Control Syst. 2020, 40, 26–52. [Google Scholar] [CrossRef]
Figure 1. Graphical user interface for QGIS2OPENDSS.
Figure 1. Graphical user interface for QGIS2OPENDSS.
Energies 17 02925 g001
Figure 2. Basic GIS layers required by the plugin.
Figure 2. Basic GIS layers required by the plugin.
Energies 17 02925 g002
Figure 3. Example of line geometry objects added to the Line Configuration Library.
Figure 3. Example of line geometry objects added to the Line Configuration Library.
Energies 17 02925 g003
Figure 4. One of the new line geometries added to the plugin library (3FMV4/0AAAC2/0AAAC_H).
Figure 4. One of the new line geometries added to the plugin library (3FMV4/0AAAC2/0AAAC_H).
Energies 17 02925 g004
Figure 5. Added coding for nominal voltage for the Dominican Republic case study.
Figure 5. Added coding for nominal voltage for the Dominican Republic case study.
Energies 17 02925 g005
Figure 6. QGIS2OpenDSS plugin flowchart.
Figure 6. QGIS2OpenDSS plugin flowchart.
Energies 17 02925 g006
Figure 7. From GIS to distribution network model.
Figure 7. From GIS to distribution network model.
Energies 17 02925 g007
Figure 8. Flowchart of QGIS model algorithm for data extraction and an example of MV neutral conductor material (NEUMAT).
Figure 8. Flowchart of QGIS model algorithm for data extraction and an example of MV neutral conductor material (NEUMAT).
Energies 17 02925 g008
Figure 9. QGIS2OpenDSS file creator output.
Figure 9. QGIS2OpenDSS file creator output.
Energies 17 02925 g009
Figure 10. Power flow simulation of VOLG101 feeder in OpenDSS.
Figure 10. Power flow simulation of VOLG101 feeder in OpenDSS.
Energies 17 02925 g010
Figure 11. Typical distribution curve of solar irradiance.
Figure 11. Typical distribution curve of solar irradiance.
Energies 17 02925 g011
Figure 12. Average load profile of costumers in case study.
Figure 12. Average load profile of costumers in case study.
Energies 17 02925 g012
Figure 13. GIS model provided by the power utility EDENORTE.
Figure 13. GIS model provided by the power utility EDENORTE.
Energies 17 02925 g013
Figure 14. L-N voltage profiles (pu)—(a) without PV, (b) with PV.
Figure 14. L-N voltage profiles (pu)—(a) without PV, (b) with PV.
Energies 17 02925 g014
Figure 15. LV bus voltages throughout a day (daily power plow).
Figure 15. LV bus voltages throughout a day (daily power plow).
Energies 17 02925 g015
Figure 16. MV bus voltages throughout a day (daily power plow).
Figure 16. MV bus voltages throughout a day (daily power plow).
Energies 17 02925 g016
Figure 17. Feeder load profile with and without PV—daily time series simulation.
Figure 17. Feeder load profile with and without PV—daily time series simulation.
Energies 17 02925 g017
Figure 18. PV penetration heat map (% voltage rise at 12:00 p.m. compared to no-PV case).
Figure 18. PV penetration heat map (% voltage rise at 12:00 p.m. compared to no-PV case).
Energies 17 02925 g018
Figure 19. Global technical losses reduction in the distribution feeder due to PV generation.
Figure 19. Global technical losses reduction in the distribution feeder due to PV generation.
Energies 17 02925 g019
Figure 20. Snapshot of circuit summary from power flow simulation executed in OpenDSS.
Figure 20. Snapshot of circuit summary from power flow simulation executed in OpenDSS.
Energies 17 02925 g020
Table 1. Overhead MV/LV attributes.
Table 1. Overhead MV/LV attributes.
Required AttributesOptional Attributes
NEUTMATLENGTH
NEUTSIZLENUNIT
PHASEMATX1
PHASESIZY1
LINEGEOX2
PHASEDESIGY2
NOMVOLT
Table 3. VOLG101 characteristics.
Table 3. VOLG101 characteristics.
Circuit AliasVOLG101
System voltage (kV):12.47
Number of customers:7428
Sub transmission voltage (kV):69
Circuit MV lines (kM):78
Circuit LV and service lines (kM):145
Number of transformers:578
Number of PV installations:394
Reported technical losses (2021)6.4%
Renewable penetration:60%
Table 4. Statistical summary of the data used to model photovoltaic generation.
Table 4. Statistical summary of the data used to model photovoltaic generation.
HourAverageMinimumMaximum50th
Percentile
Standard DeviationSelected Day
28 March 2023
23:450.0000.0000.0000.0000.0000
22:450.0000.0000.0000.0000.0000
21:450.0000.0000.0000.0000.0000
20:450.0000.0000.0000.0000.0000
19:450.0010.0000.1790.0000.0100
18:452.3750.00022.1340.1964.2640.017884
17:4529.7520.179144.25222.15626.98341.68653
16:45130.9931.717332.588119.90775.274191.4456
15:45289.8661.717532.806292.279139.361378.2549
14:45483.3961.198773.078533.772187.047665.2928
13:45653.5141.169909.129718.881218.493825.4596
12:45771.8080.8281033.303840.484219.2351013.152
11:45812.0930.8281052.026890.686223.0631052.026
10:45770.3070.8281025.436840.943209.9901025.436
9:45654.4530.828948.757714.060188.165948.757
8:45476.2510.828699.502512.404155.591693.829
7:45261.22818.931452.867269.825110.564450.0188
6:4571.0611.676203.70965.15751.991203.7091
5:453.8390.00037.2691.5395.38637.26907
4:45000000
3:45000000
2:45000000
1:45000000
0:45000000
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

De-Jesús-Grullón, R.E.; Batista Jorge, R.O.; Espinal Serrata, A.; Bueno Díaz, J.E.; Pichardo Estévez, J.J.; Guerrero-Rodríguez, N.F. Modeling and Simulation of Distribution Networks with High Renewable Penetration in Open-Source Software: QGIS and OpenDSS. Energies 2024, 17, 2925. https://doi.org/10.3390/en17122925

AMA Style

De-Jesús-Grullón RE, Batista Jorge RO, Espinal Serrata A, Bueno Díaz JE, Pichardo Estévez JJ, Guerrero-Rodríguez NF. Modeling and Simulation of Distribution Networks with High Renewable Penetration in Open-Source Software: QGIS and OpenDSS. Energies. 2024; 17(12):2925. https://doi.org/10.3390/en17122925

Chicago/Turabian Style

De-Jesús-Grullón, Ramón E., Rafael Omar Batista Jorge, Abraham Espinal Serrata, Justin Eladio Bueno Díaz, Juan José Pichardo Estévez, and Nestor Francisco Guerrero-Rodríguez. 2024. "Modeling and Simulation of Distribution Networks with High Renewable Penetration in Open-Source Software: QGIS and OpenDSS" Energies 17, no. 12: 2925. https://doi.org/10.3390/en17122925

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop