Skip to content

Support 3d variables in EmulationModel#1514

Draft
daniel-thom wants to merge 36 commits intomainfrom
fix/3d-emulation-models
Draft

Support 3d variables in EmulationModel#1514
daniel-thom wants to merge 36 commits intomainfrom
fix/3d-emulation-models

Conversation

@daniel-thom
Copy link
Contributor

No description provided.

SebastianManriqueM and others added 30 commits December 2, 2025 18:10
@daniel-thom daniel-thom requested a review from m-bossart January 8, 2026 18:46
@github-actions
Copy link
Contributor

github-actions bot commented Jan 8, 2026

Performance Results

Version Precompile Time
Main 4.419132912
This Branch 4.365537608
Version Build Time
Main-Build Time Precompile 99.58257297
Main-Build Time Postcompile 1.217236504
This Branch-Build Time Precompile 96.791712251
This Branch-Build Time Postcompile 1.286677615
Version Build Time
Main- Solve Time Precompile FAILED TO TEST
Main- Solve Time Postcompile FAILED TO TEST
This Branch-Solve Time Precompile 314.332589438
This Branch-Solve Time Postcompile 267.884281292

Copy link
Member

@GabrielKS GabrielKS left a comment

Choose a reason for hiding this comment

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

I recommend using the functionality in src/utils/indexing.jl, such as assign_maybe_broadcast!, rather than manually branching on number of dimensions all the time. That is how I handle all the 3D parameters stuff internally and it leads to lots less duplicate code and doesn't seem to be horrible performance-wise. My draft PR #1518 is an example of how to do that with results — that should probably be subsumed within this.

@jd-lara
Copy link
Member

jd-lara commented Feb 5, 2026

This PR needs testing with the IEC curves.

@jd-lara jd-lara changed the base branch from sm/g-1_contingency_flow_slacks to main February 5, 2026 23:45
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.

5 participants