Commit Graph

41 Commits

Author SHA1 Message Date
bb74fc86c2 Refactor dispersion and boundary condition handling in Reactor_PFR 2025-06-27 16:56:37 +02:00
9f13229785 Fix boundary conditions in gradient and second derivative operators for Reactor_PFR 2025-06-24 16:38:07 +02:00
2e76f733a8 Working on fixing the Derivative operators and BCs 2025-06-24 16:23:33 +02:00
f2d94b26c5 Add dispersion setting in advanced-reactor and initialize axial dispersion to zero in Reactor_PFR 2025-06-24 13:28:45 +02:00
6b57a46aab Add typed input fields for reactor length and resolution in advanced-reactor, fixed NaN bug in reactor length 2025-06-24 12:32:11 +02:00
e5c9010093 Fixed various bugs 2025-06-24 11:20:28 +02:00
e6c1e21c16 Implement Danckwerts boundary condition in tick_fe method for Reactor_PFR 2025-06-23 17:46:55 +02:00
70531a3a59 Add support for multiple reactor types (CSTR and PFR) with corresponding properties (Dichelet BC for now) 2025-06-23 16:58:02 +02:00
62b034fb76 Added speed-up factor 2025-06-19 20:55:42 +02:00
8d270c37c3 Merge branch 'main' into experimental 2025-06-18 22:24:02 +00:00
85df04e215 Fix major bug in calculation of dC_out in tick_fe method to account for outflow 2025-06-19 00:16:54 +02:00
5bd094f4a6 Prevent negative values in reactor state 2025-06-18 12:34:19 +02:00
288cf905d1 Close volume balance and minor fixes 2025-06-18 10:25:40 +02:00
c2caa7fb46 Merge pull request 'Implemented recirculation pump and settling tank' (#3) from experimental into main
Reviewed-on: p.vanderwilt/asm3#3
2025-06-17 11:03:43 +00:00
167014a24b Merge branch 'main' into experimental 2025-06-17 11:03:31 +00:00
0469f678c5 Add settling basin node, fixed issue with object assignment 2025-06-17 13:00:18 +02:00
1da7a9f602 Add optional kLa input and calculation to advanced-reactor node 2025-06-17 11:13:38 +02:00
c8c588600c Rixed multiplying message bug. 2025-06-16 17:52:31 +02:00
3ba98d2362 Bug fix for now. Need to figure out how clock pulse will work. 2025-06-16 17:08:33 +02:00
5281696a21 Add recirculation pump node with input handling and flow management 2025-06-16 16:53:07 +02:00
d0f8ada144 Add number of inlets input handling to advanced-reactor node 2025-06-16 14:01:19 +02:00
c5f6dcecae Merge pull request 'Implemented node configuration and Effluent output' (#2) from experimental into main
Reviewed-on: p.vanderwilt/asm3#2
2025-06-13 13:37:14 +00:00
ded9c55dc4 Merge branch 'main' into experimental 2025-06-13 13:37:02 +00:00
5b7f7a3cef Add effluent output handling 2025-06-13 15:31:31 +02:00
d71698d94e Refactor advanced-reactor node to improve input handling and initialize reactor properties 2025-06-13 15:10:57 +02:00
05d33b7f39 Add fluid volume and initial component inputs to advanced-reactor node edit dialogue 2025-06-13 12:56:30 +02:00
bf203c5219 Merge pull request 'Absolute MVP with hardcoded config and output via terminal' (#1) from experimental into main
Reviewed-on: p.vanderwilt/asm3#1
2025-06-12 15:01:27 +00:00
91482c564d Fixed bugs and hard coded config for now. 2025-06-12 16:56:28 +02:00
2182bed343 Fixed node not showing up in pallete. 2025-06-12 12:52:32 +02:00
49334f59e9 Add advanced-reactor node-red implementation and update package.json references 2025-06-12 11:55:17 +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
558a9fdbab Initial commit 2025-06-04 12:09:32 +00:00