Commit Graph

55 Commits

Author SHA1 Message Date
530dac5c77 Refactor nodeClass to streamline configuration loading and reactor setup 2025-07-04 12:51:37 +02:00
c23818c108 Remove unnecessary node parameter _setupClass 2025-07-04 12:16:08 +02:00
fee6881f1b Refactor nodeClass for to mostly allign with the standard EVOLV structure 2025-07-04 12:06:58 +02:00
1cda956d83 Refactor Reactor class structure and include inheritance for CSTR and PFR 2025-07-04 11:42:34 +02:00
25cd728b68 Refactor reactor node registration 2025-07-04 10:44:54 +02:00
d0db1b416c Remove debug messages 2025-07-04 10:01:46 +02:00
f517b7764d Remove mistake boundary condition 2025-07-03 22:28:34 +02:00
dcc8562dbf Remove depreciated variable 2025-07-02 10:37:02 +02:00
e9847607e8 Use Generalized boundary condition by Nauman and Mallikarjun 1983 2025-07-01 16:08:35 +02:00
f4824b822c Improved wieghted finite differencing 2025-07-01 13:04:32 +02:00
3cc876533c Changed the upper boundary to lower order scheme for now 2025-06-30 15:46:13 +02:00
b2d32ba9f2 Enhance makeDoperator to support higher-order central gradient schemes and improve boundary handling 2025-06-30 12:50:02 +02:00
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
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