Skip to content

Custom Example for using piecewise linear conversion#135

Draft
petrareisz wants to merge 2 commits intoait-energy:mainfrom
petrareisz:main
Draft

Custom Example for using piecewise linear conversion#135
petrareisz wants to merge 2 commits intoait-energy:mainfrom
petrareisz:main

Conversation

@petrareisz
Copy link
Copy Markdown

This example takes the one presented in #133 further by using a piecewise linear interpolation function.
It interpolates a non-linear conversion function being typical for a real comboned heat and power unit.

@petrareisz petrareisz requested review from daschw and sstroemer January 5, 2026 13:48
@petrareisz petrareisz marked this pull request as draft January 5, 2026 13:49
@petrareisz
Copy link
Copy Markdown
Author

The model with the linear interpolated constraints solves and it is feasible.

However, there seems to be am error apparently when extracting results, see when you call IESOpt.run() on the yaml config.

Maybe an IESOpt bug @sstroemer @daschw ?

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.79%. Comparing base (960e7ec) to head (5e3645f).

@@           Coverage Diff           @@
##             main     #135   +/-   ##
=======================================
  Coverage   49.79%   49.79%           
=======================================
  Files         113      113           
  Lines        4739     4739           
=======================================
  Hits         2360     2360           
  Misses       2379     2379           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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