Skip to content

Adjust upper and lower bounds for market constraint - #95

Open
FelixStege wants to merge 2 commits into
mainfrom
94-market-constraints-for-real-time-use
Open

FelixStege wants to merge 2 commits into
mainfrom
94-market-constraints-for-real-time-use

Conversation

@FelixStege

Copy link
Copy Markdown
Contributor

No description provided.

@FelixStege FelixStege linked an issue Jul 30, 2026 that may be closed by this pull request
@FelixStege

Copy link
Copy Markdown
Contributor Author

The market constraints can lead to infeasible optimization problems in a real-time environment. With real-time, the full control sent by the Baseline MPC is interpolated onto the prediction horizon of the subsequently (and therefore slighly later) executed shadow mpcs, which leads to a shift of the control signal by the computation time of the Baseline. This causes linear interpolation over the collocation points for the constraints on the control variable of the shadow mpcs resulting in an infeasible problem sicne the control variable needs to be constant over the collocation interval.

@FelixStege

Copy link
Copy Markdown
Contributor Author

The current solution fails in the case of negative values for the control variable. The parsing should take the absolute values to avoid problems

This branch has not been deployed

No deployments
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.

Market constraints for real time use

1 participant