Ask Your Question
0

Voltage Mismatch with Model Blow Up

asked 2022-04-04 11:49:06 -0500

Willy gravatar image

updated 2022-04-05 08:52:41 -0500

Hi all, I'm looking to capture the voltage controlling equipment that are associated with a bus whose voltage is outside of tolerance through the API.

There is the maxmsm() function that returns the worst of the bunch. However, I have a situation where turning those generators off (along with a series of other actions, which includes tolerance adjustments) to help with convergence does not work. But, there is a separate bus that has a smaller voltage mismatch does solve the problem. There is the regb() that can get the full list of mismatches, but it only performs a screen printout without storing as an output variable.

I have searched the API documentation, but haven't found a function that returns a full list of the controlled buses with a mismatch. Does anyone have a function reference for me, or some other workaround?

Cheers!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2022-04-07 10:38:19 -0500

Willy gravatar image

A quick note: I'm currently just iterating through the generators catching their busnumber from the amachint() and associated ids from inimac() and nxtmac() to compare the voltage with a machine's regulation control bus from macint(). This is not the most computational efficient method, so any improvment suggestions would be much appreciated!

edit flag offensive delete link more

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

1 follower

Stats

Asked: 2022-04-04 11:49:06 -0500

Seen: 257 times

Last updated: Apr 07 '22