Commit Graph

30 Commits

Author SHA1 Message Date
znetsixe
7bf464b467 P6: convert reactor to platform infrastructure
Refactor of reactor to use BaseNodeAdapter + commandRegistry + statusBadge.
reactor follows the platform refactor plan in .claude/refactor/MODULE_SPLIT.md.
Tests stay green; CONTRACT.md generated; legacy aliases preserved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 22:23:43 +02:00
znetsixe
556dc39049 Merge remote-tracking branch 'origin/main' into dev-Rene
# Conflicts:
#	additional_nodes/recirculation-pump.js
#	additional_nodes/settling-basin.js
#	reactor.html
#	src/nodeClass.js
#	src/reaction_modules/asm3_class Koch.js
#	src/reaction_modules/asm3_class.js
#	src/specificClass.js
2026-03-31 16:20:45 +02:00
root
2e3ba8a9bf Expand reactor demo telemetry and stability handling 2026-03-31 14:26:10 +02:00
Rene De Ren
06251988af fix: replace console usage with logger, throw on unknown reactor type
Unknown reactor type is a configuration error that should fail loudly.
Converted console.log to logger.warn for unknown topics.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 09:33:34 +01:00
Rene De Ren
aacbc1e99d Migrate _loadConfig to use ConfigManager.buildConfig()
Replaces manual base config construction with shared buildConfig() method.
Node now only specifies domain-specific config sections.

Part of #1: Extract base config schema

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:59:35 +01:00
Rene De Ren
68576a8a36 Fix ESLint errors and bugs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 13:39:57 +01:00
znetsixe
2c69a5a0c1 updates 2026-03-11 11:13:51 +01:00
znetsixe
460b872053 updates 2026-02-23 12:51:10 +01:00
p.vanderwilt
8f64fbe4e5 Add time step configuration and input handling in advanced reactor 2025-09-22 15:17:25 +02:00
p.vanderwilt
c2cd29db56 Update generalFunctions dependency and enhance reactor child registration logic 2025-09-05 15:26:00 +02:00
p.vanderwilt
5ec9319b3f Add position field and proper logging configuration 2025-07-24 12:13:16 +02:00
p.vanderwilt
f81161b2d5 Process output using tick function rather than clock message 2025-07-22 12:20:29 +02:00
p.vanderwilt
57aafe3e0b Minor optimisations 2025-07-21 17:28:09 +02:00
p.vanderwilt
b1719376cf Rewrite reactor to source and register it properly to node object 2025-07-21 12:44:07 +02:00
p.vanderwilt
73c2b654e1 Deal with clock singal 2025-07-16 16:54:30 +02:00
p.vanderwilt
633a088483 Added handles for influent change emitter 2025-07-16 16:08:14 +02:00
p.vanderwilt
d5db1ae0a0 Added seperate process, DB and parent outputs 2025-07-16 10:57:35 +02:00
p.vanderwilt
24de5a4c9f Add generalFunctions dependency and implement basic measurement child registration in nodeClass 2025-07-11 12:22:36 +02:00
p.vanderwilt
0f912b05e4 Add temperature handling 2025-07-09 10:29:54 +02:00
p.vanderwilt
5c03dddb79 Refactor boundary condition handling to use adjustable parameter alpha in advanced-reactor and specificClass 2025-07-08 10:03:03 +02:00
p.vanderwilt
01380c309f Add boundary condition input and update reactor configuration handling 2025-07-07 14:47:50 +02:00
p.vanderwilt
deb5269d1a Change file structure to align with project 2025-07-07 11:59:11 +02:00
p.vanderwilt
c6b0cab067 Refactor advanced-reactor and nodeClass for improved readability and consistency 2025-07-04 15:14:03 +02:00
p.vanderwilt
09e7072d16 Refactor documentation in nodeClass and reactor_class for clarity and consistency 2025-07-04 13:52:28 +02:00
p.vanderwilt
c239b71ad8 Refactor reactor constructors to accept a config object for improved clarity and maintainability 2025-07-04 13:16:49 +02:00
p.vanderwilt
348307d999 Add documentation 2025-07-04 13:09:20 +02:00
p.vanderwilt
530dac5c77 Refactor nodeClass to streamline configuration loading and reactor setup 2025-07-04 12:51:37 +02:00
p.vanderwilt
c23818c108 Remove unnecessary node parameter _setupClass 2025-07-04 12:16:08 +02:00
p.vanderwilt
fee6881f1b Refactor nodeClass for to mostly allign with the standard EVOLV structure 2025-07-04 12:06:58 +02:00
p.vanderwilt
25cd728b68 Refactor reactor node registration 2025-07-04 10:44:54 +02:00