a simulation tool base on python code executing aquacrop-plugin exeutable
- Windows Platform for .exe executing
- We highly recommend anaconda as python platfrom toolkit
- Python3.6
We had trid using wine to execute AquaCrop_plugin, But it stuck with prompt windows. Therefore, We suggest install Virtual Machine ( Oracle Virtual Box ... etc ) with Windows environment to execute our codes
If you need a lightweight developing environment for windows virtual mahcine, checkout this
- Open bin/aquacrop_v5_0/AquaCrop.exe and set up the simulation
- Climate data, Crop, Management
- Select the Irrigation to specific Irrigation Scheduling
- Change directory to cd python_src/
- Run python main.py to conduct the Irrigation Method Design by AquaCrop Simulation
- One direction water flow ( Only vertical )
- Daily timestep simulation
- No interactive API but execuatable
Due to the AquaCrop and AquaCrop-Plugin is close source program. User can not directly control the simulation process. The main.py program have to repeatly check [.pro name]PROday.out file. If the condition of [.pro name]PROday.out file triggers irrigation event on specific date, the AquaCrop must to re-execute the whole simulation.
The reason is that AquaCrop simulator does not generate middle status then it can not simulate from middle between first day and last day.