CALCULATING IDEAL RESIDENTIAL ESS CAPACITY X2013