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,49 @@
# Fan
Config type: `"Fan"`
Source: `crates/components/src/fan.rs`
---
## EN
### Purpose & model
Air-moving machine with **performance curves** (pressure rise / power vs flow and speed). Typestate ports: disconnected → connected.
Affinity laws may scale curves with rotational speed.
### Residuals & `n_equations()`
Curve residuals linking ΔP, ṁ (or volume flow), and speed; energy/power residual when power is modeled. See `n_equations()` in source (typically small fixed count for the fan node).
### Ports
`inlet` / `outlet` on the air branch.
### Calibration
Curve multipliers / Z-style factors when exposed via calib API (default unity).
### JSON (main)
| Key | Meaning | Default |
|-----|---------|---------|
| curve data / preset | performance map | required |
| `speed` / ratio | operating speed | 1.0 full |
---
## FR
### But & modèle
**Ventilateur** sur courbes ΔP / débit / vitesse.
### Ports
Entrée / sortie air.
### JSON
Voir EN.