HOMER Knowledge Base
MATLAB Dispatch: AC Load, AC Generator, DC PV, PV primary in load satisfaction
This dispatch first uses the power produced by the PV, then starts the generator if the load or operating reserve requirement is not satisfied.
https://homerenergy.com/static/documents/AC_Load_AC_Gen_DC_PV.zip
https://homerenergy.com/static/documents/AC_Load_AC_Gen_DC_PV.zip