-
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
Generic Area model in iIDM #2883
Comments
Closed
After a first look at the PR and reading again the issue:
|
Hello @annetill, thank you for the feedbacks !
|
Just for me, as a reminder of a similar need from our side https://github.com/powsybl/powsybl-core/blob/main/cgmes/cgmes-extensions/src/main/java/com/powsybl/cgmes/extensions/CgmesControlArea.java. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the current behavior
iIDM (today) v1.12 supports the following which somewhat mimics areas:
Describe the expected behavior
Although above data model fits most simple use cases, it comes with limitations for real world cases:
We propose to introduce a generic "area" concept in iIDM v1.13, separated from the above-mentioned features which will remain as is.
Describe the motivation
Extra Information
AreaType
AreaType-s are modeled by a simple string attribute in Area.
PowSyBl does not pre-define any AreaType, user can adapt to their specific use case.
Examples of AreaTypes are:
Note: for a later iIDM version, AreaType-s could be an
iidm:Identifiable
(using a newiidm:IdentifiableType.AREA_TYPE
)and defined/contained in an iidm:Network and allow data engineer to describe the type of areas that will be instantiated in the Network. Those instances would not follow the very hierarchical geographic relationship that other Identifiable-s have, and could exist in several subnetworks and in a mergedNetwork. How to handle properly such transverse instance remains to be defined.Area
An Area is defined by:
iidm:AbstractIdentifiable
Then depending on use case, an Area may be used to:
AreaBoundary
An AreaBoundary is defined by
Area assignment
VoltageLevel-s may be assigned zero, one, or multiples areas.
A VoltageLevel object may have only one Area of a given AreaType.
Defining two areas of the same AreaType on the same VoltageLevel is forbidden and rejected.
Networks and Subnetworks are not assigned to area. Their getAreas methods return all of their known Area-s, which may include several Area-s of the same areaType.
Network merge
Two network with the same Area (ie Area-s with the same ID) cannot be merged.
The merge will fail with an error, as it does for all Identifiable-s with conflicting IDs.
iIDM (de)serialization
serialisation to iIDM versions <= 1.12 will not export area related objects/fields.
The text was updated successfully, but these errors were encountered: