{ "name": "BPHX Evaporator + Condenser — standalone runnable examples", "fluid": "R410A", "circuits": [ { "id": 0, "name": "Evaporator circuit (R410A / Water)", "components": [ { "type": "RefrigerantSource", "name": "ref_src_evap", "fluid": "R410A", "p_set_bar": 4.0, "quality": 0.2 }, { "type": "BphxEvaporator", "name": "evap", "refrigerant": "R410A", "secondary_fluid": "Water", "mode": "dx", "target_superheat_k": 5.0, "dh_m": 0.003, "area_m2": 0.5, "n_plates": 20, "hot_fluid": "Water", "hot_t_inlet_c": 12.0, "hot_pressure_bar": 2.0, "hot_mass_flow_kg_s": 0.5, "cold_fluid": "R410A", "cold_t_inlet_c": 2.0, "cold_pressure_bar": 4.0, "cold_mass_flow_kg_s": 0.1 }, { "type": "RefrigerantSink", "name": "ref_snk_evap", "fluid": "R410A", "p_back_bar": 4.0 } ], "edges": [ { "from": "ref_src_evap:outlet", "to": "evap:inlet" }, { "from": "evap:outlet", "to": "ref_snk_evap:inlet" } ] }, { "id": 1, "name": "Condenser circuit (R410A / Water)", "components": [ { "type": "RefrigerantSource", "name": "ref_src_cond", "fluid": "R410A", "p_set_bar": 18.0, "quality": 1.0 }, { "type": "BphxCondenser", "name": "cond", "refrigerant": "R410A", "secondary_fluid": "Water", "target_subcooling_k": 3.0, "dh_m": 0.003, "area_m2": 0.5, "n_plates": 20, "hot_fluid": "R410A", "hot_t_inlet_c": 45.0, "hot_pressure_bar": 18.0, "hot_mass_flow_kg_s": 0.1, "cold_fluid": "Water", "cold_t_inlet_c": 25.0, "cold_pressure_bar": 2.0, "cold_mass_flow_kg_s": 0.5 }, { "type": "RefrigerantSink", "name": "ref_snk_cond", "fluid": "R410A", "p_back_bar": 18.0 } ], "edges": [ { "from": "ref_src_cond:outlet", "to": "cond:inlet" }, { "from": "cond:outlet", "to": "ref_snk_cond:inlet" } ] } ], "solver": { "strategy": "fallback", "max_iterations": 50, "tolerance": 1e-6 } }