Skip to content

Codex/merge upstream 0.7 - #67

Closed
langeluca wants to merge 53 commits into
RWTH-LTT:mainfrom
langeluca:codex/merge-upstream-0.7
Closed

langeluca wants to merge 53 commits into
RWTH-LTT:mainfrom
langeluca:codex/merge-upstream-0.7

Conversation

@langeluca

Copy link
Copy Markdown

No description provided.

langeluca added 30 commits May 18, 2026 14:35
Create a dedicated methanol_and_iron_cost notebook to exercise the economic
optimization workflow on the existing premise-based case study. The notebook
adds illustrative market_price data to time-specific background nodes, builds
OptimizationModelInputs from the LCA processor, creates a cost objective model,
and includes result cells for total, cap-related, and operation-related costs.

Extend node-based market price handling with optional product and unit
disambiguation for ambiguous Brightway lookups. Add a cost-only metadata fallback
when reading market_price attributes so equivalent premise background activities
can still be matched when their codes differ across year-specific databases,
without changing the existing background inventory lookup.

Update economic optimization documentation and the implementation roadmap to
describe name/location/product/unit based price assignment, the premise code
stability issue, the cost-specific fallback behavior, and the status of the
end-to-end notebook validation.
RWTH-LTT:main
langeluca added 23 commits July 11, 2026 18:25
…ities ahead of bug fix merge

progress on ethylene case study research
# Conflicts:
#	CHANGES.md
#	src/optimex/lca_processor.py
…n-fix

Integrates RWTH-LTT#61, which fixes the lifetime installation-impact accounting for multi-year processes.

Previously, production and operation-dependent flows were summed over the complete operation window in every calendar year. As a result, one installed unit could incorrectly deliver its entire lifetime production each year. This understated the required number of installed units and therefore undercounted construction and other installation-dependent impacts by up to the number of operating years.

Resolves merge conflicts in CHANGES.md and lca_processor.py while retaining both the upstream background-activity lookup improvements and the fork's economic CAPEX/OPEX extensions.

Migrates the ethylene case study to the new capacity semantics: existing_capacity now represents process units. The assumed annual Steam Cracker capacity remains 0.5e9 kg ethylene per vintage and is converted to 25e9 process units for a 50-year lifetime.

Validation:
- 78 tests passed and 3 were skipped
- HiGHS was used locally because GLPK was unavailable
- Notebook JSON and the brownfield conversion identity were statically verified
…ng processes

- Revised DAC model lifetime to 20 years based on Deutz and Bardow (2021).
- Updated Steam Cracking lifetime to 25 years according to Tiggeloven (2026).
- Adjusted PEM electrolysis lifetime to 25 years, incorporating AEC plant proxy.
- Changed CO2 hydrogenation and MTO lifetimes to 25 years, referencing Tiggeloven.
- Updated eCO2R reactor and separation lifetimes to 25 years, aligning with Tiggeloven proxies.
- Modified assumptions documentation to reflect these changes and ensure consistency across notebooks and reports.
Adjust price handling in ethylene case study notebook - Drop rows with NaN prices before further processing
@langeluca langeluca closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant