Hi, I wanna ask a question about GAMS,
I have an equation which contains differential equations.
here is an example of it ;
dx/dt = -k1x + k2y - k3*x
how can we code it in GAMS ?
thanks in advance
\
Hi, I wanna ask a question about GAMS,
I have an equation which contains differential equations.
here is an example of it ;
dx/dt = -k1x + k2y - k3*x
how can we code it in GAMS ?
thanks in advance
\
Hi, I think that GAMS doesn’t allow dynamic programming without previous discretization, If you want to solve an optimization problem considering the dynamic of the system you can use orthogonal collocation (as an example of a discretization method), you can find a very complete example of applying this technique programmed in GMAS in:
http://cepac.cheme.cmu.edu/pasi2008/slides/flores/index.html
In this example the aurthor solves an optimization problem for a batch chemical reactor (dynamic behaviour) in GAMS.
For more information about Orthogonal collocation method you can read:
Finlayson, B. A., Orthogonal collocation on finite elements–progress and potential. Mathematics and Computers in Simulation 1980, 22, (1), 11-17.
Finlayson, B. A., Nonlinear analysis in chemical engineering. Ravenna Park Publishing: Seattle, 2003; p vi, 328 p.
Flores-Tlacuahuac, A.; Grossmann, I. E., Simultaneous cyclic scheduling and control of a multiproduct CSTR. Industrial &
Engineering Chemistry Research 2006, 45, (20), 6698-6712.
Rice, R. G.; Duong, D. D., Applied mathematics and modeling for chemical engineers. Wiley: New York, 1995. (Chapter 8)
The fourth reference is very good, I hope this helps
Best regards!!!
2010/1/13 lvegas
Hi, I wanna ask a question about GAMS,
I have an equation which contains differential equations.
here is an example of it ;
dx/dt = -k1x + k2y - k3*x
how can we code it in GAMS ?
thanks in advance
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
Daniel is correct on the orthogonal collocation if you want to perform
optimization with the DAEs. If you are just looking to simulate,
DASPK or MATLAB may be sufficient (for index-1 types).
There are some good modeling languages that handle differential and
algebraic equations and perform the orthogonal collocation for you.
Here are some links:
http://en.wikipedia.org/wiki/ASCEND
http://en.wikipedia.org/wiki/APMonitor
http://en.wikipedia.org/wiki/EcosimPro
http://en.wikipedia.org/wiki/Modelica
I don’t know if they are as efficient as handling the orthogonal
collocation in GAMS, however. Does anyone else have experience on
this?
-Giovanni
On Jan 18, 2:54 am, daniel navia wrote:
Hi, I think that GAMS doesn’t allow dynamic programming without previous
discretization, If you want to solve an optimization problem considering the
dynamic of the system you can use orthogonal collocation (as an example of a
discretization method), you can find a very complete example of applying
this technique programmed in GMAS in:http://cepac.cheme.cmu.edu/pasi2008/slides/flores/index.html
In this example the aurthor solves an optimization problem for a batch
chemical reactor (dynamic behaviour) in GAMS.
For more information about Orthogonal collocation method you can read:
Finlayson, B. A., Orthogonal collocation on finite elements–progress
and potential. Mathematics and Computers in Simulation 1980, 22, (1), 11-17.Finlayson, B. A., Nonlinear analysis in chemical engineering. Ravenna
Park Publishing: Seattle, 2003; p vi, 328 p.Flores-Tlacuahuac, A.; Grossmann, I. E., Simultaneous cyclic
scheduling and control of a multiproduct CSTR. Industrial &
Engineering Chemistry Research 2006, 45, (20), 6698-6712.Rice, R. G.; Duong, D. D., Applied mathematics and modeling for
chemical engineers. Wiley: New York, 1995. (Chapter 8)The fourth reference is very good, I hope this helps
Best regards!!!2010/1/13 lvegas
Hi, I wanna ask a question about GAMS,
I have an equation which contains differential equations.here is an example of it ;
dx/dt = -k1x + k2y - k3*x
how can we code it in GAMS ?
thanks in advance
–
“gamsworld” group.
To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to
gamsworld+unsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/gamsworld?hl=en.–
Daniel AndrÃ©s Navia LÃ³pez
Ingeniero Civil QuÃmico
Mg.Sc.Ciencias de la IngenierÃa, MenciÃ³n IngenierÃa QuÃmica
MÃ¡ster en InvestigaciÃ³n en IngenierÃa de Procesos y Sistemas
626752875- Hide quoted text -
- Show quoted text -
\