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

Ampl export : extended exporter #2604

Open
wants to merge 85 commits into
base: main
Choose a base branch
from
Open

Conversation

nicolas-pierr
Copy link
Contributor

@nicolas-pierr nicolas-pierr commented Jun 7, 2023

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?
Feature :
Leverage #2597 to add new columns to the export:

  • A slack bus boolean in the bus table
  • r, g and b in Tap tables like it is already done for x
  • The regulating bus id for generators and Static var compensators that are in voltage regulation mode

This PR can't be accepted before #2597 is merged !

Nicolas Pierre added 8 commits June 2, 2023 15:19
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
@nicolas-pierr nicolas-pierr self-assigned this Jun 7, 2023
Nicolas Pierre added 7 commits June 7, 2023 17:10
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
@nicolas-pierr nicolas-pierr requested review from geofjamg and Hadrien-Godard and removed request for annetill June 13, 2023 12:44
Nicolas Pierre added 7 commits June 13, 2023 14:50
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
remove static getFactory

Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Slack bus boolean in Bus
r g and b in TapSteps
regulating bus id in Generators and Svc

Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
@sonarcloud
Copy link

sonarcloud bot commented Jun 13, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

91.9% 91.9% Coverage
0.3% 0.3% Duplication

Copy link
Member

@So-Fras So-Fras left a comment

Choose a reason for hiding this comment

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

Thanks for the work, I left some remarks.
The duplication in ExtendedAmplExporterV1 is a real pain but I am not sure that it is possible to write a cell at a specific index with the current TableFormatter. I am going to ask for more opinions on that.

p-arvy and others added 6 commits September 11, 2024 14:42
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
Signed-off-by: Nicolas Rol <nicolas.rol@rte-france.com>
@So-Fras So-Fras assigned p-arvy and unassigned pjeanmarie and nicolas-pierr Sep 17, 2024
@So-Fras
Copy link
Member

So-Fras commented Sep 18, 2024

@rolnico worked on the duplication topic and suggests 2 solutions in 2 different branches: nro/ampl-extended-exporter and nro/ampl-extended-exporter-with-position. @olperr1 or @flo-dup, could you have a look at them? Thanks a lot!

@rolnico
Copy link
Member

rolnico commented Sep 18, 2024

@rolnico worked on the duplication topic and suggests 2 solutions in 2 different branches: nro/ampl-extended-exporter and nro/ampl-extended-exporter-with-position. @olperr1 or @flo-dup, could you have a look at them? Thanks a lot!

(Personally I find the nro/ampl-extended-exporter-with-position branch solution better)

@olperr1
Copy link
Member

olperr1 commented Sep 19, 2024

@rolnico worked on the duplication topic and suggests 2 solutions in 2 different branches: nro/ampl-extended-exporter and nro/ampl-extended-exporter-with-position. @olperr1 or @flo-dup, could you have a look at them? Thanks a lot!

(Personally I find the nro/ampl-extended-exporter-with-position branch solution better)

The nro/ampl-extended-exporter-with-position branch solution is great. Nice work!

I pushed an additional commit in it to use index constants instead of their numeric values (to be more robust and increase readability), but I think it can be merged in this PR.

Note that #3120 can easily be adapted to use the TableFormatterHelper introduced by this solution.

So-Fras and others added 2 commits September 20, 2024 16:46
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Copy link

sonarcloud bot commented Sep 20, 2024

@So-Fras
Copy link
Member

So-Fras commented Sep 22, 2024

I am sorry @p-arvy , I forgot to ask for the documentation... I put the "ready to be merged" label a bit too early.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants