Modeling of algebraic and differential equations simultaneously

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
ashwin1729
Messages
2
Reaction score
0

Homework Statement


Model the following reaction with any software. You have a gas phase reaction going on at the wall of a catalytic reactor.

Homework Equations


dA/dx = f1(x)*(A-B)
dC/dx = f2(x)*(C-D)
f1(x)*(A-B) = Const1*(D/1+D)*B
f2(x)*(C-D) = Const2*(D/1+D)*B

The Attempt at a Solution


i tried several softwares to see if i can model both differential and algebraic equations at the same time, but failed miserably. does anyone know any software that does this? Do not tell me how to do it, but please tell me if any software does this, and if so what command...i will figure it out myself.
 
Physics news on Phys.org
Try Simulink/Matlab from mathworks.
 
do you know which command to call? i tried ode115, ode23t...etc