Giter Club home page Giter Club logo

farms's Introduction

Welcome to the Fast All-sky Radiation Model for Solar applications (FARMS)!

https://codecov.io/gh/nrel/farms/branch/master/graph/badge.svg?token=WQ95L11SRS

The Fast All-sky Radiation Model for Solar applications (FARMS) is used to compute cloudy irradiance.

Installing farms

Option 1: Install from PIP or Conda (recommended for analysts):

  1. Create a new environment:
    conda create --name farms
  2. Activate directory:
    conda activate farms
  3. Install farms:
    1. pip install NREL-farms or
    2. conda install nrel-farms --channel=nrel

Option 2: Clone repo (recommended for developers)

  1. from home dir, git clone https://github.com/NREL/farms.git
    1. enter github username
    2. enter github password
  2. Create farms environment and install package
    1. Create a conda env: conda create -n farms
    2. Run the command: conda activate farms
    3. cd into the repo cloned in 1.
    4. prior to running pip below, make sure the branch is correct (install from master!)
    5. Install farms and its dependencies by running: pip install . (or pip install -e . if running a dev branch or working on the source code)

Recommended Citation

Yu Xie, Manajit Sengupta, Jimy Dudhia, "A Fast All-sky Radiation Model for Solar applications (FARMS): Algorithm and performance evaluation", Solar Energy, Volume 135, 2016, Pages 435-445, ISSN 0038-092X, https://doi.org/10.1016/j.solener.2016.06.003. Science Direct Link.

farms's People

Contributors

bnb32 avatar grantbuster avatar mrossol avatar xieyupku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

farms's Issues

Particle Size Limits

Bug Description
FARMS lookup tables / parametric equations were built with expected limits on the particle size that should be enforced.

From Yu:
For water cloud, the effective particle size (which is 2* the effective radius) is between 5 and 120 um.
For ice cloud, the effective particle size is between 5 and 140 um.

Charge code
SETP 10304 41.01.01

BIRD model

Why this feature is necessary:
Implement BIRD model to replace REST2 for public users

A possible solution is:
Optimize PVLIB BIRD model

Charge code
WDHS 11822 00.01.10

Urgency / Timeframe
?

[Security] Workflow release_drafter.yml is using vulnerable action release-drafter/release-drafter

The workflow release_drafter.yml is referencing action release-drafter/release-drafter using references v5.7.0. However this reference is missing the commit 70eb821099dbcd875c2cba75dad4332d3cf5544d which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.

Incorrect air mass calculation in DISC model

#I believe there is a typo in the a typo in the air mass calculation in the DISC model implementation in this repo. The code has:

    AM = (1. / (np.cos(np.radians(Ztemp))
                + 0.15 * (np.power((93.885 - Ztemp), -1.253)))
          * 100 * pressure / 101325)

The pressure correction should not be multiplied by 100, it needs to be a fraction.

I've created a pull request to fix the issue. #9

FARMS test

Why this feature is necessary:
Needs tests of FARMS

A possible solution is:
@grantbuster?

Charge code
WDHS 11822 00.01.10

Urgency / Timeframe
ASAP for open sourcing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.