Data and configuration files

Technology (water/technology.yaml)

#  Water technologies
cooling:
  #  Water technologies
  extract_surfacewater:
    description: >-
      Freshwater extraction technology
    input: {commodity: freshwater_supply}

  extract_salinewater:
    description: >-
      Sea water extraction used for cooling technologies requiring seawater
    input: {commodity: saline_supply_ppl}

  extract_groundwater:
    description: >-
      Groundwater extraction technology
    input: {commodity: freshwater_supply}

  bio_hpl__ot_fresh:
    description: >-
      Biomass heating power plant cooling by once through cooling technology
      using freshwater
    input: {commodity: freshwater_supply}

  bio_hpl__cl_fresh:
    description: >-
      Biomass heating power plant cooling by closed loop cooling technology
      using freshwater  & freshwater supply
    input: {commodity: freshwater_supply, electr}

  bio_hpl__ot_saline:
    description: >-
      Biomass heating power plant cooling by once through cooling technology
      using saline
    input: {commodity: saline_supply_ppl}

  bio_hpl__air:
    description: >-
      Biomass heating power plant cooling by air cooled technology
      using freshwater supply
    input: {commodity: electr}

  bio_istig__ot_fresh:
    description: >-
    # TODO fill in description of bio_istig cooling by once through cooling
    # technology using freshwater
    input: {commodity: freshwater_supply}

  bio_istig__cl_fresh:
    description: >-
    # TODO fill in description of bio_istig cooling by closed loop  cooling
    # technology using freshwater
    input: {commodity: freshwater_supply,electr}

  bio_istig__ot_saline:
    description: >-
    #   TODO fill in description of bio_istig through once through cooling
    #   technology using saline water
    input: {commodity: saline_supply_ppl}

  bio_istig__air:
    description: >-
    #   TODO fill in description of bio_istig through air cooled
    #   technology using freshwater supply
    input: {commodity: electr}


  bio_istig_ccs__ot_fresh:
    description: >-
    # TODO fill in description of bio_istig cooling by once through cooling
    # technology using freshwater
    input: {commodity: freshwater_supply}

  bio_istig_ccs__cl_fresh:
    description: >-
    # TODO fill in description of bio_istig cooling by closed loop  cooling
    # technology using freshwater
    input: {commodity: freshwater_supply,electr}

  bio_istig_ccs__ot_saline:
    description: >-
    #   TODO fill in description of bio_istig through once through cooling
    #   technology using saline water
    input: {commodity: saline_supply_ppl}

  bio_istig_ccs__air:
    description: >-
    #   TODO fill in description of bio_istig through air cooled
    #   technology using freshwater supply
    input: {commodity: electr}

  bio_ppl__ot_fresh:
    description: >-
      Bio power plant cooling by once through cooling technology using freshwater
    input: {commodity: freshwater_supply}

  bio_ppl__cl_fresh:
    description: >-
      Bio power plant cooling by closed loop cooling technology using
      freshwater & freshwater supply
    input: {commodity: freshwater_supply, electr}

  bio_ppl__ot_saline:
    description: >-
      Bio power plant cooling by once through cooling technology
      using saline water
    input: {commodity: saline_supply_ppl}

  bio_ppl__air:
    description: >-
      Biopower plant cooling by air cooled technology
      using freshwater supply
    input: {commodity: electr}

  coal_adv__ot_fresh:
    description: >-
      Advanced coal power plant cooling by once through cooling technology using
      freshwater
    input: {commodity: freshwater_supply}

  coal_adv__cl_fresh:
    description: >-
      Advanced coal power plant cooling by closed loop cooling technology using
      freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  coal_adv__ot_saline:
    description: >-
      Advanced coal power plant cooling by once through cooling technology using
      saline water
    input: {commodity: saline_supply_ppl}

  coal_adv__air:
    description: >-
      Advanced coal power plant cooling by air cooled cooling technology using
      freshwater supply
    input: {commodity: electr}

  coal_adv_ccs__ot_fresh:
    description: >-
      Advanced coal power plant with carbon capture and storage cooling by once
      through cooling technology using freshwater
    input: {commodity: freshwater_supply}

  coal_adv_ccs__cl_fresh:
    description: >-
      Advanced coal power plant with carbon capture and storage by closed loop
      cooling technology using freshwater
    input: {commodity: freshwater_supply, electr}

  coal_adv_ccs__ot_saline:
    description: >-
      Advanced coal power plant with carbon capture and storage by once through
      cooling technology using freshwater
    input: {commodity: saline_supply_ppl}

  coal_adv_ccs__air:
    description: >-
      Advanced coal power plant with carbon capture and storage by air cooled
      cooling technology using freshwater supply
    input: {commodity: electr}

  coal_ppl__ot_fresh:
    description: >-
      Coal power plant cooling by once through cooling technology using freshwater
    input: {commodity: freshwater_supply}

  coal_ppl__cl_fresh:
    description: >-
      Coal power plant cooling by closed loop cooling technology using freshwater
      & freshwater supply
    input: {commodity: freshwater_supply,electr}

  coal_ppl__ot_saline:
    description: >-
      Coal power plant cooling by once through cooling technology using freshwater
    input: {commodity: saline_supply_ppl}

  coal_ppl__air:
    description: >-
      Coal power plant cooling by air cooled cooling technology using parasitic
      electricity
    input: {commodity: electr}

  coal_ppl_u__ot_fresh:
    description: >-
      Coal power plant without abatement measures cooling by once through
      cooling technology using freshwater
    input: {commodity: freshwater_supply}

  coal_ppl_u__cl_fresh:
    description: >-
      Coal power plant without abatement measures cooling by closed loop
      cooling technology using freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  coal_ppl_u__ot_saline:
    description: >-
      Coal power plant without abatement measures cooling by once through
      cooling technology using saline water
    input: {commodity: saline_supply_ppl}

  coal_ppl_u__air:
    description: >-
      Coal power plant without abatement measures cooling by air cooled
      cooling technology using freshwater supply
    input: {commodity: electr}

  foil_ppl__ot_fresh:
    description: >-
      New standard oil power plant (Rankine cycle), cooling by once through
      cooling technology using freshwater
      using freshwater
    input: {commodity: freshwater_supply}

  foil_ppl__cl_fresh:
    description: >-
      New standard oil power plant (Rankine cycle),cooling by closed loop
      cooling technology using freshwater & freshwater supply
    input: {commodity: freshwater_supply, electr}

  foil_ppl__ot_saline:
    description: >-
      New standard oil power plant (Rankine cycle),cooling by once through
      cooling technology using saline water
    input: {commodity: saline_supply_ppl}

  foil_ppl__air:
    description: >-
      New standard oil power plant (Rankine cycle),cooling by air cooled
      cooling technology using parasitic electricity
    input: {commodity: electr}

  foil_hpl__ot_fresh:
    description: >-
      Fuel oil heating plant cooling by once through cooling technology using
      freshwater
    input: {commodity: freshwater_supply}

  foil_hpl__cl_fresh:
    description: >-
      Fuel oil heating plant cooling by closed loop cooling technology using
      freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  foil_hpl__ot_saline:
    description: >-
      Fuel oil heating plant cooling by once through cooling technology using
      saline water
    input: {commodity: saline_supply_ppl}

  foil_hpl__air:
    description: >-
      Fuel oil heating plant cooling by cooling by air cooled cooling technology
      using parasitic electricity
    input: {commodity: electr}

  gas_cc__ot_fresh:
    description: >-
      Gas combined cycle power plant cooling by once through cooling technology
      using freshwater
    input: {commodity: freshwater_supply}

  gas_cc__cl_fresh:
    description: >-
      Gas combined cycle power plant cooling by closed loop cooling technology
      using freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  gas_cc__ot_saline:
    description: >-
      Gas combined cycle power plant cooling by once through cooling technology
      using saline water
    input: {commodity: saline_supply_ppl}

  gas_cc__air:
    description: >-
      Gas combined cycle power plant cooling by air cooled cooling technology
      using parasitic electricity
    input: {commodity: electr}

  gas_cc_ccs__ot_fresh:
    description: >-
      Gas combined cycle power-plant with carbon capture and storage cooling by
      once through cooling technology using freshwater
    input: {commodity: freshwater_supply}

  gas_cc_ccs__cl_fresh:
    description: >-
      Gas combined cycle power-plant with carbon capture and storage cooling by
      closed loop cooling technology using freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  gas_cc_ccs__ot_saline:
    description: >-
      Gas combined cycle power-plant with carbon capture and storage cooling by
      once through cooling technology using saline water
    input: {commodity: saline_supply_ppl}

  gas_cc_ccs__air:
    description: >-
      Gas combined cycle power-plant with carbon capture and storage cooling by
      air cooled cooling technology using parasitic electricity
    input: {commodity: electr}

  gas_hpl__ot_fresh:
    description: >-
      Natural gas heating plant plant cooling by once through cooling technology
      using freshwater
    input: {commodity: freshwater_supply}

  gas_hpl__cl_fresh:
    description: >-
      Natural gas heating plant cooling by closed loop cooling technology using
      freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  gas_hpl__ot_saline:
    description: >-
      Natural gas heating plant cooling by once through cooling technology using
      saline water
    input: {commodity: saline_supply_ppl}

  gas_hpl__air:
    description: >-
      Natural gas heating plant cooling by once through cooling technology by
      air cooled cooling technology using parasitic electricity
    input: {commodity: electr}

  gas_ppl__ot_fresh:
    description: >-
      Gas power plant (Rankine cycle) cooling by once through cooling technology
      using freshwater
    input: {commodity: freshwater_supply}

  gas_ppl__cl_fresh:
    description: >-
      Gas power plant (Rankine cycle) cooling by closed loop cooling technology
      using freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  gas_ppl__ot_saline:
    description: >-
      Biomass heating power plant cooling by once through cooling technology using
      freshwater
    input: {commodity: saline_supply_ppl}

  gas_ppl__air:
    description: >-
      Biomass heating power plant cooling by air cooled cooling technology using
      freshwater supply
    input: {commodity: electr}

  geo_hpl__ot_fresh:
    description: >-
      Geothermal heat plant cooling by once through cooling technology using
      freshwater
    input: {commodity: freshwater_supply}

  geo_hpl__cl_fresh:
    description: >-
      Geothermal heat plant cooling by closed loop cooling technology using
      freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  geo_hpl__ot_saline:
    description: >-
      Geothermal heat plant cooling by once through cooling technology using
      saline water
    input: {commodity: saline_supply_ppl}

  geo_hpl__air:
    description: >-
      Geothermal heat plant cooling by air cooled cooling technology using
      freshwater supply
    input: {commodity: electr}

  geo_ppl__ot_fresh:
    description: >-
      Geothermal power plant cooling by once through cooling technology using
      freshwater
    input: {commodity: freshwater_supply}

  geo_ppl__cl_fresh:
    description: >-
      Geothermal power plant cooling by closed loop cooling technology using
      freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  geo_ppl__ot_saline:
    description: >-
      Geothermal power plant cooling by once through cooling technology using
      saline water
    input: {commodity: saline_supply_ppl}

  geo_ppl__air:
    description: >-
      Geothermal power plant cooling by closed loop cooling technology using
      freshwater supply
    input: {commodity: electr}

  igcc__ot_fresh:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant cooling by once
      through cooling technology using freshwater
    input: {commodity: freshwater_supply}

  igcc__cl_fresh:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant cooling by closed
      loop cooling technology using freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  igcc__ot_saline:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant cooling by once
      through cooling technology using saline water
    input: {commodity: saline_supply_ppl}

  igcc__air:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant cooling by air cooled
      cooling technology using freshwater supply
    input: {commodity: electr}

  igcc_ccs__ot_fresh:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant with carbon capture
      and storage cooling by once through cooling technology using freshwater
    input: {commodity: freshwater_supply}

  igcc_ccs__cl_fresh:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant with carbon capture
      and storage cooling by closed loop cooling technology using freshwater &
      freshwater supply
    input: {commodity: freshwater_supply,electr}

  igcc_ccs__ot_saline:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant with carbon capture
      and storage cooling by once through cooling technology using saline water
    input: {commodity: saline_supply_ppl}

  igcc_ccs__air:
    description: >-
      Integrated gasification combined cycle (IGCC) power plant with carbon capture
      and storage cooling by air cooled cooling technology using freshwater supply
    input: {commodity: electr}

  loil_cc__ot_fresh:
    description: >-
      Light oil combined cycle cooling by once through cooling technology using
      freshwater
    input: {commodity: freshwater_supply}

  loil_cc__cl_fresh:
    description: >-
      Light oil combined cycle cooling by closed loop cooling technology using
      freshwater & freshwater supply
    input: {commodity: freshwater_supply,electr}

  loil_cc__ot_saline:
    description: >-
      Light oil combined cycle cooling by once through cooling technology using
      saline supply
    input: {commodity: saline_supply_ppl}

  loil_cc__air:
    description: >-
      Light oil combined cycle cooling by air cooled cooling technology using
      freshwater supply
    input: {commodity: electr}

  loil_ppl__ot_fresh:
    description: >-
      Existing light oil power plant cooling by once through cooling technology
      using extract_freshwater_supply
    input: {commodity: freshwater_supply}

  loil_ppl__cl_fresh:
    description: >-
      Existing light oil power plant cooling by once through cooling technology using
      freshwater supply
    input: {commodity: freshwater_supply,electr}

  loil_ppl__ot_saline:
    description: >-
      Existing light oil power plant cooling by once through cooling technology
      using freshwater supply
    input: {commodity: electr}

  loil_ppl__air:
    description: >-
      Existing light oil power plant cooling by air cooled cooling technology
      using parasitic electricity
    input: {commodity: electr}

  nuc_hc__ot_fresh:
    description: >-
      Nuclear power plant (~GEN III+) (high cost) cooling by once through cooling
      technology using freshwater supply
    input: {commodity: freshwater_supply}

  nuc_hc__cl_fresh:
    description: >-
      Nuclear power plant (~GEN III+) (high cost) cooling by closed loop cooling
      technology using freshwater supply & parasitic
    input: {commodity: freshwater_supply,electr}

  nuc_hc__ot_saline:
    description: >-
      Nuclear power plant (~GEN III+) (high cost) cooling by once through cooling
      technology using saline water supply
    input: {commodity: saline_supply_ppl}

  nuc_hc__air:
    description: >-
      Nuclear power plant (~GEN III+) (high cost) cooling by once through cooling
      technology using parasitic electricity
    input: {commodity: electr}

  nuc_lc__ot_fresh:
    description: >-
      Nuclear power plant (~GEN III+) (low cost) cooling by once through cooling
      technology using freshwater supply
    input: {commodity: freshwater_supply}

  nuc_lc__cl_fresh:
    description: >-
      Nuclear power plant (~GEN III+) (low cost) cooling by closed loop cooling
      technology using freshwater supply & parasitic
    input: {commodity: freshwater_supply,electr}

  nuc_lc__ot_saline:
    description: >-
      Nuclear power plant (~GEN III+) (low cost) cooling by once through cooling
      technology using saline water supply
    input: {commodity: saline_supply_ppl}

  nuc_lc__air:
    description: >-
      Nuclear power plant (~GEN III+) (low cost) cooling by once through cooling
      technology using parasitic electricity
    input: {commodity: electr}

  solar_th_ppl__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once through cooling
      technology using freshwater supply
    input: {commodity: freshwater_supply}

  solar_th_ppl__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed loop cooling
      technology using freshwater supply & parasitic electricity
    input: {commodity: freshwater_supply,electr}

  solar_th_ppl__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once through cooling
      technology using freshwater supply
    input: {commodity: saline_supply_ppl}

  solar_th_ppl__air:
    description: >-
      Solar thermal power plant with storage cooling by once through cooling
      technology using parasitic electricity
    input: {commodity: electr}

  # CSP_SM1 with RES to RES7
  csp_sm1_res__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm1_res1__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res1__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res1__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res1__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm1_res2__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res2__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res2__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res2__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm1_res3__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res3__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res3__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res3__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm1_res4__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res4__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res4__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res4__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm1_res5__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res5__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res5__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res5__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm1_res6__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res6__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res6__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res6__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm1_res7__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm1_res7__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm1_res7__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm1_res7__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

# Repeat similar structure for res4 through res7 for csp_sm1.

  csp_sm3_res__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}
  
  csp_sm3_res1__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res1__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res1__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res1__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm3_res2__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res2__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res2__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res2__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm3_res3__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res3__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res3__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res3__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm3_res4__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res4__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res4__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res4__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm3_res5__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res5__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res5__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res5__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm3_res6__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res6__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res6__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res6__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

  csp_sm3_res7__ot_fresh:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using freshwater supply.
    input: {commodity: freshwater_supply}

  csp_sm3_res7__cl_fresh:
    description: >-
      Solar thermal power plant with storage cooling by closed-loop cooling
      technology using freshwater supply & parasitic electricity.
    input: {commodity: freshwater_supply, electr}

  csp_sm3_res7__ot_saline:
    description: >-
      Solar thermal power plant with storage cooling by once-through cooling
      technology using saline water supply.
    input: {commodity: saline_supply_ppl}

  csp_sm3_res7__air:
    description: >-
      Solar thermal power plant with storage cooling by air cooling
      technology using parasitic electricity.
    input: {commodity: electr}

nexus:
  extract_gw_fossil:
    description: >-
      Groundwater extraction from fossil reservoirs (unlimited used as slack)

  extract_salinewater_basin:
    description: >-
      Sea water extraction used for desalination and providing freshwater
    input: {commodity: saline_supply_basin}

  urban_t_d:
    description: >-
      Urban water transmission & distribution
    input: {commodity: freshwater_supply}

  rural_t_d:
    description: >-
      Rural water transmission & distribution
    input: {commodity: freshwater_supply}

  industry_unconnected:
    description: >-
      unconnected industry water not connected to system
    input: {commodity: freshwater_supply}

  industry_untreated:
    description: >-
      untreated industry water return flows
    input: {commodity: urban_uncollected_wst}

  urban_unconnected:
    description: >-
      untreated urban water not connected to system
    input: {commodity: freshwater_supply}

  rural_unconnected:
    description: >-
      untreated rural water not connected to system
    input: {commodity: freshwater_supply}

  urban_sewerage:
    description: >-
      urban wastewater
    input: {commodity: freshwater_supply}

  urban_untreated:
    description: >-
      untreated urban water return flows
    input: {commodity: urban_uncollected_wst}

  urban_discharge:
    description: >-
      treated urban water which is discharged
    input: {commodity: electr, urban_collected_wst}

  urban_recycle:
    description: >-
      treated wastewater used as available water
    input: {commodity: electr, urban_collected_wst}

  rural_discharge:
    description: >-
      treated rural water which is discharged
    input: {commodity: rural_collected_wst}

  rural_untreated:
    description: >-
      untreated rural water return flows
    input: {commodity: rural_collected_wst}

  membrane:
    description: >-
      desalination technology using membrane i.e water and salts is separated
      through a semipermeable membrane
    input: {commodity: electr,saline_supply}

  distillation:
    description: >-
      traditional desalination technology i.e boiling and recondensation of
      seawater to leave salt  and impurities behin
    input: {commodity: electr,saline_supply,d_heat}

  desal_t_d:
    description: >-
      Desalinated water transmission and distribution
    input: {commodity: desalinated_water}

  saline_ppl_t_d:
    description: >-
      Saline power plant transmission & distribution
      # TODO verify description
    input: {commodity: saline_supply}

  basin_to_reg:
    description: >-
      dummy technology to map basin technologies water supply to energy technologies

    input: {commodity: freshwater_supply}

  ueff1:
    description: >-
      low urban efficiency

    input: {commodity: urban_mw, urban_collected_wst}

  ueff2:
    description: >-
      low urban efficiency

    input: {commodity: urban_mw, urban_collected_wst}

  ueff3:
    description: >-
      low urban efficiency

    input: {commodity: urban_mw, urban_collected_wst}

  reff1:
    description: >-
      low rural efficiency

    input: {commodity: rural_mw, rural_collected_wst}

  reff2:
    description: >-
      mid rural efficiency

    input: {commodity: rural_mw, rural_collected_wst}

  reff3:
    description: >-
      high rural efficiency

    input: {commodity: rural_mw, rural_collected_wst}

  ieff1:
    description: >-
      low irrigation efficiency

    input: {commodity: freshwater_supply}

  ieff2:
    description: >-
      mid irrigation efficiency

    input: {commodity: freshwater_supply}

  ieff3:
    description: >-
      high irrigation efficiency

    input: {commodity: freshwater_supply}

  return_flow:
    description: >-
      remaining surface water left after consumption

  gw_recharge:
    description: >-
      remaining groundwater left after consumption

  rural_recycle:
    description: >-
      recycled water after rural treatment

  rural_sewerage:
    description: >-
      treated rural water

  irrigation_oilcrops:
    description: >-
      Irrigation technology connecting irrigation withdrawals with the demands
    input: {commodity: freshwater}

  irrigation_sugarcrops:
    description: >-
      Irrigation technology connecting irrigation withdrawals with the demands
    input: {commodity: freshwater}

  irrigation_cereal:
    description: >-
      Irrigation technology connecting irrigation withdrawals with the demands
    input: {commodity: freshwater}

  salinewater_return:
    description: >-
      remaining salinewater left after consumption

  

Other sets (water/set.yaml)

#Set configuration for the MESSAGE-Water model

# For each set in the MESSAGEix framework, the group contains:
# - 'require': elements that must be present for the model to be set up.
# - 'remove': elements to remove.
# - 'add': elements to add. This is a mapping from element short names to a
#   longer description.

cooling:
  commodity:
    require:
    - electr

    remove:
    # removing all technologies which are related to water in the previous model
    # Re added in the newer implementation with lesser commodities
    - saline_supply
    #- freshwater_instream
    # maybe comment, but material breaks
    - freshwater_supply 
    - desalinated_water
    - saline_supply_ppl
    - urban_collected_wst
    - urban_uncollected_wst
    - yield_freshwater_suply
    - rural_collected_wst
    - rural_uncollected_wst
    - urban_mw
    - urban_dis
    - rural_mw
    - rural_dis
    - cooling__bio_hpl
    - cooling__bio_ppl
    - cooling__bio_istig
    - cooling__bio_ppl
    - cooling__coal_adv
    - cooling__coal_adv_ccs
    - cooling__coal_ppl
    - cooling__coal_ppl_u
    - cooling__foil_hpl
    - cooling__foil_ppl
    - cooling__gas_cc
    - cooling__gas_cc_ccs
    - cooling__gas_hpl
    - cooling__gas_ppl
    - cooling__geo_hpl
    - cooling__geo_ppl
    - cooling__igcc
    - cooling__igcc_ccs
    - cooling__loil_cc
    - cooling__loil_ppl
    - cooling__nuc_hc
    - cooling__solar_th_ppl
    - cooling__csp_sm1_ppl
    - cooling__csp_sm3_ppl

    add:
    - electr
    - salinewater
    - freshwater_instream
    - freshwater
    - freshwater_basin
    - surfacewater_basin
    - groundwater_basin
    - desalinated_water
    - saline_ppl
    - ot_fresh
    - cl_fresh
    - air
    - ot_saline


  level:
    require:
    - secondary

    remove:
    # maybe comment, but material breaks
    - water_supply 
    - cooling
    - desalination_supply
    - water_treat
    add:
    - water_supply
    - saline_supply
    - share

  mode:
    require:
    - all

  technology:
    remove:
    - extract__saline_supply
    - bio_hpl__ot_fresh
    - bio_hpl__cl_fresh
    - bio_hpl__cl_fresh
    - bio_hpl__ot_saline
    - bio_hpl__air
    - bio_istig__ot_fresh
    - bio_istig__cl_fresh
    - bio_istig__cl_fresh
    - bio_istig__ot_saline
    - bio_istig__air
    - bio_istig_ccs__ot_fresh
    - bio_istig_ccs__cl_fresh
    - bio_istig_ccs__cl_fresh
    - bio_istig_ccs__ot_saline
    - bio_istig_ccs__air
    - bio_ppl__ot_fresh
    - bio_ppl__cl_fresh
    - bio_ppl__cl_fresh
    - bio_ppl__ot_saline
    - bio_ppl__air
    - coal_adv__ot_fresh
    - coal_adv__cl_fresh
    - coal_adv__cl_fresh
    - coal_adv__ot_saline
    - coal_adv__air
    - coal_adv_ccs__ot_fresh
    - coal_adv_ccs__cl_fresh
    - coal_adv_ccs__cl_fresh
    - coal_adv_ccs__ot_saline
    - coal_ppl__ot_fresh
    - coal_ppl__cl_fresh
    - coal_ppl__cl_fresh
    - coal_ppl__ot_saline
    - coal_ppl__air
    - coal_ppl_u__ot_fresh
    - coal_ppl_u__cl_fresh
    - coal_ppl_u__cl_fresh
    - coal_ppl_u__ot_saline
    - coal_ppl_u__air
    - foil_hpl__ot_fresh
    - foil_hpl__cl_fresh
    - foil_hpl__cl_fresh
    - foil_hpl__ot_saline
    - foil_hpl__air
    - foil_ppl__ot_fresh
    - foil_ppl__cl_fresh
    - foil_ppl__cl_fresh
    - foil_ppl__ot_saline
    - foil_ppl__air
    - gas_cc__ot_fresh
    - gas_cc__cl_fresh
    - gas_cc__cl_fresh
    - gas_cc__ot_saline
    - gas_cc__air
    - gas_cc_ccs__ot_fresh
    - gas_cc_ccs__cl_fresh
    - gas_cc_ccs__cl_fresh
    - gas_cc_ccs__ot_saline
    - gas_hpl__ot_fresh
    - gas_hpl__cl_fresh
    - gas_hpl__cl_fresh
    - gas_hpl__ot_saline
    - gas_hpl__air
    - gas_ppl__ot_fresh
    - gas_ppl__cl_fresh
    - gas_ppl__cl_fresh
    - gas_ppl__ot_saline
    - gas_ppl__air
    - geo_hpl__ot_fresh
    - geo_hpl__cl_fresh
    - geo_hpl__cl_fresh
    - geo_hpl__ot_saline
    - geo_hpl__air
    - geo_ppl__ot_fresh
    - geo_ppl__cl_fresh
    - geo_ppl__cl_fresh
    - geo_ppl__ot_saline
    - geo_ppl__air
    - igcc__ot_fresh
    - igcc__cl_fresh
    - igcc__cl_fresh
    - igcc__ot_saline
    - igcc__air
    - igcc_ccs__ot_fresh
    - igcc_ccs__cl_fresh
    - igcc_ccs__cl_fresh
    - igcc_ccs__ot_saline
    - loil_cc__ot_fresh
    - loil_cc__cl_fresh
    - loil_cc__cl_fresh
    - loil_cc__ot_saline
    - loil_cc__air
    - loil_ppl__ot_fresh
    - loil_ppl__cl_fresh
    - loil_ppl__cl_fresh
    - loil_ppl__ot_saline
    - loil_ppl__air
    - nuc_hc__ot_fresh
    - nuc_hc__cl_fresh
    - nuc_hc__cl_fresh
    - nuc_hc__ot_saline
    - solar_th_ppl__ot_fresh
    - solar_th_ppl__cl_fresh
    - solar_th_ppl__ot_saline
    - solar_th_ppl__air
    - csp_sm1_res__ot_fresh
    - csp_sm1_res__cl_fresh
    - csp_sm1_res__ot_saline
    - csp_sm1_res__air
    - csp_sm1_res1__ot_fresh
    - csp_sm1_res1__cl_fresh
    - csp_sm1_res1__ot_saline
    - csp_sm1_res1__air
    - csp_sm1_res2__ot_fresh
    - csp_sm1_res2__cl_fresh
    - csp_sm1_res2__ot_saline
    - csp_sm1_res2__air
    - csp_sm1_res3__ot_fresh
    - csp_sm1_res3__cl_fresh
    - csp_sm1_res3__ot_saline
    - csp_sm1_res3__air
    - csp_sm1_res4__ot_fresh
    - csp_sm1_res4__cl_fresh
    - csp_sm1_res4__ot_saline
    - csp_sm1_res4__air
    - csp_sm1_res5__ot_fresh
    - csp_sm1_res5__cl_fresh
    - csp_sm1_res5__ot_saline
    - csp_sm1_res5__air
    - csp_sm1_res6__ot_fresh
    - csp_sm1_res6__cl_fresh
    - csp_sm1_res6__ot_saline
    - csp_sm1_res6__air
    - csp_sm1_res7__ot_fresh
    - csp_sm1_res7__cl_fresh
    - csp_sm1_res7__ot_saline
    - csp_sm1_res7__air
    - csp_sm3_res__ot_fresh
    - csp_sm3_res__cl_fresh
    - csp_sm3_res__ot_saline
    - csp_sm3_res__air
    - csp_sm3_res1__ot_fresh
    - csp_sm3_res1__cl_fresh
    - csp_sm3_res1__ot_saline
    - csp_sm3_res1__air
    - csp_sm3_res2__ot_fresh
    - csp_sm3_res2__cl_fresh
    - csp_sm3_res2__ot_saline
    - csp_sm3_res2__air
    - csp_sm3_res3__ot_fresh
    - csp_sm3_res3__cl_fresh
    - csp_sm3_res3__ot_saline
    - csp_sm3_res3__air
    - csp_sm3_res4__ot_fresh
    - csp_sm3_res4__cl_fresh
    - csp_sm3_res4__ot_saline
    - csp_sm3_res4__air
    - csp_sm3_res5__ot_fresh
    - csp_sm3_res5__cl_fresh
    - csp_sm3_res5__ot_saline
    - csp_sm3_res5__air
    - csp_sm3_res6__ot_fresh
    - csp_sm3_res6__cl_fresh
    - csp_sm3_res6__ot_saline
    - csp_sm3_res6__air
    - csp_sm3_res7__ot_fresh
    - csp_sm3_res7__cl_fresh
    - csp_sm3_res7__ot_saline
    - csp_sm3_res7__air
    - extract__upstream_landuse
    - extract__saline_supply
    - extract__freshwater_supply
    - extract__freshwater_instream

    #add:
    # Adds all technologies from technologies.yaml file again to reconfigure

  time:
    # NB cannot handle models with sub-annual time resolution
    require:
    - year

  # Addon techs include cooling technologies for now
  addon:
    add:
    - bio_hpl__ot_fresh
    - bio_hpl__cl_fresh
    - bio_hpl__ot_saline
    - bio_hpl__air
    - bio_istig__ot_fresh
    - bio_istig__cl_fresh
    - bio_istig__ot_saline
    - bio_istig__air
    - bio_istig_ccs__ot_fresh
    - bio_istig_ccs__cl_fresh
    - bio_istig_ccs__ot_saline
    - bio_istig_ccs__air
    - bio_ppl__ot_fresh
    - bio_ppl__cl_fresh
    - bio_ppl__ot_saline
    - bio_ppl__air
    - coal_adv__ot_fresh
    - coal_adv__cl_fresh
    - coal_adv__ot_saline
    - coal_adv__air
    - coal_adv_ccs__ot_fresh
    - coal_adv_ccs__cl_fresh
    - coal_adv_ccs__ot_saline
    - coal_adv_ccs__air
    - coal_ppl__ot_fresh
    - coal_ppl__cl_fresh
    - coal_ppl__ot_saline
    - coal_ppl__air
    - coal_ppl_u__ot_fresh
    - coal_ppl_u__cl_fresh
    - coal_ppl_u__ot_saline
    - coal_ppl_u__air
    - foil_ppl__ot_fresh
    - foil_ppl__cl_fresh
    - foil_ppl__ot_saline
    - foil_ppl__air
    - foil_hpl__ot_fresh
    - foil_hpl__cl_fresh
    - foil_hpl__ot_saline
    - foil_hpl__air
    - gas_cc__ot_fresh
    - gas_cc__cl_fresh
    - gas_cc__ot_saline
    - gas_cc__air
    - gas_cc_ccs__ot_fresh
    - gas_cc_ccs__cl_fresh
    - gas_cc_ccs__ot_saline
    - gas_cc_ccs__air
    - gas_hpl__ot_fresh
    - gas_hpl__cl_fresh
    - gas_hpl__ot_saline
    - gas_hpl__air
    - gas_ppl__ot_fresh
    - gas_ppl__cl_fresh
    - gas_ppl__ot_saline
    - gas_ppl__air
    - geo_hpl__ot_fresh
    - geo_hpl__cl_fresh
    - geo_hpl__cl_fresh
    - geo_hpl__ot_saline
    - geo_hpl__air
    - geo_ppl__ot_fresh
    - geo_ppl__cl_fresh
    - geo_ppl__cl_fresh
    - geo_ppl__ot_saline
    - geo_ppl__air
    - igcc__ot_fresh
    - igcc__cl_fresh
    - igcc__ot_saline
    - igcc__air
    - igcc_ccs__ot_fresh
    - igcc_ccs__cl_fresh
    - igcc_ccs__ot_saline
    - igcc_ccs__air
    - loil_cc__ot_fresh
    - loil_cc__cl_fresh
    - loil_cc__ot_saline
    - loil_cc__air
    - loil_ppl__ot_fresh
    - loil_ppl__cl_fresh
    - loil_ppl__ot_saline
    - loil_ppl__air
    - nuc_hc__ot_fresh
    - nuc_hc__cl_fresh
    - nuc_hc__ot_saline
    - nuc_hc__air
    - solar_th_ppl__ot_fresh
    - solar_th_ppl__cl_fresh
    - solar_th_ppl__ot_saline
    - solar_th_ppl__air
    - csp_sm1_res__ot_fresh
    - csp_sm1_res__cl_fresh
    - csp_sm1_res__ot_saline
    - csp_sm1_res__air
    - csp_sm1_res1__ot_fresh
    - csp_sm1_res1__cl_fresh
    - csp_sm1_res1__ot_saline
    - csp_sm1_res1__air
    - csp_sm1_res2__ot_fresh
    - csp_sm1_res2__cl_fresh
    - csp_sm1_res2__ot_saline
    - csp_sm1_res2__air
    - csp_sm1_res3__ot_fresh
    - csp_sm1_res3__cl_fresh
    - csp_sm1_res3__ot_saline
    - csp_sm1_res3__air
    - csp_sm1_res4__ot_fresh
    - csp_sm1_res4__cl_fresh
    - csp_sm1_res4__ot_saline
    - csp_sm1_res4__air
    - csp_sm1_res5__ot_fresh
    - csp_sm1_res5__cl_fresh
    - csp_sm1_res5__ot_saline
    - csp_sm1_res5__air
    - csp_sm1_res6__ot_fresh
    - csp_sm1_res6__cl_fresh
    - csp_sm1_res6__ot_saline
    - csp_sm1_res6__air
    - csp_sm1_res7__ot_fresh
    - csp_sm1_res7__cl_fresh
    - csp_sm1_res7__ot_saline
    - csp_sm1_res7__air
    - csp_sm3_res__ot_fresh
    - csp_sm3_res__cl_fresh
    - csp_sm3_res__ot_saline
    - csp_sm3_res__air
    - csp_sm3_res1__ot_fresh
    - csp_sm3_res1__cl_fresh
    - csp_sm3_res1__ot_saline
    - csp_sm3_res1__air
    - csp_sm3_res2__ot_fresh
    - csp_sm3_res2__cl_fresh
    - csp_sm3_res2__ot_saline
    - csp_sm3_res2__air
    - csp_sm3_res3__ot_fresh
    - csp_sm3_res3__cl_fresh
    - csp_sm3_res3__ot_saline
    - csp_sm3_res3__air
    - csp_sm3_res4__ot_fresh
    - csp_sm3_res4__cl_fresh
    - csp_sm3_res4__ot_saline
    - csp_sm3_res4__air
    - csp_sm3_res5__ot_fresh
    - csp_sm3_res5__cl_fresh
    - csp_sm3_res5__ot_saline
    - csp_sm3_res5__air
    - csp_sm3_res6__ot_fresh
    - csp_sm3_res6__cl_fresh
    - csp_sm3_res6__ot_saline
    - csp_sm3_res6__air
    - csp_sm3_res7__ot_fresh
    - csp_sm3_res7__cl_fresh
    - csp_sm3_res7__ot_saline
    - csp_sm3_res7__air

  # cat_addon includes cooling technology addons for parent technologies
  type_addon:
    add:
    - cooling__bio_hpl
    - cooling__bio_istig
    - cooling__bio_istig_ccs
    - cooling__bio_ppl
    - cooling__coal_adv
    - cooling__coal_adv_ccs
    - cooling__coal_ppl
    - cooling__coal_ppl_u
    - cooling__foil_hpl
    - cooling__foil_ppl
    - cooling__gas_cc
    - cooling__gas_cc_ccs
    - cooling__gas_hpl
    - cooling__gas_ppl
    - cooling__geo_hpl
    - cooling__geo_ppl
    - cooling__igcc
    - cooling__igcc_ccs
    - cooling__loil_cc
    - cooling__loil_ppl
    - cooling__nuc_hc
    - cooling__nuc_lc
    - cooling__solar_th_ppl
    - cooling__csp_sm1_res
    - cooling__csp_sm1_res1
    - cooling__csp_sm1_res2
    - cooling__csp_sm1_res3
    - cooling__csp_sm1_res4
    - cooling__csp_sm1_res5
    - cooling__csp_sm1_res6
    - cooling__csp_sm1_res7
    - cooling__csp_sm3_res
    - cooling__csp_sm3_res1
    - cooling__csp_sm3_res2
    - cooling__csp_sm3_res3
    - cooling__csp_sm3_res4
    - cooling__csp_sm3_res5
    - cooling__csp_sm3_res6
    - cooling__csp_sm3_res7


  map_tec_addon:
    add:
    - [bio_hpl, cooling__bio_hpl]
    - [bio_istig, cooling__bio_istig]
    - [bio_istig_ccs, cooling__bio_istig_ccs]
    - [bio_ppl,cooling__bio_ppl]
    - [coal_adv, cooling__coal_adv]
    - [coal_adv_ccs, cooling__coal_adv_ccs]
    - [coal_ppl, cooling__coal_ppl]
    - [coal_ppl_u, cooling__coal_ppl_u]
    - [foil_hpl, cooling__foil_hpl]
    - [foil_ppl, cooling__foil_ppl]
    - [gas_cc, cooling__gas_cc]
    - [gas_cc_ccs, cooling__gas_cc_ccs]
    - [gas_hpl, cooling__gas_hpl]
    - [gas_ppl, cooling__gas_ppl]
    - [geo_hpl, cooling__geo_hpl]
    - [geo_ppl, cooling__geo_ppl]
    - [igcc, cooling__igcc]
    - [igcc_ccs, cooling__igcc_ccs]
    - [loil_cc, cooling__loil_cc]
    - [loil_ppl, cooling__loil_ppl]
    - [nuc_hc, cooling__nuc_hc]
    - [nuc_lc, cooling__nuc_lc]
    # - [solar_th_ppl, cooling__solar_th_ppl]
    - [csp_sm1_res, cooling__csp_sm1_res]
    - [csp_sm1_res1, cooling__csp_sm1_res1]
    - [csp_sm1_res2, cooling__csp_sm1_res2]
    - [csp_sm1_res3, cooling__csp_sm1_res3]
    - [csp_sm1_res4, cooling__csp_sm1_res4]
    - [csp_sm1_res5, cooling__csp_sm1_res5]
    - [csp_sm1_res6, cooling__csp_sm1_res6]
    - [csp_sm1_res7, cooling__csp_sm1_res7]
    - [csp_sm3_res, cooling__csp_sm3_res]
    - [csp_sm3_res1, cooling__csp_sm3_res1]
    - [csp_sm3_res2, cooling__csp_sm3_res2]
    - [csp_sm3_res3, cooling__csp_sm3_res3]
    - [csp_sm3_res4, cooling__csp_sm3_res4]
    - [csp_sm3_res5, cooling__csp_sm3_res5]
    - [csp_sm3_res6, cooling__csp_sm3_res6]
    - [csp_sm3_res7, cooling__csp_sm3_res7]


  cat_addon:
  #   #TODO check whether these needs to be added ?
    add:
    - [cooling__bio_hpl, bio_hpl__ot_fresh]
    - [cooling__bio_hpl, bio_hpl__cl_fresh]
    - [cooling__bio_hpl, bio_hpl__ot_saline]
    - [cooling__bio_hpl, bio_hpl__air]
    - [cooling__bio_istig, bio_istig__ot_fresh]
    - [cooling__bio_istig, bio_istig__cl_fresh]
    - [cooling__bio_istig, bio_istig__ot_saline]
    - [cooling__bio_istig, bio_istig__air]
    - [cooling__bio_istig_ccs, bio_istig_ccs__ot_fresh]
    - [cooling__bio_istig_ccs, bio_istig_ccs__cl_fresh]
    - [cooling__bio_istig_ccs, bio_istig_ccs__ot_saline]
    - [cooling__bio_istig_ccs, bio_istig_ccs__air]
    - [cooling__coal_adv, coal_adv__ot_fresh]
    - [cooling__coal_adv, coal_adv__cl_fresh]
    - [cooling__coal_adv, coal_adv__ot_saline]
    - [cooling__coal_adv, coal_adv__air]
    - [cooling__coal_adv_ccs, coal_adv_ccs__ot_fresh]
    - [cooling__coal_adv_ccs, coal_adv_ccs__cl_fresh]
    - [cooling__coal_adv_ccs, coal_adv_ccs__ot_saline]
    - [cooling__coal_adv_ccs, coal_adv_ccs__air]
    - [cooling__bio_ppl, bio_ppl__ot_fresh]
    - [cooling__bio_ppl, bio_ppl__cl_fresh]
    - [cooling__bio_ppl, bio_ppl__ot_saline]
    - [cooling__bio_ppl, bio_ppl__air]
    - [cooling__coal_ppl, coal_ppl__ot_fresh]
    - [cooling__coal_ppl, coal_ppl__cl_fresh]
    - [cooling__coal_ppl, coal_ppl__ot_saline]
    - [cooling__coal_ppl, coal_ppl__air]
    - [cooling__coal_ppl_u, coal_ppl_u__ot_fresh]
    - [cooling__coal_ppl_u, coal_ppl_u__cl_fresh]
    - [cooling__coal_ppl_u, coal_ppl_u__ot_saline]
    - [cooling__coal_ppl_u, coal_ppl_u__air]
    - [cooling__foil_hpl, foil_hpl__ot_fresh]
    - [cooling__foil_hpl, foil_hpl__cl_fresh]
    - [cooling__foil_hpl, foil_hpl__ot_saline]
    - [cooling__foil_hpl, foil_hpl__air]
    - [cooling__foil_ppl, foil_ppl__ot_fresh]
    - [cooling__foil_ppl, foil_ppl__cl_fresh]
    - [cooling__foil_ppl, foil_ppl__ot_saline]
    - [cooling__foil_ppl, foil_ppl__air]
    - [cooling__gas_cc, gas_cc__ot_fresh]
    - [cooling__gas_cc, gas_cc__cl_fresh]
    - [cooling__gas_cc, gas_cc__ot_saline]
    - [cooling__gas_cc, gas_cc__air]
    - [cooling__gas_cc_ccs, gas_cc_ccs__ot_fresh]
    - [cooling__gas_cc_ccs, gas_cc_ccs__cl_fresh]
    - [cooling__gas_cc_ccs, gas_cc_ccs__ot_saline]
    - [cooling__gas_cc_ccs, gas_cc_ccs__air]
    - [cooling__gas_hpl, gas_hpl__ot_fresh]
    - [cooling__gas_hpl, gas_hpl__cl_fresh]
    - [cooling__gas_hpl, gas_hpl__ot_saline]
    - [cooling__gas_hpl, gas_hpl__air]
    - [cooling__gas_ppl, gas_ppl__ot_fresh]
    - [cooling__gas_ppl, gas_ppl__cl_fresh]
    - [cooling__gas_ppl, gas_ppl__ot_saline]
    - [cooling__gas_ppl, gas_ppl__air]
    - [cooling__geo_hpl, gas_hpl__ot_fresh]
    - [cooling__geo_hpl, gas_hpl__cl_fresh]
    - [cooling__geo_hpl, gas_hpl__ot_saline]
    - [cooling__geo_hpl, gas_hpl__air]
    - [cooling__geo_ppl, geo_ppl__ot_fresh]
    - [cooling__geo_ppl, geo_ppl__cl_fresh]
    - [cooling__geo_ppl, geo_ppl__ot_saline]
    - [cooling__geo_ppl, geo_ppl__air]
    - [cooling__igcc, igcc__ot_fresh]
    - [cooling__igcc, igcc__cl_fresh]
    - [cooling__igcc, igcc__ot_saline]
    - [cooling__igcc, igcc__air]
    - [cooling__igcc_ccs, igcc_ccs__ot_fresh]
    - [cooling__igcc_ccs, igcc_ccs__cl_fresh]
    - [cooling__igcc_ccs, igcc_ccs__ot_saline]
    - [cooling__igcc_ccs, igcc_ccs__air]
    - [cooling__loil_cc, loil_cc__ot_fresh]
    - [cooling__loil_cc, loil_cc__cl_fresh]
    - [cooling__loil_cc, loil_cc__ot_saline]
    - [cooling__loil_cc, loil_cc__air]
    - [cooling__loil_ppl, loil_ppl__ot_fresh]
    - [cooling__loil_ppl, loil_ppl__cl_fresh]
    - [cooling__loil_ppl, loil_ppl__ot_saline]
    - [cooling__loil_ppl, loil_ppl__air]
    - [cooling__nuc_hc, nuc_hc__ot_fresh]
    - [cooling__nuc_hc, nuc_hc__cl_fresh]
    - [cooling__nuc_hc, nuc_hc__ot_saline]
    - [cooling__nuc_hc, nuc_hc__air]
    - [cooling__nuc_lc, nuc_lc__ot_fresh]
    - [cooling__nuc_lc, nuc_lc__cl_fresh]
    - [cooling__nuc_lc, nuc_lc__ot_saline]
    - [cooling__nuc_lc, nuc_lc__air]
    - [cooling__solar_th_ppl, solar_th_ppl__ot_fresh]
    - [cooling__solar_th_ppl, solar_th_ppl__cl_fresh]
    - [cooling__solar_th_ppl, solar_th_ppl__ot_saline]
    - [cooling__solar_th_ppl, solar_th_ppl__air]
    - [cooling__csp_sm1_res, csp_sm1_res__ot_fresh]
    - [cooling__csp_sm1_res, csp_sm1_res__cl_fresh]
    - [cooling__csp_sm1_res, csp_sm1_res__ot_saline]
    - [cooling__csp_sm1_res, csp_sm1_res__air]
    - [cooling__csp_sm1_res1, csp_sm1_res1__ot_fresh]
    - [cooling__csp_sm1_res1, csp_sm1_res1__cl_fresh]
    - [cooling__csp_sm1_res1, csp_sm1_res1__ot_saline]
    - [cooling__csp_sm1_res1, csp_sm1_res1__air]
    - [cooling__csp_sm1_res2, csp_sm1_res2__ot_fresh]
    - [cooling__csp_sm1_res2, csp_sm1_res2__cl_fresh]
    - [cooling__csp_sm1_res2, csp_sm1_res2__ot_saline]
    - [cooling__csp_sm1_res2, csp_sm1_res2__air]
    - [cooling__csp_sm1_res3, csp_sm1_res3__ot_fresh]
    - [cooling__csp_sm1_res3, csp_sm1_res3__cl_fresh]
    - [cooling__csp_sm1_res3, csp_sm1_res3__ot_saline]
    - [cooling__csp_sm1_res3, csp_sm1_res3__air]
    - [cooling__csp_sm1_res4, csp_sm1_res4__ot_fresh]
    - [cooling__csp_sm1_res4, csp_sm1_res4__cl_fresh]
    - [cooling__csp_sm1_res4, csp_sm1_res4__ot_saline]
    - [cooling__csp_sm1_res4, csp_sm1_res4__air]
    - [cooling__csp_sm1_res5, csp_sm1_res5__ot_fresh]
    - [cooling__csp_sm1_res5, csp_sm1_res5__cl_fresh]
    - [cooling__csp_sm1_res5, csp_sm1_res5__ot_saline]
    - [cooling__csp_sm1_res5, csp_sm1_res5__air]
    - [cooling__csp_sm1_res6, csp_sm1_res6__ot_fresh]
    - [cooling__csp_sm1_res6, csp_sm1_res6__cl_fresh]
    - [cooling__csp_sm1_res6, csp_sm1_res6__ot_saline]
    - [cooling__csp_sm1_res6, csp_sm1_res6__air]
    - [cooling__csp_sm1_res7, csp_sm1_res7__ot_fresh]
    - [cooling__csp_sm1_res7, csp_sm1_res7__cl_fresh]
    - [cooling__csp_sm1_res7, csp_sm1_res7__ot_saline]
    - [cooling__csp_sm1_res7, csp_sm1_res7__air]
    - [cooling__csp_sm3_res, csp_sm3_res__ot_fresh]
    - [cooling__csp_sm3_res, csp_sm3_res__cl_fresh]
    - [cooling__csp_sm3_res, csp_sm3_res__ot_saline]
    - [cooling__csp_sm3_res, csp_sm3_res__air]
    - [cooling__csp_sm3_res1, csp_sm3_res1__ot_fresh]
    - [cooling__csp_sm3_res1, csp_sm3_res1__cl_fresh]
    - [cooling__csp_sm3_res1, csp_sm3_res1__ot_saline]
    - [cooling__csp_sm3_res1, csp_sm3_res1__air]
    - [cooling__csp_sm3_res2, csp_sm3_res2__ot_fresh]
    - [cooling__csp_sm3_res2, csp_sm3_res2__cl_fresh]
    - [cooling__csp_sm3_res2, csp_sm3_res2__ot_saline]
    - [cooling__csp_sm3_res2, csp_sm3_res2__air]
    - [cooling__csp_sm3_res3, csp_sm3_res3__ot_fresh]
    - [cooling__csp_sm3_res3, csp_sm3_res3__cl_fresh]
    - [cooling__csp_sm3_res3, csp_sm3_res3__ot_saline]
    - [cooling__csp_sm3_res3, csp_sm3_res3__air]
    - [cooling__csp_sm3_res4, csp_sm3_res4__ot_fresh]
    - [cooling__csp_sm3_res4, csp_sm3_res4__cl_fresh]
    - [cooling__csp_sm3_res4, csp_sm3_res4__ot_saline]
    - [cooling__csp_sm3_res4, csp_sm3_res4__air]
    - [cooling__csp_sm3_res5, csp_sm3_res5__ot_fresh]
    - [cooling__csp_sm3_res5, csp_sm3_res5__cl_fresh]
    - [cooling__csp_sm3_res5, csp_sm3_res5__ot_saline]
    - [cooling__csp_sm3_res5, csp_sm3_res5__air]
    - [cooling__csp_sm3_res6, csp_sm3_res6__ot_fresh]
    - [cooling__csp_sm3_res6, csp_sm3_res6__cl_fresh]
    - [cooling__csp_sm3_res6, csp_sm3_res6__ot_saline]
    - [cooling__csp_sm3_res6, csp_sm3_res6__air]
    - [cooling__csp_sm3_res7, csp_sm3_res7__ot_fresh]
    - [cooling__csp_sm3_res7, csp_sm3_res7__cl_fresh]
    - [cooling__csp_sm3_res7, csp_sm3_res7__ot_saline]
    - [cooling__csp_sm3_res7, csp_sm3_res7__air]


  shares:
    add:
    - share_cooling_ot_fresh
    - share_cooling_cl_fresh
    - share_cooling_ot_saline
    - share_cooling_air

  type_tec:
    add:
    - share_cooling_ot_fresh_tot
    - share_cooling_ot_fresh_share
    - share_cooling_cl_fresh_tot
    - share_cooling_cl_fresh_share
    - share_cooling_ot_saline_tot
    - share_cooling_ot_saline_share
    - share_cooling_air_tot
    - share_cooling_air_share

  unit:
    add:
    - km3/GWa
    - km3
    - km3/year

  emission:
    add:
    - fresh_return

  type_emission:
    add:
    - water_consumption

  cat_emission:
    add:
    - [water_consumption, fresh_return]

nexus:
  commodity:
    add:
    - salinewater_basin
    - urban_collected_wst
    - urban_uncollected_wst
    - yield_freshwater_suply
    - rural_collected_wst
    - rural_uncollected_wst
    - urban_mw
    - industry_mw
    - industry_uncollected_wst
    - urban_disconnected
    - rural_mw
    - rural_disconnected


  level:
    add:
    - water_supply_basin
    - saline_supply_basin
    - water_treat
    - water_avail_basin
    - irr_cereal
    - irr_sugarcrops
    - irr_oilcrops

  mode:
    add:
    - Mf # efficient mode
    - M1 # required for bare_res test

  technology:
    remove:
    - rural_treatment
    - urban_treatment
    #add:
    # Adds all technologies from technologies.yaml file again to reconfigure

  type_tec:
    add:
    - water_distribution
    - water_efficiency
    - wastewater_treatment
    - desalination
    - share_low_lim_GWat_total
    - share_low_lim_GWat_share
    - share_wat_recycle_total
    - share_wat_recycle_share
    - water_resource_extraction # required for bare_res test

  cat_tec:
    add:
    - [share_low_lim_GWat_total, extract_surfacewater]
    - [share_low_lim_GWat_total, extract_groundwater]
    - [share_low_lim_GWat_share, extract_groundwater]
    - [share_wat_recycle_total, urban_recycle]
    - [share_wat_recycle_total, urban_discharge]
    - [share_wat_recycle_share, urban_recycle]
    - [water_distribution, urban_t_d]
    - [water_distribution, rural_t_d]
    - [water_distribution, urban_unconnected]
    - [water_distribution, rural_unconnected]
    - [water_distribution, urban_sewerage]
    - [wastewater_treatment, urban_sewerage]
    - [wastewater_treatment, urban_untreated]
    - [wastewater_treatment, urban_recycle]
    - [wastewater_treatment, rural_sewerage]
    - [wastewater_treatment, rural_untreated]
    - [water_efficiency, ueff1]
    - [water_efficiency, ueff2]
    - [water_efficiency, ueff3]
    - [water_efficiency, reff1]
    - [water_efficiency, reff2]
    - [water_efficiency, reff3]
    - [water_efficiency, ieff1]
    - [water_efficiency, ieff2]
    - [water_efficiency, ieff3]
    #- [water_resource_extraction, extract_upstream_landuse]
    - [water_resource_extraction, extract_surfacewater]
    #- [water_resource_extraction, extract_freshwater_instream]
    - [water_resource_extraction, extract_salinewater]
    - [water_resource_extraction, extract_groundwater]
    - [water_resource_extraction, extract_gw_fossil]
    - [desalination, membrane]
    - [desalination, distillation]


  balance_equality:
    add:
    - [freshwater, water_supply]
    - [freshwater_basin, water_supply_basin]
    - [surfacewater_basin, water_avail_basin]
    - [groundwater_basin, water_avail_basin]
    - [salinewater_basin,water_avail_basin]
    - [urban_collected_wst, final]
    - [urban_collected_wst, water_treat]
    - [urban_uncollected_wst, final]
    - [industry_uncollected_wst,final]
    - [rural_collected_wst, final]
    - [rural_collected_wst, water_treat]
    - [rural_uncollected_wst, final]
    - [urban_mw, final]
    - [industry_mw,final]
    - [urban_disconnected, final]
    - [rural_mw, final]
    - [rural_disconnected, final]


  shares:
    add:
    - share_basin
    - share_low_lim_GWat
    - share_wat_recycle

  unit:
    add:
    - USD/km3

Configuration (water/config.yaml)

# Configuration for MESSAGEix-Nexus

# Configuration file for the model
# Added data sources here.


# CSV files containing data for input calculations and assumptions
data files:
- cooltech_cost_and_shares_ssp_msg14
- tech_water_performance_ssp_msg