Skip to content

Feature/reserve model lot3 scalian#2575

Draft
h-fournier wants to merge 470 commits intodevelopfrom
feature/reserve_model_lot3_scalian
Draft

Feature/reserve model lot3 scalian#2575
h-fournier wants to merge 470 commits intodevelopfrom
feature/reserve_model_lot3_scalian

Conversation

@h-fournier
Copy link
Collaborator

@h-fournier h-fournier commented Jan 13, 2025

Add the reserves to the simulator.
Thermal clusters, Short term storage and Long Term storage can participate to the reserves

From @guilpier-code (reviewer) :
Have in mind that Antares Simulator is a legacy code.
It contains very poor historic code that we try to improve any time we can.
So Antares Simulator team can ask for better code quality where the surrounding code is poor.
You're not supposed to know that (something should have been done to inform Scalian sooner).

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 4, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
9.4% Coverage on New Code (required ≥ 60%)
18.4% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

1 similar comment
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
9.4% Coverage on New Code (required ≥ 60%)
18.4% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@JasonMarechal25
Copy link
Contributor

Hello. I've started to review this PR. I haven't read every thing yet.
My comment are often more on the "form" than the "matter".
One of the important point I would raise is the lack of unit testing.

Most of the comments are more on the "let's try to do it another way that I feel may be better" side rather than "I commend to do this". Feel free to challenge them or reach out directly for any question or discussion

url = https://github.com/AntaresSimulatorTeam/Antares_Simulator_Tests_NR.git
branch = main
ignore = dirty
url = https://github.com/sylvmara/Antares_Simulator_Tests_NR.git
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not forget to revert this file.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above : please revert this change on sub module.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
43.8% Coverage on New Code (required ≥ 60%)
18.1% Duplication on New Code (required ≤ 3%)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Member

@flomnes flomnes left a comment

Choose a reason for hiding this comment

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

Utiliser Type* plutôt que std::optional<std::reference_wrapper<Type>>

@pull-request-size
Copy link

This PR is too big. Please break it up into smaller PRs.

h-fournier and others added 30 commits January 6, 2026 13:55
- Fix issue on ReserveParticipation MARG.COST with the name
- Fix issue with the ST group (duplicated groupName in the data structures)
- Add columns to see EXP, std, min and max values for each output
- Rework  VCardReserveParticipationBase class with default values and add the possibility to output EXP, std, min, max or just EXP
- Clean some functions related to the outputs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants