Optimisation of battery energy storage capacity for a grid-tied renewable microgrid | IEEE Conference Publication | IEEE Xplore