Text this: Energy management and optimal sizing of a standalone hybrid renewable energy system PV/battery/diesel generator