132 Commits

Author SHA1 Message Date
znetsixe
c5fc5c1b59 docs: add CLAUDE.md with S88 classification and superproject rule reference
References the flow-layout rule set in the EVOLV superproject
(.claude/rules/node-red-flow-layout.md) so Claude Code sessions working
in this repo know the S88 level, colour, and placement lane for this node.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 07:47:25 +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
1da55fc3f5 Expose output format selectors in editor 2026-03-12 16:39:25 +01: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
7ff7c6ec1d test: add unit tests for specificClass
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 16:31:53 +01:00
Rene De Ren
a18c36b2e5 refactor: adopt POSITIONS constants and fix ESLint warnings
Replace hardcoded position strings with POSITIONS.* constants.
Prefix unused variables with _ to resolve no-unused-vars warnings.
Fix no-prototype-builtins where applicable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:35:28 +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
znetsixe
2b9ad5fd19 before functional changes by codex 2026-02-19 17:37:42 +01:00
znetsixe
7c8722b324 changed colours and icon based on s88 2025-10-14 13:52:55 +02:00
p.vanderwilt
442ddc60ed Fix syntax error 2025-10-01 11:50:35 +02:00
p.vanderwilt
04306d0996 Fix measurement type string for oxygen in _updateMeasurement method 2025-09-29 09:40:17 +02:00
p.vanderwilt
2bc244cae7 Refactor measurement update handling in Reactor_PFR class to include default case for measurement types 2025-09-26 16:36:09 +02:00
p.vanderwilt
254f9eec5a Fix measurement event listener to use correct measurement reference 2025-09-26 16:33:00 +02:00
p.vanderwilt
109fd182df Refactor measurement position handling in Reactor class 2025-09-26 14:51:18 +02:00
p.vanderwilt
bf5f265a76 Update measurement handling in Reactor class and rename oxygen measurement type 2025-09-26 10:17:00 +02:00
p.vanderwilt
905674ce58 Update dependencies and correct node name 2025-09-24 15:27:08 +02:00
p.vanderwilt
da1cff55ba Resolve merge conflicts from migration 2025-09-22 16:40:22 +02:00
p.vanderwilt
9147a3f7d0 Rename repo 2025-09-22 16:19:00 +02:00
ea35038aa1 Initial commit 2025-09-22 14:11:36 +00:00
p.vanderwilt
8f64fbe4e5 Add time step configuration and input handling in advanced reactor 2025-09-22 15:17:25 +02:00
p.vanderwilt
7a70f60655 Fix measurement event listener registration in Reactor class 2025-09-19 13:26:45 +02:00
p.vanderwilt
223c4555b8 Fix measurement reference in child registration logic 2025-09-16 15:54:31 +02:00
p.vanderwilt
972d33355e Formatting 2025-09-16 11:44:29 +02:00
p.vanderwilt
94ea4fe76b Fix subclass function 2025-09-15 17:39:54 +02:00
p.vanderwilt
f6b026928e Enhance measurement child registration and update measurement handling in Reactor class 2025-09-15 12:48:18 +02:00
p.vanderwilt
c2cd29db56 Update generalFunctions dependency and enhance reactor child registration logic 2025-09-05 15:26:00 +02:00
p.vanderwilt
0b49642668 Switch general functions to new implementation 2025-09-05 13:31:42 +02:00
p.vanderwilt
a4a5266040 Update package-lock 2025-09-03 12:21:15 +02:00
p.vanderwilt
1857031027 Minor fix Koch parameters 2025-08-18 16:56:59 +02:00
p.vanderwilt
a8928e50cc Add Koch parameters 2025-08-18 16:43:16 +02:00
p.vanderwilt
04a5b1a54f Fix COD balance 2025-08-14 11:14:14 +02:00
p.vanderwilt
7a6825a80e Add flows document 2025-08-04 11:45:00 +02:00
p.vanderwilt
fbbe5833b2 Temporary fix for undefined newTime value in updateState function 2025-08-04 10:59:11 +02:00
p.vanderwilt
2c9db0fcea Fixed position and log settings 2025-07-31 14:48:39 +02:00
p.vanderwilt
5ec9319b3f Add position field and proper logging configuration 2025-07-24 12:13:16 +02:00
p.vanderwilt
31d30c6db3 Renamed advanced-reactor to advancedReactor to prevent errors due to hyphen in name 2025-07-24 11:53:23 +02:00
p.vanderwilt
da90224d3f Added loggin to advanced-reactor. Currently broken for some reason? 2025-07-23 17:16:35 +02:00
p.vanderwilt
ef02c47cff Add WIP oxygen measurement child relation 2025-07-22 14:36:52 +02:00
p.vanderwilt
a2dbd468d5 Merge pull request 'Implemented parent-child relations for reactor node' (#15) from multi-output into main
Reviewed-on: https://gitea.centraal.wbd-rd.nl/p.vanderwilt/asm3/pulls/15
2025-07-22 11:27:06 +00: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
6adf29427a Merge pull request 'Switch temperature to Measurement node and finally fix boundary conditions properly' (#14) from experimental into main
Reviewed-on: https://gitea.centraal.wbd-rd.nl/p.vanderwilt/asm3/pulls/14
2025-07-11 10:44:26 +00:00