rth_insulationCtc_amb2Thermal Masscoffeeinitial_temperature=75Phase Change Materialrth_pcm1cth_init_condrth_liqPhase Change Materialu5rth_pcm2Temptemp_sensordiff1Kgain1100.0qgen1heat_element18Battery VOC=f(SOC)+-Li_ion_batteryPWMheat_controllerPCM1coffee_temperatureheating_elementPCM2errorsetpointcontrolfb_tempbattery_voltagev_heateru3