Learn R Programming

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

hydroPSO (version 0.3-2)

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

21

Version

0.3-2

License

GPL (>= 2)

Maintainer

Mauricio ZambranoBigiarini

Last Published

May 29th, 2013

Functions in hydroPSO (0.3-2)

params2ecdf

Parameter Values -> Empirical CDFs
ReadPlot_particles

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

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

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

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

Reading the 'BestParameterSet.txt' output file
plot_ParamsPerIter

Plot Parameter Values against the Iteration Number
verification

verification
wquantile

Weighted Quantiles
lhoat

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

plot_2parOF
ReadPlot_convergence

Reading/Plotting the values of different parameter sets
test_functions

Test Functions for Global Optimisation
ReadPlot_results

Reading/Plotting all the output files generated by hydroPSO
hydroPSO

Enhanced Particle Swarm Optimisation algorithm
pest2hydroPSO

Import PEST input files to hydroPSO
hydroPSO2pest

Export hydroPSO input files to PEST
ReadPlot_GofPerParticle

plotParticlesGof
hydroPSO-internal

Internal hydroPSO objects
hydromod

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

Reading/Plotting the values of different parameter sets
quant2ecdf

Simulated Values -> Empirical CDFs