Text this: Energy optimization for rural communities: an integrated approach to hybrid PV/Battery/Diesel systems