Skip to main content

Hybrid Systems Optimization and Performance Platform.

Project description

HOPP: Hybrid Optimization and Performance Platform

PyPI version CI Tests image License

As part of NREL's Hybrid Energy Systems Research, this software assesses optimal designs for the deployment of utility-scale hybrid energy plants, particularly considering wind, solar and storage.

Software requirements

  • Python version 3.10, and 3.11 only (PySAM 4.2 is incompatible with 3.12)

Installing from Package Repositories

  1. HOPP is available as a PyPi package:

    pip install HOPP
    

Installing from Source

  1. Using Git, navigate to a local target directory and clone repository:

    git clone https://github.com/NREL/HOPP.git
    
  2. Navigate to HOPP

    cd HOPP
    
  3. Create a new virtual environment and change to it. Using Conda and naming it 'hopp':

    conda create --name hopp python=3.11 -y
    conda activate hopp
    
  4. Install HOPP and its dependencies:

    conda install -y -c conda-forge coin-or-cbc=2.10.8 glpk
    

    Note if you are on Windows, you will have to manually install Cbc: https://github.com/coin-or/Cbc.

    • If you want to just use HOPP:

      pip install .  
      
    • If you want to work with the examples:

      pip install ".[examples]"
      
    • If you also want development dependencies for running tests and building docs. Note the -e flag which installs HOPP in-place so you can edit the HOPP package files:

      pip install -e ".[develop]"
      
  5. The functions which download resource data require an NREL API key. Obtain a key from:

    https://developer.nrel.gov/signup/

  6. To set up the NREL_API_KEY and NREL_API_EMAIL required for resource downloads, you can create Environment Variables called NREL_API_KEY and NREL_API_EMAIL. Otherwise, you can keep the key in a new file called ".env" in the root directory of this project.

    Create a file ".env" that contains the single line:

    NREL_API_KEY=key
    NREL_API_EMAIL=your.name@email.com
    
  7. Verify setup by running tests:

    pytest tests/hopp
    
  8. To set up NREL_API_KEY for resource downloads, first refer to section 6 and 7 above. But for the .env file method, the file should go in the working directory of your Python project, e.g. directory from where you run python.

Getting Started

The Examples contain Jupyter notebooks and sample YAML files for common usage scenarios in HOPP. These are actively maintained and updated to demonstrate HOPP's capabilities. For full details on simulation options and other features, see the documentation.

Contributing

Interested in improving HOPP? Please see the Contributor's Guide for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hopp-3.1.1.tar.gz (122.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hopp-3.1.1-py3-none-any.whl (117.9 MB view details)

Uploaded Python 3

File details

Details for the file hopp-3.1.1.tar.gz.

File metadata

  • Download URL: hopp-3.1.1.tar.gz
  • Upload date:
  • Size: 122.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hopp-3.1.1.tar.gz
Algorithm Hash digest
SHA256 a0755bb2b211d818198dc933f6289dbd0b187e62cacc618fb4d000628ac71ca0
MD5 333949e7de7c481d7f6a2b6c430a5be2
BLAKE2b-256 57b070ad2c9b0b2fdb7febfa3a5dc566f3a86f531f34fcf577fbc15252afe14f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hopp-3.1.1.tar.gz:

Publisher: publish_to_pypi.yml on NREL/HOPP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hopp-3.1.1-py3-none-any.whl.

File metadata

  • Download URL: hopp-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 117.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for hopp-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5877c50982acfd590c8176181caa1c32d971a06640f5be516c804c7439183da
MD5 e4175f0abe2c38bed474ef43bda898ba
BLAKE2b-256 6dcc942b154846900395c51142eef0200344f17e9010837578b951343a3f2e4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for hopp-3.1.1-py3-none-any.whl:

Publisher: publish_to_pypi.yml on NREL/HOPP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page