HOMER Knowledge Base
MATLAB Dispatch: AC Generator, AC Load and Flywheel
This dispatch serves the load using the generator which also serves the flywheel parasitic load.
https://homerenergy.com/static/documents/AC_Load_AC_Gen_FW.zip
https://homerenergy.com/static/documents/AC_Load_AC_Gen_FW.zip