Skip to content

Commit c1000b9

Browse files
authored
Merge pull request #856 from GenXProject/release/0.4.5
Patch Release v0.4.5
2 parents 794d391 + faf7fc8 commit c1000b9

File tree

105 files changed

+29510
-832
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+29510
-832
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## [0.4.5] - 2025-07-07
11+
12+
### Added
13+
- New resource type: Allam Cycle with Oxygen Storage (#772).
14+
- Caching of `derating_factor` to improve performance in model generation (#834).
15+
- Default option, `"EnableJuMPDirectMode"`, to build the model more efficiently.
16+
Models running with, non-default, solvers Cbc and Clp will fail unless
17+
`"EnableJuMPDirectMode"` is set to false (#835).
18+
- Improve `@expressions` performance by pre-processing sets (#815).
19+
20+
### Fixed
21+
- Fix call to `get_retirement_stage` by casting `lifetime` to integer (#840).
22+
- Modify `storage_all.jl` to prevent micro-charging/discharging close to capacity (#836).
23+
24+
### Changed
25+
- Replace `+=` and `-=` with `add_to_expression!` and `add_similar_to_expression!`
26+
in several modules to improve performance (#826).
27+
- Separate myopic logic and DDP logic in the GenX multi-stage code into distinct
28+
functions (#810).
29+
1030
## [0.4.4] - 2025-02-04
1131

1232
### Added

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ authors:
5454
given-names: "Qingyu"
5555
orcid: "https://orcid.org/0000-0003-2692-5135"
5656
title: "GenX"
57-
version: 0.4.4
57+
version: 0.4.5"
5858
doi: 10.5281/zenodo.10846070
59-
date-released: 2025-02-04
59+
date-released: 2025-07-07
6060
url: "https://github.com/GenXProject/GenX.jl"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "GenX"
22
uuid = "5d317b1e-30ec-4ed6-a8ce-8d2d88d7cfac"
33
authors = ["Bonaldo, Luca", "Chakrabarti, Sambuddha", "Cheng, Fangwei", "Ding, Yifu", "Jenkins, Jesse D.", "Luo, Qian", "Macdonald, Ruaridh", "Mallapragada, Dharik", "Manocha, Aneesha", "Mantegna, Gabe ", "Morris, Jack", "Patankar, Neha", "Pecci, Filippo", "Schwartz, Aaron", "Schwartz, Jacob", "Schivley, Greg", "Sepulveda, Nestor", "Xu, Qingyu", "Zhou, Justin"]
4-
version = "0.4.4"
4+
version = "0.4.5"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The 'main' branch is the current master branch of GenX. The various subdirectori
4040

4141
## Requirements
4242

43-
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.
43+
GenX (v0.4.5) 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.
4444
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.
4545

4646
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.

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ pages = OrderedDict(
7676
"Scheduled maintenance for Thermal Commit" => "Model_Reference/Resources/maintenance.md",
7777
"Fusion" => "Model_Reference/Resources/fusion.md"
7878
],
79+
"Allam Cycle" => "Model_Reference/Resources/allam_cycle.md",
7980
"Hydrogen Electrolyzers" => "Model_Reference/Resources/electrolyzers.md",
8081
"Resource types" => "Model_Reference/Resources/resource.md"
8182
],

docs/src/Model_Concept_Overview/model_notation.md

Lines changed: 35 additions & 35 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Allam Cycle
2+
```@autodocs
3+
Modules = [GenX]
4+
Pages = ["allamcycle_commit.jl", "allamcycle_no_commit.jl", "allamcyclelox.jl"]
5+
```

docs/src/Model_Reference/write_outputs.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,9 @@ GenX.write_angles
173173
```@docs
174174
GenX.write_settings_file
175175
```
176+
177+
## Write Allam Cycle LOX
178+
```@docs
179+
GenX.write_allam_capacity
180+
GenX.write_allam_output
181+
```

docs/src/Public_API/public_api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@ GenX.mga
2020
GenX.configure_settings_multistage
2121
GenX.configure_multi_stage_inputs
2222
GenX.run_ddp
23+
GenX.run_myopic_multistage
2324
GenX.write_multi_stage_outputs
2425
```

docs/src/Tutorials/Tutorial_3_K-means_time_domain_reduction.md

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)