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,60 @@
# Anchor & HeatSource (inline BOLT-style nodes)
Config types: `"Anchor"` / `"RefrigerantNode"`, `"HeatSource"`
Source: anchor / heat source modules in components
---
## EN
### Anchor (Refrigerant.Node)
Inline **probe or spec** on a refrigerant edge:
| Mode | Behaviour | DoF |
|------|-----------|-----|
| Probe (no key) | measures P/T/SH/SC — **DoF-neutral** | 0 equations |
| Spec | imposes **one** of `superheat_k`, `quality`, `t_c`/`t_k`, `p_bar` | **+1 equation** |
When imposing, free something elsewhere (emergent pressure, free actuator, free boundary).
### HeatSource (Heat.Source)
Injects `q_w` (or `q_kw`) into the stream energy balance:
```
ṁ · (h_out h_in) = Q_heat
```
Negative Q extracts heat. Can be linked as `cold_component` of a thermal coupling (motor cooling pattern).
### Ports
Inline on a single branch (inlet/outlet pass-through).
### Calibration
None required for probe mode.
### JSON (main)
| Key | Component | Meaning |
|-----|-----------|---------|
| `superheat_k` / `quality` / `t_c` / `p_bar` | Anchor | one optional FIX |
| `q_w` / `q_kw` | HeatSource | heat injection |
---
## FR
### Anchor
Sonde (0 DoF) ou **une** spécification (+1 équation) : SH, x, T ou P.
### HeatSource
Injection de chaleur `Q` dans le bilan dénergie du fluide.
### DoF
Imposer une spec Anchor ⇒ libérer ailleurs.