AnsweredAssumed Answered

If-constraint

Question asked by petter.hovd on Apr 11, 2018
Latest reply on Apr 13, 2018 by Susanne.Heip

Hey,

 

Im a master student currently working with an energy system. Im trying to assign a variable a value whether the power machine is operating above or below 70% workload, but I get "logical expression expected here".

 

 

if boughtLNG(hh,mm)*ConvRate <=0.7*operatingMachines(hh,mm)*ModuleMachines

then belowIdeelWorkload(hh,mm)=1;

else belowIdeelWorkload(hh,mm)=0;

end-if

 

Any help would be much appreciated!

Outcomes