Next Article in Journal
System COP of Ejector-Based Ground-Source Heat Pumps
Previous Article in Journal
Electrothermal Multicriteria Comparative Analysis of Two Competitive Powertrains Applied to a Two Front Wheel Driven Electric Vehicle during Extreme Regenerative Braking Operations
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Power Flow Technique for Distribution System Considering Distributed Energy Resources (DER)

by
Adolfo Blengini Neto
1,*,
Maria Beatriz Barbosa
2,
Lia Moreira Mota
2,
Marina Lavorato
2 and
Marcius F. H. de Carvalho
2
1
School of Electrical and Computer Engineering (FEEC), University of Campinas, Campinas 13083-970, SP, Brazil
2
Centre for Exact Sciences, Technology and the Environment (CEATEC), Pontifical Catholic University of Campinas, Campinas 13087-571, SP, Brazil
*
Author to whom correspondence should be addressed.
Energies 2022, 15(22), 8507; https://doi.org/10.3390/en15228507
Submission received: 5 September 2022 / Revised: 22 September 2022 / Accepted: 9 October 2022 / Published: 14 November 2022
(This article belongs to the Section F2: Distributed Energy System)

Abstract

:
Modern electric power systems consist of large-scale, highly complex interconnected systems projected to match the intense demand growth for electrical energy. This involves the decision of generation, transmission, and distribution of resources at different time horizons. They also face challenges in incorporating new forms of generation, distributed generations, which are located close to consumer centers, and new loads such as electric vehicles. Traditionally, the nonlinear Newton–Raphson optimization method is used to support operational decisions in such systems, known as Optimal Power Flow (OPF). Although OPF is one of the most practically important and well-researched sub-fields of constrained nonlinear optimization and has a rich history of research, it faces the convergence difficulties associated with all problems represented using non-linear power flow constraints. The proposal is to present an approach in a software component in cloud Application Programming Interface (API) format, with alternative modeling of the electrical optimization problem as a non-linear objective function and representing electric network constraints modeled through both current and voltage Kirchhoff linear equations. This representation overcomes the non-linearity of the OPF problem considering Distributed Energy Resources (DER). The robustness, scalability, and availability of the method are tested on the IEEE-34 bus system with several modifications to accommodate the DER testing under conditions and in radial or meshed distribution systems under different load scenarios.

1. Introduction

Real power systems’ decision problems are inserted in a complex and large-scale context with many associated challenges. The challenge involves the coordination of the availability of diverse components and control equipment connected to meet the demand needs across the electrical network. More recently, the inclusion of renewable energy generation sources, such as wind and solar, that are greatly associated with uncertainties, increase the complexity and competition in the electricity market, and the importance of adequately managing available resources [1,2]. A second challenge, associated with power systems decision problems, is related to responding to the market needs quickly and adequately in an unpredictable environment [3,4]. The third challenge is to determine an adequate computational environment for analyzing these power systems, considering Distributed Energy Resources (DER) [5,6,7,8,9]. A proposal for this computational environment will be detailed in section three.
To meet these challenges, the development of an efficient computational model for analysing DER systems is required. The model must be able to analyze the impact of different policies on demand attainment within a specified time horizon. Once there is a different degree of uncertainty associated with the system parameters that support decisions at distinct time horizons, it is necessary to analyze specific scenarios for each time horizon. Long-term power systems analysis is a large dimension problem associated with a model of great dimension and great uncertainty requiring the consideration of these special characteristics [10]. On the other side, models for short-term decisions must consider the systems under study in greater detail, with their variables and parameters associated with a high degree of certainty. Briefly, longer-term decisions require a large model to represent the entire system, with variables and parameters associated with greater uncertainty, while models for short-term decisions have smaller dimensions, representing a specific part of the system, and assuming its parameters are perfectly known. Then, a single model is not capable of solving the whole problem, since different degrees of representation are necessary. The corridor of possible solutions is narrow in the short term, where the uncertainties are smaller, and wide in the long term where the uncertainties are greater. Scenario 1 is the pessimist in the short term and optimist in the long term, while scenario 3 is the optimist in the short term and pessimist in the long-term horizons, as shown in Figure 1.
Several studies have been carried out to find solutions that increase the operational efficiency of these systems. According to [11], earlier studies used the Newton–Raphson(NR) method for transmission systems. These techniques exhibit good convergence characteristics for well-conditioned transmission systems, but do not offer the same performance for distribution systems, as discussed in the literature [12,13]. These techniques often fail to converge when distribution systems become more heavily loaded and unbalanced. Furthermore, the high R / X ratio characteristic of the distribution systems deteriorates the dominance of the NR diagonal Jacobian matrix and fast decoupled techniques.
To overcome the heavy computational complexity of NR methods and the non-convergence limitations for distribution systems, recent studies have indicated that the backward–forward sweep (BFS) approach is capable of producing good load flow solutions [14]. However, this method has some applicability restrictions due to its main premise: the radiality characteristic. Consequently, BFS methods are limited to systems with one source and a radial structure. Owing to their limitations, conventional BFS methods not meet the new challenges of modern distribution networks [12]
The electric power systems must be planned and managed for years in advance to ensure that the system can operate reliably in real time, despite the many uncertainties surrounding future demands, fuel sources, asset availability, and grid conditions. The optimal power flow (OPF) methods are the most well-known approach for properly solving this class of problems, since they were introduced by Carpentier [15]. The optimal power flow (OPF) is concerned with the optimization of steady state power system performance with respect to an objective function while subjected to various equality and inequality constraints [16]. Although OPF is one of the most important and well-researched subfields of constrained nonlinear optimization, the algorithm often proves to be of increasing complexity for the modern electrical system, and does not cover the entire requirement of the different time horizons [17].
Considering the complexity of power systems, its numerical dimension, and the need to analyze different scenarios involving decisions in a dynamic environment, a general OPF model problem gives place to specific models that consider the characteristics and specificity of systems at each time horizon under analysis. These models must be easier to understand and better representative of the real system, generating more consistent results for the generation scheduling under the electrical power systems constraints.
The Optimal Current Flow (OCF) is presented as an alternative to analyze electrical network problems, as an alternative to traditional OPF approaches that models the network constraints as non-linear polar or nodal equations (Tinney e hart) [18]. The OCF models the electrical network through both Kirchhoff’s current and voltage laws, representing the system’s electrical network as linear [11]. This representation is particularly appropriate for an electrical power system to model electrical network problems, due to the flow concept. It is interesting, simple, easy to understand, and reflects the relevant characteristics of power distribution systems. The contributions of this paper are summarized as follows:
  • A simple and easily understood model for use as an alternative to the traditional nonlinear equations approach based on NR nodal formulation.
  • Representation of modern distribution system with PV buses and loops by a quadratic loss minimization function subjected to linear network flow constraints.
  • Optimization of DER systems with voltage control.
  • Allows analyses of optimization scenarios through APIs in a cloud environment.
To solve the mentioned OCF optimization problem, a cloud environment is suggested. In this computational environment, the OCF solution can consider Distributed Energy Resources (DER). Cloud solutions enable the reduction of operational costs, complexity, and time-to-market deployment compared to the local model, and especially the availability and scalability of the system, in the presence of scenarios of high-volume requests [5,6,7]. They include the following benefits: increased efficiency, reliability, performance, resilience with real-time DER operations, centralized and switching studies, and operations for distributed energy systems. In addition, it is possible to incorporate new algorithms for optimizing operations in DERs, aiming to study network switching, minimization of losses, and minimization of the number of switching operations in the recomposition problems.
This paper is organized as follows. Section 2 gives an Optimal Power Flow Formulation, and Section 3 presents the Computational Environments for Analyzing DER Systems. Section 4 presents the IEEE 34-Bus Test Case and the numerical results, and some observations and discussions are presented in Section 5. Section 6 outlines the conclusions.

2. Optimal Power Flow Formulation

2.1. Standard Form of OPF Method

Optimal Power Flow (OPF) models for electrical networks are one of the most important and well-researched sub-fields of constrained nonlinear optimization, where methods, tools, and software deal with finding an optimal operating point of a power system that minimizes an appropriate cost function, such as generation cost or transmission loss, subject to a certain set of constraints. OPF methods are utilized to find the optimal scheduling for any system under constraint conditions, such as reactive power limits, voltage profile, transmission lines thermal limits, and generation, transmission, and distribution systems’ active and reactive power flow optimization, individually or all together [16]. There are a wide variety of OPF formulation and solution methods to address specific issues of each problem within a time horizon, and most of them formulate the problem using the following standard form, [19].
min ( f ( u , x ) )
subject to :
g ( u , x ) = 0 h ( u , x ) 0
The objective function f ( u , x ) represents the system’s optimization goal. Vector functions g ( u , x ) and h ( u , x ) represent system equality and inequality constraints of the electrical network, respectively. Depending on the selection of f , g , and h, the OPF problem may become a linear, mixed integer–linear, nonlinear (likely non-convex), or mixed integer-nonlinear programming problem according to each application [16]. The traditional OPF models the problem using polar or nodal power flow representation, where constraint equations in the full version of the power flow are nonlinear [16]. This approach leads to a large-scale complex nonlinear problem, where the candidate solution increases exponentially with the system size [20]. To overcome the non-linearity of the constraints, this work proposes an alternative model that considers Kirchhoff’s voltage and current laws to represent electrical constraints.

2.2. Optimal Current Flow (OCF) by Network Flow Method

One of the main tasks of the distribution system operator is to determine the operation point that minimizes the feeder and generator current injections, within their limits. The generalized representation of the OCF problem is given by:
min ( f ( I g r ) + w [ I r t R I r ] )
subject to :
A × I = I B
V Z × I = 0
I m i n r I r I m a x r ; I m i n i I i I m a x i ; V m i n r V r V m a x r ; V m i n i V i V m a x i
where f ( I g r ) is a generation cost function, w is the weight to transform power losses into cost, R is a diagonal resistance matrix, A is the bus-branch incidence matrix, I is the complex current branch vector, I r is the active component vector of I, I B is the bus complex injected current, V is the generation bus voltage vector, Z is the loop impedance, and I m i n r and I m a x r are the minimum and maximum active current vectors line limits, and V m i n r and V m a x r are the minimum and maximum active voltage vectors; V m i n i and V m a x i are the minimum and maximum reactive voltage vectors at generation buses. The number of constraints is 2 x ( n 1 ) + n ( I l ) + n ( E l ) where n is the number of nodes, n I l is the number of internal loops and n E l is the number of external loops. Note that A is an incidence matrix formed by zero or one.
Decomposing the Equation (1) into an active and reactive part results in Equation (3).
A I r + j A I = I I r + j I I i V B r + j V B i ( R l o + j X l o ) ( I r + j I i ) = 0
Rearranging the above equations in active and reactive components results in Equation (4).
A 0 0 0 0 A 0 0 R l X l 1 0 X l R l 0 1 × I r I i V r V i = I L r I L i V f r V f i
I m i n r I r I m a x r ; I m i n i I i I m a x i ; V m i n r V r V m a x r ;
where I r is the active branch and generator current vector, I i is the reactive branch and generator current vectors. I I r , and I I i , are the active and reactive components of the injected current vector ( ( I L i + I g ) ) i , respectively. R is the diagonal resistance matrix. R l is the loop resistance matrix and X l is the loop reactance matrix; V f is the reference voltage vector. I r min and I r max are the minimum and maximum active current vectors used to represent line limits. V i r min and V i r max are the minimum and maximum active voltage vectors

2.3. Flexibility of Optimal Current Flow (OCF) Formulation

The network current flow concept is simple and easy to understand, reflects relevant characteristics of the power systems, reduces the traditional Optimal power flow problem to a quadratic network flow model, and is very flexible, representing models in different time horizons. Taking advantage of this, this section presents some models, from the simplest to those that include reconfiguration of the distribution system due to unplanned line output.

2.3.1. Direct Current Optimal Flow (DCOF)

Power flow optimization problems modeled as a linear minimization problem are largely used, particularly in the congestion-constrained markets, contingency analysis, or, less commonly, to initialize, or warm-start, a nonlinear OPF application. Many versions of these approximate models are found in the literature [21,22,23,24]. The classical DC OPF approach, based on the approximation of power nodal flow formulation, has several applications in load supply capability evaluation, economic dispatch [25,26] contingency analysis [27] transfer capability, and transmission network planning [28,29]. The alternative to the traditional DC OPF is the adoption of DCOF, which represents the network flow constraints by the Kirchhoff current equation as in [30,31,32,33,34,35]. The DCOF model is represented as:
min ( f ( I g r ) + w [ I r t R I r ] )
subject to :
A × I r = I L r

2.3.2. Optimal Alternate Current Flow (OACF)

The alternate current flow considers the active and reactive components of the current. This consideration is important for evaluating the resource availability to supply both the active and reactive demand. For that, the complex current in Equation (5) has to be decomposed into active and reactive components, as in Equations (6) and (7)
min ( f ( I g r ) + w [ I r t R I r ] )
subject to :
A 0 0 A × I r I i = I L r I L i

2.3.3. Alternate Current Optimal Flow with Internal and External Loops

An improved load flow technique based on load current injection for modern distribution systems must consider either radial or weakly meshed networks [12]. The network mesh equation for internal loops, as shown in Figure 2 Those that exist in a real network, is written as:
Z l × I = 0
where Z l is the internal loop impedance Matrix and I is the complex current Vector.
The existence of distributed energy resources (DERs) allows the implementation of grid-supporting functions, such as volt-var control. This is considered by the inclusion of an external loop, a fictitious loop, connecting the reference bus, and the feeder, to each DER-controlled bus. The equation used to represent this inclusion is:
V D G n + Z L E = V r e f
where V r e f is the voltage at the reference bus, V D G n is the controlled DER bus voltage vector, and Z L E is the external loop impedance matrix, as shown in Figure 3.

2.4. Alternate Current Optimal Flow (ACOF) 5 Bus—Example

An appropriate example with five buses, four loads, three phases balanced with the main feeder on bus-1, and a distributed generator (DER) installed on bus-3, is shown in Figure 4.

2.4.1. Capacity Constraint Equations

The lower and upper capacity limits for the current flow in the distribution network branches and for the injected current at generation buses are:
  • Branch capacity constraint;
    I m i n r I r I m a x r ; I m i n i I i I m a x i ;
    I G m i n r I G r I G m a x r ; I G m i n i I G i I G m a x i ;
    where I r min and I r max are the lower and upper active current bounds and I i min and I i max are the lower and upper reactive current bounds of the lines;
  • Voltage limit;
    V m i n r V r V m a x r ;
    where V m i n r and V m a x r are the lower and upper active voltage limits for PV buses (DG buses with voltage control).

2.4.2. ZIP Load Model

In the proposed model, the load can be represented by a constant power, constant impedance, and constant current model [36,37]:
  • Load as constant impedance: the load is represented as a constant impedance connected to the bus; that is, the active and reactive current is calculated from the voltage;
    I L = V Z
    where I L is the branch current, V is the bus voltage, and Z is the branch impedance;
  • Load as constant current: the current does not change with the voltage;
    I L = C o n s t a n t
  • Load as a constant power: the values of the active and reactive powers remain constant regardless of the voltage variations. This model is valid for long time scales;
    I L = P + j Q V
    where P is the active power associated with the load, Q is the reactive power associated with the load, V is the bus voltage, and I L is the branch current.
All the above equations can be decomposed into active and reactive components.

2.5. Alternate Current Optimal Flow (ACOF) 5 Bus—Matrix Representation

The objective function is modeled as a losses minimization function, represented by the objective line in Figure 5. The constraint matrix reproduces Equation (4) and represents the active bus balance equation, reactive bus balance equation, injected active and reactive current constraints, active and reactive external loop constraints, and voltage magnitude limits. The active components of the current balance equations are represented in the first constraint equations, identified by the red line, and in the following five lines, the reactive components of the balance current equations, identified by the green line. The number of external loops is equal to the number of generator buses; the voltage constraint row represents the minimal voltage constraint for bus-3.
From the above matrix representation, three use cases of the optimal current flow studies can be analyzed. Case one, represented by a constraint matrix circled by a red line, considers the active current optimization model. The case with the matrices in green considers the active and reactive current optimization model as Equation (6). The blue line represents the model optimization of the active and reactive current, control of limit’s lines and control of voltages case, as in Equations (6)–(9).

3. Computational Environments for Analyzing DER Systems

The complexity of the problem increases with the diversity of the system’s generation resources. Then, integrated solutions for the DMS (Distribution Management Systems) and ADMS (Advanced Distribution Management System), have to be implemented to simulate different situations such as loss of line analysis, network loading capacity, system reconfiguration, and switching planning. These solutions can be reached with the DER support [6,7,8]. DER system is a relatively new concept for power distribution in the objectives and functionalities consist mainly of organizing, managing, optimizing, and effectively controlling the resources of the distribution network to maximize the economic benefits of the network, proposing more reliability of network operation and quality of [8].
The proposed Computational Environment is divided into layers, as seen in Figure 6, where the layer with the system with Power System Model corresponds to the integrated distribution network with DERs interconnected with the ADM DMS system layer of the companies sent the data from the network in the OCF API interface in Table 1. The DMS and ADMs systems use the APIs that are in the Cloud layer. The use of cloud APIs for DMS and ADM systems, proposed in this work, guarantees high availability, scalability, and performance in a centralized environment and facilitates the interface of distribution networks with controllers compatible with the standard, offering an environment close to the real one for use.
In addition to taking in the importance of DER, the utilities need to consider its implementation in their systems. Different solutions may be reached depending on DER penetration levels, network characteristics, capabilities, and new system architectures that support DERs [8]. The works of literature [1,2,6] detail cloud environments for load flow simulation; however, they do not present a flexible model with different APIs and optimization algorithms.
The focus of this work is not on the integration of DERs with ADMs and DMS systems, but on how ADMs and DMS systems use Cloud APIs in real time to optimize distribution network operations with DERs. For that, the solution architecture proposes a standard real-time communication interface using the Sunspec Modbus protocol [38]. The control hardware used is a cloud-based IoT solution [6]. KMC Controls Internet of Things (IoT) devices are directly connected to DER Models over Modbus TCP/IP via a LAN connection.

3.1. OCF API Interface

The API establishes a standard input for DMS and ADMS systems. Table 1 below represents the required API data for five bus distribution networks example with DERs. The Figure 7 shows the JSON format of line 1 (branch 0) of Table 1. The JSON string format contains either an array of values or an object, which is a set of name/value pairs. An object is surrounded by a pair of curly brackets and contains a comma-separated list of name-value pairs. A name-value pair consists of a field name (in double-quotes), followed by a comma(,), followed by the field value (in double quotes).
In an integrated ADMS operation with DER and microgrids, the goal is not only to allow mutual sharing of data, functionality, and task performance, but to achieve better coordination among different functions operation in relatively independent systems [5]. The proposed model uses an architecture of APIs as microservices. The cloud infrastructure used in the test simulations is GCP (Google Cloud Platform), but its solution is cloud agnostic, as shown in Figure 8.
The OCF-Controller is responsible for performing, with Post request, the optimal power flow calculation for the OCF model using the JSON structure in the format of Figure 9 as the input parameter.
The FeederInfoController microservice is responsible for getting requests for analyzing the feeder’s characteristics, such as the DER number, bus identification, and whether there is mesh formation in the feeder. The documentation for both microservices is available in Swagger API (inputs and outputs)

3.2. OCF Algorithm

The OCF algorithm is coded using Java version 11, Scilab version 6.1, and FOSSEE Optimization Toolbox [39] as the solver engine. The developed approach can be applied to balanced and unbalanced DER Systems. The algorithm is resumed in eight steps, as shown in Figure 10.
The initial voltage vector (real) is arbitrated equal to 1.0 p.u. for all buses. The iteration counter is set to p = 1 . As shown in Step 7, the proposed model is iterative. For each iteration performed, Step 5, the OCF problem Equation (2) is solved, and a new bus voltage vector is determined. With a new voltage, the load bus injected current is recalculated, and the shadow price is updated. Finally, the convergence is performed (Step 7), and the algorithm returns to Step 4 if there is a δ V component of the bus vector V greater than ϵ . For a constant current model, the process is not iterative, since the current is always the same.

4. IEEE 34-Bus Test Case

The IEEE 34-bus Power System Model is a balanced three-phase, is lightly loaded and has a radial topology with 34 buses and PV bus, as shown in Figure 11. The loads are represented by the constant power, constant impedance, constant admittance and constant current model [40].
Two test scenarios were considered.

4.1. IEEE-34 without DER

This scenario considers the IEEE 34 network without the presence of DER, as defined in the literature [40]. This basic scenario allows analysis of the buses’ active and reactive current and the voltage profile.

4.2. IEEE-34 with DERs and Voltage Control

This scenario analyzes the influence of Bus-28 and Bus-30 DERs on the system voltage profile. The introduction DERs in the system lead to an optimization problem, as defined in Equation (2), which cannot be solved by [5,12]. Additionally, both methods do not consider line current limit constraints. The upper and lower limits of the current flows of the DERs 28 and 30, as shown in Table 2 and the upper and lower limits of the voltage profile of bus 30 as shown in Table 3. The objective of this test case is to minimize system losses, considering the Real Voltage component and the limits of the lines, in order to obtain and control an adequate voltage profile in the network. To demonstrate the result of the case test with multiple DERs in the IEEE-34 network, the voltage profile obtained is compared with two other network configurations present in the literature: first, with the base case (without the use of DERs) [11,40] and with one DERs connected at bus 28 [12] and without feeder generation limited and voltage control.
Three test scenarios simulations were carried out, considering the power systems and DERs integrated into the ADMS-DMS systems. The simulations were performed through OCF-Controller API, sending the input parameters for the base case and case with DERs and voltage control. Figure 12 shows the results, with the voltage profiles (module) in p.u. The red line represents the result for the base case, and the blue line represents the result for the case with DERs resources and voltage control on the IEEE 34-bus distribution network.
The OCF Algorithm set the initial voltage vector (real) for all buses equal to 1.0 p.u. The initial voltage at the feeder bus is set equal to 1.02 p.u. The convergence value is set ϵ = 0.004.
The results of OCF-Controller API for the active and reactive currents injected into the load buses and the voltage module are shown in Table 4. The results of the active and reactive injected currents by the DERs at bus 28 and bus 30 are highlighted at the end of the table. The feeder bus-0 is considered the reference bus, and the results of buses without load are not shown. To maintain the bus voltage at the specified value, the DER-30 reactive power generation was 0.3767 p.u., while to minimize the system losses, the two DERs have to work at the maximum active power generation, as shown at the end of Table 4.
In performed tests with the distribution IEEE 34-bus with DERs, it is possible to verify through Figure 11 the improvement in the voltage profile (in green) in consideration of the base case (in blue) and the case with one DER without voltage profile control (in red) [12]. In addition, in Table 4, it is possible to verify that the model considered the active and reactive current injection limits by the 28-DER and 30-DER, as defined in Table 2 and the minimum voltage limit at bus 30 = 0.93 p.u. as defined in Table 3.

5. Discussion

Medium- and low-voltage distribution systems have a high current value, which makes it necessary to develop dedicated solutions. As an objective function, the OCF Algorithm has the generation plus losses minimization; operation costs are represented by a quadratic function. As it adopts linear representation to the distribution network constraint, using both Kirchhoff laws, it overcomes the non-convergence of the Newton–Raphson approach for distribution systems with elevated resistance value. It is very flexible, representing models from the simplest, constant current to the most complex models: those with voltage control at generation buses that can generate reactive power. It also considers the current flow limits on the distribution components (lines, transformers, etc.), which are impossible to consider using the traditional Newton–Raphson method or Backward Forward Sweep algorithms focused on power flow representation. To consider current flow limits is adequate compared to power flow limits since the current causes heating effects on distribution components.
This architecture is an improvement on that of [5], which implements the API only with the Backward Forward Sweep (BFS-Controller) method of load flow analysis. This solution extends that work by adding an API to the list of services, now with the possibility of optimizing the load flow with the OCF-Controller API. The proposed API Architecture Layer is coded using Java version 16 and Spring Framework 2.5.3. The tests were executed in CGP Intel Core i5, 2.4 GHz processor, with 4 GB RAM. This section highlights the performance of the approach in terms of accuracy and convergence rate. To prove the high availability, performance, and multiple accesses in the cloud API infrastructure, two stress tests were simulated: the first test simulates sending 50 simultaneous requests to the optimization request calculation API per second. The second test simulates 100 requests per second, as shown in Table 5.

6. Conclusions

The Cloud API Architecture can be integrated with the DMS and ADMS systems to assess the performance of DERs resources. The platform includes the following benefits: increased efficiency, reliability, performance, and resilience with real-time DERs operations centralized, and switching studies for distributed energy systems. An application of the cloud API Environment was presented and, through the results of the IEEE 34-bus, it was demonstrated through the test scenarios with the IEEE-34 network that the DMS and ADMS systems allow the use of the OCF model in the cloud, reducing the complexity of different network configurations with DERs, especially the availability and scalability of APIs with a high volume of requests.
Some advantages and flexibility of the proposed architecture are:
  • It is adherent to the formulations of a great amount of DCOF and ACOF approaches;
  • Analysis of the use of DER systems in balanced, unbalanced distribution networks, modern topologies, and minimization of technical losses in the distribution network;
  • Voltage control analysis on all buses;
  • It considers the capacity constraints of the network components (generation, transmission lines, transformers, etc.)
In addition, it is possible to incorporate new APIs for optimizing DERMs operations aiming at studying network switching, minimizing losses, and other power flow algorithms implemented in the solution cloud environment. Sources, network examples, and DERM simulators are available at https://github.com/blengini/ocf-api (accessed on 1 September 2022).

Author Contributions

Methodology, L.M.M.; Software and Test Case, M.B.B.; Validation, M.L.; Writing—original draft, A.B.N.; Writing—review & editing, M.F.H.d.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Alonso, A.M.S.; Arenas, L.D.O.; Brandao, D.I.; Tedeschi, E.; Machado, R.Q.; Marafão, F.P. Current-Based Coordination of Distributed Energy Resources in a Grid-Connected Low-Voltage Microgrid: An Experimental Validation of Adverse Operational Scenarios. Energies 2022, 15, 6407. [Google Scholar] [CrossRef]
  2. Fragkos, G.; Johnson, J.; Tsiropoulou, E.E. Centralized and Decentralized Distributed Energy Resource Access Control Implementation Considerations. Energies 2022, 15, 6375. [Google Scholar] [CrossRef]
  3. Serban, A.C.; Lytras, M.D. Artificial Intelligent for Renewable Energy Sector in Europe-Smart Energy Infrastructure for Next Generation Smart Cities. IEEE Access 2020, 8, 77364–77377. [Google Scholar] [CrossRef]
  4. Wiser, R.; Bollinger, M.; Barbose, G.; Belyeu, K.; Hand, M.; Heimiller, D.; Subin, Z. Annual Report on US Wind Power Installation, Cost, and Performance Trends; U.S. Department of Energy: Washington, DC, USA, 2006.
  5. Blengini, A.; Iano, Y.; Oliveira, G.G.; Caomo, G.; Podeleski, F.S.; de Paula Kolecha, H.; Carvalho, M.F.H. The BFS Method in a Cloud Environment for Analyzing Distributed Energy Resource Management Systems. In Proceedings of the 7th Brazilian Technology Symposium (BTSym’21), BTSym 2021, Smart Innovation, Systems and Technologies. Campinas, SP, Brazil, 8–10 November 2021; Iano, Y., Saotome, O., Kemper Vásquez, G.L., Cotrim Pezzuto, C., Arthur, R., Gomes de Oliveira, G., Eds.; Springer: Cham, Switzerland, 2022; Volume 207. [Google Scholar]
  6. Nowak, S.; Tehrani, N.; Metcalfe, M.S.; Eberle, W.; Wang, L. Cloud-Based DERMS Test Platform Using Real Time Power System Simulation. In Proceedings of the IEEE Power Energy Society General Meeting (PESGM), Portland, OR, USA, 5–10 August 2018; pp. 1–5. [Google Scholar]
  7. Nayak, S.K.; Pand, S.K.; Das, S.; Pande, S.K. A Renewable Energy-Based Task Consolidation Algorithm for Cloud Computing. Control Appl. Mod. Power Syst. 2020, 710, 453–463. [Google Scholar]
  8. Jianhui, W.; Chen, C.; Xiaonan, L. Guidelines for Implementing Advanced Distribution Management Systems-Requirements for DMS Integration with DERM Sand Microgrid; U.S. Department of Energy Office of Scientific and Technical Information: Argonne, IL, USA, 2015; pp. 10–25.
  9. Ayalew, M.; Khan, B.; Giday, I.; Mahela, O.P.; Khosravy, M.; Gupta, N.; Senjyu, T. Integration of Renewable Based Distributed Generation for Distribution Network. Expans. Plan. Energies 2022, 15, 1378. [Google Scholar] [CrossRef]
  10. Chun, S.L.; Locatelli, G.; Pimm, A.; Wu, X.; Lai, L.L. A review on long-term electrical power system modeling with energy storage. J. Clean. Prod. 2021, 280, 124298. [Google Scholar]
  11. Blengini, A.; Podeleski, F.S.; Mota, L.; Carvalho, M.F.H. Optimal current flow technique for distribution systems with renewable energy generation. Energy Syst. 2020, 13, 725–747. [Google Scholar]
  12. Ghatak, U.; Mukherjee, V. An improved load flow technique based on load current injection for modern distribution system. Int. J. Electr. Power Energy Syst. 2017, 84, 168–181. [Google Scholar] [CrossRef]
  13. Yang, N.C.; Chen, H.C. Decomposed Newton algorithm-based three-phase power-flow for unbalanced radial distribution networks with distributed energy resources and electric vehicle demands. Int. J. Electr. Power Energy Syst. 2018, 96, 473–483. [Google Scholar] [CrossRef]
  14. Chen, T.H.; Yang, N.C. Loop frame of reference based three-phase power flow for unbalanced radial distribution systems. Electr. Power Syst. 2010, 80, 799–800. [Google Scholar] [CrossRef]
  15. Carpentier, J. Contribution to the economic dispatch problem. Bull. Soc. Fr. Des Electr. 1962, 8, 431–447. [Google Scholar]
  16. Khan, B.; Singh, P. Selecting a Meta-Heuristic Technique for Smart Micro-Grid Optimization Problem: A Comprehensive Analysis. IEEE Access 2017, 5, 13951–13977. [Google Scholar] [CrossRef]
  17. Frank, S.; Steponavice, I.; Rebennack, S. Optimal power flow: A bibliographic survey I. Energy Syst. 2012, 3, 221–258. [Google Scholar] [CrossRef]
  18. Tinney, W.G.; Hart, C.E. Power flow solutions by Newton’s method. IEEE Trans. Power Appar. Syst. 1967, 80, 1449–1460. [Google Scholar] [CrossRef]
  19. Zhang, W.; Li, F.; Tolbert, L. Review of reactive power planning: Objectives, constraints, and algorithms. IEEE Trans. Power Syst. 2007, 22, 2177–2186. [Google Scholar] [CrossRef] [Green Version]
  20. Niharika, S.; Mukherjee, V. Transmission expansion planning: A review. In Proceedings of the International Conference on Energy Efficient Technologies for Sustainability (ICEETS), Nagercoil, India, 7–8 April 2016; pp. 350–355. [Google Scholar]
  21. Garver, L.L.; Wirgau, K.A. Transmission network estimation using linear programming. IEEE Trans. Power Appar. Syst. 1970, 7, 1688–1697. [Google Scholar] [CrossRef]
  22. Garver, L.L.; Wirgau, K.A. Load supplying capability of generation-transmission networks. IEEE Trans. Power Appar. Syst. 1979, 3, 957–962. [Google Scholar] [CrossRef]
  23. Stott, B.; Jardin, J.; Alsac, O. DC power flow revisited. IEEE Trans. Power Syst. 2009, 24, 1290–1300. [Google Scholar] [CrossRef]
  24. Zhu, J. Optimization of Power System Operation; Wiley: New York, NY, USA, 2009. [Google Scholar]
  25. Lee, T.H.; Thorne, D.H.; Hill, E.F. A transportation method for economic dispatching—Applications and comparison. EEE Trans. Power Appar. Syst. 1980, 89, 2373–2385. [Google Scholar] [CrossRef]
  26. Carvalho, M.F.H.; Soares, S.; Ohishi, T. Optimal active power dispatch by network flow approach. IEEE Trans. Power Syst. 1988, 3, 1640–1647. [Google Scholar] [CrossRef]
  27. Hobson, E.; Fletcher, D.L.; Stadlin, W.O. Network flow linear programming and their application to fuel scheduling and contingency analysis. IEEE Trans. Power Appar. Syst. 1984, 109, 1681–1691. [Google Scholar]
  28. Luo, J.S.; Hill, E.F.; Lee, T.H. Power system economic dispatch via network approach. IEEE Trans. Power Appar. Syst. 1984, 101, 1242–1248. [Google Scholar] [CrossRef]
  29. Zhang, F.; Hu, Z.; Song, Y. Mixed-integer linear model for transmission expansion planning with line losses and energy storage systems. IET Gener. Transm. Distrib. 2013, 7, 919–928. [Google Scholar] [CrossRef]
  30. Casacio, L.; Lyra, C.; Oliveira, A.R.L. Interior point methods for power flow optimization with security constraints. Int. Trans. Oper. Res. 2019, 26, 364–378. [Google Scholar] [CrossRef]
  31. Carvalho, S.M.S.; Oliveira, A.R.L.; Lyra, C. Predispatch of hydroelectric power systems with modifications in network topologies. Ann. Oper. Res. 2017, 261, 135–153. [Google Scholar] [CrossRef]
  32. Franco, P.; Carvalho, M.F.H.; Soares, S. A network flow model for short-term hydro-dominated scheduling problem. IEEE Trans. Power Syst. 1994, 9, 1016–1021. [Google Scholar] [CrossRef]
  33. Oliveira, A.R.L.; Soares, S.; Nepomuceno, L. Optimal active power dispatch combining network flow and interior point approaches. IEEE Trans. Power Syst. 2003, 18, 1235–1240. [Google Scholar] [CrossRef]
  34. Nepomuceno, L.; Soares, S.; Ohishi, T. A Hydrothermal Optimal Power Flow Problem Solved by Lagrangian Relaxation Approach. Int. J. Comput. Res. 2003, 10, 89–99. [Google Scholar]
  35. Azevedo, A.; Oliveira, A.; Rider, M.J.; Soares, S. How to efficiently incorporate facts devices in optimal active power flow model. J. Ind. Manag. Optim. 2010, 6, 315–331. [Google Scholar] [CrossRef]
  36. Blengini, A.; Carvalho, M.F.H.; Mota, L.; Pezzuto, C. Object-Oriented Load Flow Modeling and Implementation for Distribution Power Systems. IEEE Lat. Am. Trans. 2017, 15, 439–444. [Google Scholar] [CrossRef]
  37. Jha, B.K.; Kumar, A.; Dheer, D.K.; Singh, D.; Misra, R.K. A modified current injection load flow method under different load model of EV for distribution system. Int. Trans. Electr. Energy Syst. 2019, 30, e12284. [Google Scholar] [CrossRef]
  38. Alliance, S. Sunspec Information Model Specification; SunSpec Alliance: San Jose, CA, USA, 2015; Volume 19, pp. 1–21. [Google Scholar]
  39. FOSSEE Toolbox. Available online: http://www.scilab.in/fossee-scilab-toolbox (accessed on 5 August 2022).
  40. Kersting, W.H. Radial Distribution Test Feeders. IEEE Trans. Power Syst. 1991, 6, 975–985. [Google Scholar] [CrossRef]
Figure 1. Uncertainty scenarios for different time decision horizons.
Figure 1. Uncertainty scenarios for different time decision horizons.
Energies 15 08507 g001
Figure 2. Internal Loop (LI).
Figure 2. Internal Loop (LI).
Energies 15 08507 g002
Figure 3. External Loop (LE).
Figure 3. External Loop (LE).
Energies 15 08507 g003
Figure 4. ACOF, Five-bus Model.
Figure 4. ACOF, Five-bus Model.
Energies 15 08507 g004
Figure 5. Matrix representation for five bus example network.
Figure 5. Matrix representation for five bus example network.
Energies 15 08507 g005
Figure 6. Matrix representation for five-bus.
Figure 6. Matrix representation for five-bus.
Energies 15 08507 g006
Figure 7. JSON Structure request example for branch 0.
Figure 7. JSON Structure request example for branch 0.
Energies 15 08507 g007
Figure 8. Cloud API Model for OCF algorithm [5].
Figure 8. Cloud API Model for OCF algorithm [5].
Energies 15 08507 g008
Figure 9. JSON Structure request example for branch 0.
Figure 9. JSON Structure request example for branch 0.
Energies 15 08507 g009
Figure 10. OCF algorithm Steps.
Figure 10. OCF algorithm Steps.
Energies 15 08507 g010
Figure 11. Power System Model based on the IEEE 34-bus whit DERs systems [40].
Figure 11. Power System Model based on the IEEE 34-bus whit DERs systems [40].
Energies 15 08507 g011
Figure 12. Voltage Profile–IEEE-34 bus.
Figure 12. Voltage Profile–IEEE-34 bus.
Energies 15 08507 g012
Table 1. Five-bus distribution system with DER—Data.
Table 1. Five-bus distribution system with DER—Data.
FeederBranchSourceDestinat.P[p.u.]Q[p.u.]R[p.u.]X[p.u.]StateType
A0010.000.000.010.01NCG
A1122.502.700.070.10NCL
A2243.300.900.110.11NCL
A3451.300.900.110.11NCL
A4233.351.550.080.11NCL
DER-35630.000.000.040.04NCG
Table 2. DER–Upper and Lower, Real and Reactive Power Generation Limits [p.u.].
Table 2. DER–Upper and Lower, Real and Reactive Power Generation Limits [p.u.].
DER TypeBusReal UpperReal LowerReactive UpperReactive Lower
Feeder012.00--
Solar280.70--
Wind300.500.50
Table 3. DER—Upper and Lower, Real Voltage Control Limits [p.u.].
Table 3. DER—Upper and Lower, Real Voltage Control Limits [p.u.].
BusReal UpperReal Lower
30-0.93
Table 4. IEEE 34—DER Bus Current Injection and Voltage [p.u.].
Table 4. IEEE 34—DER Bus Current Injection and Voltage [p.u.].
BusReal CurrentReactive Current|Voltage|
11.82630.13980.9985
21.71760.05280.9807
71.70690.03150.9462
80.58350.51780.9458
90.47290.26680.9364
111.12300,48680.9439
131.08830.57100.9438
151.06700.55880.9398
181.06480.56370.9330
200.27450.24990.9315
210.74860.83790.9328
230.68250.88590.9328
240.04532.04220.9329
250.01402.06120.9335
26−0.49071.29790.9351
27−0.50351.32770.9353
280.20040.90420.9323
29−0.24100.57630.9322
300.08970.08220.9321
310.09500.05750.9322
Solar DER-280.70000.00001.0
Wind DER-300.50000.37671.0
Table 5. Convergence time and Transactions per second (TPS) the TPC 33-bus white DER].
Table 5. Convergence time and Transactions per second (TPS) the TPC 33-bus white DER].
FeederOCF Algorithm Iteration50 TPS CPU Time(s)100 TPS CPU Time(s)
A70.04830.0653
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Neto, A.B.; Barbosa, M.B.; Mota, L.M.; Lavorato, M.; de Carvalho, M.F.H. Optimal Power Flow Technique for Distribution System Considering Distributed Energy Resources (DER). Energies 2022, 15, 8507. https://doi.org/10.3390/en15228507

AMA Style

Neto AB, Barbosa MB, Mota LM, Lavorato M, de Carvalho MFH. Optimal Power Flow Technique for Distribution System Considering Distributed Energy Resources (DER). Energies. 2022; 15(22):8507. https://doi.org/10.3390/en15228507

Chicago/Turabian Style

Neto, Adolfo Blengini, Maria Beatriz Barbosa, Lia Moreira Mota, Marina Lavorato, and Marcius F. H. de Carvalho. 2022. "Optimal Power Flow Technique for Distribution System Considering Distributed Energy Resources (DER)" Energies 15, no. 22: 8507. https://doi.org/10.3390/en15228507

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