Dear Samir, You could use something like the following: Tsouf = 20*LT(Text,16) + (….)*GE(Text,16)*LT(Text,32)
+ 18*GT(Text,32) With (…) = Input2-(Input3/(0.34*MAX(Input4,0.0001)) The LT, GE and GT are boolean equations (less than,
greater or equal than, greater than) resulting in a factor of 1 if the
condition is satisfied and 0 if not. So for eqample Text = 18,5 would give: Tsouf = 20*1 + (…)*0 + 18*0 = 20 Good luck Stefan de Kool Met vriendelijke groeten, Stefan de Kool Cauberg-Huygen Raadgevende Ingenieurs B.V. Bezoekadres: Boterdiep 48, 3077 AW
ROTTERDAM Postadres: Postbus 9222, 3007 AE
ROTTERDAM Telefoon: +31 (0)10-2443638 Fax: +31 (0)10-425 44 43 http://www.chri.nl E-mail: s.dekool@chri.nl Van: Chehal, Samir
[mailto:Samir.Chehal@jacobs.com] Hello, I try to model this schedule : If Text<16 Tsouff = 20 If 16<Text<32 Tsouff = Input2-(Input3/(0.34*MAX(Input4,0.0001)) If Text>32 Tsouff = 18 And I don’t know how integrate these conditions with “equation”. Best Regards ========================================================= |