{
  "fluid": "R134a",
  "fluid_backend": "CoolProp",
  "circuits": [
    {
      "id": 0,
      "name": "Circuit A",
      "enabled": true,
      "components": [
        { "type": "IsentropicCompressor", "name": "comp_a", "isentropic_efficiency": 0.70, "t_cond_k": 318.15, "t_evap_k": 278.15, "superheat_k": 5.0, "emergent_pressure": true, "displacement_m3": 6.5e-5, "speed_hz": 50.0, "volumetric_efficiency": 0.92 },
        { "type": "Condenser", "name": "cond_a", "ua": 766.0, "emergent_pressure": true, "subcooling_k": 5.0, "secondary_fluid": "Water" },
        { "type": "IsenthalpicExpansionValve", "name": "exv_a", "t_evap_k": 278.15, "emergent_pressure": true },
        { "type": "Evaporator", "name": "evap_a", "ua": 1468.0, "emergent_pressure": true, "secondary_fluid": "Water" },
        { "type": "BrineSource", "name": "cond_water_in_a", "fluid": "Water", "p_set_bar": 2.0, "t_set_c": 30.0, "m_flow_kg_s": 0.3583 },
        { "type": "BrineSink", "name": "cond_water_out_a", "fluid": "Water", "p_back_bar": 2.0 },
        { "type": "BrineSource", "name": "evap_water_in_a", "fluid": "Water", "p_set_bar": 2.0, "t_set_c": 12.0, "m_flow_kg_s": 0.4778 },
        { "type": "BrineSink", "name": "evap_water_out_a", "fluid": "Water", "p_back_bar": 2.0 }
      ],
      "edges": [
        { "from": "comp_a:outlet", "to": "cond_a:inlet" },
        { "from": "cond_a:outlet", "to": "exv_a:inlet" },
        { "from": "exv_a:outlet", "to": "evap_a:inlet" },
        { "from": "evap_a:outlet", "to": "comp_a:inlet" },
        { "from": "cond_water_in_a:outlet", "to": "cond_a:secondary_inlet" },
        { "from": "cond_a:secondary_outlet", "to": "cond_water_out_a:inlet" },
        { "from": "evap_water_in_a:outlet", "to": "evap_a:secondary_inlet" },
        { "from": "evap_a:secondary_outlet", "to": "evap_water_out_a:inlet" }
      ]
    },
    {
      "id": 1,
      "name": "Circuit B",
      "enabled": true,
      "components": [
        { "type": "IsentropicCompressor", "name": "comp_b", "isentropic_efficiency": 0.70, "t_cond_k": 318.15, "t_evap_k": 278.15, "superheat_k": 5.0, "emergent_pressure": true, "displacement_m3": 6.5e-5, "speed_hz": 50.0, "volumetric_efficiency": 0.92 },
        { "type": "Condenser", "name": "cond_b", "ua": 766.0, "emergent_pressure": true, "subcooling_k": 5.0, "secondary_fluid": "Water" },
        { "type": "IsenthalpicExpansionValve", "name": "exv_b", "t_evap_k": 278.15, "emergent_pressure": true },
        { "type": "Evaporator", "name": "evap_b", "ua": 1468.0, "emergent_pressure": true, "secondary_fluid": "Water" },
        { "type": "BrineSource", "name": "cond_water_in_b", "fluid": "Water", "p_set_bar": 2.0, "t_set_c": 30.0, "m_flow_kg_s": 0.3583 },
        { "type": "BrineSink", "name": "cond_water_out_b", "fluid": "Water", "p_back_bar": 2.0 },
        { "type": "BrineSource", "name": "evap_water_in_b", "fluid": "Water", "p_set_bar": 2.0, "t_set_c": 12.0, "m_flow_kg_s": 0.4778 },
        { "type": "BrineSink", "name": "evap_water_out_b", "fluid": "Water", "p_back_bar": 2.0 }
      ],
      "edges": [
        { "from": "comp_b:outlet", "to": "cond_b:inlet" },
        { "from": "cond_b:outlet", "to": "exv_b:inlet" },
        { "from": "exv_b:outlet", "to": "evap_b:inlet" },
        { "from": "evap_b:outlet", "to": "comp_b:inlet" },
        { "from": "cond_water_in_b:outlet", "to": "cond_b:secondary_inlet" },
        { "from": "cond_b:secondary_outlet", "to": "cond_water_out_b:inlet" },
        { "from": "evap_water_in_b:outlet", "to": "evap_b:secondary_inlet" },
        { "from": "evap_b:secondary_outlet", "to": "evap_water_out_b:inlet" }
      ]
    }
  ],
  "solver": { "strategy": "fallback", "max_iterations": 300, "tolerance": 1e-6 }
}
