A model for evaluating the configuration and dispatch of PV plus battery power plants. (15th March 2020)