Package: solaR2 0.10

Francisco Delgado-López

solaR2: Radiation and Photovoltaic Systems

Provides tools for calculating solar geometry, solar radiation on horizontal and inclined planes, and simulating the performance of various photovoltaic (PV) systems. Supports daily and intradaily irradiation data, enabling detailed analysis of grid-connected and water-pumping PV systems, including shading effects and solar angle calculations.

Authors:Oscar Perpiñán-Lamigueiro [aut], Francisco Delgado-López [aut, cre]

solaR2_0.10.tar.gz
solaR2_0.10.zip(r-4.5)solaR2_0.10.zip(r-4.4)solaR2_0.10.zip(r-4.3)
solaR2_0.10.tgz(r-4.4-any)solaR2_0.10.tgz(r-4.3-any)
solaR2_0.10.tar.gz(r-4.5-noble)solaR2_0.10.tar.gz(r-4.4-noble)
solaR2_0.10.tgz(r-4.4-emscripten)solaR2_0.10.tgz(r-4.3-emscripten)
solaR2.pdf |solaR2.html
solaR2/json (API)

# Install 'solaR2' in R:
install.packages('solaR2', repos = c('https://solarization.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/solarization/solar2/issues

Datasets:
  • Ktlim - Markov Transition Matrices for the Aguiar etal. procedure
  • Ktmtm - Markov Transition Matrices for the Aguiar etal. procedure
  • MTM - Markov Transition Matrices for the Aguiar etal. procedure
  • est_SIAR - Data on the stations that make up the SIAR network
  • helios - Daily irradiation and ambient temperature from the Helios-IES database
  • prodEx - Productivity of a set of PV systems of a PV plant.
  • pumpCoef - Coefficients of centrifugal pumps.

On CRAN:

4.00 score 5 scripts 185 downloads 89 exports 11 dependencies

Last updated 2 months agofrom:f768733ef4. Checks:OK: 3 NOTE: 3 ERROR: 1. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 16 2024
R-4.5-winOKNov 16 2024
R-4.5-linuxOKNov 16 2024
R-4.4-winERRORNov 16 2024
R-4.4-macNOTENov 16 2024
R-4.3-winNOTENov 16 2024
R-4.3-macNOTENov 16 2024

Exports:as.data.tableDas.data.tableIas.data.tableMas.data.tableYazimuthbo0dcalcG0calcGefcalcShdcalcSolchar2diffcomparecompareLossesd2hd2rdeclinationdiff2Hoursdomdoydstdt2MeteoeccentricityeotfBTdfBTifCompDfCompIFdKtBRLFdKtCLIMEDdFdKtCLIMEDhFdKtCPRFdKtEKDdFdKtEKDhFdKtLJFdKtPagefInclinfProdfPumpfSolDfSolIfSombrafSombra2XfSombra6fSombraEstfSombraHorizfTempfThetagetDatagetG0getLath2dh2rhmsHQCurveindexDindexIKtdKtiKtmlevelplotlocal2SolarlonHHlossesmergesolaRMeteod2MeteomMeteoi2MeteodNmgPVPSoptimShdP2EprodGCPVprodPVPSr2dr2hr2secreadBDdreadBDireadG0dmreadSIARsample2HoursshadeplotshowsolaR.themesunHoursunrisetruncDaywriteSolarxyplotzenithzoo2Meteo

Dependencies:data.tabledeldirinterpjpeglatticelatticeExtraMASSpngRColorBrewerRcppRcppEigen

Readme and manuals

Help Manual

Help pageTopics
Solar Radiation and Photovoltaic Systems with R version 2solaR2-package solaR2
Apparent movement of the Sun from the EarthcalcSol
Irradiation and irradiance on the horizontal plane.calcG0
Irradiation and irradiance on the generator plane.calcGef
Performance of a grid connected PV system.prodGCPV
Performance of a PV pumping systemprodPVPS
Shadows on PV systems.calcShd
Shadows calculation for a set of distances between elements of a PV grid connected plant.optimShd
Transformation of intradaily meteorological data into daily and daily into monthly data.Meteod2Meteom Meteoi2Meteod
Daily or intradaily values of global horizontal irradiation and ambient temperature from a local file or a data.frame.dt2Meteo readBDd readBDi zoo2Meteo
Monthly mean values of global horizontal irradiation.readG0dm
Meteorological data from the SIAR network.readSIAR
Class "Meteo"Meteo-class show,Meteo-method
Class "Sol": Apparent movement of the Sun from the Earthshow,Sol-method Sol-class
Class "G0": irradiation and irradiance on the horizontal plane.G0-class show,G0-method
Class "Gef": irradiation and irradiance on the generator plane.Gef-class show,Gef-method
Class "ProdGCPV": performance of a grid connected PV system.ProdGCPV-class show,ProdGCPV-method
Class "ProdPVPS": performance of a PV pumping system.ProdPVPS-class show,ProdPVPS-method
Class "Shade": shadows in a PV system.as.data.frame,Shade-method Shade-class show,Shade-method
Correlations between the fraction of diffuse irradiation and the clearness index.corrFdKt FdKtBRL FdKtCLIMEDd FdKtCLIMEDh FdKtCPR FdKtEKDd FdKtEKDh FdKtLJ FdKtPage Ktd Kti Ktm
Daily time basefBTd
Intra-daily time basefBTi
Components of daily global solar irradiation on a horizontal surfacefCompD
Calculation of solar irradiance on a horizontal surfacefCompI
Solar irradiance on an inclined surfacefInclin
Performance of a PV systemfProd
Performance of a centrifugal pumpfPump
Daily apparent movement of the Sun from the EarthfSolD
Instantaneous apparent movement of the Sun from the EarthfSolI
Shadows on PV systemsfSombra fSombra2X fSombra6 fSombraEst fSombraHoriz
Intradaily evolution of ambient temperaturefTemp
Angle of incidence of solar irradiation on a inclined surfacefTheta
H-Q curves of a centrifugal pumpHQCurve
Local time, mean solar time and UTC time zone.local2Solar lonHH
Nomogram of a photovoltaic pumping systemNmgPVPS
Small utilities for difftime objects.char2diff diff2Hours P2E sample2Hours
Solar anglesazimuth bo0d declination eccentricity eot sunHour sunrise zenith
Conversion between angle units.d2h d2r h2d h2r r2d r2h r2sec
Utilities for time indexes.dom doy dst hms truncDay
Methods for Function as.data.tableDas.data.tableD as.data.tableD,G0-method as.data.tableD,Gef-method as.data.tableD,ProdGCPV-method as.data.tableD,ProdPVPS-method as.data.tableD,Sol-method as.data.tableD-methods
Methods for Function as.data.tableIas.data.tableI as.data.tableI,G0-method as.data.tableI,Gef-method as.data.tableI,ProdGCPV-method as.data.tableI,ProdPVPS-method as.data.tableI,Sol-method as.data.tableI-methods
Methods for Function as.data.tableMas.data.tableM as.data.tableM,G0-method as.data.tableM,Gef-method as.data.tableM,ProdGCPV-method as.data.tableM,ProdPVPS-method as.data.tableM-methods
Methods for Function as.data.tableYas.data.tableY as.data.tableY,G0-method as.data.tableY,Gef-method as.data.tableY,ProdGCPV-method as.data.tableY,ProdPVPS-method as.data.tableY-methods
Compare G0, Gef and ProdGCPV objectscompare compare,G0-method compare,Gef-method compare,ProdGCPV-method compare-methods
Methods for function getDatagetData getData,Meteo-method getData-methods
Methods for function getG0getG0 getG0,Meteo-method getG0-methods
Methods for Function getLatgetLat getLat,G0-method getLat,Meteo-method getLat,Sol-method getLat-methods
Methods for Function indexDindexD indexD,G0-method indexD,Meteo-method indexD,Sol-method indexD-methods
Methods for Function indexIindexI indexI,Sol-method indexI-methods
Methods for function levelplot.levelplot,formula,G0-method levelplot,formula,Meteo-method levelplot,formula,Sol-method levelplot,formula,zoo-method levelplot-methods
Losses of a GCPV systemcompareLosses compareLosses,ProdGCPV-method compareLosses-methods losses losses,Gef-method losses,ProdGCPV-method losses-methods
Merge solaR objectsmergesolaR mergesolaR,G0-method mergesolaR,Gef-method mergesolaR,Meteo-method mergesolaR,ProdGCPV-method mergesolaR,ProdPVPS-method mergesolaR-methods
Methods for Function shadeplotshadeplot shadeplot,Shade-method shadeplot-methods
Methods for extracting a time windowwindow window-methods [,G0,ANY,ANY-method [,G0-method [,Gef,ANY,ANY-method [,Gef-method [,Meteo,ANY,ANY-method [,Meteo-method [,ProdGCPV,ANY,ANY-method [,ProdGCPV-method [,ProdPVPS,ANY,ANY-method [,ProdPVPS-method [,Sol,ANY,ANY-method [,Sol-method
Exporter of solaR resultswriteSolar writeSolar,Sol-method writeSolar-methods
Methods for function xyplot in Package `solaR'xyplot,data.table,missing-method xyplot,formula,G0-method xyplot,formula,Meteo-method xyplot,formula,Shade-method xyplot,formula,Sol-method xyplot,G0,missing-method xyplot,Meteo,missing-method xyplot,ProdGCPV,missing-method xyplot,ProdPVPS,missing-method xyplot-methods
Markov Transition Matrices for the Aguiar etal. procedureaguiar Ktlim Ktmtm MTM
Daily irradiation and ambient temperature from the Helios-IES databasehelios
Productivity of a set of PV systems of a PV plant.prodEx
Coefficients of centrifugal pumps.pumpCoef
Data on the stations that make up the SIAR networkest_SIAR
solaR themesolaR.theme