├── .gitignore ├── Data ├── AgricultureModule_ex.xlsx ├── CropMarketModule_ex.xlsx ├── EnergyModule_ex.xlsx ├── InvestmentModule_ex.xlsx ├── MainFile_ex.xlsx ├── Shapefiles │ ├── Catchments_WGS84.cpg │ ├── Catchments_WGS84.dbf │ ├── Catchments_WGS84.json │ ├── Catchments_WGS84.prj │ ├── Catchments_WGS84.qpj │ ├── Catchments_WGS84.shp │ ├── Catchments_WGS84.shx │ ├── Countries_WGS84.cpg │ ├── Countries_WGS84.dbf │ ├── Countries_WGS84.json │ ├── Countries_WGS84.prj │ ├── Countries_WGS84.qpj │ ├── Countries_WGS84.shp │ ├── Countries_WGS84.shx │ ├── HydropowersBI.xlsx │ └── ReservoirsBI.xlsx └── WaterModule_ex.xlsx ├── Documents ├── Data_Organization.docx ├── Equations.docx ├── How_to_Compare_Scenarios.docx ├── How_to_Create_Conda_Environment.txt ├── How_to_Install_Solvers.docx ├── How_to_Install_WHATIF.docx ├── How_to_Spot_Common_Errors.docx ├── How_to_Use_WHATIF_visualize.docx ├── Install_ipopt_with_HSL.docx ├── Install_ipopt_with_HSL.pdf ├── WHATIF_py37.yml └── images │ ├── NexusSystemSustain0111_alpha.png │ ├── WHATIF_model.PNG │ ├── create_scenario_in_data_1.png │ ├── create_scenario_in_data_2.png │ ├── create_scenario_in_data_3.png │ ├── create_scenario_in_mergescenopt.png │ ├── create_scenario_in_options.png │ ├── create_scenario_in_parallelscen.png │ ├── create_scenario_in_resultfolder.png │ ├── create_scenario_in_scenariocompare.png │ ├── create_scenario_in_scenarios.png │ ├── create_scenario_in_sceneqwhatifmain.png │ ├── create_scenario_in_severalascen.png │ ├── download_whatif_github_1.png │ ├── example_case.png │ ├── installing_whatif_anaconda.png │ ├── installing_whatif_folder.png │ ├── installing_whatif_mainpy.png │ ├── installing_whatif_spyder.png │ └── using_whatif_visualize_powerbisnapshot.PNG ├── LICENSE.txt ├── README.md ├── Scenarios_to_compare.xlsx ├── WHATIF_main.py ├── WHATIF_montecarlo.py ├── WHATIF_scenario.py ├── WHATIF_scenario_mpc.py ├── WHATIF_scenario_to_powerBI.py ├── WHATIF_scenario_to_xlsx.py ├── WHATIF_visualize.pbix └── bin ├── data_collection.py ├── hydroeconomic_optimization.py ├── investment_planning.py ├── model_predictive_control.py ├── plot_results.py └── result_analysis.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/.gitignore -------------------------------------------------------------------------------- /Data/AgricultureModule_ex.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/AgricultureModule_ex.xlsx -------------------------------------------------------------------------------- /Data/CropMarketModule_ex.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/CropMarketModule_ex.xlsx -------------------------------------------------------------------------------- /Data/EnergyModule_ex.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/EnergyModule_ex.xlsx -------------------------------------------------------------------------------- /Data/InvestmentModule_ex.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/InvestmentModule_ex.xlsx -------------------------------------------------------------------------------- /Data/MainFile_ex.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/MainFile_ex.xlsx -------------------------------------------------------------------------------- /Data/Shapefiles/Catchments_WGS84.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /Data/Shapefiles/Catchments_WGS84.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Catchments_WGS84.dbf -------------------------------------------------------------------------------- /Data/Shapefiles/Catchments_WGS84.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Catchments_WGS84.json -------------------------------------------------------------------------------- /Data/Shapefiles/Catchments_WGS84.prj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Catchments_WGS84.prj -------------------------------------------------------------------------------- /Data/Shapefiles/Catchments_WGS84.qpj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Catchments_WGS84.qpj -------------------------------------------------------------------------------- /Data/Shapefiles/Catchments_WGS84.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Catchments_WGS84.shp -------------------------------------------------------------------------------- /Data/Shapefiles/Catchments_WGS84.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Catchments_WGS84.shx -------------------------------------------------------------------------------- /Data/Shapefiles/Countries_WGS84.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /Data/Shapefiles/Countries_WGS84.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Countries_WGS84.dbf -------------------------------------------------------------------------------- /Data/Shapefiles/Countries_WGS84.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Countries_WGS84.json -------------------------------------------------------------------------------- /Data/Shapefiles/Countries_WGS84.prj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Countries_WGS84.prj -------------------------------------------------------------------------------- /Data/Shapefiles/Countries_WGS84.qpj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Countries_WGS84.qpj -------------------------------------------------------------------------------- /Data/Shapefiles/Countries_WGS84.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Countries_WGS84.shp -------------------------------------------------------------------------------- /Data/Shapefiles/Countries_WGS84.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/Countries_WGS84.shx -------------------------------------------------------------------------------- /Data/Shapefiles/HydropowersBI.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/HydropowersBI.xlsx -------------------------------------------------------------------------------- /Data/Shapefiles/ReservoirsBI.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/Shapefiles/ReservoirsBI.xlsx -------------------------------------------------------------------------------- /Data/WaterModule_ex.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Data/WaterModule_ex.xlsx -------------------------------------------------------------------------------- /Documents/Data_Organization.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/Data_Organization.docx -------------------------------------------------------------------------------- /Documents/Equations.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/Equations.docx -------------------------------------------------------------------------------- /Documents/How_to_Compare_Scenarios.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/How_to_Compare_Scenarios.docx -------------------------------------------------------------------------------- /Documents/How_to_Create_Conda_Environment.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/How_to_Create_Conda_Environment.txt -------------------------------------------------------------------------------- /Documents/How_to_Install_Solvers.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/How_to_Install_Solvers.docx -------------------------------------------------------------------------------- /Documents/How_to_Install_WHATIF.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/How_to_Install_WHATIF.docx -------------------------------------------------------------------------------- /Documents/How_to_Spot_Common_Errors.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/How_to_Spot_Common_Errors.docx -------------------------------------------------------------------------------- /Documents/How_to_Use_WHATIF_visualize.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/How_to_Use_WHATIF_visualize.docx -------------------------------------------------------------------------------- /Documents/Install_ipopt_with_HSL.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/Install_ipopt_with_HSL.docx -------------------------------------------------------------------------------- /Documents/Install_ipopt_with_HSL.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/Install_ipopt_with_HSL.pdf -------------------------------------------------------------------------------- /Documents/WHATIF_py37.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/WHATIF_py37.yml -------------------------------------------------------------------------------- /Documents/images/NexusSystemSustain0111_alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/NexusSystemSustain0111_alpha.png -------------------------------------------------------------------------------- /Documents/images/WHATIF_model.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/WHATIF_model.PNG -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_data_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_data_1.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_data_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_data_2.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_data_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_data_3.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_mergescenopt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_mergescenopt.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_options.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_parallelscen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_parallelscen.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_resultfolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_resultfolder.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_scenariocompare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_scenariocompare.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_scenarios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_scenarios.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_sceneqwhatifmain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_sceneqwhatifmain.png -------------------------------------------------------------------------------- /Documents/images/create_scenario_in_severalascen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/create_scenario_in_severalascen.png -------------------------------------------------------------------------------- /Documents/images/download_whatif_github_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/download_whatif_github_1.png -------------------------------------------------------------------------------- /Documents/images/example_case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/example_case.png -------------------------------------------------------------------------------- /Documents/images/installing_whatif_anaconda.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/installing_whatif_anaconda.png -------------------------------------------------------------------------------- /Documents/images/installing_whatif_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/installing_whatif_folder.png -------------------------------------------------------------------------------- /Documents/images/installing_whatif_mainpy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/installing_whatif_mainpy.png -------------------------------------------------------------------------------- /Documents/images/installing_whatif_spyder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/installing_whatif_spyder.png -------------------------------------------------------------------------------- /Documents/images/using_whatif_visualize_powerbisnapshot.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Documents/images/using_whatif_visualize_powerbisnapshot.PNG -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/README.md -------------------------------------------------------------------------------- /Scenarios_to_compare.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/Scenarios_to_compare.xlsx -------------------------------------------------------------------------------- /WHATIF_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/WHATIF_main.py -------------------------------------------------------------------------------- /WHATIF_montecarlo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/WHATIF_montecarlo.py -------------------------------------------------------------------------------- /WHATIF_scenario.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/WHATIF_scenario.py -------------------------------------------------------------------------------- /WHATIF_scenario_mpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/WHATIF_scenario_mpc.py -------------------------------------------------------------------------------- /WHATIF_scenario_to_powerBI.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/WHATIF_scenario_to_powerBI.py -------------------------------------------------------------------------------- /WHATIF_scenario_to_xlsx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/WHATIF_scenario_to_xlsx.py -------------------------------------------------------------------------------- /WHATIF_visualize.pbix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/WHATIF_visualize.pbix -------------------------------------------------------------------------------- /bin/data_collection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/bin/data_collection.py -------------------------------------------------------------------------------- /bin/hydroeconomic_optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/bin/hydroeconomic_optimization.py -------------------------------------------------------------------------------- /bin/investment_planning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/bin/investment_planning.py -------------------------------------------------------------------------------- /bin/model_predictive_control.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/bin/model_predictive_control.py -------------------------------------------------------------------------------- /bin/plot_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/bin/plot_results.py -------------------------------------------------------------------------------- /bin/result_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RaphaelPB/WHAT-IF/HEAD/bin/result_analysis.py --------------------------------------------------------------------------------