vwf

Virtual Wind Farm Model

https://github.com/renewables-ninja/vwf

Science Score: 31.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.4%) to scientific vocabulary

Keywords

electricity energy ninja wind
Last synced: 6 months ago · JSON representation ·

Repository

Virtual Wind Farm Model

Basic Info
  • Host: GitHub
  • Owner: renewables-ninja
  • License: bsd-3-clause
  • Language: R
  • Default Branch: master
  • Size: 5.19 MB
Statistics
  • Stars: 44
  • Watchers: 9
  • Forks: 19
  • Open Issues: 1
  • Releases: 0
Topics
electricity energy ninja wind
Created over 8 years ago · Last pushed about 8 years ago
Metadata Files
Readme License Citation

README.md

The Virtual Wind Farm (VWF) model

vwf is an R project to simulate the power output from wind farms based on NASA weather data. The wind energy simulations on Renewables.ninja are based on the VWF model.

REQUIREMENTS

An unsound mind and plenty of alcohol.

R or MRO version 3+

Required libraries: * ncdf4 * lubridate * rworldmap * doParallel * data.table * akima * MASS * fields

SETUP

Download wind speed data

First, download the necessary input data from NASA's MERRA-2 reanalysis, specifically the SLV tables (M2T1NXSLV).

The easiest (and most wasteful) option is to use the 'Online archive' link and download the complete files (approx 400 MB per day). Alternatively you could use the various subsetting tools available, selecting the DISPH, U2M, V2M, U10M, V10M, U50M and V50M variables, and whatever region and time period you are interested in. Good luck, they rarely function correctly!

Set up the VWF model

With the required libraries installed, the VWF code should hopefully just require you to edit the paths to the include files and your data files. These are dotted all over the place, so you're best to search for ":/" in all the files to check you have found all paths.

Process wind speed data

Performing the wind speed extrapolation (working out wind speed at the specific height of your turbine) is very computationally expensive, so the VWF calculation engine uses pre-compiled wind speed profile data, in the form of the A and z parameters of the logarithmic profile law.

First, you need to run one of the 1.COMPILE.WIND.PROFILE.R files, editing the paths to your input, template and output files. On a standard desktop, this takes around a week per year of input data. I said it was computationally expensive. Alternatively, perhaps we could collaborate on some fun research together?

This process should yield a set of NetCDF files, one per day, containing the wind profile parameters for each location and hour of the day. These are about 30 MB each, so around 10 GB per year.

USAGE INSTRUCTIONS

First, run either 1.COMPILE.WIND.PROFILE (merra1).R or 1.COMPILE.WIND.PROFILE (merra2).R to generate your wind speed profiles, as detailed above.

Second, create a simulation input file describing the wind farms you wish to simulate. An example covering 39 wind farms in Switzerland is provided in data\INPUT_CH.CSV and data\INPUT_CH.R

Third, decide on the model parameters you wish to use. There are various nobs and switches to tweak, with a set of 'safe' defaults listed in data\BASE.OPTIONS.R. Some of these alter the calculation engine (such as how much smoothing to apply to power curves, or how to do the bias correction of wind speeds). Some control what output you receive (do you want to save corrected wind speeds, monthly average farm output, output aggregated by turbine model, by country, etc.). Hopefully there are enough comments in that file to help you along.

Finally, setup the model to run. Change the path names to your specific options files in 2.CALCULATE.R, and off you go. You may find this is also quite slow to run (a few hours to simulate 100 farms over 30 years perhaps). As it runs on multiple cores in parallel it isn't easy to provide a progress indicator in the main code (at least, I don't know how to). So, you can optionally run 3.PROGRESS.MONITOR.R in another R session, it will paint pretty pictures showing how much you have simulated...

LICENSE

BSD 3-Clause License Copyright (C) 2012-2017 Iain Staffell All rights reserved.

This excludes all contents of the power_curves folder which remains the property of the respective copyright holders.

See LICENSE for more detail

CREDITS & CONTACT

The VWF code is developed by Iain Staffell. You can try emailing me at i.staffell@imperial.ac.uk

VWF is part of the Renewables.ninja project, developed by Stefan Pfenninger and Iain Staffell. Use the contacts page there.

Citation

I Staffell and S Pfenninger, 2016. Using bias-corrected reanalysis to simulate current and future wind power output. Energy, 114, 1224–1239. doi: 10.1016/j.energy.2016.08.068

Owner

  • Name: Renewables.ninja
  • Login: renewables-ninja
  • Kind: organization

Renewable energy simulations, ninja style.

Citation (CITATION)

To reference VWF in publications, please cite the following paper:

I Staffell and S Pfenninger, 2016.  Using bias-corrected reanalysis to simulate current and future wind power output.  Energy, 114, 1224–1239.  https://dx.doi.org/10.1016/j.energy.2016.08.068



To reference the Renewables.ninja model (i.e. if you use the renewables.ninja website) please cite both of the following papers:

S Pfenninger and I Staffell, 2016. Long-term patterns of European PV output using 30 years of validated hourly reanalysis and satellite data. Energy, 114, 1251-1265.  https://dx.doi.org/10.1016/j.energy.2016.08.060

I Staffell and S Pfenninger, 2016.  Using bias-corrected reanalysis to simulate current and future wind power output.  Energy, 114, 1224–1239.  https://dx.doi.org/10.1016/j.energy.2016.08.068)

GitHub Events

Total
  • Watch event: 5
  • Fork event: 1
Last Year
  • Watch event: 5
  • Fork event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 4
  • Total Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Iain Staffell 3****l 4

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • infinity77 (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels