Skip to content

A library of rainfall-runoff models for watershed modelling.

License

Notifications You must be signed in to change notification settings

petershintech/RRModels.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RRModels

Build Status

A collection of rainfall-runoff models. The package provides Linear Bucket, GR4J and other models.

Installation

The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:

pkg> add RRModels

If you want to install the package directly from its github development site,

pkg> add http://github.com/petershintech/RRModels.jl

And load the package using the command:

using RRModels

How to run a rainfall-runoff simulation?

julia> data = dataset("gr4j_sample")
julia> model = GR4J(350.0, 0.0, 40.0, 0.5, 0.0, 0.0)
GR4J Model:
X1 = 350.0
X2 = 0.0
X3 = 40.0
X4 = 0.5
Sp = 0.0
Sr = 0.0
julia> Q, AET = simulate(model, data.P, data.PET)

Disclaimer

About

A library of rainfall-runoff models for watershed modelling.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages