Mathematical Programming for Power Systems Operation - Alejandro Garcés - E-Book

Mathematical Programming for Power Systems Operation E-Book

Alejandro Garcés

0,0
109,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

Explore the theoretical foundations and real-world power system applications of convex programming In Mathematical Programming for Power System Operation with Applications in Python, Professor Alejandro Garces delivers a comprehensive overview of power system operations models with a focus on convex optimization models and their implementation in Python. Divided into two parts, the book begins with a theoretical analysis of convex optimization models before moving on to related applications in power systems operations. The author eschews concepts of topology and functional analysis found in more mathematically oriented books in favor of a more natural approach. Using this perspective, he presents recent applications of convex optimization in power system operations problems. Mathematical Programming for Power System Operation with Applications in Python uses Python and CVXPY as tools to solve power system optimization problems and includes models that can be solved with the presented framework. The book also includes: * A thorough introduction to power system operation, including economic and environmental dispatch, optimal power flow, and hosting capacity * Comprehensive explorations of the mathematical background of power system operation, including quadratic forms and norms and the basic theory of optimization * Practical discussions of convex functions and convex sets, including affine and linear spaces, politopes, balls, and ellipsoids * In-depth examinations of convex optimization, including global optimums, and first and second order conditions Perfect for undergraduate students with some knowledge in power systems analysis, generation, or distribution, Mathematical Programming for Power System Operation with Applications in Python is also an ideal resource for graduate students and engineers practicing in the area of power system optimization.

Sie lesen das E-Book in den Legimi-Apps auf:

Android
iOS
von Legimi
zertifizierten E-Readern

Seitenzahl: 346

Veröffentlichungsjahr: 2021

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Mathematical Programming for Power Systems Operation

Mathematical Programming for Power Systems Operation

 

From Theory to Applications in Python

 

 

Alejandro GarcésTechnological University of PereiraPereira, Colombia

 

 

 

This edition first published 2022

© 2022 by The Institute of Electrical and Electronics Engineers, Inc. All rights reserved.

Published by John Wiley & Sons, Inc., Hoboken, New Jersey. Published simultaneously in Canada.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4470, or on the web at www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permission.

Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in preparing this book, they make no representations or warranties with respect to the accuracy or completeness of the contents of this book and specifically disclaim any implied warranties of merchantability or fitness for a particular purpose. No warranty may be created or extended by sales representatives or written sales materials. The advice and strategies contained herein may not be suitable for your situation. You should consult with a professional where appropriate. Neither the publisher nor author shall be liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or other damages.

For general information on our other products and services or for technical support, please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.

Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic formats. For more information about Wiley products, visit our web site at www.wiley.com.

Library of Congress Cataloging-in-Publication Data

A catalogue record for this book is available from the Library of Congress

Paperback ISBN: 9781119747260; ePub ISBN: 9781119747284;

ePDF ISBN: 9781119747277; oBook ISBN: 9781119747291

Cover image: © Redlio Designs/Getty Images

Cover design by Wiley

Set in 9.5/12.5pt STIXTwoText by Integra Software Services Pvt. Ltd, Pondicherry, India

Contents

Cover

Title page

Copyright

Table of Contents

Acknowledgment

Introduction

1 Power systems operation

1.1 Mathematical programming for power systems operation

1.2 Continuous models

1.2.1 Economic and environmental dispatch

1.2.2 Hydrothermal dispatch

1.2.3 Effect of the grid constraints

1.2.4 Optimal power flow

1.2.5 Hosting capacity

1.2.6 Demand-side management

1.2.7 Energy storage management

1.2.8 State estimation and grid identification

1.3 Binary problems in power systems operation

1.3.1 Unit commitment

1.3.2 Optimal placement of distributed generation and capacitors

1.3.3 Primary feeder reconfiguration and topology identification

1.3.4 Phase balancing

1.4 Real-time implementation

1.5 Using Python

Part I Mathematical programming

2 A brief introduction to mathematical optimization

2.1 About sets and functions

2.2 Norms

2.3 Global and local optimum

2.4 Maximum and minimum values of continuous functions

2.5 The gradient method

2.6 Lagrange multipliers

2.7 The Newton’s method

2.8 Further readings

2.9 Exercises

3 Convex optimization

3.1 Convex sets

3.2 Convex functions

3.3 Convex optimization problems

3.4 Global optimum and uniqueness of the solution

3.5 Duality

3.6 Further readings

3.7 Exercises

4 Convex Programming in Python

4.1 Python for convex optimization

4.2 Linear programming

4.3 Quadratic forms

4.4 Semidefinite matrices

4.5 Solving quadratic programming problems

4.6 Complex variables

4.7 What is inside the box?

4.8 Mixed-integer programming problems

4.9 Transforming MINLP into MILP

4.10 Further readings

4.11 Exercises

5 Conic optimization

5.1 Convex cones

5.2 Second-order cone optimization

5.2.1 Duality in SOC problems

5.3 Semidefinite programming

5.3.1 Trace, determinant, and the Shur complement

5.3.2 Cone of semidefinite matrices

5.3.3 Duality in SDP

5.4 Semidefinite approximations

5.5 Polynomial optimization

5.6 Further readings

5.7 Exercises

6 Robust optimization

6.1 Stochastic vs robust optimization

6.1.1 Stochastic approach

6.1.2 Robust approach

6.2 Polyhedral uncertainty

6.3 Linear problems with norm uncertainty

6.4 Defining the uncertainty set

6.5 Further readings

6.6 Exercises

Part II Power systems operation

7 Economic dispatch of thermal units

7.1 Economic dispatch

7.2 Environmental dispatch

7.3 Effect of the grid

7.4 Loss equation

7.5 Further readings

7.6 Exercises

8 Unit commitment

8.1 Problem definition

8.2 Basic unit commitment model

8.3 Additional constraints

8.4 Effect of the grid

8.5 Further readings

8.6 Exercises

9 Hydrothermal scheduling

9.1 Short-term hydrothermal coordination

9.2 Basic hydrothermal coordination

9.3 Non-linear models

9.4 Hydraulic chains

9.5 Pumped hydroelectric storage

9.6 Further readings

9.7 Exercises

10 Optimal power flow

10.1 OPF in power distribution grids

10.1.1 A brief review of power flow analysis

10.2 Complex linearization

10.2.1 Sequential linearization

10.2.2 Exponential models of the load

10.3 Second-order cone approximation

10.4 Semidefinite approximation

10.5 Further readings

10.6 Exercises

11 Active distribution networks

11.1 Modern distribution networks

11.2 Primary feeder reconfiguration

11.3 Optimal placement of capacitors

11.4 Optimal placement of distributed generation

11.5 Hosting capacity of solar energy

11.6 Harmonics and reactive power compensation

11.7 Further readings

11.8 Exercises

12 State estimation and grid identification

12.1 Measurement units

12.2 State estimation

12.3 Topology identification

12.4

Y

bus

estimation

12.5 Load model estimation

12.6 Further readings

12.7 Exercises

13 Demand-side management

13.1 Shifting loads

13.2 Phase balancing

13.3 Energy storage management

13.4 Further readings

13.5 Exercises

A The nodal admittance matrix

B Complex linearization

C Some Python examples

C.1 Basic Python

C.2 NumPy

C.3 MatplotLib

C.4 Pandas

Bibliography

Index

End User License Agreement

List of Tables

Chapter 2

Table 2.1. Bounds of some ordered sets.

Chapter 3

Table 3.1. Summary of the main properties of convex optimization problems

Chapter 4

Table 4.1. Details of the node generated by the branch and bound problem.

Table 4.2. Parameters for a transportation problem with...

Chapter 5

Table 5.1. Constraints that can be transformed to SDP.

Chapter 6

Table 6.1. Dual norms for the most common cases

Chapter 7

Table 7.1 Cost functions and operative limits for a...

Chapter 8

Table 8.1. Logic table for operation...

Chapter 10

Table 10.1 34-bus test system taken from [83]

Table 10.2 Parameters of a 21-nodes DC power distribution grid

Chapter 11

Table 11.1 Parameters of the three-feeder test system for...

Table 11.2 IEEE 33 nodes test distribution network [102].

Chapter 13

Table 13.1. Three industrial process and price of the energy in each time

Table 13.2. Feasible permutations for the phase-balancing problem

Table 13.3. Expected generation, demand and price for 24h operation of a microgrid

Appendix C

Table C.1. Comparison of the installed power and increase....

Guide

Cover

Title page

Copyright

Table of Contents

Acknowledgments

Introduction

Begin Reading

A The nodal admittance matrix

B Complex linearization

C Some Python examples

Bibliography

Index

End User License Agreement

Pages

i

ii

iii

iv

v

vi

vii

viii

ix

x

xi

xii

xiii

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

270

271

272

273

274

275

276

277

278

279

280

281

282

Acknowledgment

Throughout the writing of this book, I have received a great deal of support and assistance from many people. I would first like to thank my friends Lucas Paul Perez at Welltec, Adrian Correa at Universidad Javeriana in Bogotá-Colombia, Ricardo Andres Bolaños at XM (the transmission system operator in Colombia), Raymundo Torres at Sintef-Norway, and Juan Carlos Bedoya at the Pacific Northwest National Laboratory (USA), who, in 2020 (during the COVID-19 pandemic), agreed to discuss some practical aspects associated to power system operation problems. The discussions during these video conferences were invaluable to improve the content of the book. I am also very grateful to my students, who are the primary motivation for writing this book. Special thanks to my former Ph.D. students, Danilo Montoya and Walter Julian Gil. Finally, I want to thank the Department of Electric Power Engineering at the Universidad Tecnológica de Pereira in Colombia and the Von Humbolt Foundation in Germany for the financial support required to continue my research about the operation and control of power systems.

Alejandro Garcés

Introduction

Electrification is the most outstanding engineering achievement in the 20th century, a well-deserved award if we consider the high complexity of generation, transmission, and distribution systems. An electric power system includes hundreds or even thousands of generation units, transformers, and transmission lines, located throughout an entire country and operated continuously 24 hours per day. Running such a complex system is a great challenge that requires using advanced mathematical techniques.

All industrial systems seek to increase their competitiveness by improving their efficiency. Electric power systems are not the exception. We can improve efficiency by introducing new technologies but also by implementing mathematical optimization models into daily operation. In every mathematical programming model, we require to perform four critical stages depicted in Figure . The first stage is an informed review of reality, identifying opportunities for improvement. This stage may include conversations with experts in order to establish the available data and the variables that are subject to be optimized. The second stage is the formulation of an optimization model as given below:

    (0.1)

Where x is the vector of decision variables, f is the objective function and, Ω is the set of feasible solutions. Going from stage one (reality) to stage two (model) is more of an art than a science. One problem may have different models and different degrees of complexity. Practice and experience are required to master this stage, as some models are easier to solve than others. Subsequently, the third stage consists of the implementation of the mathematical model into a software. After that, the fourth stage is the analysis of results in the context of the real problem.

Figure 0.1 Stages of solving an optimization problem.

This book will focus on stages two and three, associated with power system operations models. In particular, we are interested in models with a geometric characteristic called convexity, that present several advantages, namely:

We can guarantee the global optimum and unique solution under well-defined conditions. This aspect is interesting from both theoretical and practical points of view. In general, a global optimum advisable in real operation problems.

There are efficient algorithms for solving convex problems. In addition, we can guarantee convergence of these algorithms. This is a critical aspect for operation problems where the algorithm requires to be solved in real-time.

There are commercial and open-source packages for solving convex optimization models. In particular, we are going to use CvxPy, a free Python-embedded modeling language for convex problems.

Many power system operations problems are already convex; for example, the economic and environmental dispatches, the hydrothermal coordination, and the load estimation problem. Besides, it is possible to find efficient convex approximations to non-convex problems such as the optimal power flow.

In summary, convex problems have both theoretical and practical advantages for power systems operation. This book studies both aspects. The book is oriented to bachelor and graduated students of power systems engineering. Concepts related to power systems analysis such as per-unit representation, the nodal admittance matrix, and the power flow problem are taken for granted. A previous course of linear programming is desirable but not mandatory. We do not pretend to encompass all the theory behind convex optimization; instead, we try to present particular aspects of convex optimization which are useful in power systems operation. The book is divided into two parts: In the first part, the main concepts of convex optimization are presented, including a distinct chapter about conic optimization. After that, selected applications for power systems operation are presented. Most of the solvers for convex optimization allow mixed-integer convex problems. Therefore, we include models that can be solved in this framework too. The student is recommended to do numerical experiments in order to acquire practical intuition of the problems.

All applications are presented in Python, which is a language that is becoming more important in power systems applications. Students are not expected to have previous knowledge in Python, although basic concepts about programming (in any language) are helpful. Our methodology is based on many examples and toy-models