MODELLING AND ANALYSIS OF DISTRIBUTED ENERGY STORAGE