Skip to content

Repository with Periodic Autorregressive models

Notifications You must be signed in to change notification settings

psrenergy/PAR.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAR.jl

Repository with Periodic Autorregressive models.

The main goal of the repository is to implement Periodic Autorregressive (PAR) models and some simple variations of the model. The full methodology of PAR models can be found in this article (Maceira, Maria & Penna, Débora & Damazio, Jorge. (2006). Geração de Cenários Sintéticos de Energia e Vazão para o Planejamento da Operação Energética. Cadernos do IME : Série Estatística. 21. 10.12957/cadest.2006.15760.) a link to the article's pdf can be found here (Available only in Portuguese.)

To add the package you can do:

add https://github.com/psrenergy/PAR.jl.git

and to run an example you can do:

using PAR
funil_grande = include(joinpath(pkgdir(PAR), "test", "data", "funil_grande.jl"))
batalha = include(joinpath(pkgdir(PAR), "test", "data", "batalha.jl"))

n_stages = 12
p_lim = 6
par_1 = PARp(funil_grande, n_stages, p_lim; information_criteria = "aic");
par_2 = PARp(batalha, n_stages, p_lim; information_criteria = "aicc");
fit_par!(par_1);
fit_par!(par_2);

steps_ahead = 100
n_scenarios = 1000
scen = simulate_par([par_1; par_2], steps_ahead, n_scenarios)

About

Repository with Periodic Autorregressive models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published