#Introduction This is the repository for an R package that provides code to aggregate responses to the Power Curve Working Group "PCWG_Share_01" exercise. More details of the exercise can be found at http://www.pcwg.org and http://www.pcwg.org/PCWG-Share-01/PCWG-Share-01-Definition-Document.pdf.
#Requirements
- A working installation of R. This can be obtained from e.g. http://r-project.org.
- A GUI for R. R-studio is strongly recommended. See http://rstudio.com.
- Two or more data files from the Power Curve Working Group Tool, prepared for PCWG_Share_01
#Download Click on the "Download ZIP" button on the lower right of this page.
- Create a directory somewhere and place the contents of the zip file into that directory (let's call this
$root
). It is recommended that there be nothing else in the directory. - Load the PWCG tool data files into a 'data' directory in
$root
. You can add directories for different sites, etc. - Open
PCWG_share_01_main.rmd
in Rstudio. - Modify
project.root
to be$root
. - Decide if you intend the results to be public. If you do, set
data.public
toTRUE
. This will prevent any details of the individual data sets being shown. Ifdata.public
isFALSE
, all results will be printed. - Decide if you want to reanalyze raw data and set
data.analyze.raw
. This should beTRUE
the first time you run the code. Afterwards you can set this toFALSE
to just generate plots. - Run
PCWG_share_01_main.rmd
in Rstudio. Either: - hit
chunks -> run all
to run all of the R code and not generate any output PDF or HTML files. - hit
knit HTML
to generate the html results file; this will create an HTML file but will not generate any data in memory - hit
knit PDF
to generate the html results file; this will create an HTML file but will not generate any data in memory
#Documentation Documentation is provided in several forms:
- within
PCWG_share_01_main.rmd
- within
PCWG_share_01_main.pdf
, which will also contain the results when run usingknitr
. - within
PCWG_share_01_main.html
, which will also contain the results when run usingknitr
.
#Reporting issues and errors Please use the issue-tracker at https://github.com/AndyClifton/PCWG-Share-01/issues to report issues.
#Wiki Please use the wiki at https://github.com/AndyClifton/PCWG-Share-01/wiki as you feel fit.
#Comments This software is provided as is, with no guarantees.
#Recent changes 12.08.2015 Added logic to pick up data from specific versions. Plots modified to split out different corrections / regions from each other. 11.30.2015 First commit.
#Code Maintainers
- Andy Clifton (National Renewable Energy Laboratory)
#Project Contributors
- Peter Stuart, RES