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>
20 lines
706 B
JSON
20 lines
706 B
JSON
{
|
|
"schema_version": "2",
|
|
"fluid": "R134a",
|
|
"fluid_backend": "CoolProp",
|
|
"circuits": [{
|
|
"id": 0,
|
|
"name": "Circuit 0",
|
|
"components": [
|
|
{"type": "FloodedEvaporator", "name": "evap", "ua": 8000.0, "secondary_fluid": "Water", "quality_control": false},
|
|
{"type": "BrineSource", "name": "src", "fluid": "Water", "p_set_bar": 2.0, "t_set_c": 12.0, "m_flow_kg_s": 0.5},
|
|
{"type": "BrineSink", "name": "sink", "fluid": "Water", "p_back_bar": 2.0}
|
|
],
|
|
"edges": [
|
|
{"from": "src:outlet", "to": "evap:secondary_inlet"},
|
|
{"from": "evap:secondary_outlet", "to": "sink:inlet"}
|
|
]
|
|
}],
|
|
"solver": {"strategy": "newton", "max_iterations": 10, "tolerance": 1e-4}
|
|
}
|