updates to rotating machine struct
This commit is contained in:
49
examples/README.md
Normal file
49
examples/README.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# RotatingMachine Example Flows
|
||||
|
||||
These flows are import-ready Node-RED examples focused on the `rotatingMachine` node.
|
||||
|
||||
## Files
|
||||
|
||||
- `basic.flow.json`
|
||||
Purpose: quick manual control + local visualization.
|
||||
Includes:
|
||||
- mode selection
|
||||
- startup/shutdown/emergency buttons
|
||||
- setpoint control
|
||||
- simulated upstream/downstream pressure input
|
||||
- local charts for predicted flow/power/ctrl
|
||||
|
||||
- `integration.flow.json`
|
||||
Purpose: richer scenario testing from dashboard controls.
|
||||
Includes:
|
||||
- sequence controls (startup/shutdown/maintenance)
|
||||
- direct setpoint + flowMovement commands
|
||||
- simulated pressure inputs
|
||||
- charts for flow, power, NCog%
|
||||
- state snapshot text
|
||||
|
||||
- `edge.flow.json`
|
||||
Purpose: intentionally send invalid/boundary inputs and observe behavior.
|
||||
Includes:
|
||||
- invalid mode command
|
||||
- negative setpoint command
|
||||
- disallowed source sequence command
|
||||
- unsupported simulated measurement type
|
||||
- debug outputs for process/influx/parent channels
|
||||
|
||||
## Requirements
|
||||
|
||||
- EVOLV rotatingMachine node installed/available in Node-RED.
|
||||
- FlowFuse Dashboard 2 nodes installed (`ui-base`, `ui-page`, `ui-group`, etc.).
|
||||
|
||||
## Import
|
||||
|
||||
1. In Node-RED, use `Import` and select one of the `*.flow.json` files.
|
||||
2. Deploy.
|
||||
3. Open the dashboard page path configured in the flow.
|
||||
|
||||
## Notes
|
||||
|
||||
- These examples are manual by design: no auto-start on deploy.
|
||||
- Pressure simulation uses `msg.topic = "simulateMeasurement"` handled by the rotatingMachine wrapper.
|
||||
- Output graphs are based on the rotatingMachine process output payload fields.
|
||||
Reference in New Issue
Block a user