RotatingMachine Engineering Anchor
Function-design truth source for runtime behavior, control contracts, units/signals, and integration boundaries.
Node Type:
rotatingMachine
Domain Class: specificClass.js
Wrapper: nodeClass.js
Ports: 3
Control Topics In
9
Signal Rows Catalogued
31
Anchored Tests
9
Known Risks
4
Connection Map (Always Visible)
Primary integrations and contracts
machineGroupControl -> parent command source
pumpingStation -> orchestration source
measurement -> real pressure child via registerChild
dashboard flows -> simulateMeasurement + chart consumers
output[2] -> registerChild to parent
/rotatingMachine/menu.js
/rotatingMachine/configData.js
Pressure Policy
Real > Virtual > 0
Mode Gate
Action + Source
Tick Rate
1s
Operational States
4 Active
Engineering Unit & Signal Catalog
Showing input topics/signals grouped by engineering function.
| Group | Signal / Topic | Direction | Unit | Typical Range | Criticality | Meaning | Primary Source | Conversion Hints | Fallback / Notes |
|---|
Functional Parameter Sheet (Template + Example)
Engineering-oriented parameter table for BEP/curve/mechanical context. Example values are placeholders and scenario-dependent.
| Parameter | Symbool | Eenheid | Waarde (+/-) | Toelichting | Node Mapping |
|---|
True Graphs (Data-Derived)
Curves below are drawn from repository data in
nodes/rotatingMachine/misc/measured_curve.json (pressure slice 175), plus derived efficiency ratio.Flow vs Control (pressure=175)
Power vs Control (pressure=175)
Derived Efficiency Index (flow/power) vs Control
Allowed Actions by Mode (config defaults)
Execution Flow (Core Open)
1
Construct
Load defaults and model, initialize predictors/state/measurement containers, attach state listeners.
2
Connect
Register virtual pressure children, listen to real/virtual measurement streams, register self to parent.
3
Control
Route topics, validate mode/source/action, execute movement or sequence transitions.
4
Compute + Emit
Pressure basis selection -> flow/power prediction -> efficiency/CoG/BEP -> output formatting and status update.
Extended Sections (Selective Collapse)
Function Inventory Snapshot
Anchored files:
rotatingMachine.js, src/nodeClass.js, src/specificClass.js. 44+ callable methods/paths inventoried in markdown anchor.
constructor + init
registerChild + handler dispatch
handleInput + setMode + sequences
calcFlow/calcPower/calcCtrl
calcEfficiency + calcCog + getOutput
Risks And Invariants
Risk:
CoG input path calls showCoG() but method is not present in current specificClass.js.Risk: emergency sequence key mismatch (
emergencyStop vs config emergencystop).Risk:
eneableLog typo in state logging mapping.Risk: node label expression precedence may render unexpected labels.
Invariant: mechanical truth remains in
specificClass.js; wrapper remains routing/lifecycle.Invariant: pressure selection order stays real sensor > virtual sensor > fallback 0.
Invariant: output channels remain process/influx/parent registration separation.
Test Evidence
constructor.basic.test.js
mode-and-input.basic.test.js
error-paths.edge.test.js
nodeClass-routing.edge.test.js
sequences.integration.test.js
registration.integration.test.js
pressure-initialization.integration.test.js
coolprop.integration.test.js
basic-flow-dashboard.integration.test.js
Iteration 3: engineering-grade signal table (ranges, criticality, conversion hints), functional parameter sheet, input/output filters, dark mode toggle, selective collapsible sections, and data-derived graphs.