Fixed bug in getClusterOnSiteEnergy() function in Simulation.cpp