Skip to content

beniamino98/solarr

Repository files navigation

solarr

Author

Overview

solarr is an R package designed for implementing stochastic models and option pricing using solar radiation data. This package provides a range of tools and functions to analyze solar radiation, forecast its behavior, and evaluate options based on solar data.

Installation

You can install the solarr package from GitHub using the following command:

# Install devtools if you haven't already
install.packages("devtools")

# Install solarr from GitHub
devtools::install_github("beniamino98/solarr")

Features

  • Implementation of stochastic models for solar radiation.
  • Option pricing tools specifically designed for solar data.
  • Functions for seasonal adjustments and clear sky model estimations.
  • Various statistical functions to analyze solar radiation data.

Dependencies

The solarr package depends on the following R packages:

  • R (>= 3.5.0)
  • ggplot2
  • np
  • dplyr (>= 1.1.3)
  • mclust

Additionally, it imports the following packages:

  • assertive (>= 0.3-6)
  • stringr (>= 1.5.0)
  • rugarch (>= 1.4.1)
  • purrr (>= 1.0.2)
  • tidyr (>= 1.2.0)
  • lubridate (>= 1.8.0)
  • nortest
  • broom
  • formula.tools

Examples

Here's a simple example of how to use the solarr package:

# Example of control for seasonal clear sky model
control <- control_seasonalClearsky(method = "II")
# Fit the model 
model <- seasonalClearsky$new()
model$fit(x, date, lat, clearsky)
# Predict 
predictions <- model$predict(n)

License

This package is licensed under the GPL-3 License.

Contributing

If you would like to contribute to solarr, please fork the repository and submit a pull request.

Issues

For any issues or feature requests, please open an issue on the GitHub repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages