susantoj/PYPOWER-Dynamics

yi not defined for GAIN equation in controller

rwl opened this issue · 1 comments

rwl commented

The variable yi is not defined here:

yo = blocks.gain_block(yi,p)

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

Good pickup, have fixed in latest commit.