| 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
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.