- Index
- » Users
- » M J
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Dec-17-19 06:48:01
Variable value with initial guess value, use of N iterations to match guess value with calculated...
Category:
Programming
Forum:
Modelica Language
Hello,
I would appreciate your help on following..
I am willing to write a code for evaporator which involves two simultaneous equations as follows
Q = U* A* (LMTD)
T_out = T_in - (Q/ (mdot*Cp))
where, Q & T_out are unknowns and LMTD= function of (T_in, T_out, Tc)
How can I get the value of T_out with the initial guess value T_out_ini after N iterations?
Will for loop work?
syntax to stop iterations (by equating preceding values) once I get convergence?
Thanks in advance.
--
Page Start Prev 1 Next End
- Index
- » Users
- » M J
- » Profile