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,53 @@
# BypassValve
Config type: `"BypassValve"`
Source: `crates/components/src/bypass_valve.rs` (or valve module)
---
## EN
### Purpose & model
Bypass leg valve with opening characteristic (linear / equal-percentage / custom). Parallel path around a component (compressor, HX, etc.).
```
ṁ = f(opening, ΔP, kv, characteristic)
h_out ≈ h_in
```
### Residuals
Flow residual + energy (isenthalpic or low Δh).
### Ports
`inlet` / `outlet`.
### Actuator
`opening` ∈ [0, 1] — free when under control.
### JSON (main)
| Key | Meaning | Default |
|-----|---------|---------|
| `opening` | 01 | 01 |
| `kv` | capacity | |
| characteristic | linear / … | linear |
---
## FR
### But
**Vanne de by-pass** sur une branche parallèle.
### Actionneur
Ouverture 01.
### JSON
Voir EN.