GenX
A highly-configurable, open source electricity resource capacity expansion model that incorporates several state-of-the-art practices in electricity system planning to offer improved decision support for a changing electricity landscape.
https://github.com/genxproject/genx
Keywords from Contributors
power-systems capacity-expansion-planning parallel energy-system symbolic-computation surrogate energy-system-model control simulations genetic-algorithm
Last synced: 2 days ago
JSON representation
Acceptance Criteria
- Revelant topics? false
- External users? true
- Open source license? true
- Active? true
- Fork? false
Repository metadata
GenX: a configurable power system capacity expansion model for studying low-carbon energy futures. More details at : https://genx.mit.edu
- Host: GitHub
- URL: https://github.com/genxproject/genx
- Owner: GenXProject
- License: gpl-2.0
- Created: 2021-05-19T17:57:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T20:34:40.000Z (14 days ago)
- Last Synced: 2025-04-20T01:05:52.543Z (11 days ago)
- Language: Julia
- Homepage: https://genxproject.github.io/GenX.jl/
- Size: 198 MB
- Stars: 301
- Watchers: 17
- Forks: 130
- Open Issues: 65
- Releases: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Citation: CITATION.cff
- Zenodo: .zenodo.json
README.md
Documentation | DOI |
---|---|
Overview
GenX is a highly-configurable, open source electricity resource capacity expansion model
that incorporates several state-of-the-art practices in electricity system planning to offer improved decision support for a changing electricity landscape.
The model was originally developed by
Jesse D. Jenkins and
Nestor A. Sepulveda at the Massachusetts Institute of Technology and is now jointly maintained by
a team of contributors at the Princeton University ZERO Lab (led by Jenkins), MIT (led by Ruaridh MacDonald), NYU (led by Dharik Mallapragada), and Binghamton University (led by Neha Patankar).
GenX is a constrained linear or mixed integer linear optimization model that determines the portfolio of electricity generation,
storage, transmission, and demand-side resource investments and operational decisions to meet electricity demand in one or more future planning years at lowest cost,
while subject to a variety of power system operational constraints, resource availability limits, and other imposed environmental, market design, and policy constraints.
GenX features a modular and transparent code structure developed in Julia + JuMP.
The model is designed to be highly flexible and configurable for use in a variety of applications from academic research and technology evaluation to public policy and regulatory analysis and resource planning.
Depending on the planning problem or question to be studied,
GenX can be configured with varying levels of model resolution and scope, with regards to:
(1) temporal resolution of time series data such as electricity demand and renewable energy availability;
(2) power system operational detail and unit commitment constraints;
and (3) geospatial resolution and transmission network representation.
The model is also capable of representing a full range of conventional and novel electricity resources,
including thermal generators, variable renewable resources (wind and solar), run-of-river, reservoir and pumped-storage hydroelectric generators,
energy storage devices, demand-side flexibility, demand response, and several advanced technologies such as long-duration energy storage.
The 'main' branch is the current master branch of GenX. The various subdirectories are described below:
-
src/
Contains the core GenX model code for reading inputs, model generation, solving and writing model outputs. -
example_systems/
Contains fully specified examples that users can use to test GenX and get familiar with its various features. -
docs/
Contains source files for documentation pertaining to the model.
Requirements
GenX (v0.4.4) runs on Julia v1.6 through v1.9, with a minimum version of the package JuMP v1.1.1. Julia v1.10 and v1.11 are also supported. However, we recently noticed a decline in performance with Julia v1.10, which is currently under investigation. Therefore, we recommend using Julia v1.9, particularly for very large cases.
We recommend the users to either stick to a particular version of Julia to run GenX. If however, the users decide to switch between versions, it's very important to delete the old Manifest.toml
file and do a fresh build of GenX when switching between Julia versions.
There is also an older version of GenX, which is also currently maintained and runs on Julia 1.3.x and 1.4.x series.
For those users who has previously cloned GenX, and has been running it successfully so far,
and therefore might be unwilling to run it on the latest version of Julia:
please look into the GitHub branch, old_version.
It is currently setup to use one of the following open-source freely available solvers:
- the default solver: HiGHS for linear programming and MILP,
- Clp for linear programming (LP) problems,
- Cbc for mixed integer linear programming (MILP) problems
We also provide the option to use one of these two commercial solvers: - Gurobi, or
- CPLEX.
Note that using Gurobi and CPLEX requires a valid license on the host machine.
There are two ways to run GenX with either type of solver options (open-source free or, licensed commercial) as detailed in the section,Getting Started
.
Documentation
Detailed documentation for GenX can be found here.
It includes details of each of GenX's methods, required and optional input files, and outputs.
Interested users may also want to browse through prior publications that have used GenX to understand the various features of the tool.
How to cite GenX
We request that users of GenX to cite it in their academic publications and patent filings.
MIT Energy Initiative and Princeton University ZERO lab. GenX: a configurable power system capacity expansion model for studying low-carbon energy futures n.d. https://github.com/GenXProject/GenX
Bug and feature requests and contact info
If you would like to report a bug in the code or request a feature, please use our Issue Tracker.
If you're unsure or have questions on how to use GenX that are not addressed by the above documentation, please reach out to Sambuddha Chakrabarti (sc87@princeton.edu), Jesse Jenkins (jdj2@princeton.edu) or Dharik Mallapragada (dharik@mit.edu).
GenX Team
GenX has been developed jointly by researchers at the MIT Energy Initiative and the ZERO lab at Princeton University.
Key contributors include Nestor A. Sepulveda,
Jesse D. Jenkins,
Dharik S. Mallapragada,
Aaron M. Schwartz,
Neha S. Patankar,
Qingyu Xu,
Jack Morris,
Luca Bonaldo
Sambuddha Chakrabarti.
Acknowledgement
The GenX team expresses deep gratitude to Maya Mutic for developing the tutorials along with Filippo Pecci and Luca Bonaldo.
The Julia-themed GenX logo was designed by Laura Zwanziger and Jacob Schwartz.
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Bonaldo" given-names: "Luca" orcid: "https://orcid.org/0009-0000-0650-0266" - family-names: "Chakrabarti" given-names: "Sambuddha" orcid: "https://orcid.org/0000-0002-8916-5076" - family-names: "Cheng" given-names: "Fangwei" orcid: "https://orcid.org/0000-0001-6589-2749" - family-names: "Ding" given-names: "Yifu" orcid: "https://orcid.org/0000-0001-7128-8847" - family-names: "Jenkins" given-names: "Jesse" orcid: "https://orcid.org/0000-0002-9670-7793" - family-names: "Luo" given-names: "Qian" orcid: "https://orcid.org/0000-0003-3894-4093" - family-names: "Macdonald" given-names: "Ruaridh" orcid: "https://orcid.org/0000-0001-9034-6635" - family-names: "Mallapragada" given-names: "Dharik" orcid: "https://orcid.org/0000-0002-0330-0063" - family-names: "Manocha" given-names: "Aneesha" orcid: "https://orcid.org/0000-0002-7190-4782" - family-names: "Mantegna" given-names: "Gabe" orcid: "https://orcid.org/0000-0002-7707-0221" - family-names: "Morris" given-names: "Jack" - family-names: "Patankar" given-names: "Neha" orcid: "https://orcid.org/0000-0001-7288-0391" - family-names: "Pecci" given-names: "Filippo" orcid: "https://orcid.org/0000-0003-3200-0892" - family-names: "Schwartz" given-names: "Aaron" - family-names: "Schwartz" given-names: "Jacob" orcid: "https://orcid.org/0000-0001-9636-8181" - family-names: "Schivley" given-names: "Greg" orcid: "https://orcid.org/0000-0002-8947-694X" - family-names: "Sepulveda" given-names: "Nestor" orcid: "https://orcid.org/0000-0003-2735-8769" - family-names: "Xu" given-names: "Qingyu" orcid: "https://orcid.org/0000-0003-2692-5135" title: "GenX" version: 0.4.4 doi: 10.5281/zenodo.10846070 date-released: 2025-02-04 url: "https://github.com/GenXProject/GenX.jl"
Owner metadata
- Name:
- Login: GenXProject
- Email:
- Kind: user
- Description:
- Website:
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/84470580?v=4
- Repositories: 1
- Last ynced at: 2023-03-04T04:04:17.182Z
- Profile URL: https://github.com/GenXProject
GitHub Events
Total
- Fork event: 12
- Create event: 22
- Commit comment event: 6
- Release event: 3
- Issues event: 35
- Watch event: 37
- Delete event: 14
- Member event: 1
- Issue comment event: 63
- Push event: 274
- Pull request event: 67
- Pull request review event: 95
- Pull request review comment event: 211
Last Year
- Fork event: 12
- Create event: 22
- Commit comment event: 6
- Release event: 3
- Issues event: 35
- Watch event: 37
- Delete event: 14
- Member event: 1
- Issue comment event: 63
- Push event: 274
- Pull request event: 67
- Pull request review event: 95
- Pull request review comment event: 211
Committers metadata
Last synced: about 1 year ago
Total Commits: 672
Total Committers: 24
Avg Commits per committer: 28.0
Development Distribution Score (DDS): 0.689
Commits in past year: 124
Committers in past year: 13
Avg Commits per committer in past year: 9.538
Development Distribution Score (DDS) in past year: 0.476
Name | Commits | |
---|---|---|
sambuddhac | s****i@g****m | 209 |
nspatank | n****k@n****u | 131 |
Jacob Schwartz | j****b@j****t | 128 |
jfmorris | j****s@m****u | 61 |
Jesse Jenkins | j****s@g****m | 24 |
rmacd757 | r****d@m****u | 18 |
Qingyu Xu | q****x@p****u | 12 |
aaronms | a****s@m****u | 11 |
Dharik Mallapragada | d****3@g****m | 11 |
Pietro Monticone | 3****e | 10 |
Greg Schivley | g****g@c****o | 9 |
github-actions[bot] | 4****] | 8 |
aaronsax | 3****x | 7 |
GenXProject | 8****t | 7 |
wilson-ricks | w****s@p****u | 6 |
Filippo | p****o@g****m | 5 |
Dharik Mallapragada | d****k@m****u | 4 |
aneeshamanocha | 3****a | 3 |
Filippo Pecci | f****0@p****u | 2 |
lbonaldo | b****2@g****m | 2 |
Gabe Mantegna | 3****a | 1 |
Nick Robinson | n****1@g****m | 1 |
wrgunther | 1****r | 1 |
CompatHelper Julia | c****y@j****g | 1 |
Committer domains:
- mit.edu: 4
- princeton.edu: 3
- julialang.org: 1
- carbonimpact.co: 1
- jaschwartz.net: 1
- ncsu.edu: 1
Issue and Pull Request metadata
Last synced: about 1 year ago
Total issues: 235
Total pull requests: 436
Average time to close issues: 2 months
Average time to close pull requests: 11 days
Total issue authors: 54
Total pull request authors: 27
Average comments per issue: 2.89
Average comments per pull request: 0.99
Merged pull request: 345
Bot issues: 0
Bot pull requests: 39
Past year issues: 92
Past year pull requests: 193
Past year average time to close issues: about 2 months
Past year average time to close pull requests: 11 days
Past year issue authors: 32
Past year pull request authors: 16
Past year average comments per issue: 2.21
Past year average comments per pull request: 0.97
Past year merged pull request: 163
Past year bot issues: 0
Past year bot pull requests: 14
Top Issue Authors
- cfe316 (79)
- JesseJenkins (14)
- gschivley (13)
- AshwinSandeep1 (8)
- xuqingyu (7)
- Nick-Maurer (7)
- ASamarkRoth (6)
- joshdr83 (6)
- dharik13 (6)
- DanielNavia1 (5)
- wilson-ricks (5)
- nspatank (5)
- filippopecci (5)
- gmantegna (4)
- ADC27 (4)
Top Pull Request Authors
- cfe316 (159)
- sambuddhac (87)
- github-actions[bot] (39)
- lbonaldo (32)
- gmantegna (20)
- filippopecci (17)
- jf-morris (12)
- nspatank (10)
- RuaridhMacd (9)
- xuqingyu (7)
- aneeshamanocha (6)
- gschivley (6)
- wilson-ricks (6)
- pitmonticone (6)
- JesseJenkins (4)
Top Issue Labels
- bug (34)
- enhancement (31)
- help wanted (8)
- question (7)
- documentation (6)
- invalid (2)
- wontfix (1)
- good first issue (1)
Top Pull Request Labels
- enhancement (5)
- documentation (2)
- bug (1)
Package metadata
- Total packages: 2
- Total downloads: unknown
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 0 (may contain duplicates)
- Total versions: 32
proxy.golang.org: github.com/GenXProject/GenX
- Homepage:
- Documentation: https://pkg.go.dev/github.com/GenXProject/GenX#section-documentation
- Licenses: gpl-2.0
- Latest release: v0.4.4 (published 3 months ago)
- Last Synced: 2025-04-27T00:02:25.901Z (4 days ago)
- Versions: 16
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
proxy.golang.org: github.com/genxproject/genx
- Homepage:
- Documentation: https://pkg.go.dev/github.com/genxproject/genx#section-documentation
- Licenses:
- Latest release: v0.4.4 (published 3 months ago)
- Last Synced: 2025-04-27T00:02:26.100Z (4 days ago)
- Versions: 16
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.999%
- Average: 8.173%
- Dependent repos count: 9.346%
Score: -Infinity