Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ramping model scalian #183

Open
wants to merge 76 commits into
base: New-Antares-Emulator-2
Choose a base branch
from

Conversation

meslubi2021
Copy link
Collaborator

No description provided.

bencamus and others added 24 commits December 5, 2023 17:17
…ion for the first hour is constrained the production of the last hour + remove commented ramping debug logs
…zing the NODU variables during the second optimization step for the cluster with ramping
… ramping model to fix issue with ramping behavior + update of the output ramping cost to be aligned with the constraints
@meslubi2021 meslubi2021 self-assigned this Jul 17, 2024
…nits as it is already included in the starting thermal units term
payetvin and others added 30 commits January 23, 2025 09:11
Problème constaté par Amine sur le MILP avec Xpress. L'erreur est du à
un mauvais ceiling sur des valeurs égales à n+10^-10 qui deviennent n+1
avec le ceil au lieu de n.

---------

Co-authored-by: Juliette-Gerbaux <[email protected]>
Co-authored-by: payetvin <[email protected]>
Co-authored-by: Vincent Payet <[email protected]>
Co-authored-by: Florian Omnès <[email protected]>
On a vector, `push_back` triggers reallocations and copies/moves if the vector capacity is too small. This degrades performance and can be avoided easily by using `reserve`.
- Remove most `new[]` and `delete[]` from output variables
- Remove constructor & destructor declarations & definitions (the
default constructor is now used)
- Make class `IntermediateValues` copyable and assignable, since it is
required for `std::vector<IntermediateValues>::resize`

Some `new[]` / `delete[]` remain. They are more difficult to remove due
to template shenanigans. This is the case for variables with dynamic
columns, or spatial agregation.
Bumps
[mattnotmitt/doxygen-action](https://github.com/mattnotmitt/doxygen-action)
from 1.9.8 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mattnotmitt/doxygen-action/releases">mattnotmitt/doxygen-action's
releases</a>.</em></p>
<blockquote>
<h2>Doxygen v1.12.0</h2>
<ul>
<li>Based on alpine 3.21</li>
</ul>
<h2>Doxygen v1.11.0</h2>
<p>Based on Alpine 3.20.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mattnotmitt/doxygen-action/commit/b84fe17600245bb5db3d6c247cc274ea98c15a3b"><code>b84fe17</code></a>
v1.12.0</li>
<li><a
href="https://github.com/mattnotmitt/doxygen-action/commit/6627c43cfd4f41d5d2161501813eb1e254e3f71f"><code>6627c43</code></a>
Update readme versions</li>
<li>See full diff in <a
href="https://github.com/mattnotmitt/doxygen-action/compare/v1.9.8...v1.12.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mattnotmitt/doxygen-action&package-manager=github_actions&previous-version=1.9.8&new-version=1.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abdoulbari Zaher <[email protected]>
- Remove default constructor/destructor
- Remove useless `std::make_shared`, use the stack instead
…s` (#2593)

Add unit tests in class `IntermediateValues` which is used for the time
aggregation of the results, both for a full year and a partial year.
`std::exception`'s constructors don't accept `std::strings`, so it's a
bit strange to override method `what`

https://en.cppreference.com/w/cpp/error/exception/exception
Remove `addVariables_`, `std::make_unique`, etc. Keep the same overall
behavior.
Associated to [epic
4.1](https://gopro-collaboratif.rte-france.com/pages/viewpage.action?pageId=411149942).
Associated to [ticket
ANT-2031](https://gopro-tickets.rte-france.com/browse/ANT-2031)

---------

Co-authored-by: Florian OMNES <[email protected]>
Co-authored-by: Florian Omnès <[email protected]>
Merging with latest developements to pass tests
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.

9 participants