Model validation and coordinated operation of a photovoltaic array and a diesel power plant for distributed generation