diff --git a/cal_and_val/thermal/cal_hev.py b/cal_and_val/thermal/cal_hev.py index 96cad6f3..dc558b29 100644 --- a/cal_and_val/thermal/cal_hev.py +++ b/cal_and_val/thermal/cal_hev.py @@ -130,7 +130,7 @@ def veh_init(cyc_file_stem: str, dfs: Dict[str, pd.DataFrame]) -> fsim.Vehicle: dfs[cyc_file_stem][eng_clnt_temp_column][0] + celsius_to_kelvin_offset # set HVAC set point temperature te_set = next(iter([v["set temp [*C]"] for k, v in cyc_files_dict.items() if k.replace(".txt", "") == cyc_file_stem])) - vd['hvac']['LumpedCabin']['te_set_kelvin'] = te_set + vd['hvac']['LumpedCabin']['te_set_kelvin'] = te_set + celsius_to_kelvin_offset return fsim.Vehicle.from_pydict(vd, skip_init=False)