Ask Your Question

OliviaLeitermann's profile - activity

2013-08-01 18:16:53 -0500 received badge  Famous Question (source)
2013-04-02 19:57:50 -0500 received badge  Taxonomist
2013-03-08 18:27:32 -0500 received badge  Notable Question (source)
2012-11-21 10:11:47 -0500 received badge  Popular Question (source)
2012-11-20 07:58:15 -0500 received badge  Editor (source)
2012-11-19 15:15:46 -0500 received badge  Student (source)
2012-11-19 14:50:23 -0500 asked a question Accessing Model index values (e.g. VAR num's) from Python

Hello All,

I would like to access the model index numbers (i.e. which VARs, CONs, ICONs, STATEs) for a particular model from Python, but I can't find an API which does that. I know I can use DOCU to get a human-readable report, but it seems silly to parse that report in software to figure out the right VARs for my model. Is there a better way, where PSSE will feed the indices to Python directy as an API output?

Thank you for your help!

Update: Thanks, the list of commands to fetch model indices (mdlind, dc2auxmind, etc.) was almost what I was looking for. Unfortunately, the model I want to query is an auxiliary signal model not associated with any equipment (a controller at "bus 0"), so doesn't seem to be accessible through any of the equipment-specific commands. I did a little more hunting through the API manual, but I fear I may be out of luck on this one, at least in V32. Additional suggestions are welcome, though!