Giter Site home page Giter Site logo

pvlcoe's Introduction

PVLCOE

The Comparative PV LCOE Calculator calculates levelized cost of energy (LCOE) for photovoltaic (PV) systems based on cost, performance, and reliability inputs for a baseline and a proposed technology. It is a single javascript-powered web page that runs entirely on the client side. Check the lcoe_calculator_documentation.html file for more detailed documentation.

Building a Preset Tree for NREL PVLCOE Calculator

In the /build-presets/ folder, the MakePresetTree.py file builds a javascript file which supplies the preset values that appear in the NREL PVLCOE calculator at http://pvlcoe.nrel.gov/, for the following parameters:

  • front layer cost
  • cell cost
  • back layer cost
  • non-cell costs
  • O&M costs
  • module efficiency
  • energy yield
  • degradation rate

The values for efficiency and all costs listed above are defined in the python file. The sources for these values are cited in https://www.nrel.gov/pv/lcoe-calculator/documentation.html. Energy yield and degradation rate values are populated from an Excel sheet ('Energy-yield_deg-rate.xlsx') which contains data for all feasible combinations of different hardware configurations (cell technology, module package type, system type) and locations. The sources for these values are also cited in the documentation file. You can edit (or add) default values that are preset in the calculator. Follow the instructions depending on which values you want to edit:

If you only want to change or add locations, energy yield values, or degradation rate values:

  • Edit the relevant rows in 'Energy-yield_deg-rate.xlsx' which is stored in the /build-presets/ folder
  • Install the requirements listed in 'requirements.txt' in the /build-presets/ folder
  • Run MakePresetTree.py in the /build-presets/ folder
  • Then, lcoe_calculator.html will show your new presets!

If you want to change or add cell technologies, package types, system types, non-BOS costs, or efficiency

  • Install the requirements listed in 'requirements.txt' in the /build-presets/ folder
  • If desired, add cell technologies, package types, or system types to the lists already available in MakePresetTree.py, then add new rows for these additional types in 'Energy-yield_deg-rate.xlsx' and enter values for energy yield and degradation rate
  • Add/edit costs and efficiency values in-line in the MakePresetTree.py script
  • Run MakePresetTree.py in the /build-presets/ folder
  • Then, lcoe_calculator.html will show your new presets!

pvlcoe's People

Contributors

brittsmth avatar

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.