I am using the below command which is supposed to stop the transient simulation when air_temp_outlet becomes greater than or equal to 926.5 K. but duing the simulation, Ansys is giving an error message statiting "invalid function". I inserted a "?" after mstop (based on what I saw on some ansys yout tube videos) but I was still getting the same error. Any help would be highly appreciated.

(if((>= (string->number (pick "/solve/report-definitions/compute air_temp_outlet")) 926.5)) (set! mstop #t))