Skip to content

Optimizer: Add absolute physical grid import limit PMaxAbsImp#28186

Draft
RenatusRo wants to merge 2 commits intoevcc-io:masterfrom
RenatusRo:add-PMaxAbsImp
Draft

Optimizer: Add absolute physical grid import limit PMaxAbsImp#28186
RenatusRo wants to merge 2 commits intoevcc-io:masterfrom
RenatusRo:add-PMaxAbsImp

Conversation

@RenatusRo
Copy link
Contributor

@RenatusRo RenatusRo commented Mar 13, 2026

@RenatusRo RenatusRo changed the title Add-PMaxAbsImp Optimizer: Add absolute physical grid import limit PMaxAbsImp Mar 13, 2026

// soft limit pMaxImp defaults to current-derived if not set, and vice versa
pMaxImp := lo.CoalesceOrEmpty(pMaxPower, pMaxFromCurrent)
pMaxAbsImp := lo.CoalesceOrEmpty(pMaxFromCurrent, pMaxPower)
Copy link
Member

Choose a reason for hiding this comment

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

Why does it need both?

@andig andig added the enhancement New feature or request label Mar 14, 2026
@andig
Copy link
Member

andig commented Mar 14, 2026

It's unclear what this PR does :(

@github-actions github-actions bot added the stale Outdated and ready to close label Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request stale Outdated and ready to close

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants