Add diagram workbench UI with Modelica DoF coaching and ISO glyphs.

Ship the Next.js cycle editor with CAD chrome, technical HX symbols, Fixed/Free boundary guidance, and secondary water/air pressure drop support in the solver stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-17 22:46:46 +02:00
parent 62efea0646
commit 3358b74342
275 changed files with 70187 additions and 5230 deletions

View File

@@ -0,0 +1,56 @@
# Pump
Config type: `"Pump"`
Source: `crates/components/src/pump.rs`
---
## EN
### Purpose & model
Liquid pump with **head/power curves** vs volume flow and speed. Typestate connect pattern like Fan.
```
ΔP = ρ · g · H(Q, N)
Ẇ = f_power(Q, N)
```
### Residuals & `n_equations()`
Head residual + energy/power residual as implemented; see source `n_equations()`.
### Ports
`inlet` / `outlet` on liquid (brine/water) branch.
### DoF warning
Do **not** impose `m_flow_kg_s` on a BrineSource **and** a pump curve on the same branch without freeing one — over-constrained loop.
### Calibration
Curve scale factors when exposed (default 1.0).
### JSON (main)
| Key | Meaning | Default |
|-----|---------|---------|
| curves / preset | HQ map | required |
| speed | operating speed | |
---
## FR
### But & modèle
**Pompe** liquide sur courbes HQ.
### Attention DoF
Ne pas imposer ṁ Source **et** courbe pompe sur la même branche.
### Ports / JSON
Voir EN.