import sys
# Components equation constraints summing up to 34
eqs = {
  "Compressor": 2, # 2 ports
  "Condenser": 3, # 4 ports (but 1 edge in, 1 edge out for ref + 2 for water?) Wait, Python Condenser only connects to refrigerant! water_temp is hardcoded. So 2 ports -> 2 equations? Ah, currently it returns 3!
  "Evaporator": 3, # 2 ports -> returns 3 equations? That's 1 too many.
  "ExpansionValve": 2, # 2 ports
  "Pipe": 1, # 2 ports -> returns 1 equation? Missing enthalpy equation! It should return 2 equations (P_out = P_in - dP, h_out = h_in + dH)
  "Pump": 1, # mapped to Pipe -> returns 1? should be 2.
  "Fan": 1, # mapped to Pipe -> returns 1? should be 2.
  "FlowSplitter": 0, # 1 in, N out -> N+1 edges. Needs 2*N equations (P_out = P_in, mass balance?) Wait, our Python FlowSplitter maps to FlowSinkReal which has 0 equations... This is a huge bug!
}
