Ampl MILP Model


I am creating a MILP Model to minimise energy consumption using this paper: I have began making my .mod and .dat files using the constraints and information from the paper attached but am struggling to resolve the errors I have got. I do not have much experience in using AMPL so if anyone is able to provide any assistance at all I would greatly appreciate it. Thank you!
Milp.mod (11.3 KB)