YouTube2Text

SvM Lec Power Flow Solutions — Transcript

by Prof. Zack Subin · 5,406 words · 858 segments · language en · Watch on YouTube

Full transcript

  1. 0:04Hello everyone.
  2. 0:06This is the second uh part of the
  3. 0:08lecture on power flow analysis. And here
  4. 0:12we'll get a little bit more into the
  5. 0:14meat of how do you actually perform this
  6. 0:17analysis? Uh what are the solution
  7. 0:19methods?
  8. 0:21Um we had looked at this overall picture
  9. 0:27of the power flow equations
  10. 0:31which specify real power P and reactive
  11. 0:35power Q injected at each bus throughout
  12. 0:38a network. Um and
  13. 0:43we can appreciate that these are
  14. 0:45functions of the characteristics the
  15. 0:49properties of the transmission system
  16. 0:51the transmission network which will be
  17. 0:54described in terms of G's and B's
  18. 0:57conductances or susceptances those are
  19. 0:59the real and imaginary parts of the
  20. 1:01admittance
  21. 1:03um of each branch and they are functions
  22. 1:07of the voltage magnitudes and angles at
  23. 1:12each of the buses. Uh in these
  24. 1:16equations, we use lowercase delta. We're
  25. 1:18going to shift over to using uh theta
  26. 1:21for the angle. It means exactly the same
  27. 1:23thing. Different references use uh
  28. 1:26different notations.
  29. 1:28Um so our problem can be fundamentally
  30. 1:33stated as
  31. 1:35given P and Q for each bus find V and
  32. 1:40theta voltage magnitude and angle for
  33. 1:42each bus that will be describing the
  34. 1:47state of the system. Those are the state
  35. 1:49variables
  36. 1:51um that will drive the physical power
  37. 1:55flow and define the operating state of
  38. 1:58the system at a particular time.
  39. 2:01There is a twist however which is that
  40. 2:05the scheduled P's and Q's at each bus
  41. 2:08which is all the economic transactions
  42. 2:10that we would like to um conduct at each
  43. 2:14location
  44. 2:16don't actually add up to the entire
  45. 2:21sum total real and reactive power demand
  46. 2:24for the system. Why not? Because there
  47. 2:28are losses in the system. Uh there are
  48. 2:30real and reactive line losses I squared
  49. 2:33R and I squared X where the real line
  50. 2:37losses I squared R represent actual
  51. 2:39physical energy being dissipated. The
  52. 2:41transmission lines get hot and the I^ 2
  53. 2:44X is more of an accounting difference uh
  54. 2:48between reactive power uh injected
  55. 2:52um in quotation marks by the uh all the
  56. 2:56generation resources or capacitors.
  57. 2:59um and the reactive power quote consumed
  58. 3:02by the load. There will be some reactive
  59. 3:04power quote consumed by transmission
  60. 3:07lines and transformers. Um it's actually
  61. 3:10possible that I squared X would be
  62. 3:13negative that they would in some behave
  63. 3:15more capacitively.
  64. 3:17Uh typically that's not the case. Um so
  65. 3:20I squared X is usually systemwide a
  66. 3:23positive number. But the important
  67. 3:26observation here is we don't know what
  68. 3:28the number is. So we are not in a
  69. 3:31position to write down what is the total
  70. 3:34power demand of the network at any
  71. 3:36instant because that total will depend
  72. 3:40on how the power routes itself
  73. 3:44throughout the network. How the power
  74. 3:46actually flows as a result of these
  75. 3:49different voltage magnitudes and angles.
  76. 3:53So this is like saying until we've
  77. 3:55solved the problem, we can't even really
  78. 3:58state the problem. We don't know the
  79. 4:01total power yet.
  80. 4:03Um so [snorts]
  81. 4:05that is one way to understand why this
  82. 4:08will require an iterative solution
  83. 4:11method that's essentially
  84. 4:13um a fancy refined version of trial and
  85. 4:16error.
  86. 4:19So let's with that in mind um let's talk
  87. 4:23about the variables again
  88. 4:26um there are different types of buses in
  89. 4:28power flow analysis and we generally
  90. 4:31distinguish uh generator and load buses.
  91. 4:35The load buses actually could also be
  92. 4:38generator buses but they're um really
  93. 4:41differentiated by the types of control
  94. 4:43options that we have. So for a load bus
  95. 4:47we are just given the load demand in
  96. 4:49terms of realum reactive power
  97. 4:52and from that we want to find voltage
  98. 4:55magnitude and angle and it is quite
  99. 4:58possible as an option to specify a
  100. 5:00generator bus in that way. Um it is a
  101. 5:04generator that does not regulate
  102. 5:05voltage. It is just set to
  103. 5:09inject some amount of P and Q. But as
  104. 5:12we've seen with uh synchronous
  105. 5:15generators, they're often controlled in
  106. 5:18such a way as to maintain some constant
  107. 5:20bus voltage magnitude
  108. 5:23uh by adjusting the reactive power
  109. 5:27internally with the excitation current
  110. 5:30and uh the rotor field.
  111. 5:33Um and in that case the power flow
  112. 5:37analysis we would already know what the
  113. 5:40bus voltage magnitude is at that
  114. 5:42location and we would have to do what's
  115. 5:46in a way the simpler exercise which is
  116. 5:48to find okay so now what's the reactive
  117. 5:50power that's injected in order to
  118. 5:52maintain that bus voltage magnitude. Um
  119. 5:56so in a sense having a lot of generator
  120. 5:58buses simplifies the problem a little
  121. 6:00bit. it's it's more specification uh in
  122. 6:04place. So for a generator bus that means
  123. 6:09we are given the voltage magnitude and
  124. 6:11we're given the real power
  125. 6:14uh injection. We have to find the
  126. 6:17voltage phase angle and um and the
  127. 6:20reactive power.
  128. 6:23So now
  129. 6:25um have we forgotten anything?
  130. 6:28Yes.
  131. 6:31We have that problem that we don't
  132. 6:33really know the total power
  133. 6:38demand of the system because we have not
  134. 6:41accounted for losses.
  135. 6:43Um so
  136. 6:46if we initially specify all the P's and
  137. 6:49Q's
  138. 6:51uh for the generation to exactly add up
  139. 6:55to what all the load is going to demand
  140. 6:58whether we've forecast that or we have
  141. 7:00some contract for it um or whatever
  142. 7:05we try to equate all the P's and Q's
  143. 7:09ahead of time and we can never do that
  144. 7:12exactly
  145. 7:13because we don't know how the power will
  146. 7:16actually flow. So we don't know what the
  147. 7:18losses are going to be. There is some
  148. 7:22uncertainty and for that we have to
  149. 7:24build in some slack
  150. 7:26and
  151. 7:28mathematically
  152. 7:30we delegate one location to serve as the
  153. 7:34slack bus. And that slack bus also
  154. 7:37called a swing bus is a bus where we
  155. 7:42have to find the real power that it
  156. 7:46needs to inject in order to make
  157. 7:48everything add up. So all the
  158. 7:51uncertainty from the line losses that we
  159. 7:54didn't know ahead of time before
  160. 7:56performing the power flow analysis, all
  161. 7:58that uncertainty will be shoved into
  162. 8:00that slack bus that then is going to
  163. 8:03produce exactly as much real power as it
  164. 8:06takes to make up for the difference and
  165. 8:08exactly as much reactive power as it
  166. 8:11takes to make up for all the losses.
  167. 8:16That slack bus is also the place where
  168. 8:20by convention, this is not a
  169. 8:22mathematical necessity although it would
  170. 8:24get very messy if we didn't do it this
  171. 8:26way. Uh that is where we set the voltage
  172. 8:30angle to be zero and we can just choose
  173. 8:33our coordinate system. Um so that's not
  174. 8:38really saying anything physical. It's
  175. 8:40just saying this is what we call time t
  176. 8:43equal to zero.
  177. 8:46So and the voltage magnitude um
  178. 8:50there we will also set and you know that
  179. 8:53may be exactly one per unit or it may be
  180. 8:56something different but basically we
  181. 8:58have two variables specified for every
  182. 9:01bus and we are to find through our power
  183. 9:05flow analysis
  184. 9:07uh two variables for every bus in the
  185. 9:10work.
  186. 9:16So we slightly revise the problem
  187. 9:19statement um to allow for generator or
  188. 9:23load buses. So given P and either Q or
  189. 9:27voltage magnitude for each bus except
  190. 9:29the slack bus, find the missing
  191. 9:31information uh voltage phase angle theta
  192. 9:34and either Q or V for each bus and P for
  193. 9:37the slack bus.
  194. 9:39Now we start by writing down power flow
  195. 9:42equations for each bus
  196. 9:45and uh you may not want to drill into
  197. 9:49this for the sake of some semblance of
  198. 9:53completeness. I will go through the
  199. 9:55steps of how we expand the power flow
  200. 9:58equations in the complex format here. So
  201. 10:01complex power s would be the product of
  202. 10:04voltage times current phaser at each bus
  203. 10:07where we take the complex conjugate or
  204. 10:10the negative imaginary part um for the
  205. 10:13current and that gives us um the voltage
  206. 10:17phase angle difference between uh
  207. 10:19voltage and current angle
  208. 10:22uh in the complex power. So
  209. 10:26we expand complex power into its real
  210. 10:29and imaginary part and we will expand um
  211. 10:34the voltages into phasers.
  212. 10:37Um
  213. 10:40so again here we use theta instead of
  214. 10:43delta. Don't worry about that.
  215. 10:49And then
  216. 10:52we write those down for every bus I.
  217. 10:56And for every bus I the power injection
  218. 10:59is going to be its voltage. And these
  219. 11:02are now uh complex phasers
  220. 11:06um multiplied by the admmitance Y and
  221. 11:12the voltage complex voltage at its
  222. 11:15neighboring bus K. summing up over all
  223. 11:19the K neighboring buses.
  224. 11:23So the admittance Y
  225. 11:26um
  226. 11:28is again that that's where the G's and
  227. 11:30B's came from the real and imaginary
  228. 11:32parts uh conductance and susceptance.
  229. 11:36So we can uh expand that for the E bus
  230. 11:40and we get this equation that we um had
  231. 11:45earlier. And now mind you this includes
  232. 11:50real as well as uh reactive power
  233. 11:54because s is complex.
  234. 11:57Um so here we separate them out for
  235. 11:59convenience.
  236. 12:01And um
  237. 12:04just to drive you crazy different people
  238. 12:07in the literature, different textbooks
  239. 12:09uh use different conventions of what
  240. 12:12letters they use for the counting index.
  241. 12:15Um and then there will be another
  242. 12:17counting number which is when we do
  243. 12:20trial and error and we count iterations.
  244. 12:23Um so they might use new instead of I.
  245. 12:26Um you don't have to worry about that
  246. 12:28because you don't really have to perform
  247. 12:30power flow analysis. We're just
  248. 12:32spectators here. Um
  249. 12:35so but this is cool. Uh we this is the
  250. 12:40heart of the process. We're going to
  251. 12:42start with a guess for all the voltage
  252. 12:45magnitudes and angles at each bus.
  253. 12:49We're going to compute by plugging them
  254. 12:51into the P and Q equations the the P's
  255. 12:54and Q's that would result.
  256. 12:57Then we have a thing that's called a
  257. 13:00mismatch function that looks at how
  258. 13:04wrong those P's and Q's are compared to
  259. 13:08what we wanted. Right? Remember, we
  260. 13:11started out with great economic
  261. 13:12ambitions. We're going to sell power
  262. 13:15from here to there and so much power P
  263. 13:17and Q is going to go in at one point and
  264. 13:19come out at the other point. So from our
  265. 13:22guess of V's and thetas, we're going to
  266. 13:25calculate physically what the P's and
  267. 13:27Q's are for that state and then see,
  268. 13:30well, is that what we wanted? And of
  269. 13:34course, they'll not be exactly what we
  270. 13:36wanted. And the whole heart of the
  271. 13:41clever power flow analysis technique is
  272. 13:45making a correction to the initial guess
  273. 13:49of what the v's and thetas would be. So
  274. 13:53the heart of iterative computation is
  275. 13:57learning from the error is maximizing
  276. 14:00the information that you get out of the
  277. 14:02error and then plug that into a revised
  278. 14:08guess and compute the P's and Q's again
  279. 14:12and repeat however many times you need
  280. 14:15to. And if you make clever corrections
  281. 14:17each time you'll get closer. your
  282. 14:21mismatch will shrink and you get closer
  283. 14:23to the answer that you wanted for the
  284. 14:26P's and Q's and you set some uh
  285. 14:30threshold for the error and once you get
  286. 14:34below that threshold you say okay our
  287. 14:36work here is done close enough right
  288. 14:40that's the heart of the methodology
  289. 14:44now along the way what will happen is to
  290. 14:48get a consistent solution
  291. 14:50we will have to adjust the real power at
  292. 14:54the slack bus.
  293. 14:56Um,
  294. 14:58and let me say that in practical reality
  295. 15:03more than one generator would serve to
  296. 15:06pick up the slack of uncertainty. Right?
  297. 15:10In fact, we talked about how this is
  298. 15:11done. there's there's load following,
  299. 15:14there's frequency regulation. Um, and
  300. 15:17all that of course accounts for the
  301. 15:19losses that vary in real time.
  302. 15:22So this is kind of a mathematical
  303. 15:26representation of what if only a single
  304. 15:29generator uh were to take up the slack.
  305. 15:36Um
  306. 15:39so again given the state of the system
  307. 15:43given the state variables it will be
  308. 15:45easy to compute currents and power flows
  309. 15:48along all the lines. That part isn't
  310. 15:50complicated. It's getting to the v and
  311. 15:53thetas.
  312. 15:55So
  313. 15:57in a way I could I could stop here.
  314. 16:01I want to tell you a little bit more
  315. 16:04about um
  316. 16:07how we do this. Um and the first step is
  317. 16:11going to be writing
  318. 16:13essentially Kilch's laws for every
  319. 16:16branch of the network. And that means
  320. 16:19having an admittance for every branch of
  321. 16:21the network.
  322. 16:23And that information is captured in a
  323. 16:27tidy linear algebra format in a matrix
  324. 16:29called the bus admittance matrix.
  325. 16:32There's actually a whole separate way of
  326. 16:36doing um doing this with an impedance
  327. 16:41matrix um that's more complicated and
  328. 16:45less often done.
  329. 16:47Basically, the nice thing about the bus
  330. 16:49admittance matrix is that there's zero
  331. 16:52admittance connecting many pairs of
  332. 16:54buses, right? So, it's a sparse matrix.
  333. 16:59Um, so that bus admittance matrix
  334. 17:03captures everything that's known about
  335. 17:07the physical network across which things
  336. 17:10uh connect. And from that
  337. 17:15we can given the currents calculate the
  338. 17:17voltages or given the voltages calculate
  339. 17:20the currents.
  340. 17:22Uh that will be totally deterministic
  341. 17:25based on Kchov's laws.
  342. 17:30Um or actually I should say Ohm's law
  343. 17:32it's not it's this is this that's really
  344. 17:36a statement of Ohm's law. I stand
  345. 17:38corrected.
  346. 17:40Um, but we also use Kushchoff's laws to
  347. 17:44make sure that all the currents add up
  348. 17:47at each node.
  349. 17:49Um, don't worry about the comment here
  350. 17:51about the Norton equivalent circuit. Um,
  351. 17:54that's if you had to actually create bus
  352. 17:58admittance matrices,
  353. 18:00uh, which you don't have to do. Um, so
  354. 18:05here's a little bit of a um an
  355. 18:08explanation of iterative computation.
  356. 18:10Again, you won't have to do this. Um,
  357. 18:14but I want you to understand
  358. 18:17um how it works and it's actually I
  359. 18:21think very cool. This is really the
  360. 18:24foundation of numerical analysis which
  361. 18:27is nowadays how a lot of math problems
  362. 18:32in re in the real world are answered not
  363. 18:35by solving elegantly closed form um you
  364. 18:39know solutions uh solving equations.
  365. 18:42It's just you plug in numbers and you
  366. 18:44see what you get and you make an
  367. 18:46adjustment and you repeat. And um with
  368. 18:51computers there's not much penalty for
  369. 18:54doing a lot of that and you can do it
  370. 18:56very fast.
  371. 18:58So this is just uh really about
  372. 19:00notation.
  373. 19:02Uh and this this slide repeats what I
  374. 19:05told you a minute ago um about seeing
  375. 19:09the mismatch or the error uh when you
  376. 19:13calculate your target function uh which
  377. 19:16is basically all the P's and Q's that
  378. 19:19you want and you repeat that until your
  379. 19:22error is small enough.
  380. 19:24Um it's best illustrated graphically
  381. 19:28where um in this example uh we have some
  382. 19:33function and um we want to know for what
  383. 19:38value uh of x is this function zero. So
  384. 19:43we're going to format the mismatch or
  385. 19:46the error function such that when it's
  386. 19:50zero we have our correct result. And
  387. 19:54this is the sort of example where we
  388. 19:56can't just go backwards and turn the
  389. 19:58function inside out. We have um some x
  390. 20:02and we can calculate what f ofx is. Um
  391. 20:06and then we can also look at the slope
  392. 20:09and using the slope at some point x
  393. 20:13we've evaluated we can say okay what
  394. 20:15adjustment should we make for x? In this
  395. 20:19case the slope is positive. So we should
  396. 20:22and we have a positive f ofx. So if we
  397. 20:24want f ofx to be zero, we should choose
  398. 20:26a smaller x. And depending on how
  399. 20:29steeply this function uh is rising here,
  400. 20:34we may want to make a bigger or a
  401. 20:37smaller adjustment delta x. then try
  402. 20:40evaluating the function again and
  403. 20:45um and again and again until we find the
  404. 20:49x for which the function is zero.
  405. 20:53Um so in this case the x would represent
  406. 20:57the v's and the thetas the voltage
  407. 20:59magnitudes and angles and the f ofx
  408. 21:03would be the p's and the q's the real
  409. 21:05and reactive power.
  410. 21:07So, what's going to happen is we're
  411. 21:10going to plug in an initial guess.
  412. 21:13We're going to look at the slope of the
  413. 21:16power flow equations
  414. 21:19and we're going to evaluate the P's and
  415. 21:21Q's by by just plugging into the power
  416. 21:24flow equations. At that point from that
  417. 21:27information we make an a clever educated
  418. 21:31guess for adjusting v's and thetas and
  419. 21:34repeat until
  420. 21:38um
  421. 21:39the error is small enough.
  422. 21:42Now this illustration shows that
  423. 21:47you know for a curvy function that is a
  424. 21:49nonlinear function there may be more
  425. 21:52than one place that it crosses zero. So
  426. 21:56we might have to be a little careful uh
  427. 21:58to be sure that the solution that we're
  428. 22:00getting is actually the one we wanted or
  429. 22:03that it's actually physically plausible.
  430. 22:06Um
  431. 22:09the slope
  432. 22:11the inverse uh of the slope
  433. 22:15is
  434. 22:16has a name for this analysis is called a
  435. 22:20Jacobian matrix.
  436. 22:22And why is it a matrix? Because there's
  437. 22:25a lot of value v variables. There's a
  438. 22:29lot of V's and X's. There may be 10,000
  439. 22:32V's and X's and a lot of
  440. 22:36um P's and Q's. And this Jacobian matrix
  441. 22:40J basically
  442. 22:44is something that shows us the
  443. 22:47sensitivity or the rate of change of
  444. 22:51power real and reactive power with
  445. 22:55respect to
  446. 22:57the angles and voltage magnitudes at
  447. 23:00each bus.
  448. 23:03So this Jacobian matrix um
  449. 23:07basically says how much would power
  450. 23:12injection at
  451. 23:14the E bus, in this case bus 3,
  452. 23:19change if we made a change to the
  453. 23:21voltage magnitude or angle at any one of
  454. 23:25the other buses, in this case bus two.
  455. 23:29And so there's a Jacobian matrix for the
  456. 23:33whole network.
  457. 23:35And this matrix has to be inverted
  458. 23:40because when we um
  459. 23:44you can [snorts] see here that if we're
  460. 23:46trying to use the slope to see what
  461. 23:49adjustment we make for our guess x, we
  462. 23:53have to divide
  463. 23:55by the derivative frime of x. we have to
  464. 23:58divide by the slope. So here we have the
  465. 24:02inverse of the matrix. We're dividing by
  466. 24:04the matrix.
  467. 24:06Um and that taking that inverse that's
  468. 24:10the really computational uh
  469. 24:13computationally expensive step in here.
  470. 24:16Now there's different algorithms for
  471. 24:18doing that. They differ in how easy it
  472. 24:21is to compute that
  473. 24:24the the next guess for the next
  474. 24:25iteration. how many iterations it takes
  475. 24:28to converge and how certain you are of
  476. 24:31converging at all and getting a solution
  477. 24:34out of it at all.
  478. 24:36Um,
  479. 24:38so
  480. 24:43we're this just explains the process.
  481. 24:47I'm going to skip over it. You can read
  482. 24:50about it in the book uh in more detail
  483. 24:52if you want to.
  484. 24:54Let me illustrate the simplest possible
  485. 24:57example uh of how this method would
  486. 25:00work. Um and in this simple example,
  487. 25:05we have two buses. One bus with a
  488. 25:09generator, another bus with a load.
  489. 25:14And we are told that we want exactly one
  490. 25:18per unit voltage magnitude
  491. 25:21at our slack bus, which will also have
  492. 25:24zero voltage angle. And so the question
  493. 25:27is in order to deliver 200 megawws of
  494. 25:32real power and 100 megavars of reactive
  495. 25:34power from bus one to bus 2,
  496. 25:38what do the actual voltage magnitudes
  497. 25:42and angles have to be? And in this case,
  498. 25:45we're just solving for a single voltage
  499. 25:48magnitude and angle at bus two.
  500. 25:51And even that which you know seems like
  501. 25:56a
  502. 25:58really elementary uh question is
  503. 26:01actually not trivial to calculate. If I
  504. 26:04told you what the voltages are, it would
  505. 26:07be pretty trivial once you know what
  506. 26:09you're doing um to calculate the power
  507. 26:12flow. But to go from the power flow to
  508. 26:15the voltages is actually tricky. So this
  509. 26:19example which um is discussed in the in
  510. 26:23the text
  511. 26:25um kind of walks through applying the
  512. 26:28power flow equations. Uh it walks
  513. 26:31through how you construct the bus
  514. 26:33admittance matrix which for a single
  515. 26:36branch is already a 2x two matrix.
  516. 26:41um and then walks through
  517. 26:44the iterations,
  518. 26:46how you write down the Jacobian matrix,
  519. 26:50first of all, how you write the the
  520. 26:52power flow equations,
  521. 26:54um how you take the derivatives of them,
  522. 26:57and then um how step by step you arrive
  523. 27:03at a solution. And in this case the
  524. 27:08solution turns out to be that
  525. 27:11bus 2 will have a 0855 per unit voltage.
  526. 27:17So the voltage magnitude is a little
  527. 27:19lower and it will have an angle of
  528. 27:22minus3 12° uh where we start by
  529. 27:26definition with the slack bus at 0
  530. 27:28degrees. So with the power flowing from
  531. 27:31bus one to bus two, we go to a more
  532. 27:34negative
  533. 27:35uh voltage angle
  534. 27:38and we also
  535. 27:41calculate that to make all this happen
  536. 27:44the generator has to supply
  537. 27:48168.3 megavars
  538. 27:51because even though the load is only
  539. 27:54consuming a consuming in quotation marks
  540. 27:56a 100 megavars of reactive power. This
  541. 28:00line
  542. 28:02is acting in an inductive manner. This
  543. 28:04line has a an impedance of 0.1 J meaning
  544. 28:09only an imaginary component. It has no
  545. 28:11resistance
  546. 28:13because the line has no resistance. 200
  547. 28:16megawws injected equal 200 megawws
  548. 28:20withdrawn. No I squared R losses. No
  549. 28:23resistance here. But there are I squared
  550. 28:25X losses. And so those amount to the
  551. 28:2968.3.
  552. 28:31That's the difference.
  553. 28:33And
  554. 28:35um
  555. 28:37this just shows that three iterations of
  556. 28:40this method would get you to an error
  557. 28:43that's on the order of uh one part in
  558. 28:4710,000, which is close enough. Um so the
  559. 28:51solution then comes out um to be
  560. 28:56this angle. And so here there's another
  561. 28:59little you don't really need to worry
  562. 29:01about this. Uh this angle is given in
  563. 29:03radians not degrees.
  564. 29:06Um 08554
  565. 29:08uh is the magnitude and this is how we
  566. 29:11would write it uh in the notation as an
  567. 29:13angle. Um so we have calculated with an
  568. 29:18iterative method
  569. 29:20um the
  570. 29:22complex bus voltage or the the bus
  571. 29:26voltage phaser for bus 2 that will make
  572. 29:31it so that will allow for
  573. 29:35200 megawatts and 100 megavars to be
  574. 29:38delivered at this bus. And the whole
  575. 29:41takeaway is like, wow, that was more
  576. 29:44complicated than you would have
  577. 29:46expected.
  578. 29:47And it gets worse because
  579. 29:51that is actually not the only
  580. 29:53mathematically possible solution. It
  581. 29:55turns out to be the solution that we
  582. 29:57want.
  583. 29:58But
  584. 30:02from a mathematical standpoint,
  585. 30:06there is a perfectly plausible solution
  586. 30:10that yields the same answer. 200 megawws
  587. 30:14and 100 mega bars delivered.
  588. 30:17But the bus voltage is now.26
  589. 30:20per unit or only 26% of what it was
  590. 30:23nominally supposed to be. and the
  591. 30:25voltage phase angle is almost 50 degrees
  592. 30:28behind.
  593. 30:30So physically that's not realistic.
  594. 30:32There will have been circuit breakers
  595. 30:34popping open, relays tripping open. This
  596. 30:37is not okay. Um you aren't supposed to
  597. 30:40run that lower voltage or 50 degrees of
  598. 30:44phase angle uh difference is really
  599. 30:46stretching it. So this low voltage
  600. 30:49solution is not physically plausible.
  601. 30:51And look at the reactive power
  602. 30:56loss on this transmission line. So
  603. 30:59what's happening here is we are
  604. 31:02supplying this power demand with a huge
  605. 31:06amount of current through the
  606. 31:08transmission line where actually the
  607. 31:10transmission line is the dominant
  608. 31:12reactive load. Right? The transmission
  609. 31:15line can't be a real load because it has
  610. 31:17no resistance. But the transmission line
  611. 31:20is the dominant load here. And so this
  612. 31:24example illustrates the fact that just
  613. 31:26based on the megawatt and the megavar
  614. 31:29injections,
  615. 31:31you can't actually pin down with
  616. 31:34mathematical certainty
  617. 31:36what the state variables are.
  618. 31:39Um there's generally a low voltage and a
  619. 31:44high voltage solution that's
  620. 31:45mathematically possible and almost
  621. 31:48always it's the higher one the higher
  622. 31:50voltage that's physically
  623. 31:54uh the plausible one. What's really
  624. 31:57interesting is that
  625. 32:01which solution your algorithm arrives at
  626. 32:05depends on the algorithm and it may
  627. 32:07depend on your starting guess. So this
  628. 32:10is actually a graphic that illustrates
  629. 32:14where you land
  630. 32:17whether you converge to the plausible
  631. 32:20solution which is the red one um or the
  632. 32:24implausible solution uh which is the
  633. 32:26yellow one for all the different
  634. 32:29possible starting guesses where the
  635. 32:32vertical uh axis is voltage magnitude
  636. 32:35centered on one here and the horizontal
  637. 32:38axis is the starting guess for the angle
  638. 32:41the voltage phase angle. Um and
  639. 32:46generally speaking because we would like
  640. 32:50to um maintain a pretty easy [snorts]
  641. 32:56smooth voltage profile across the
  642. 32:58network. So, we want to keep voltages
  643. 33:01close to one per unit generally. And we
  644. 33:04want phase angle differences to be
  645. 33:07pretty moderate, not too great. Uh it's
  646. 33:10typical to use as a starting guess uh a
  647. 33:15one per unit magnitude and a 0 degree
  648. 33:18angle. And that would be this starting
  649. 33:22guess uh right here.
  650. 33:25Um but now what's interesting is that
  651. 33:30there's not a simple boundary. This is
  652. 33:32actually a fractal boundary between the
  653. 33:35regions of attraction uh for different
  654. 33:38starting guesses. And so, you know, if
  655. 33:42you're into um dynamic systems,
  656. 33:45nonlinear dynamic systems,
  657. 33:48um this is a fabulous uh thing for
  658. 33:52further study because it's it's really
  659. 33:55cool and you understand sort of what
  660. 33:57structures give rise to chaotic
  661. 33:59behavior. And there's many applications
  662. 34:01of that uh in many other
  663. 34:04areas of physics and science and life in
  664. 34:08general. Um but so it's worth knowing
  665. 34:13that there is this sort of latent
  666. 34:16instability or possibility
  667. 34:19um for an AC network to just really
  668. 34:23behave out of the um out outside the
  669. 34:28bounds of um of stable and desired
  670. 34:32behavior.
  671. 34:34Um
  672. 34:40I won't go into detail about different
  673. 34:43uh iteration methods. What I I just want
  674. 34:46you to know that what I've presented is
  675. 34:48the new Newton Rafson method. That's the
  676. 34:51most common. Um you know power
  677. 34:55engineering courses will al also teach
  678. 34:58Gaus Zidal method. Um they have
  679. 35:01different pros and cons. Um [snorts] and
  680. 35:03so you should just know that there's not
  681. 35:06just one single method of doing this and
  682. 35:08different algorithms may be more uh
  683. 35:10efficient uh in certain cases than
  684. 35:14others. Um I want to show you just
  685. 35:17briefly
  686. 35:19uh the derivatives written out here of
  687. 35:22the power flow equations
  688. 35:25uh with respect to voltage magnitudes
  689. 35:27and angles. So these are the
  690. 35:29sensitivities
  691. 35:31and the point I want to make is why it
  692. 35:36is I want to justify the rule of thumb
  693. 35:39that I told you in the very beginning um
  694. 35:42that you know real power flow is mostly
  695. 35:45associated with the timing or voltage
  696. 35:47phase angle and reactive power mostly
  697. 35:50associated uh with voltage magnitude.
  698. 35:53Um, and we've justified that with some
  699. 35:57physical intuition having to do with
  700. 35:59generator controls. But we can also see
  701. 36:02it from these sensitivities or partial
  702. 36:06derivatives here. Um, and the way to see
  703. 36:10that is that if the transmission lines
  704. 36:12are mostly inductive in their behavior,
  705. 36:16in other words, the conductances, the
  706. 36:18real parts, the G's are small numbers.
  707. 36:21So these terms that are multiplied by
  708. 36:24the G's are small and kind of are
  709. 36:28irrelevant go away.
  710. 36:31Um and if we have relatively small angle
  711. 36:37voltage phase angle differences not some
  712. 36:39pathological
  713. 36:41phase angle separations the signs of
  714. 36:44those angles will also be small. So that
  715. 36:47means that these sensitivities of real
  716. 36:50power with respect to voltage magnitude
  717. 36:52and reactive power with respect to angle
  718. 36:56those derivatives will tend to almost
  719. 36:59vanish. They will not be dominant and
  720. 37:03those will not be major sensitivities.
  721. 37:07If we look at the the dependence of real
  722. 37:10power on angle and reactive power on
  723. 37:14voltage magnitude we find okay so yeah
  724. 37:18this I'm just following the animation
  725. 37:20steps here those are often negligible
  726. 37:24um
  727. 37:27once again if the transmission lines are
  728. 37:30mostly inductive reactants
  729. 37:32um the G's here are also small and the
  730. 37:36signs of these angles are small.
  731. 37:40Whereas these terms, the B's and the
  732. 37:44cosiness of the angle differences, those
  733. 37:46are really the meat in in the equations.
  734. 37:50That's that's where the the meat is
  735. 37:52here. And in fact, if the angles are
  736. 37:57not very different from each other, then
  737. 37:58the coine of the angle difference should
  738. 38:00be close to one. So from that is where
  739. 38:05we get
  740. 38:07um
  741. 38:09approximations
  742. 38:11that um
  743. 38:15these the the sensitivity of real power
  744. 38:19with respect to angle can be roughly
  745. 38:21approximated as
  746. 38:23the product of voltage magnitudes
  747. 38:25between adjacent nodes times that um
  748. 38:30uh susceptance B and then uh the
  749. 38:35reactive power flow between so it's it's
  750. 38:38I've written it here between nodes two
  751. 38:40and three um or
  752. 38:44power injection at node two with respect
  753. 38:47to the voltages at node three um and
  754. 38:52that would be approximated
  755. 38:55by the voltage um at node two and um
  756. 39:00this acceptance uh B3 of the path
  757. 39:03between them. Um so to show that another
  758. 39:08way is that in the Jacobian matrix which
  759. 39:12has four partitions for the four types
  760. 39:15of uh sensitivities
  761. 39:17they're basically two partitions that I
  762. 39:19can often ignore. And when I do that
  763. 39:23it's called decoupled power flow. In
  764. 39:26other words, I've decoupled
  765. 39:29um real power and uh and voltage angle
  766. 39:34as a pair of va v variables from the
  767. 39:37other pair of variables reactive power
  768. 39:40and voltage magnitude. So when you hear
  769. 39:43decoupled power flow, that's what
  770. 39:45they're talking about.
  771. 39:47And then finally, DC power flow. So
  772. 39:51that's a really important thing to know
  773. 39:54because when you hear that terminology,
  774. 39:56oh we ran a DC power flow analysis,
  775. 39:59that doesn't mean that they actually
  776. 40:02assumed the whole system is running on
  777. 40:04direct current. Uh what it means is that
  778. 40:08they just ignored the variable pairs of
  779. 40:12uh Q and V and turned the
  780. 40:16two-dimensional problem into a
  781. 40:17one-dimensional problem. Uh so it's just
  782. 40:21saying let's assume all the voltages are
  783. 40:24one
  784. 40:26and never mind reactive power. We're
  785. 40:29trying to get a first cut at roughly how
  786. 40:32is this power going to distribute across
  787. 40:33the network. So we're going to use we're
  788. 40:37going to write down a different matrix a
  789. 40:39B matrix. It's like the admittance
  790. 40:40matrix but with only with not resistive
  791. 40:44parts accounted for at all just the B's.
  792. 40:48um and you know invert that or divide
  793. 40:54the power injections by it and that
  794. 40:56gives you the set of thetas and this is
  795. 40:59a linear algebra problem that you can
  796. 41:01just solve exactly. It's a closed form
  797. 41:04solution. So what that does is it gives
  798. 41:08you exactly the right answer to what you
  799. 41:12know is the wrong problem because you
  800. 41:15know that what you've specified
  801. 41:17is not the situation that exists in the
  802. 41:20real world but you've made an
  803. 41:22approximation
  804. 41:24that you can sort of understand how
  805. 41:27wrong it is. Right?
  806. 41:31the voltages are not exactly one but
  807. 41:33let's suppose they are and based on that
  808. 41:38how will I change the angles if I change
  809. 41:42the PS or vice versa so that is a DC
  810. 41:47power flow analysis with a you know
  811. 41:49single variables that often is used for
  812. 41:54first cut at uh contingency analysis
  813. 41:57because if I've got to run a hundred
  814. 42:00different possible contingency
  815. 42:01scenarios,
  816. 42:03then you know it's going to be really
  817. 42:05computation intensive to do power flows
  818. 42:07for each one. So I might start with the
  819. 42:11DC power flow and that'll run very
  820. 42:14quickly and then I can set some flags
  821. 42:17and say okay if I get some results that
  822. 42:20are borderline maybe not okay I'm going
  823. 42:24to go back and do a full power flow to
  824. 42:29make sure I'm not missing maybe a
  825. 42:31violation or some uh condition that
  826. 42:35doesn't work out. Um so
  827. 42:40um
  828. 42:42this is a summary of shortcuts that I
  829. 42:46can do in Powerflow analysis. not
  830. 42:49terribly relevant for you because you
  831. 42:52won't be sitting there laboring for
  832. 42:54hours on doing power flow problems which
  833. 42:58you know honestly even for like three
  834. 43:02a three bus system doing it by hand
  835. 43:06um is very time consuming and you know
  836. 43:10for like four five six buses you already
  837. 43:13have to do some coding and computer
  838. 43:16programs to do it. Um, and it I mean
  839. 43:20it's sort of a character building
  840. 43:21exercise, but I won't put you through
  841. 43:23it. Um, we won't put you through it, but
  842. 43:27it it's really to appreciate. I mean, I
  843. 43:30hope that what you got out of this
  844. 43:31lecture is that there's a lot more to it
  845. 43:35than meets the eye. And um, so there's
  846. 43:39shortcuts. When you hear about these
  847. 43:40decoupled power flow, there's a a fast
  848. 43:44version of it um where again you just
  849. 43:48make an assumption about let's say the
  850. 43:49voltages are close to one per unit. Uh
  851. 43:53and the most important one being the DC
  852. 43:55power flow that will you know will not
  853. 43:59give a correct solution uh because it
  854. 44:02ignores reactive power flow completely.
  855. 44:05Um,
  856. 44:07that's
  857. 44:09what I wanted to share about the math
  858. 44:12and I'll see you next time.

About this transcript

This page contains the full transcript of SvM Lec Power Flow Solutions by Prof. Zack Subin, generated from the public captions YouTube serves with the video. The transcript has 5,406 words across 858 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.