MODELLING THE EFFECT OF DISTRIBUTED BATTERY ENERGY STORAGE IN AN