SHARE
TWEET

gams

a guest Oct 13th, 2019 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $TITLE CALENTAMIENTO
  2. *
  3. *DEFINICION DE VARIABLES, PARAMETROS Y ECUACIONES
  4. *
  5. VARIABLES A;
  6. POSITIVE VARIABLES T21, DT;
  7. PARAMETERS H, T11, T12, T22, MVAP, MCP, U;
  8. EQUATIONS BALENER, DTLM, OBJ;
  9. *
  10. *ECUACIONES
  11. *
  12. BALENER.. H * MVAP * 8000 =E=  MCP * 8760 * (T21 - T11);
  13. * balance de energia en btu/año
  14. DTLM.. DT =E= ((T11 - T12) - (T21 - T22))/log((T11 - T12)/(T21 - T22));
  15. * delta t logaritmico
  16. OBJ.. A =E= (MVAP * H)/(U * DT) * 25/1;
  17. * funcion de area en $ dado el factor $/ft**2
  18. *
  19. * DEFINICION DE LAS ECUACIONES QUE FORMAN PARTE DEL MODELO
  20. *
  21. MODEL INTERCAMBIADOR /ALL/;
  22. *
  23. * ASIGNACION DE VALORES A LOS PARAMETROS
  24. *
  25. H = 1044;
  26. T11 = 400;
  27. T12 = 250;
  28. T22 = 250;
  29. MVAP = 100;
  30. MCP = 75000;
  31. U = 100;
  32. *
  33. * LIMITES Y VALORES INICIALES
  34. *
  35. T21.L = 0;
  36. T21.UP = 400;
  37. OPTION LIMROW=0;
  38. OPTION LIMCOL=0;
  39. *
  40. * LLAMADO A LA TECNICA DE SOLUCION
  41. *
  42. SOLVE INTERCAMBIADOR USING NLP MAXIMIZING A;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top