resolve
Resolve is a Python-based least-cost capacity expansion model that identifies optimal electricity supply portfolios through capacity expansion and production simulation modeling.
https://github.com/e3-/resolve
Category: Energy Systems
Sub Category: Energy System Modeling Frameworks
Keywords from Contributors
geocode virtualization
Last synced: about 18 hours ago
JSON representation
Repository metadata
Resolve: Proactive capacity expansion model
- Host: GitHub
- URL: https://github.com/e3-/resolve
- Owner: e3-
- License: agpl-3.0
- Created: 2023-06-09T17:51:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-08-24T14:42:57.000Z (3 months ago)
- Last Synced: 2026-12-01T02:01:35.725Z (about 18 hours ago)
- Language: Python
- Homepage: https://docs.ethree.com/projects/resolve
- Size: 69.5 MB
- Stars: 7
- Watchers: 3
- Forks: 5
- Open Issues: 9
- Releases: 11
-
Metadata Files:
- Readme: README-setup-resolve-env-win11.md
- Changelog: CHANGELOG.md
- License: LICENSE
README-setup-resolve-env-win11.md
Conda Environment Setup for Windows Path Length Issues
This directory contains scripts to work around Windows path length limitations when creating conda environments. The scripts are provided as a fallback tool in case of difficulty creating conda environments.
Normally RESOLVE Analysts should not need to use this script - reach out to the E3 Tech Team for assistance.
Problem
Windows has a maximum path length of 260 characters by default (LongPathsEnabled=0). Building the RESOLVE conda environment with conda env create -f environment.yml fails because:
- Long user profile paths (e.g.,
C:\Users\myname\Documents\GitHub\resolve-e3) - Deep conda package paths during installation
- Python pip editable install creating deep wheel build directories
Alternative Solutions
- Software designers remove any optional packages from RESOLVE that are impacting the build depth
- Modify the compute environment from LongPathsEnabled=0 to LongPathsEnabled=1 (Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem:LongPathsEnabled)
- Use these provided scripts that employ drive letter mapping (
subst) to create shorter paths that may (or may not) bypass Windows path length limitations.
Prerequisites (for subst strategy)
- Conda/Miniconda already installed and in PATH
- Administrator privileges may be needed (recommended for drive mapping)
Usage
Creating the Environment
-
Double-click
setup-resolve-env-win11.batOr Right-clicksetup-resolve-env-win11.batand select "Run as administrator" Or from cmd or PowerShell:setup-resolve-env-win11.bat -
The script will:
- Create
C:\tmpfor short temporary paths - Map
M:to your conda installation directory - Map
R:to this project directory - Create the conda environment with short paths
- Prompt you whether to keep the drive mappings
- Create
-
Follow the prompts to confirm environment creation
Activating the Environment
After creation, activate normally:
conda activate resolve
Removing the Environment
Remove normally:
conda env remove -n resolve
Removing Drive Mappings
If you kept the drive mappings and want to remove them later:
subst M: /d
subst R: /d
To view current mappings:
subst
What the Script Does
setup-resolve-env-win11.bat
- Detects conda installation path
- Creates short temp directory (
C:\tmp) - Maps drives to short paths:
M:→ Conda installation directoryR:→ Project directory
- Sets environment variables for short temp paths
- Runs
conda env create -f environment.yml - Provides option to clean up drive mappings
Drive Mappings Persistence
Drive mappings created with subst persist until:
- System restart
- Manual removal with
subst X: /d
You can keep them for convenience when working with this project.
Troubleshooting
"Not running as administrator" warning
- Right-click the script and select "Run as administrator"
- Or open cmd as administrator and run the script
Drive letter already in use
- The script will detect this and ask if you want to remap
- Choose 'n' to keep existing mapping if it's correct
- Choose 'y' to remap to the new path
Environment creation still fails
If you still encounter path issues:
- Move your conda installation to
C:\conda(shorter path) - Shorten the environment name in
environment.yml - Consider using Docker instead (see
docker/directory)
"conda: command not found"
- Ensure conda is installed and in your PATH
- Restart your terminal after conda installation
- Try:
C:\Users\<username>\miniconda3\Scripts\activate.bat
Notes
- Drive mappings are session-persistent but survive across terminal windows
- The
C:\tmpdirectory will remain after script execution (safe to delete) - You can customize drive letters by editing the scripts if
M:orR:conflict with existing drives
Owner metadata
- Name: Energy and Environmental Economics, Inc.
- Login: e3-
- Email: platform@ethree.com
- Kind: organization
- Description:
- Website: https://ethree.com/
- Location: San Francisco, CA
- Twitter: ethree_inc
- Company:
- Icon url: https://avatars.githubusercontent.com/u/8919553?v=4
- Repositories: 6
- Last ynced at: 2026-11-24T23:06:59.856Z
- Profile URL: https://github.com/e3-
GitHub Events
Total
- Create event: 24
- Delete event: 19
- Fork event: 4
- Issue comment event: 3
- Pull request event: 24
- Pull request review comment event: 7
- Pull request review event: 18
- Push event: 63
- Watch event: 4
Last Year
- Create event: 6
- Delete event: 9
- Pull request event: 1
- Pull request review comment event: 4
- Pull request review event: 12
- Push event: 4
Committers metadata
Last synced: 2 days ago
Total Commits: 102
Total Committers: 7
Avg Commits per committer: 14.571
Development Distribution Score (DDS): 0.275
Commits in past year: 8
Committers in past year: 1
Avg Commits per committer in past year: 8.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Roderick Go | g****o@g****m | 74 |
| matt-wyatt-e3 | m****t@e****m | 9 |
| Brendan Mahoney | 1****5 | 9 |
| github-actions[bot] | g****] | 6 |
| Sam Kramer | s****r@e****m | 2 |
| anginehz | 8****z | 1 |
| Ritvik | 8****8 | 1 |
Committer domains:
- ethree.com: 2
Issue and Pull Request metadata
Last synced: 15 days ago
Total issues: 9
Total pull requests: 44
Average time to close issues: about 2 months
Average time to close pull requests: about 1 month
Total issue authors: 2
Total pull request authors: 7
Average comments per issue: 0.11
Average comments per pull request: 0.48
Merged pull request: 18
Bot issues: 0
Bot pull requests: 10
Past year issues: 0
Past year pull requests: 19
Past year average time to close issues: N/A
Past year average time to close pull requests: 5 days
Past year issue authors: 0
Past year pull request authors: 3
Past year average comments per issue: 0
Past year average comments per pull request: 0.68
Past year merged pull request: 8
Past year bot issues: 0
Past year bot pull requests: 3
Top Issue Authors
- goroderickgo (8)
- don-jacob (1)
Top Pull Request Authors
- bmahoney5 (16)
- matt-wyatt-e3 (13)
- dependabot[bot] (8)
- goroderickgo (3)
- Ritvikj8 (1)
- renovate[bot] (1)
- anginehz (1)
Top Issue Labels
- documentation (6)
- bug (1)
Top Pull Request Labels
- dependencies (8)
- python (4)
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 8
proxy.golang.org: github.com/e3-/resolve
- Homepage:
- Documentation: https://pkg.go.dev/github.com/e3-/resolve#section-documentation
- Licenses: agpl-3.0
- Latest release: v4.10.2+incompatible (published 3 months ago)
- Last Synced: 2026-11-30T01:35:27.428081Z (2 days ago)
- Versions: 8
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.328%
- Average: 5.507%
- Dependent repos count: 5.686%
Dependencies
- highspy ==1.5.3
- ipywidgets ==8.0.4
- joblib ==1.2.0
- jupyterlab ==3.5.3
- jupytext ==1.15.1
- kmedoids ==0.4.3
- line-profiler ==4.0.3
- loguru ==0.6.0
- matplotlib ==3.6.3
- nrel-pysam ==4.0.0
- numpy ==1.24.1
- pandas ==1.5.3
- pint ==0.20.1
- plotly ==5.13.0
- pydantic ==1.10.8
- pyomo ==6.4.4
- rich ==13.3.1
- s3fs ==2023.9.0
- scikit-learn ==1.2.1
- scipy ==1.10.0
- seaborn ==0.12.2
- tqdm ==4.64.1
- typer ==0.7.0
- ujson ==5.8.0
- universal-pathlib ==0.1.3
- actions/checkout v4 composite
- awscli 2.27.55
- gurobi >=12.0.0
- kubernetes 1.24.3
- pip 26.0.1
- python >=3.11,<3.12
- setuptools 66.1.1
- aiobotocore ==3.1.0
- fastparquet ==2023.10.1
- gurobipy >=12.0.1
- highspy ==1.5.3
- joblib ==1.4.2
- kaleido ==0.2.1
- kmedoids ==0.5.1
- loguru ==0.7.2
- matplotlib ==3.9.0
- numpy ==1.26.4
- pandas ==2.3.3
- plotly ==5.22.0
- pot ==0.9.5
- psutil ==7.2.2
- pyarrow ==21.0.0
- pydantic ==2.11.2
- pyomo ==6.5.0
- requests >=2.32.2,<3.0.0
- rich ==13.7.1
- scikit-learn ==1.5.0
- scipy ==1.13.1
- seaborn ==0.12.2
- tqdm ==4.66.4
- typer >=0.12.3
- ujson ==5.12.1
- universal-pathlib ==0.2.2
Score: -Infinity