Home

Awesome

hydroPSO

Research software impact CRAN License monthly total Build Status dependencies

hydroPSO is a global optimisation R package implementing a state-of-the-art version of the Particle Swarm Optimisation (PSO) algorithm (SPSO-2011 and SPSO-2007 capable), with a special focus on the calibration of environmental models.

hydroPSO is parallel-capable, to alleviate the computational burden of complex models.

hydroPSO is model-independent, allowing the user to easily interface any model code with the calibration engine (PSO), and includes a series of controlling options and PSO variants to fine-tune the performance of the optimisation engine. An advanced sensitivity analysis function together with user-friendly plotting summaries facilitate the interpretation and assessment of the calibration results.

Bugs / comments / questions / collaboration of any kind are very welcomed.

Articles using hydroPSO

YearJournalModel(s) / ApplicationArticle
2013EMSSWAT-2005, MODFLOW-2005A model-independent Particle Swarm Optimisation software for model calibration
2013IEEEBenchmark functionsStandard Particle Swarm Optimisation 2011 at CEC-2013: A baseline for future PSO improvements
2013JoHLISFLOODHydrological evaluation of satellite-based rainfall estimates over the Volta and Baro-Akobo Basin
2014JCHMODFLOW2005-MT3DMSParticle Swarm Optimization for inverse modeling of solute transport in fractured gneiss aquifer
2014JRSESWATSWAT model parameter calibration and uncertainty analysis using the hydroPSO R package in Nzoia Basin, Kenya
2014GMDWALRUSThe Wageningen Lowland Runoff Simulator (WALRUS): a lumped rainfall-runoff model for catchments with shallow groundwater
2014HESSWALRUSThe Wageningen Lowland Runoff Simulator (WALRUS): application to the Hupsel Brook catchment and the Cabauw polder
2014HPTravel time distributionsConsequences of mixing assumptions for time‐variable travel time distributions
2015HPHBVA coupled hydrology-biogeochemistry model to simulate dissolved organic carbon exports from a permafrost‐influenced catchment
2015HESSLISFLOODGlobal warming increases the frequency of river floods in Europe
2015HESSLISFLOODA pan-African medium-range ensemble flood forecast system
2015EEMARS-basedHybrid PSO-MARS-based model for forecasting a successful growth cycle of the Spirulina platensis from experimental data in open raceway ponds
2015MJMalaria transmissionPredicting the impact of border control on malaria transmission: a simulated focal screen and treat campaign
2016SCStock MarketNatural combination to trade in the stock market
2016EMSSWAT-VSACoupling the short-term global forecast system weather data with a variable source area hydrologic model
2016JoH-RSLISFLOODAssessing the role of uncertain precipitation estimates on the robustness of hydrological model parameters under highly variable climate conditions
2016NHESSLISFLOODModelling the socio-economic impact of river floods in Europe
2017EPWALRUS-paddy+PDPHydrology and phosphorus transport simulation in a lowland polder by a coupled modeling system
2017HPSWATThe value of remotely sensed surface soil moisture for model calibration using SWAT
2017IS:CLSGeneticsReconstructing Genetic Regulatory Networks Using Two-Step Algorithms with the Differential Equation Models of Neural Networks
2017Bioener.EPICThe greenhouse gas intensity and potential biofuel production capacity of maize stover harvest in the US Midwest
2017Sustain.SWAT, GSWATDevelopment of an Evapotranspiration Data Assimilation Technique for Streamflow Estimates: A Case Study in a Semi-Arid Region
2017CSRClustering colorsClustering colors
2017PLoS ONEPartitioning of color spaceDoes optimal partitioning of color space account for universal color categorization?
2017HESSIsotope analysisPesticide fate on catchment scale: conceptual modelling of stream CSIA data
2017HESS (in review)Dissolved organic carbonHydrological control of dissolved organic carbon dynamics in a rehabilitated Sphagnum-dominated peatland: a water-table based modelling approach
2018Antrop.WALRUSHydrologic impacts of changing land use and climate in the Veneto lowlands of Italy
2018JoHSoil moisture model (in R)Can next-generation soil data products improve soil moisture modelling at the continental scale? An assessment using a new microclimate package for the R programming environment
2018AWMSWATAssessing the impact of the MRBI program in a data limited Arkansas watershed using the SWAT model
2018EMAAir qualityAir Quality Modeling Using the PSO-SVM-Based Approach, MLP Neural Network, and M5 Model Tree in the Metropolitan Area of Oviedo (Northern Spain)

Installation

Installing the latest stable version from CRAN:

install.packages("hydroPSO")

Alternatively, you can also try the under-development version from Github:

if (!require(devtools)) install.packages("devtools")
library(devtools)
install_github("hzambran/hydroPSO")

Reporting bugs, requesting new features

If you find an error in some function, or want to report a typo in the documentation, or to request a new feature (and wish it be implemented :) you can do it here

Citation

citation("hydroPSO")

To cite hydroPSO in publications use:

Zambrano-Bigiarini, M. and Rojas, R. (2013). A model-independent Particle Swarm Optimisation software for model calibration, Environmental Modelling & Software, 43, 5-25, doi:10.1016/j.envsoft.2013.01.004.

Zambrano-Bigiarini, M. and Rojas, R. (2018). hydroPSO: Particle Swarm Optimisation, with Focus on Environmental Models. R package version 0.4-1. URL https://cran.r-project.org/package=hydroPSO. DOI:10.5281/zenodo.1287350.

BibTeX entries for LaTeX users are

@Article{Zambrano-BigiariniRojas2013-hydroPSO_article, title = {A model-independent Particle Swarm Optimisation software for model calibration}, journal = {Environmental Modelling & Software}, author = {Zambrano-Bigiarini, M. and Rojas, R.}, volume = {43}, pages = {5-25}, year = {2013}, doi = {10.1016/j.envsoft.2013.01.004}, url = {https://doi.org/10.1016/j.envsoft.2013.01.004}, }

@Manual{Zambrano-BigiariniRojas-hydroPSO_pkg, title = {hydroPSO: Particle Swarm Optimisation, with Focus on Environmental Models}, author = {Mauricio Zambrano-Bigiarini and Rodrigo Rojas}, year = {2018}, note = {R package version 0.4-0. doi:10.5281/zenodo.1287350}, url = {https://CRAN.R-project.org/package=hydroPSO},

Vignettes

  1. Here you can find a vignette showing how to use hydroPSO to calibrate parameters of the GR4J hydrological model, which belongs to the airGR family of models.

  2. Here you can find a vignette showing how to use hydroPSO to calibrate parameters of TUWmodel.

  3. Here you can find a vignette showing how to use hydroPSO to calibrate parameters of SWAT-2005 and MODFLOW-2005.A similar approach can be used to calibrate SWAT-2012 or other models that need to be run from the system console.

    • The file MF2005.zip, with all the necessary files to run the MODFLOW-2005 examples in the vignette, contains 3 Windows binary files: mf2005.exe, preproc.exe and zonbud_hydroPSO.exe. These binary files are distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. In no event shall the authors be liable for any CLAIM, DAMAGES or other LIABILITY, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

    • The file SWAT2005.zip , with all the necessary files to run the SWAT-2005 examples in the vignette, contains 1 Windows binary file: swat2005.exe and 1 UNIX binary file: swat2005.out. Those binary files are distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. In no event shall the authors be liable for any CLAIM, DAMAGES or other LIABILITY, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

Related Material

See Also

Feedback

Give us your opinion !.