3lbits / CIM4NoUtility

CIM for the Norwegian Power Utility
Creative Commons Attribution Share Alike 4.0 International
20 stars 7 forks source link

UsagePoint nc-no extensions for Customer modelling in CIM17 #350

Open ThomasRanvikEriksen opened 1 month ago

ThomasRanvikEriksen commented 1 month ago

We need a model that handles the installation data

We need to extend UsagePoint to handle these data in CIM17 nc-no:UsagePoint.mainFuse --> Main Fuse (Hovedsikring) cim:UsagePoint.ratedCurrent --> "intake fuse" (Inntakssikring) cim:UsagePoint.phaseCount nc-no:UsagePoint.

We also need to create the future model with DeliveryPoint, Installation and UsagePoint where UsagePoint is mainly ment for Billing and the other 2 are mainly ment for Installation and Calculation

svenCallaertsLede commented 1 month ago
{
    "nc-no:UsagePoint": [
        {
            "Names": [
                {
                    "NameType": {
                        "NameTypeAuthority": {
                            "description": "Unique identifier standard ean",
                            "name": "ean"
                        },
                        "description": "Unique identifier for UsagePoint in on-prem systems",
                        "name": "usagePointId"
                    },
                    "name": "707057500042802908"
                }
            ],
            "UsagePointLocation": {
                "Names": [
                    {
                        "NameType": {
                            "NameTypeAuthority": {
                                "name": "ean"
                            },
                            "description": "Unique identifier for site in customer",
                            "name": "siteId"
                        },
                        "name": "1090121"
                    }
                ],
                "PositionPoints": [
                    {
                        "xPosition": "9.665278",
                        "yPosition": "59.111235"
                    }
                ],
                "streetAddress": {
                    "streetDetail": {
                        "name": "TESTANLEGG",
                        "number": "0"
                    },
                    "townDetail": {
                        "code": "3080",
                        "country": "NOR",
                        "name": "HOLMESTRAND"
                    }
                }
            },
            "connectionState": "connected",
            "isVirtual": false,
            "nc-no:DeliveryPoint": {
                "nc-no:MainFuse": {
                    "nc-no:phaseCount": 2,
                    "ratedCurrent": 40.0
                },
                "phaseCount": 3,
                "ratedCurrent": 160.0
            },
            "phaseCode": "ABC",
            "phaseCount": 1,
            "ratedCurrent": 35.0
        }
    ]
}