GridOPTICS / GridPACK

https://www.gridpack.org/
44 stars 21 forks source link

Discussion: powerflow #150

Open abhyshr opened 1 year ago

abhyshr commented 1 year ago

Looking at the power flow application code, my understanding is that complex values are not used in the power flow calculation. However, there are methods (such as vectorValues, diagMatrixValues etc.) that are implemented with complex input arguments, but these are unused.

Is there any mode where complex values are used in power flow. My guess is not, but want to confirm.

@chenyousu @bjpalmer @yliu250

bjpalmer commented 1 year ago

I thought the power flow code was written using complex values. At any rate, I think that at one time we had a version that used complex matrices to solve the power flow equations. We may have switched to a purely real formulation at some point. @chenyousu would probably know more about it.