©
ODE's in a tubular reactor
Solves a system of ODE's (chemical reactor).
2024.Jul.03 13:36:22
c0 mol / L Initial values.
T  in K Temperature range.
K1, E1 Factor (min−1) and energy in Reaction 1.
K2, E2 Factor (min−1) and energy in Reaction 2.
tf, T's min, [] Final time, and temperature steps.
Show values Show graph coordinates.

Simulates the chemical reactions in a tubular reactor (A → B → C). The system of 3 ODE's is integrated numerically.

Draws a graph of the solved ODE's, and a graph of the optimum [B] vs. temperature.


Computation structure — A PHP file (this page: 'P-tubularODE.php') calls (via 'action=') an intermediate PHP file ('TubularODE.php'), which (through $_POST) sends the problem data as command line arguments to a Python script. This last does the computing, and executes graphing via 'gnuplot' (system call), for the final (temporary) webpage. Keywords: PHP, command line arguments, Python script, gnuplot, solve_ivp.

References: Plate: TubularODEs

• (Wikipedia) PHP (from Personal Home Page) • Python (programming language). Python as glue.

• scipy.integrate.solve_ivp.

• (Wikipedia) gnuplot.

• Robinson, E. R., 1975, "Time dependent chemical processes", Applied Science Publishers, Ltd, London (UK). ISBN

• Python print elements in a list.

• CISTI'2024, 19.ª Conferencia Ibérica de Sistemas y Tecnologías de Información (19.th Iberian Conference on Information Systems and Technologies), Cáceres (Spain), 19–22 June 2024 (to be confirmed as of Jan'23).

• 1643-01-04: Newton, Isaac (†1727-03-31, 84 yrs.).

 
 
Valid HTML 5! IST http://web.tecnico.ulisboa.pt/~mcasquilho/compute/meeting/Ordinary/P-tubularODE.php
Created: 2023-01-04 — Last modified: 2023-05-13