added equation for total energy check in storagtank example