docs: rewrite README with actual project content
Some checks failed
CI / lint-and-test (push) Has been cancelled
Some checks failed
CI / lint-and-test (push) Has been cancelled
Replace generic Dutch template (with placeholder text) with a proper README showing: node inventory table, architecture summary, install instructions, test commands, documentation links, and license. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
224
README.md
224
README.md
@@ -1,147 +1,77 @@
|
|||||||
# R&D Bouwblok: EVOLV (Edge-Layer Evolution for Optimized Virtualization)
|
# EVOLV — Edge-Layer Evolution for Optimized Virtualization
|
||||||
|
|
||||||
## Over
|
Node-RED custom nodes package voor de automatisering van afvalwaterzuiveringsinstallaties. Ontwikkeld door het R&D-team van Waterschap Brabantse Delta. Volgt de ISA-88 (S88) batch control standaard.
|
||||||
|
|
||||||
Dit bouwblok is ontwikkeld door het R&D-team van Waterschap Brabantse Delta voor gebruik in Node-RED.
|
## Nodes
|
||||||
|
|
||||||
|
| Node | Functie | S88-niveau |
|
||||||
> *[Voeg hier een korte toelichting toe over de specifieke functionele werking van dit bouwblok]*
|
|------|---------|------------|
|
||||||
|
| **rotatingMachine** | Individuele pomp/compressor/blower aansturing | Equipment |
|
||||||
---
|
| **machineGroupControl** | Multi-pomp optimalisatie (BEP-Gravitation) | Unit |
|
||||||
|
| **pumpingStation** | Pompgemaal met hydraulische context | Unit |
|
||||||
## Licentie
|
| **valve** | Individuele klep modellering | Equipment |
|
||||||
|
| **valveGroupControl** | Klep groep coordinatie | Unit |
|
||||||
Deze software valt onder de **Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)**-licentie.
|
| **reactor** | Biologische reactor (ASM kinetiek) | Unit |
|
||||||
|
| **settler** | Nabezinker / slibscheiding | Unit |
|
||||||
- Gebruik, aanpassing en verspreiding is toegestaan voor **niet-commerciële doeleinden**, mits duidelijke naamsvermelding naar Waterschap Brabantse Delta.
|
| **monster** | Multi-parameter biologische monitoring | Equipment |
|
||||||
- Voor **commercieel gebruik** is voorafgaande toestemming vereist.
|
| **measurement** | Sensor signaalconditionering | Control Module |
|
||||||
|
| **diffuser** | Beluchting aansturing | Equipment |
|
||||||
📧 Contact: [rdlab@brabantsedelta.nl](mailto:rdlab@brabantsedelta.nl)
|
| **dashboardAPI** | InfluxDB telemetrie + FlowFuse dashboards | — |
|
||||||
🔗 Licentie: [https://creativecommons.org/licenses/by-nc/4.0/](https://creativecommons.org/licenses/by-nc/4.0/)
|
| **generalFunctions** | Gedeelde bibliotheek (predict, PID, convert, etc.) | — |
|
||||||
|
|
||||||
---
|
## Architectuur
|
||||||
|
|
||||||
## Generieke opbouw van bouwblokken
|
Elke node volgt een drie-lagen patroon:
|
||||||
|
1. **Entry file** (`<naam>.js`) — registratie bij Node-RED, admin endpoints
|
||||||
- Reageren automatisch op inkomende data (bijv. de positie van een object bepaalt de berekening).
|
2. **nodeClass** (`src/nodeClass.js`) — Node-RED adapter (tick loop, routing, status)
|
||||||
- Ondersteunen koppeling van complexe dataketens tussen processen.
|
3. **specificClass** (`src/specificClass.js`) — pure domeinlogica (fysica, toestandsmachines)
|
||||||
- Gestandaardiseerde input/output:
|
|
||||||
- Output = procesdata
|
Drie output-poorten per node: **Port 0** = procesdata, **Port 1** = InfluxDB telemetrie, **Port 2** = registratie/besturing.
|
||||||
- Opslaginformatie + relatieve positionering t.o.v. andere objecten
|
|
||||||
- Ontworpen voor combinatie met andere bouwblokken (ook van derden).
|
## Installatie
|
||||||
- Open source en vrij beschikbaar voor iedereen.
|
|
||||||
|
```bash
|
||||||
---
|
git clone --recurse-submodules https://gitea.wbd-rd.nl/RnD/EVOLV.git
|
||||||
|
cd EVOLV
|
||||||
## Installatie – Alle bouwblokken (via EVOLV)
|
npm install
|
||||||
|
```
|
||||||
Alle bouwblokken van het R&D-team zijn gebundeld in de **EVOLV-repository**, waarin gebruik wordt gemaakt van Git submodules.
|
|
||||||
|
Submodules updaten:
|
||||||
### Eerste keer klonen:
|
```bash
|
||||||
|
git submodule update --remote --merge
|
||||||
```bash
|
```
|
||||||
git clone --recurse-submodules https://gitea.wbd-rd.nl/RnD/EVOLV.git
|
|
||||||
cd EVOLV
|
Enkel bouwblok installeren in Node-RED:
|
||||||
```
|
```bash
|
||||||
|
mkdir -p ~/.node-red/nodes
|
||||||
Of, als je zonder submodules hebt gekloond:
|
cp -r nodes/<bouwblok-naam> ~/.node-red/nodes/
|
||||||
|
```
|
||||||
```bash
|
|
||||||
git submodule init
|
## Testen
|
||||||
git submodule update
|
|
||||||
```
|
```bash
|
||||||
|
# Alle nodes
|
||||||
### Submodules updaten:
|
bash scripts/test-all.sh
|
||||||
|
|
||||||
Om alle submodules te updaten naar de laatste versie van hun eigen repository:
|
# Specifieke node
|
||||||
|
node --test nodes/<nodeName>/test/basic/*.test.js
|
||||||
```bash
|
node --test nodes/<nodeName>/test/integration/*.test.js
|
||||||
git submodule update --remote --merge
|
node --test nodes/<nodeName>/test/edge/*.test.js
|
||||||
```
|
```
|
||||||
|
|
||||||
Individuele submodule updaten:
|
## Documentatie
|
||||||
|
|
||||||
```bash
|
- **`wiki/`** — Projectwiki met architectuur, bevindingen en metrics ([index](wiki/index.md))
|
||||||
cd nodes/<bouwblok-naam>
|
- **`CLAUDE.md`** — Claude Code projectgids
|
||||||
git checkout main
|
- **`manuals/node-red/`** — FlowFuse en Node-RED referentiedocumentatie
|
||||||
git pull origin main
|
- **`.agents/`** — Agent skills, beslissingen en function-anchors
|
||||||
cd ../..
|
|
||||||
git add nodes/<bouwblok-naam>
|
## Licentie
|
||||||
git commit -m "Update submodule <bouwblok-naam>"
|
|
||||||
```
|
**Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)**
|
||||||
|
|
||||||
---
|
Gebruik, aanpassing en verspreiding is toegestaan voor niet-commerciele doeleinden, mits naamsvermelding naar Waterschap Brabantse Delta. Voor commercieel gebruik is voorafgaande toestemming vereist.
|
||||||
|
|
||||||
## Installatie – Enkel bouwblok
|
## Contact
|
||||||
|
|
||||||
1. Clone de gewenste repository:
|
rdlab@brabantsedelta.nl
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://gitea.wbd-rd.nl/<repo-naam>.git
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Kopieer het bouwblok naar je Node-RED map:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
mkdir -p ~/.node-red/nodes
|
|
||||||
cp -r <pad-naar-geclonede-map> ~/.node-red/nodes/
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Controleer of `settings.js` het volgende bevat:
|
|
||||||
|
|
||||||
```js
|
|
||||||
nodesDir: './nodes',
|
|
||||||
```
|
|
||||||
|
|
||||||
4. Herstart Node-RED:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
node-red-stop
|
|
||||||
node-red-start
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Bijdragen (Fork & Pull Request)
|
|
||||||
|
|
||||||
Wil je bijdragen aan de R&D bouwblokken? Volg dan dit stappenplan:
|
|
||||||
|
|
||||||
1. Fork maken
|
|
||||||
|
|
||||||
- Maak een fork van de gewenste R&D repository in Gitea.
|
|
||||||
|
|
||||||
- Je krijgt hiermee een eigen kopie van de repository in je account.
|
|
||||||
|
|
||||||
2. Wijzigingen aanbrengen
|
|
||||||
|
|
||||||
- Clone je fork lokaal en maak een nieuwe branch (bijv. feature/mijn-wijziging).
|
|
||||||
|
|
||||||
- Breng je wijzigingen aan, commit en push de branch terug naar je fork.
|
|
||||||
|
|
||||||
3. Pull Request indienen
|
|
||||||
|
|
||||||
- Ga in Gitea naar je fork en open de branch.
|
|
||||||
|
|
||||||
- Klik op New Pull Request.
|
|
||||||
|
|
||||||
- Stel de R&D repository in bij samenvoegen met.
|
|
||||||
|
|
||||||
- Stel jouw fork/branch in bij trekken van.
|
|
||||||
|
|
||||||
4. Beschrijving toevoegen
|
|
||||||
|
|
||||||
- Geef een duidelijke titel en beschrijving.
|
|
||||||
|
|
||||||
- Verwijs indien van toepassing naar een issue met de notatie #<nummer> (bijv. #42).
|
|
||||||
|
|
||||||
5. Code review en merge
|
|
||||||
|
|
||||||
- De beheerders van de R&D repository beoordelen je wijziging.
|
|
||||||
|
|
||||||
- Na goedkeuring wordt de wijziging opgenomen in de R&D repository.
|
|
||||||
|
|
||||||
----
|
|
||||||
|
|
||||||
## Contact
|
|
||||||
|
|
||||||
📧 rdlab@brabantsedelta.nl
|
|
||||||
|
|||||||
Reference in New Issue
Block a user