Sizing and optimised control of PV-Diesel energy systems design and performance analysis