Ask Your Question
0

Can I extract updated values after running DC Loadflow (DCLF_2)?

asked Feb 8 '3

Willy gravatar image

Hi there,

Using the Python API I am running different analyses where I am retrieving line flows, etc. I am running a DCLF2 when the fnsl fails to converge. However, after running the DCLF2 and extracting values the values do not update from the previous fnsl non-convergence.

The Python screen prints out the updated values (much like in the PSSE software window), but is there a way to get a hold of these DCLF_2 results?

Thanks!

1 answer

Sort by » oldest newest most voted
0

answered Feb 9 '3

Alex_barajas gravatar image

which values are you attempting to grab? abusreal() might be a good start

link

Comments

I've tried 'PU' in busdat() for a single bus, and abusreal(), brnflo(), macdat() for swing gen updates. I've tested on a fnsl that converges too. I then alter a specific gen 'P', run DC loadflow, and no values change. I then run fnsl and values change with the gen change. Run DC after and no change

Willy gravatar imageWilly (Feb 9 '3)

I assume this has worked for you. Maybe a version issue? I'm running 34.8.1.

Willy gravatar imageWilly (Feb 9 '3)

As mentioned in the description, the Python screen printout of the dclf_2 shows updated values, so it's happening, but these aren't returned through following queries.

Willy gravatar imageWilly (Feb 9 '3)

how are updating your machine values? I use - psspy.machine_chng_3(ibus, "1", [], [p]).

Alex_barajas gravatar imageAlex_barajas (Feb 9 '3)

i was able to reproduce the same error, I'm not sure what's going on but I'll post if I find an answer.

Alex_barajas gravatar imageAlex_barajas (Feb 9 '3)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Feb 8 '3

Seen: 195 times

Last updated: Feb 08 '23