Ask Your Question
0

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

asked 2023-02-08 15:38:13 -0500

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!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2023-02-08 23:20:45 -0500

Alex_barajas gravatar image

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

edit flag offensive delete link more

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 ( 2023-02-09 07:43:09 -0500 )edit

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

Willy gravatar imageWilly ( 2023-02-09 07:50:31 -0500 )edit

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 ( 2023-02-09 08:05:58 -0500 )edit

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

Alex_barajas gravatar imageAlex_barajas ( 2023-02-09 16:54:18 -0500 )edit

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 ( 2023-02-09 17:16:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2023-02-08 15:38:13 -0500

Seen: 162 times

Last updated: Feb 08 '23