Dear All.
I am using the Equation component and I need to assign values to the outputs depending on the result of a previous equation.
Could somebody please help me with this?. Input(1) = Q_dem Input(2) = Q_eng Output(1) = Q_need Output(2) = Q_aux Output(3) = Q_rej
Q_need = Q_dem - Q_eng If
Q_need>0 assign
Q_aux= Q_need AND Q_rej=0 If
Q_need<0 assign
Q_rej= Q_need AND Q_aux=0 |