Commit Graph

14 Commits

Author SHA1 Message Date
8215c5ed9a Add checks for NaN values in Reactor_PFR calculations and update hydrolysis rate calculation to handle division by zero 2025-06-28 19:19:38 +02:00
0cc6538003 Handle division by zero in rate calculations for ASM3 2025-06-27 17:29:20 +02:00
e5c9010093 Fixed various bugs 2025-06-24 11:20:28 +02:00
91482c564d Fixed bugs and hard coded config for now. 2025-06-12 16:56:28 +02:00
b210a71657 Fix structure and improve comments in ASM3 and Reactor_CSTR classes 2025-06-11 17:18:27 +02:00
603a1d2283 Expand reactor class to build a simple CSTR model. Moved some functionality from asm3_class to reactor. 2025-06-11 16:24:27 +02:00
341af6db4d Refactor ASM3 constructor to remove state parameter and update compute_dC method to use state directly; add Reactor_CSTR class for reactor simulation with forward Euler method 2025-06-11 15:17:09 +02:00
333efcda52 Add optional state parameter to compute_rates, improve comments, and implement compute_dC method 2025-06-05 17:23:51 +02:00
f9bd4279aa Add project files including package.json, package-lock.json, .gitignore 2025-06-05 16:57:31 +02:00
6261ae9c47 Finish stoichiometric matrix calculations and include missing kinetic parameter in compute_rates 2025-06-05 16:31:28 +02:00
c5a9a2e610 Implemented first five stoichiometric equations 2025-06-05 14:52:23 +02:00
c2122e9537 Implemented rates in rates function 2025-06-04 17:28:52 +02:00
6ae7b5bf53 Finished parameter objects 2025-06-04 15:19:17 +02:00
087acf8395 added initial file (unfinised) Add ASM3 class with
kinetic parameters and rate computation method
2025-06-04 14:24:12 +02:00