First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Is there a way to get the number of CON entries for a given model?

asked Oct 10 '2

bikiran1991 gravatar image

I know, that given the machine bus number and id, i can get the model name (MDLNAM) and starting index (MDLIND). But is there a way to automatically (using psspy) get the number of CONs in the model?

1 answer

Sort by » oldest newest most voted
0

answered Oct 10 '2

perolofl gravatar image

Sure, just use API MDLIND with string2 = 'NCON'.

link

Comments

damn, i should have paid more attention to the arguments. Thanks!

bikiran1991 gravatar imagebikiran1991 (Oct 10 '2)

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

1 follower

Stats

Asked: Oct 10 '2

Seen: 286 times

Last updated: Oct 10 '22