ADS AEL: operand: ee_boolparameter value required whenever I try to compare voltages
I asked the question and have also finally come up with the answer: The problem was the datatype that was supplied to the function from the simulation. 
The solution to the problem is to treat the voltage values as arrays, not as constants. That way, you can explicitly reference individual members of the array and use them in the comparison.
Problem solved.