hotelEnergyCS(1) = 0.0;
for i=2:length(profile(4).hotelEnergyCalc)
    hotelEnergyCS(i) = hotelEnergyCS(i-1) + profile(4).hotelEnergyCalc(i-1);
    diff = hotelEnergyCS(i) - hotelEnergyCS(i-1);
    fprintf('last CS: %6.0f   current Energy: %6.0f   Current Sum: %6.0f   Diff = %6.0f\n', ...
        hotelEnergyCS(i-1), profile(4).hotelEnergyCalc(i-1), hotelEnergyCS(i), diff)
    if (diff > 100)
        fprintf('big diff\n')
    end
end

figure
plot(hotelEnergyCS)