First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
The user written model you got is not a good example on how to write a model.
I recommend you to study Chapter 23 "Model Writing" in Program Operation Manual as well as Chapter 13 in Program Application Guide, Volume II.
Subroutine GENCHK returns the machine index for a given generator (bus number,machine id).