Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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