Hi,
I'm reporting an error in the code, after reviewing it:
script: printpf.py ("dispatchable loads constraints" section)
problem: In dispatchable loads, arrays are not being assigned to "tuple" in printing function
example:
line 610: fd.write('%10.2f%10.2f%10.2f' % gen[i, [PMIN, PG, PMAX]])
should be: fd.write('%10.2f%10.2f%10.2f' % tuple(gen[i, [PMIN, PG, PMAX]]))
otherwise one gets an error in printing this information.
This is just an example. There are similar errors in this script...
Thanks for your good job in doing this wonderful API.
Miguel