- Beniamino Sartini
- Email: beniamino.sartini2@unibo.it
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.
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")
- 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.
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
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)
This package is licensed under the GPL-3 License.
If you would like to contribute to solarr, please fork the repository and submit a pull request.
For any issues or feature requests, please open an issue on the GitHub repository.