Skip to content

[FEATURE] ID attribute to int64 #1575

Description

@KennethRuys

Describe the feature request

Problem faced
At Enexis, the ID's we use in our software systems are from an external system and are in int64 format. Currently we create a mapping from int64's -> int32 for power-grid-model, however this requires additional administration on our end. A team member even mentioned non-numeric id's which also exist in Enexis

Some investigation already done:

  • Statically adjust the type for all ID's always to int64
    • The major drawback is the increase in RAM for everyone, also everyone that can use smaller ints
  • Dynamically with the introduction on an additional template
    • The major drawback is that every type that inherits from Base needs it in their template and this makes the code less clear in my opinion
  • Compile time
    • The major drawback is if-else compile flags through the code

Community Meeting

  • I wish to discuss this feature in the bi-monthly PGM community meeting. Please join the PGM community meeting.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestimprovementImprovement on internal implementation

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions