Skip to content

Port code from PowerSystemsInvestments.jl to IOM - #170

Open
jerrypotts wants to merge 7 commits into
mainfrom
jp/invest_integration
Open

jerrypotts wants to merge 7 commits into
mainfrom
jp/invest_integration

Conversation

@jerrypotts

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

Performance Results
Main


This branch


@jerrypotts

Copy link
Copy Markdown
Member Author

@acostarelli

Comment thread src/core/time_mapping.jl Outdated
@@ -0,0 +1,137 @@
struct InvestmentIntervals

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WE should be able to generalize this concept

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From our discussion earlier this week: Going to merge the direct port of the time mapping as is and then open up a new PR proposing a more generalized structure

Comment thread src/core/optimization_container.jl Outdated
@jerrypotts
jerrypotts requested a review from acostarelli October 1, 2026 18:31
@jerrypotts
jerrypotts marked this pull request as ready for review October 1, 2026 18:31
@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.74274% with 44 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/investments/investment_model.jl 36.53% 33 Missing ⚠️
src/investments/investment_model_store.jl 81.48% 10 Missing ⚠️
src/core/settings.jl 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@jd-lara
jd-lara self-requested a review October 4, 2026 22:28
@@ -0,0 +1,99 @@
mutable struct InvestmentModelStore <: AbstractModelStore

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a separate store or can we generalize?

return
end

function write_optimizer_stats!(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, can we reuse the exiting code

@jd-lara jd-lara left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is still a lot of opportunities for code reuse with the decision model

@jd-lara
jd-lara force-pushed the jp/invest_integration branch from e9e753e to 70490b5 Compare October 6, 2026 05:21
@jd-lara
jd-lara force-pushed the jp/invest_integration branch from 70490b5 to e1ee146 Compare October 6, 2026 05:24
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.

2 participants