Skip to content

Models linking

Giacomo Falchetta edited this page May 24, 2023 · 6 revisions

Soft-linking the models

RE4AFAGRI diagram

WaterCrop to M-LED:

  • WaterCrop produces .tif raster files of irrigation water requirements and yield growth potential for all African countries. These files are contained (and can be updated) in the ./MLED_database/input_folder/watercrop folder and corresponding subfolders for each crop. WaterCrop output files are then read in the scenario_countryname.R file of M-LED. In particular, lines 55-75 of the scenario_<countryname>.R file read the WaterCrop output raster files of:
    • Rainfed cropland water requirements (in m3/month/year)
    • Irrigated cropland water requirements (in m3/month/year)
    • Current yield (in tons/ha/year)
    • Yield growth potential if the irrigation gap is closed (in tons/ha/year)

WaterCROP to NEST:

  • NEST uses the same input as M-LED. These are specified...

M-LED to OnSSET:

  • The details of transferring the demand data from the MLED modelling into OnSSET compatible files are completed in the MLED_extraction_to_OnSSET.ipynb notebook in the onsset root folder

OnSSET to NEST:

  • Summary files of the OnSSET geospatial results are created when running the OnSSET scenarios in the OnSSET_Scenario_Running.ipynb inside the onsset/onsset Python code folder. These are used by NEST to split the demands appropriately for each region, rurality, year, technology type, and scenario