Ling Zhang’s research while affiliated with Trinity Washington University and other places

What is this page?


This page lists works of an author who doesn't have a ResearchGate profile or hasn't added the works to their profile yet. It is automatically generated from public (personal) data to further our legitimate goal of comprehensive and accurate scientific recordkeeping. If you are this author and want this page removed, please let us know.

Publications (13)


Fig. 3: An illustrative example of the gauge map from B8 to a polyhedral C-set Q. The 1, 3 4 , 1 2 and 1 5 level curves of each set are plotted in blue. For each point in B8, it is transformed to its image (marked using the same color) in Q with the same level curve.
An Efficient Learning-Based Solver for Two-Stage DC Optimal Power Flow with Feasibility Guarantees
  • Preprint
  • File available

April 2023

·

61 Reads

Ling Zhang

·

Daniel Tabas

·

Baosen Zhang

In this paper, we consider the scenario-based two-stage stochastic DC optimal power flow (OPF) problem for optimal and reliable dispatch when the load is facing uncertainty. Although this problem is a linear program, it remains computationally challenging to solve due to the large number of scenarios needed to accurately represent the uncertainties. To mitigate the computational issues, many techniques have been proposed to approximate the second-stage decisions so they can dealt more efficiently. The challenge of finding good policies to approximate the second-stage decisions is that these solutions need to be feasible, which has been difficult to achieve with existing policies. To address these challenges, this paper proposes a learning method to solve the two-stage problem in a more efficient and optimal way. A technique called the gauge map is incorporated into the learning architecture design to guarantee the learned solutions' feasibility to the network constraints. Namely, we can design policies that are feed forward functions that only output feasible solutions. Simulation results on standard IEEE systems show that, compared to iterative solvers and the widely used affine policy, our proposed method not only learns solutions of good quality but also accelerates the computation by orders of magnitude.

Download

Fig. 4: Simulation results on LMP forecasting on 39-bus system with 80% load variations. (a) LMPs of a single sample and (b). Average MAPE across all testing samples compared with neural network-based forecasts.
Figure 5 shows an example. Assuming that all the line susceptances are 1 p.u., i.e., b ij = 1, and taking the line flows f 1 , f 2 , f 4 to the fundamental flows. Then the matrix K mapping the fundamental flows to all line flows and the matrix˜A matrix˜ matrix˜A mapping flows to bus injections are:
Learning to solve DCOPF: A duality approach

December 2022

·

420 Reads

·

26 Citations

Electric Power Systems Research

The optimal power flow (OPF) problem is a fundamental tool in power system operation and control. Because of the increase in uncertain renewable resources, solving OPF problems fast and accurately provides significant values because of a large number of load and generation scenarios need to be accounted for. Recent works have focused on using neural networks to replace iterative solvers to speed up the computation of OPF problems. A critical challenge is to ensure solutions satisfy the hard constraints in the OPF problem, which is difficult to do in end-to-end machine learning. In this work, by leveraging the rich theory of duality and physical interpretations of OPF, we design a learning-based approach that has theoretical characterizations of constraint satisfaction. This approach is an order of magnitude faster than standard solvers, and performs much better than other learning methods in terms of feasibility and optimality.




A Convex Neural Network Solver for DCOPF with Generalization Guarantees

November 2021

·

32 Reads

·

50 Citations

IEEE Transactions on Control of Network Systems

The DC optimal power flow (DCOPF) problem is a fundamental problem in power systems operations and planning. With high penetration of uncertain renewable resources in power systems, DCOPF needs to be solved repeatedly for a large amount of scenarios, which can be computationally challenging. As an alternative to iterative solvers, neural networks are often trained and used to solve DCOPF. These approaches can offer orders of magnitude reduction in computational time, but they cannot guarantee generalization, and small training error does not imply small testing errors. In this work, we propose a novel algorithm for solving DCOPF that guarantees the generalization performance. First, by utilizing the convexity of DCOPF problem, we train an input convex neural network. Second, we construct the training loss based on KKT optimality conditions. By combining these two techniques, the trained model has provable generalization properties, where small training error implies small testing errors. In experiments, our algorithm significant outperforms other machine learning methods.


Vulnerabilities of Power System Operations to Load Forecasting Data Injection Attacks

October 2021

·

36 Reads

·

5 Citations


Fig. 2: Outline of the solution process.
Fig. 6: Generation costs of the obtained solutions using Algorithm 1 on different training sets for 22-bus network. The predicted costs using the baseline method are also reported for comparison. All the generation costs are represented proportional to the globally optimal cost. We can see that Algorithm 1 is not sensitive to the quality of training data. It is able to obtain the global solution even when the training data is only consisted of local solutions.
Fig. 7: Computation time of calling IPOPT to solve the ACOPF problem in 39-bus network with different initialization. The blue curve is the computation time when the warm starts learned by Algorithm 1 are used as initial points, which is lower than the random initialization (red curve) almost for every instance.
Fig. 8: Generation costs of the obtained solutions using Algorithm 1 and the baseline method on different training sets for 118-bus network. All the generation costs are represented proportional to the globally optimal cost. Algorithm 1 is able to obtain the global solution even when the training data is only consisted of local solutions.
Learning to Solve the AC Optimal Power Flow via a Lagrangian Approach

October 2021

·

54 Reads

Using deep neural networks to predict the solutions of AC optimal power flow (ACOPF) problems has been an active direction of research. However, because the ACOPF is nonconvex, it is difficult to construct a good data set that contains mostly globally optimal solutions. To overcome the challenge that the training data may contain suboptimal solutions, we propose a Lagrangian-based approach. First, we use a neural network to learn the dual variables of the ACOPF problem. Then we use a second neural network to predict solutions of the partial Lagrangian from the predicted dual variables. Since the partial Lagrangian has a much better optimization landscape, we use the predicted solutions from the neural network as a warm start for the ACOPF problem. Using standard and modified IEEE 22-bus, 39-bus, and 118-bus networks, we show that our approach is able to obtain the globally optimal cost even when the training data is mostly comprised of suboptimal solutions.


Fig. 2: Geometry of the penalized objective functions Lρ and the partial Lagrangian Lµ. The line admittance is 1 − j4 and the penalty parameter is 2.
Fig. 3: The contour plot of Lρ and Lµ nearby the 1st, 2nd and 4th solution. The Hessian matrix of Lµ is positive definite in (b), indefinite in (d), and negative definite in (f). The black arrows in (d) and (f) indicates the descent directions of the function value.
Fig. 4: The two types of three bus networks with the tree structure.
Fig. 5: Topology diagram of the nine-bus network.
Fig. 7: The average cost of all 600 solutions, and is normalized such that the optimal cost is 1. After a direct call to IPOPT, the average cost is 30% higher than the optimal cost. Then the average cost reduces to 1.5%, 0.4% higher than the optimal value after one and two iterations of Algorithm 1, respectively. After three iterations, the average cost is exactly the optimal cost.
An Iterative Approach to Improving Solution Quality for AC Optimal Power Flow Problems

September 2021

·

76 Reads

The existence of multiple solutions to AC optimal power flow (ACOPF) problems has been noted for decades. Existing solvers are generally successful in finding local solutions, which satisfy first and second order optimality conditions, but may not be globally optimal. In this paper, we propose a simple iterative approach to improve the quality of solutions to ACOPF problems. First, we call an existing solver for the ACOPF problem. From the solution and the associated dual variables, we form a partial Lagrangian. Then we optimize this partial Lagrangian and use its solution as a warm start to call the solver again for the ACOPF problem. By repeating this process, we can iteratively improve the solution quality, moving from local solutions to global ones. We show the effectiveness of our algorithm on standard IEEE networks. The simulation results show that our algorithm can escape from local solutions to achieve global optimums within a few iterations.


Fig. 1: Outline of the solution process.
Fig. 2: Geometry of the penalized objective functions Lρ and the partial Lagrangian Lµ.
An Iterative Approach to Finding Global Solutions of AC Optimal Power Flow Problems

February 2021

·

56 Reads

The existence of multiple solutions to AC optimal power flow (ACOPF) problems has been noted for decades. Existing solvers are generally successful in finding local solutions, which are stationary points but may not be globally optimal. In this paper, we propose a simple iterative approach to find globally optimal solutions to ACOPF problems. First, we call an existing solver for the ACOPF problem. From the solution and the associated dual variables, we form a partial Lagrangian. Then we optimize this partial Lagrangian and use its solution as a warm start to call the solver again for the ACOPF problem. By repeating this process, we can iteratively improve the solution quality, moving from local solutions to global ones. We show the effectiveness our algorithm on standard IEEE networks. The simulation results show that our algorithm can escape from local solutions to achieve global optimums within a few iterations.


Fig. 1: The cost curve of a single bus load with three generators. The curve is piecewise linear, convex and increasing, with each piece corresponding to a different generation profile.
Fig. 2: The architecture of the trained ICNN. The weights W (z) 1 , . . . , W (z) k−1 are restricted to be nonegative. The pass through links W () 1 , . . . , W () k−1 are not sign restricted.
Fig. 3: Given two points on a line, there are infinitely many piecewise linear functions passing through them.
Fig. 4: Example when the middle region has no data. But as long as the other two regions are well trained (black lines), the slopes in the middle region are bounded (blue and red dashed lines) by Theorem 5.5. Then the active constraint detection (Algorithm 1) would still be correct.
Fig. 5: Division of the input space. The axes are load values at the two buses. In this example, based on different combinations of active constraints, the input load space can be divided into four regions. We take samples from R1 as the testing set and samples from surrounding regions R0, R2 and R3 as the training set.
A Convex Neural Network Solver for DCOPF with Generalization Guarantees

September 2020

·

166 Reads

The DC optimal power flow (DCOPF) problem is a fundamental problem in power systems operations and planning. With high penetration of uncertain renewable resources in power systems, DCOPF needs to be solved repeatedly for a large amount of scenarios, which can be computationally challenging. As an alternative to iterative solvers, neural networks are often trained and used to solve DCOPF. These approaches can offer orders of magnitude reduction in computational time, but they cannot guarantee generalization, and small training error does not imply small testing errors. In this work, we propose a novel algorithm for solving DCOPF that guarantees the generalization performance. First, by utilizing the convexity of DCOPF problem, we train an input convex neural network. Second, we construct the training loss based on KKT optimality conditions. By combining these two techniques, the trained model has provable generalization properties, where small training error implies small testing errors. In experiments, our algorithm improves the optimality ratio of the solutions by a factor of five in comparison to end-to-end models.


Citations (6)


... This results in traditional solution algorithms for ACOPF encountering issues such as global optimality and excessive computation times etc. Recent studies have proposed relaxation approaches (Bingane et al., 2018) and machine learning-based approaches (Zamzam & Baker, 2020;Zhang & Zhang, 2022;Jiang et al., 2024;Zhao & Barati, 2024) to address these issues. ...

Reference:

DiOpt: Self-supervised Diffusion for Constrained Optimization
Learning to Solve the AC Optimal Power Flow via a Lagrangian Approach
  • Citing Conference Paper
  • October 2022

... To cope with the computational challenges, machine learning has been employed in reliability management research to predict the system state and generation schedule [25]. After a longer initial training of the machine learning model, such methods use a small fraction of the time to find a solution compared to the original SCOPF optimization. ...

Learning to solve DCOPF: A duality approach

Electric Power Systems Research

... This was also the case in our extensive testing on several real world distribution networks. Since our optimization problem is structurally different from optimal power flow problem, further work is needed in order to study conditions where the local and global solution differ substantially and if certain recently developed methods as in [20][21][22] could alleviate the issue by providing the means of escaping from local solutions. ...

An iterative approach to improving solution quality for AC optimal power flow problems
  • Citing Conference Paper
  • June 2022

... In the case of building load forecasting, the prediction error increases drastically with a low noise level caused by the attack [13]. In [14], the authors designed a data injection attack to reveal the existing vulnerabilities of many load forecasting algorithms. There has also been nascent work on defense mechanisms for power system applications. ...

Vulnerabilities of Power System Operations to Load Forecasting Data Injection Attacks

... As in classical polynomial-fitting arguments, knowledge of derivatives at a point can disambiguate many potential fits. Recent results have demonstrated how approximating derivatives (either explicitly or implicitly) [31,32] can help achieve small generalization errors in the test set. This effect becomes especially significant in high-dimensional problems or in the presence of strong non-linearities, where matching values alone might fail to capture the local geometry of f . ...

A Convex Neural Network Solver for DCOPF with Generalization Guarantees
  • Citing Article
  • November 2021

IEEE Transactions on Control of Network Systems

... Nonetheless, the adversarial training process of GANs can introduce instability, while the performance of VAEs is restricted by the expressiveness of their variational posterior distribution [20]. A flexible approach utilizing Bernstein polynomial normalizing flows (NF) for conditional density forecasting of short-term load is proposed in [24], demonstrating advantages over other probabilistic techniques; however, this approach restricts the range of network structures and dimensions [25]. ...

Scenario Forecasting of Residential Load Profiles
  • Citing Article
  • November 2019

IEEE Journal on Selected Areas in Communications