Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Question on conditional statement
Posted 04.10.2010, 02:51 GMT-4 2 Replies
Please login with a confirmed email address before reporting spam
Hi All,
Can any one tell me the difference between these conditions:
1. if((x<1.5),k*c,0)
2. flc1hs(1.5-x,1e-8)*k*c
3. flc1hs(1.5-x,1e-20)*k*c
Because,
if i use 1 & 3 conditions then my model is stop converging in the middle of simulation. it is solving some time steps but not all.
if i use 2nd condition then my model is converging and solving complete time steps..
So, i am just confused and unable to think/imagine what went wrong with 1& 3.
I hope some one will come up with comments/ideas/suggestions..
Thanks,
Manohar
Can any one tell me the difference between these conditions:
1. if((x<1.5),k*c,0)
2. flc1hs(1.5-x,1e-8)*k*c
3. flc1hs(1.5-x,1e-20)*k*c
Because,
if i use 1 & 3 conditions then my model is stop converging in the middle of simulation. it is solving some time steps but not all.
if i use 2nd condition then my model is converging and solving complete time steps..
So, i am just confused and unable to think/imagine what went wrong with 1& 3.
I hope some one will come up with comments/ideas/suggestions..
Thanks,
Manohar
2 Replies Last Post 05.10.2010, 01:38 GMT-4