I think I found. I said "I think", because I haven't really been able to try it yet, because I'm stuck on something else, I'm going to write a post on it. here is what i did. With Model.If
if (Var.Calc.C100 < 2 * Cell_D12())
{
res = Model.If(Solv_M18() > Var.Calc.T100,2 * Cell_D12() / Solv_M18(), 2 * Cell_D12() / Var.Calc.T100)
}
else
{
res = Model.If (Solv_M18() > Var.Calc.T100,Var.Calc.C100 / Solv_M18() , Var.Calc.C100 * Var.Calc.T100)
}