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

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered May 22 '4

jconto gravatar image

The psspy API contains functions to do the following (crude) algorithm:

- Gather bus data for all buses in case into a bus list
- Gather generation data for all generators in case into a gen list
- Enter an area loop: for areai in selectedareas:
-    Enter a generator loop:
-        Find index in bus list for generator bus
-        if area in bus record == areai:
-              print generator record + bus record(index)
-        else: continue