Fixed the update function needed for power_to_kwhd

The update function had a bug that caused the power_to_kwhd function in the process_model to behave incorrect. It caused selecting a datapoint slot in the past (in the real world) instead of selecting the datapoint in the present.