No, I'm talking about within Simulate. It appears that I can't calculate an 'interim' variable, then use the result of that calculation to calculate another result - I have to do the whole calculation in one, complicated, expression.
Calculated measures can refer to 'simple' measures but not to other calculated measures within the same analysis, it appears.