Learn R Programming

⚠️There's a newer version (0.5-1) of this package.Take me there.

hydroPSO (version 0.3-1-1)

Particle Swarm Optimisation, with focus on Environmental Models

Description

This package implements a state-of-the-art version of the Particle Swarm Optimisation (PSO) algorithm (SPSO-2011 and SPSO-2007 capable). hydroPSO can be used as a replacement of the 'optim' R function for (global) optimization of non-smooth and non-linear functions. However, the main focus of hydroPSO is the calibration of environmental and other real-world models that need to be executed from the system console. hydroPSO is model-independent, allowing the user to easily interface any computer simulation model with the calibration engine (PSO). hydroPSO communicates with the model through the model's own input and output files, without requiring access to the model's source code. Several PSO variants and controlling options are included to fine-tune the performance of the calibration engine to different calibration problems. An advanced sensitivity analysis function together with user-friendly plotting summaries facilitate the interpretation and assessment of the calibration results. hydroPSO is parallel-capable, to alleviate the computational burden of complex models with "long" execution time. Bugs reports/comments/questions are very welcomed (in English, Spanish or Italian).

Copy Link

Version

Install

install.packages('hydroPSO')

Monthly Downloads

35

Version

0.3-1-1

License

GPL (>= 2)

Maintainer

Mauricio ZambranoBigiarini

Last Published

May 10th, 2013

Functions in hydroPSO (0.3-1-1)

verification

verification
ReadPlot_particles

Reading/Plotting the 'Particles.txt' output file
lhoat

Latin-Hypercube One-factor-At-a-Time
hydroPSO

Enhanced Particle Swarm Optimisation algorithm
ReadPlot_GofPerParticle

plotParticlesGof
hydromod

hydromod - Definition and execution of the model to be calibrated/optimised
plot_ParamsPerIter

Plot Parameter Values against the Iteration Number
read_best

Reading the 'BestParameterSet.txt' output file
test_functions

Test Functions for Global Optimisation
hydroPSO-package

A flexible and model-independent Particle Swarm Optimisation (PSO) package for calibration/optimisation of environmental models
wquantile

Weighted Quantiles
plot_NparOF

N 2-dimensional plots of Parameter Values against the Objective Function
params2ecdf

Parameter Values -> Empirical CDFs
hydroPSO2pest

Export hydroPSO input files to PEST
pest2hydroPSO

Import PEST input files to hydroPSO
plot_2parOF

plot_2parOF
quant2ecdf

Simulated Values -> Empirical CDFs
ReadPlot_convergence

Reading/Plotting the values of different parameter sets
hydroPSO-internal

Internal hydroPSO objects
ReadPlot_params

Reading/Plotting the values of different parameter sets
ReadPlot_out

Reading/Plotting the 'Model_out.txt' output file of hydroPSO
ReadPlot_results

Reading/Plotting all the output files generated by hydroPSO