ENERGY STORAGE MODELING AND SIMULATION