1. Introduction
Power system networks are vast and a highly sophisticated system with numerous branches interconnected together in web-like form, which in most cases are being supervised by one network operator [
1,
2]. Such numerous web-like branches of the system, which can also be viewed as power grid topology or energy internet, are commonly called power transmission lines in which the energy in-flow and out-flow must be in accordance with Kirchhoff’s current and voltage laws. However, the determination of the best operating levels of the network in terms of efficient energy delivery from generation nodes to demand nodes calls for an optimal power flow (OPF) approach.
The OPF in the power system was first introduced in 1962 by Carpentier [
3,
4]. It has a major aim of minimizing the total operating cost of energy generation in the power system subject to the system’s resource constraints. Such constraints include: the power flow limits in each branch of the network, generator capacity limits, voltage magnitudes and their angles, and, in most cases, can also consider the active transmission losses in either part of the network or the whole network system [
5].
The OPF model majorly depends on the static optimization method for minimization of a scalar optimization function. The OPF for minimization purpose was introduced in 1968 by Dommel and Tinney [
6], where the first-order gradient algorithm is subject to inequality and also equality constraints [
7]. Other conventional methods applied to solve the OPF problem include the Newton method network flow programming, quadratic programming, the interior point algorithm, linear programming, nonlinear programming and the emerging nature inspired algorithms [
8].
Furthermore, the OPF tends to optimize the static operating condition of a power generation–transmission system with several benefits such as: ensuring static security of quality of service by imposing limits on generation and transmission system’s operation; the optimization of reactive-power/voltage scheduling; improvements in the economy of operation through the full utilization of the system’s feasible operating range and the accurate coordination of transmission losses in the scheduling process [
9]. For convergence purposes, the generator operating cost functions are usually approximated by either quadratic or linear functions. In most cases, the operating cost is a function of both the generation active and reactive power of the network [
10].
Moreover, it is highly imperative and ideal to carry out OPF in either an existing transmission system or newly planned transmission system in order to obtain the network information in terms of the generation and line capacities, voltage levels, and their phases. The OPF does show exactly where there are bottlenecks in the system and hence the network reinforcements, addition of new lines and exploration of new corridors, which are known as Transmission Network Expansion Planning (TNEP), can be conducted with ease if the OPF results are readily available.
The OPF can be formulated as DC or AC OPF problems. The AC OPF formulation uses the actual AC power flow equations with the incorporation of the actual voltage magnitudes, active and reactive power management. This generates nonlinear terms in the expression of the power equations, which makes it difficult to solve by using the classical optimization techniques [
11], and the accuracy of the trending nature inspired algorithms in handling the nonlinear terms has not been properly verified in a real situation.
A novel linear-programming approximation of AC power flow that handles the reactive power and voltage magnitudes was proposed in [
12]. The model was developed in terms of a polyhedral relaxation of the cosine terms in the AC equations and Taylor series expansion was used in handling the rest of the nonlinear terms. A convex formulation for the OPF in radial power grids, for which the AC OPF equations, including the transverse parameters, are considered can be found in [
13].
However, the establishment of a robust solution for AC OPF remains a challenge, despite the numerous nonlinear algorithms developed in literature.
The DC OPF model formulation uses the linearized version of AC power flow, without the consideration of the aspects of voltage support and reactive power management [
14]. This brings convexity, which allows for faster computation time [
15].
The linear OPF models, for which the DC model is the major representative, are widely adopted in the electricity market as a simplified version of the AC OPF model [
16]. Almost every study of the OPF model for market related purposes adopts the DC OPF model [
14].
The linear approximation of AC OPF that considers the accuracy of the transmission losses and reactive load flows was presented in [
11]. The analysis of the assumptions of the DC OPF model and the attempts to quantify the assumptions’ degree of accuracy are the work done in [
14]. Meanwhile, the technique for solving the DC OPF with the minimum error is presented in [
16]. The work of [
17] handled the formulation of a linear Mega-Watts-only power flow algorithm with losses for multi-terminal Voltage Source Converter (VSC) AC/DC systems and consistency in estimation of losses in the converters was guaranteed.
An OPF with an integrated approach of geographically indexed production, demand and grid modelling for large-area power systems was proposed in [
18] to account for variance in the loading of transmission lines with the scenario for the development of wind power in Switzerland. The result showed that, in prospective regions of wind power development, Switzerland’s grid is capable of providing congestion-free dispatch in its current state.
Energy management problem in the power network system, with inter- disciplinary techniques, was investigated in [
19]. The energy regulation issue was considered based on the operational principles of energy internet (EI). The problem was formulated as a constrained optimal control problem with multiple targets. A model-free deep reinforcement learning (DRL) approach was applied with real-world power data with no explicit mathematical model for renewable power generation devices and loads. The results were compared with that of the conventional OPF method, and they showed better performance than the OPF solution.
However, the results of the model-free DRL approach still need further comparison analysis with a model-based DRL approach, to further consolidate the better performance claim. This is due to the fact that model-free DRL uses trial and error approaches without taking into consideration the actual system’s model [
19,
20,
21]. However, the peculiar feature of model-based DRL is that its objectives are finite-horizon based objectives [
22,
23,
24,
25], and it often yields improved sample efficiency [
26].
A modified Successive Linear Programming (SLP) algorithm was applied in [
27] to solve a relaxed AC OPF problem. The algorithm was tested in several large networks specified by the U.S. Department of Energy (DOE) ranging from 500-bus to 30,000-bus systems. The results show tractability of the algorithm, and up to 80% of the test cases were solved faster than an Interior Point Method (IPM) with less number of iterations.
A novel method to approximate the AC OPF into tractable linear/quadratic programming (LP/QP) based OPF problems to be used for power system planning and operation was proposed in [
28]. The result showed that the methods drastically reduced the computational complexity compared to the nonlinear AC OPF, thereby making them a good choice for power system planning purposes.
The previous work of the author, Hamam [
29], affirms that a well planned power supply system for any given planning horizon should have the total installed capacity exceeding the peak demand by a certain amount within the specified horizon. Such extra capacity is known as reserve.
In this paper, a novel DC OPF model that optimizes how much energy is produced, realizes how many economic benefits are saved in the process and predicts where to increase the capacity in an existing grid topology is proposed.
The major contribution of this paper is in the area of
Such approach has not been covered in the literature for OPF analysis to the best of our knowledge. The chosen approach also has a primary concern of computational speed as required in real-time economic dispatch.
Moreover, the paper presents the matrix expansions of the developed model in terms of each decision variable’s relationship with other parameters of the network for proper representation of the model in any suitable optimization software.
The rest of the sections of the paper are organized as follows:
Section 2 defines the OPF problem; the AC and DC formulations of the OPF problems are described in
Section 2.1 and
Section 2.2, respectively. The matrix expansion of the DC OPF Model is expressed in
Section 2.3. The Duality Principle in Linear Programming is highlighted in
Section 3, while
Section 4 contains the results and discussions of the three different test cases, followed by conclusions, acknowledgements, appendices and references.
3. Duality Principle in Linear Programming
Duality in optimization techniques is the principle that views one optimization problem in two perspectives viz: the primal problem and the dual problem. The main problem is usually called the primal problem while the sub-problem is the dual counterpart of the primal problem [
38]. The primary purpose of the dual problem, which is always a convex LP problem [
39], is to provide a lower bound to the solution of the primal minimization problem [
40]. Its convexity implies that it can easily find a lower bound of the primal problem’s optimal solution [
39].
Such lower bound can provide extra analysis for the correct interpretation of the optimal solution of the dual problem, which can strengthen the sensitivity of the model in question [
38].
Consider the general notation of LP minimization problem formulation:
where
is the transpose of row vector of the cost matrix,
x is the decision variables,
A is the equality constraint coefficients matrix,
b is the right-hand side of the equality constraints and
a is the lower bound of the decision variables.
This is the general representation of an LP type of problem with equality constraints only and that looks very similar to our defined problem in (
23) to (
29).
The dual problem on the other hand is formulated by maximizing the right-hand side of the primal problem’s constraints,
b with a new cost coefficients denoted as
u subject to a new constraints where the primal costs become the right-hand side of the constraints and
u must be greater or equal to the lower bound of the primal problem (
a) as follows:
The purpose of including the concept of duality in this work is due to the proposed dual variables of the DC OPF model’s constraints needed for obtaining the cost of constraint relaxation (CCR) for further analysis of the defined OPF problem. Hence, in terms of the developed DC OPF model:
The yielded optimal solution of the dual is the per unit cost of relaxing the respective constraints and that can form an extra tool for the system designer to see where to increase the capacities of the power network.