Moves documentation into the code repo so code, docs, and diagrams version-lock and review together. Previous location was pumpingStation.wiki.git; that will shrink to a pointer. Contents: - wiki/README.md — doc index - wiki/functional-description.md — operator-facing reference derived from src/specificClass.js: basin model, net-flow selection, level-based control zones, safety interlocks, registration topology - wiki/diagrams/ — editable draw.io sources paired with SVG exports (basin-model, control-zones, safety-rules) + README with the open/edit/export/commit workflow The .drawio files are rough starters; iterate in draw.io and re-export. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
103 lines
6.0 KiB
Plaintext
103 lines
6.0 KiB
Plaintext
<mxfile host="app.diagrams.net" modified="2026-04-22T12:00:00.000Z" agent="Claude Code placeholder" etag="initial" version="22.0.0" type="device">
|
|
<diagram name="control-zones" id="controlZones">
|
|
<mxGraphModel dx="1000" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="700" pageHeight="800" math="0" shadow="0">
|
|
<root>
|
|
<mxCell id="0" />
|
|
<mxCell id="1" parent="0" />
|
|
<mxCell id="title" value="levelbased mode — three zones" style="text;html=1;fontSize=16;fontStyle=1;align=center;" vertex="1" parent="1">
|
|
<mxGeometry x="100" y="20" width="500" height="30" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="axis" value="" style="endArrow=classic;html=1;strokeColor=#000;strokeWidth=2;" edge="1" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="280" y="600" as="sourcePoint" />
|
|
<mxPoint x="280" y="80" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
<mxCell id="axis_label" value="level" style="text;html=1;fontSize=13;fontStyle=1;align=left;" vertex="1" parent="1">
|
|
<mxGeometry x="240" y="60" width="50" height="20" as="geometry" />
|
|
</mxCell>
|
|
|
|
<mxCell id="overflow" value="heightOverflow — weir crest (spill → measure)" style="text;html=1;fontSize=12;align=left;fontColor=#B22222;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="130" width="380" height="20" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="overflow_tick" value="" style="endArrow=none;html=1;strokeColor=#B22222;" edge="1" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="270" y="140" as="sourcePoint" />
|
|
<mxPoint x="290" y="140" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
|
|
<mxCell id="run_band" value="RUN — linear 0 → 100 %" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#E8F5E9;strokeColor=#1E8449;fontSize=12;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="160" width="220" height="110" as="geometry" />
|
|
</mxCell>
|
|
|
|
<mxCell id="maxflow" value="maxFlowLevel — 100 % demand" style="text;html=1;fontSize=12;align=left;fontColor=#D68910;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="265" width="300" height="20" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="maxflow_tick" value="" style="endArrow=none;html=1;strokeColor=#D68910;strokeWidth=2;" edge="1" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="265" y="275" as="sourcePoint" />
|
|
<mxPoint x="295" y="275" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
|
|
<mxCell id="ramp_label" value="(ramp — demand scales linearly with level)" style="text;html=1;fontSize=11;align=left;fontStyle=2;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="300" width="320" height="20" as="geometry" />
|
|
</mxCell>
|
|
|
|
<mxCell id="startlevel" value="startLevel — 0 % demand (ramp starts)" style="text;html=1;fontSize=12;align=left;fontColor=#1E8449;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="335" width="340" height="20" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="start_tick" value="" style="endArrow=none;html=1;strokeColor=#1E8449;strokeWidth=2;" edge="1" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="265" y="345" as="sourcePoint" />
|
|
<mxPoint x="295" y="345" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
|
|
<mxCell id="dead_band" value="DEAD ZONE — hysteresis, keep last cmd" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#FFF8E1;strokeColor=#F57C00;fontSize=12;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="360" width="220" height="80" as="geometry" />
|
|
</mxCell>
|
|
|
|
<mxCell id="inlet" value="heightInlet — inflow pipe" style="text;html=1;fontSize=12;align=left;fontColor=#1F4E79;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="395" width="300" height="20" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="inlet_tick" value="" style="endArrow=none;html=1;strokeColor=#1F4E79;" edge="1" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="270" y="405" as="sourcePoint" />
|
|
<mxPoint x="290" y="405" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
|
|
<mxCell id="stoplevel" value="stopLevel — unconditional STOP" style="text;html=1;fontSize=12;align=left;fontColor=#6C3483;fontStyle=1;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="440" width="300" height="20" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="stop_tick" value="" style="endArrow=none;html=1;strokeColor=#6C3483;strokeWidth=2;" edge="1" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="265" y="450" as="sourcePoint" />
|
|
<mxPoint x="295" y="450" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
|
|
<mxCell id="stop_band" value="pumps OFF (MGC shutdown)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#F4ECF7;strokeColor=#6C3483;fontSize=12;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="465" width="220" height="80" as="geometry" />
|
|
</mxCell>
|
|
|
|
<mxCell id="outlet" value="heightOutlet — outflow pipe (dry-run trip here)" style="text;html=1;fontSize=12;align=left;fontColor=#B22222;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="510" width="360" height="20" as="geometry" />
|
|
</mxCell>
|
|
<mxCell id="outlet_tick" value="" style="endArrow=none;html=1;strokeColor=#B22222;" edge="1" parent="1">
|
|
<mxGeometry relative="1" as="geometry">
|
|
<mxPoint x="270" y="520" as="sourcePoint" />
|
|
<mxPoint x="290" y="520" as="targetPoint" />
|
|
</mxGeometry>
|
|
</mxCell>
|
|
|
|
<mxCell id="floor" value="0 (floor)" style="text;html=1;fontSize=11;align=left;" vertex="1" parent="1">
|
|
<mxGeometry x="300" y="580" width="60" height="20" as="geometry" />
|
|
</mxCell>
|
|
</root>
|
|
</mxGraphModel>
|
|
</diagram>
|
|
</mxfile>
|