susantoj / PYPOWER-Dynamics

Python-based transient stability simulation program
BSD 3-Clause "New" or "Revised" License
57 stars 31 forks source link

yi not defined for GAIN equation in controller #8

Closed rwl closed 9 years ago

rwl commented 9 years ago

The variable yi is not defined here:

https://github.com/susantoj/PYPOWER-Dynamics/blob/350f7797ea8a07d08bd0b101b256624af792170f/pydyn/controller.py#L126

The fix looks straightforward. I'll send a PR soon.

susantoj commented 9 years ago

Good pickup, have fixed in latest commit.