Files
Entropyk/apps/web/public/docs/components/heat-exchanger-generic.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

61 lines
1.3 KiB
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.
# HeatExchanger (generic)
Config type: `"HeatExchanger"`
Source: `crates/components/src/heat_exchanger/exchanger.rs` + ε-NTU / LMTD models
---
## EN
### Purpose & model
Generic two-stream HX with selectable model:
- **ε-NTU** effectiveness
- **LMTD** / counterflow forms
Ports: hot_in/out, cold_in/out (Modelica-style 4-port).
```
NTU = UA / C_min
ε = f(NTU, C_r, flow arrangement)
Q = ε · C_min · (T_hot,in T_cold,in)
```
**Requires live four-port edge state** for residual evaluation on the generic path — inlet-only scalar BCs do not invent outlet states.
### Residuals & `n_equations()`
Inner model residual count (often 23 per side balance depending on configuration).
### Ports
| Port | Role |
|------|------|
| `hot_inlet` / `hot_outlet` | hot stream |
| `cold_inlet` / `cold_outlet` | cold stream |
### Calibration
`z_ua` on UA (default 1.0).
### When not to use
For refrigeration condensers/evaporators prefer specialized `Condenser` / `Evaporator` / `FloodedEvaporator` / BPHX which know phase-change ε-NTU and secondary dual modes.
---
## FR
### But
Échangeur **générique** 4 ports (ε-NTU / LMTD).
### Attention
Exige un état **4 ports live**. Pour frigo, préférer Condenser / Evaporator / Flooded / BPHX.
### Calibration
Z_UA = 1 par défaut.