Closed weigao-123 closed 1 year ago
@weigao-123 By the way, result from PW is in the unit of percentage and any value grater than 100 should be just 0
Hi!
My first reaction, would be: Is power world LODF using the "AC" LODF derived using the jacobian, or is the one using the "DC" linear matrices? We use the linear matrices.
A side note is that the branch ordering might not be the same...
We've tested the LODF against PSSe but not Power world. In general LODF's produce mathematical glitches that Power World might correct differently from us.
Regardless, the best possible test is to compute the LODF with power flows and see who is "more correct".
Let me know if you need any assistance.
Thank you!
I also used "Losses DC" method for the LODF calculation. Actually, the branch ordering alignment is done on my own, and so if we look a specific line
GridCal: lodf(1_GlenLyn_132.0_2_Claytor_132.0_1, 4_Hancock_132.0_6_Roanoke_132.0_1) = 0.6077462 PowerWorld: lodf(..., ...) = 0.2949000
Power flow testing for line flow "1_GlenLyn_132.0_2_Claytor_132.0_1" at outage "4_Hancock_132.0_6_Roanoke_132.0_1":
GridCal (Solver: Linear DC, frequency=60 Hz):
PowerWorld (Solver: DC Power Flow, frequency=60 Hz):
From this, I noticed maybe the row and column of LODF matrix in GridCal is transposed compared with PowerWorld; in PowerWorld, each row reprensents the outaged line, and each column reprensts the monitored line, but in GridCal, each row reprensents the monitored line, and each column reprensts the outaged line, am I correct?
Yes, you are correct. The rows are the monitored branches and the columns is what changes, for the PTDF the changes are the bus injections and for the LODF the changes are the branch outages. Both have consistent dimentions in that sense.
Looking at it like that, the LODF in GridCal for your combination is 29.2369 MW.
@SanPen Make sense, thank you so much!
case: https://github.com/SanPen/GridCal/blob/master/src/tests/data/grids/IEEE%2030%20bus.raw
lodf result from GridCal (only one column lodf is attached):
lodf result from PowerWorld:
Both results look resonable, but the values are different, could you please help to investigate it? Please let me know if there is any other info I can provide. Thank you!