
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
hopp
Advanced tools
As part of NREL's Hybrid Energy Systems Research, this software assesses optimal designs for the deployment of distributed, commercial, and utility-scale hybrid energy plants, particularly considering wind, solar and storage.
HOPP is primarily developed with the support of the U.S. Department of Energy and is part of the WETO Software Stack. For more information and other integrated modeling software, see:
HOPP is available as a PyPi package:
pip install HOPP
Using Git, navigate to a local target directory and clone repository:
git clone https://github.com/NREL/HOPP.git
Navigate to HOPP
cd HOPP
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
Install HOPP and its dependencies:
conda install -y -c conda-forge coin-or-cbc 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]"
The functions which download resource data require an NREL API key. Obtain a key from:
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
Verify setup by running tests:
pytest tests/hopp
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.
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.
Interested in improving HOPP? Please see the Contributor's Guide for more information.
FAQs
Hybrid Systems Optimization and Performance Platform.
We found that hopp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.