Is it possible to type a conditional statement with a string?
For example, to sum the output of all generators of the same fuel type at each hour after the solve statement:
Code: Select all
units(t,"Oil") = sum(g, P.l(g,t)$(gendata(g,"Type")="Oil"));
Code: Select all
119 Number (primary) expected