-
Notifications
You must be signed in to change notification settings - Fork 43
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
[CGMES GL] Add SubstationPosition extension when location on voltage levels #3159
Conversation
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
public PropertyBags getSubstationsPosition() { | ||
LOG.info("Querying triple store for substations positions"); | ||
return queryTripleStore(SUBSTASTION_POSITION_QUERY_KEY); | ||
public PropertyBags getSubstationsVoltageLevelsPosition() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public PropertyBags getSubstationsVoltageLevelsPosition() { | |
public PropertyBags getSubstationVoltageLevelPosition() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getSubstationVoltageLevelPositions()
(one query for all positions)
cgmes/cgmes-gl/src/main/java/com/powsybl/cgmes/gl/CgmesGLModel.java
Outdated
Show resolved
Hide resolved
cgmes/cgmes-gl/src/main/java/com/powsybl/cgmes/gl/CgmesGLModel.java
Outdated
Show resolved
Hide resolved
cgmes/cgmes-gl/src/main/java/com/powsybl/cgmes/gl/CgmesGLModel.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Sophie Frasnedo <93923177+So-Fras@users.noreply.github.com> Signed-off-by: Florian Dupuy <66690739+flo-dup@users.noreply.github.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
|
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
feature
What is the current behavior?
In CGMES GL import, only locations on substations PowerSystemResource are supported
What is the new behavior (if this is a feature change)?
In CGMES GL import, locations on substations and voltage levels PowerSystemResource are supported
Does this PR introduce a breaking change or deprecate an API?
Other information: