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

Merged
merged 91 commits into from
Sep 25, 2024
Merged

AMPL export : extended exporter #2604

merged 91 commits into from
Sep 25, 2024

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

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-pierr nicolas-pierr requested a review from annetill June 7, 2023 09:09
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>
@nicolas-pierr nicolas-pierr force-pushed the ampl/extended-exporter branch from 14b1167 to 334e7e0 Compare June 13, 2023 12:50
Signed-off-by: Nicolas Pierre <nicolas.pierre@artelys.com>
@sonarqubecloud
Copy link

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

@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)

So-Fras and others added 2 commits September 18, 2024 17:07
@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>
@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.

Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
docs/grid_exchange_formats/ampl/export.md Outdated Show resolved Hide resolved
docs/grid_exchange_formats/ampl/export.md Outdated Show resolved Hide resolved
docs/grid_exchange_formats/ampl/export.md Outdated Show resolved Hide resolved
docs/grid_exchange_formats/ampl/export.md Outdated Show resolved Hide resolved
So-Fras and others added 3 commits September 24, 2024 16:53
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
Co-authored-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
@olperr1 olperr1 changed the title Ampl export : extended exporter AMPL export : extended exporter Sep 24, 2024
Copy link

@olperr1 olperr1 merged commit bd86544 into main Sep 25, 2024
7 checks passed
@olperr1 olperr1 deleted the ampl/extended-exporter branch September 25, 2024 05:43
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.

9 participants