simpest¶

simpest is a Python package for coupled crop growth and plant disease/pest simulation. It runs a SIMPLACE/Lintul5 crop growth scenario, converts the daily crop trajectory into the inputs a disease and fungicide simulation model expects, and runs that model — optionally calibrating selected parameters against field reference observations — to produce daily and seasonal outputs. The disease/pest simulation logic is inspired by the FraNchEstYN model.
The modelling pipeline¶
- Crop growth (SIMPLACE).
simpest.models.simplaceconfigures and runs a SIMPLACE/Lintul5 scenario and reads back the daily trajectory (light interception, above-ground biomass, yield, and thermal time). - Format conversion. Helper functions in the same module reshape the SIMPLACE weather, management, and crop-model outputs into the tables the disease/fungicide simulation consumes.
- Disease, pest, and fungicide simulation.
simpest.models.franchestyndrives an hourly infection model and a daily SEIR (susceptible → latent → sporulating → dead) tissue-progression model, applies any scheduled fungicide treatments, and couples the epidemic back onto the crop through four damage mechanisms — light stealers, RUE reducers, assimilate sappers, and senescence accelerators. - Calibration (optional). A multi-start Nelder–Mead search
(
fr_optimizer) fits selected crop and/or disease parameters to reference observations by minimising RMSE. - Outputs. Daily simulation records and per-season summaries (AUDPC, yield loss, peak severity, weather aggregates) are returned as DataFrame-ready records and can be written to CSV.
Package description¶
- Runs SIMPLACE scenarios and reads the resulting daily crop trajectory.
- Converts SIMPLACE outputs to the format expected by the disease/fungicide simulation.
- Runs the crop, disease, and fungicide simulation steps.
- Calibrates selected parameters using multi-start Nelder–Mead optimization.
- Exports daily simulation and seasonal summary outputs.
Core modules are available under simpest/models.
Directory tree¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |
Installation¶
1 | |
For development installs, use editable mode:
1 | |
See Installation for the SIMPLACE/JVM prerequisites needed for the crop growth stage.
Quickstart¶
The disease/fungicide simulation stage takes plain pandas DataFrames, so it can be exercised on its own once weather, management, crop-model, and reference data are available (as CSVs or otherwise):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
See the example notebooks at examples/1_Run Simpest.ipynb and examples/2_Plot.ipynb for running SIMPLACE first and converting its output into the DataFrames above.
Quick Links¶
Project¶
- License: MIT
- Source: https://github.com/KaziJahidurRahaman/simpest
- Documentation: https://KaziJahidurRahaman.github.io/simpest