Files
Entropyk/apps/web/public/docs/components/pump.md
sepehr 3358b74342 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>
2026-07-17 22:46:46 +02:00

57 lines
997 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.