{"id":20012,"name":"Digital Twins Definition Language ontology for Energy Grid","description":"A global standard for energy grid assets management, power system operations modeling and physical energy commodity market.","url":"https://github.com/Azure/opendigitaltwins-energygrid","last_synced_at":"2026-06-01T15:30:20.910Z","repository":{"id":38249963,"uuid":"292128338","full_name":"Azure/opendigitaltwins-energygrid","owner":"Azure","description":"DTDL based ontology for Energy Grid ","archived":false,"fork":false,"pushed_at":"2021-06-11T21:38:00.000Z","size":840,"stargazers_count":66,"open_issues_count":2,"forks_count":26,"subscribers_count":11,"default_branch":"main","last_synced_at":"2026-05-29T14:02:52.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azure.png","metadata":{},"created_at":"2020-09-01T23:19:08.000Z","updated_at":"2026-04-24T08:52:48.000Z","dependencies_parsed_at":"2022-09-06T21:03:04.604Z","dependency_job_id":null,"html_url":"https://github.com/Azure/opendigitaltwins-energygrid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Azure/opendigitaltwins-energygrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure","download_url":"https://codeload.github.com/Azure/opendigitaltwins-energygrid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33735663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"Azure","name":"Microsoft Azure","uuid":"6844498","kind":"organization","description":"APIs, SDKs and open source projects from Microsoft Azure","email":null,"website":"https://docs.microsoft.com/en-us/azure/","location":"United States of America","twitter":"Azure","company":null,"icon_url":"https://avatars.githubusercontent.com/u/6844498?v=4","repositories_count":2270,"last_synced_at":"2025-10-30T00:34:32.085Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/Azure","funding_links":[],"total_stars":207710,"followers":13391,"following":0,"created_at":"2022-11-02T16:20:18.910Z","updated_at":"2025-10-30T00:34:32.085Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure/repositories"},"packages":[],"commits":{"id":1254047,"full_name":"Azure/opendigitaltwins-energygrid","default_branch":"main","total_commits":89,"total_committers":6,"total_bot_commits":1,"total_bot_committers":1,"mean_commits":14.833333333333334,"dds":0.1348314606741573,"past_year_total_commits":0,"past_year_total_committers":0,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":0.0,"past_year_dds":0.0,"last_synced_at":"2026-05-29T14:47:47.996Z","last_synced_commit":"b2ba9c7966921532ab945017aafd6f3611ae7b12","created_at":"2023-03-27T10:57:50.099Z","updated_at":"2026-05-29T14:47:32.681Z","committers":[{"name":"op-ravi","email":"omravi@microsoft.com","login":"op-ravi","count":77},{"name":"miriambrus","email":"miriamb@microsoft.com","login":"miriambrus","count":5},{"name":"Microsoft Open Source","email":"microsoftopensource","login":"microsoftopensource","count":4},{"name":"microsoft-github-operations[bot]","email":"55726097+microsoft-github-operations[bot]","login":"microsoft-github-operations[bot]","count":1},{"name":"Brian Crawford","email":"briancr@microsoft.com","login":"briancr-ms","count":1},{"name":"Akshay Johar","email":"ajohar@gmail.com","login":"akshayj-MSFT","count":1}],"past_year_committers":[],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-31T00:00:10.607Z","repositories_count":6251255,"commits_count":883831495,"contributors_count":35020102,"owners_count":1161497,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"Azure/opendigitaltwins-energygrid","html_url":"https://github.com/Azure/opendigitaltwins-energygrid","last_synced_at":"2026-05-27T13:01:08.936Z","status":"error","issues_count":5,"pull_requests_count":55,"avg_time_to_close_issue":109633.25,"avg_time_to_close_pull_request":6186.666666666667,"issues_closed_count":4,"pull_requests_closed_count":54,"pull_request_authors_count":5,"issue_authors_count":4,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":0.05454545454545454,"merged_pull_requests_count":53,"bot_issues_count":1,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"created_at":"2023-05-09T10:36:45.241Z","updated_at":"2026-05-27T13:01:08.936Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fopendigitaltwins-energygrid/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":4,"COLLABORATOR":1},"pull_request_author_associations_count":{"CONTRIBUTOR":52,"MEMBER":1,"NONE":1,"COLLABORATOR":1},"issue_authors":{"JMayrbaeurl":2,"Haigutus":1,"microsoft-github-operations[bot]":1,"Sveino":1},"pull_request_authors":{"op-ravi":49,"miriambrus":3,"LukasSchwendemann":1,"arvdrpoo":1,"briancr-ms":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-05-31T00:00:12.288Z","repositories_count":14738816,"issues_count":33445138,"pull_requests_count":110257725,"authors_count":11285885,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{},"past_year_pull_request_author_associations_count":{},"past_year_issue_authors":{},"past_year_pull_request_authors":{},"maintainers":[{"login":"arvdrpoo","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/arvdrpoo"},{"login":"briancr-ms","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/briancr-ms"},{"login":"Sveino","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Sveino"}],"active_maintainers":[]},"events":{"total":{"ForkEvent":3,"WatchEvent":7},"last_year":{"ForkEvent":2,"WatchEvent":3}},"keywords":[],"dependencies":[],"score":6.011267174404162,"created_at":"2023-09-11T14:52:08.987Z","updated_at":"2026-06-01T15:30:20.911Z","avatar_url":"https://github.com/Azure.png","language":null,"category":"Sustainable Development","sub_category":"Taxonomy and Ontology","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"\n# Digital Twins Definition Language (DTDL) ontology for Energy Grid \n\nDomain ontologies are the foundational components to develop global solutions with industry standards. The Azure IoT engineering team has been collaborating with customers, domain experts, and industry-standard organizations to develop DTDL ontologies by leveraging  the existing industry ontologies and best practices. Earlier, we published the DTDL ontologies for [smart buildings](https://github.com/Azure/opendigitaltwins-building) based on RealEstateCore, and for [smart cities](https://github.com/Azure/opendigitaltwins-smartcities) based on ETSI NGSI-LD. Today, we are releasing the energy grid ontology adapted from [Common Information Model (CIM)](https://cimug.ucaiug.org/Pages/About.aspx), a global standard for energy grid assets management, power system operations modeling and physical energy commodity market. The CIM-based DTDL ontology provides contextual understanding of data by identifying the properties of various grid entities and the relationships among them. Power \u0026 Utilities customers and partners can leverage as well as extend this open-source repository for their solutions and contribute their learnings to the repository for others to benefit from. \n\nThe CIM organizes entities into distinct packages. In this first iteration, we have included core, wire, and generation packages, and prosumer-related entities from metering, customer, and Distributed Energy Resource (DER) packages. We have selected them based on the implemented and in-progress solutions, and on the collaborative decision of the extended team members of Agder Energi, Statnett, Sirus, FiWare, and Azure IoT. \n- **Core Package** contains the PowerSystemResource, ConductingEquipmen, and common collections of those entities shared by all applications. Most of the other packages have associations and generalizations that depend on the core package. \n- **Wire Package** is an extension to the Core that provides model information on the electrical characteristics of transmission and distribution networks. This package is used by network applications, such as state estimation, load flow, and optimal power flow. \n- **Generation Package** has information for unit commitment and economic dispatch of hydro and thermal generating units, load forecasting, automatic generation control, and unit modeling for training simulation. \nLast but not least – **prosumer** – we included various entities related to consumer and DER in the prosumer folder. For examples, EquivalentLoad, UsagePoints, and MeterReading.\n\nIf you need additional entities before the next iteration, please contact us. If you already have DTDL grid entities feel free to contribute them to the repo.   \n\n![Energy grid models](EnergyGridOntologyModel.png)\n\n\n\n# How To Use\n\nUsing these models you can now build Azure Digital Twins based solution and bring it to life in a live execution environment.\n\nYou can use Azure Digital Twins Explorer to create a sample easily: upload models, instantiate entities in a twins graph, visualize the graph and run queries against the graph. \n\n\n# Contributing\n\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n# Modeling guidelines\n\nBefore creating new entities, [check if they exist already in the repo](https://github.com/Azure/opendigitaltwins-energygrid). You can look under each folder.\n\nTo learn how to adopt the ontology for your project, refer to [How to use the ontology](https://github.com/Azure/opendigitaltwins-smartcities#how-to-use).\n\n# Syntax\n\n- Use English terms, preferably American English.\n- Use camel case syntax for attribute names (camelcase).\n- Entity Type names must start with a Capital letter, for example: Substation.\n- Use names and not verbs for Attributes of type Property, for example: nominalVoltage, EquipmentContainer.\n- Use verbs for Relationship and optional an object, for example: locatedAt, partOf.\n\n# Data Types\nDTDL provides a full set of [primitive data types, along with support for a variety of complex schemas](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/dtdlv2.md#schemas).\n\n# Validation\nUse the [DTDL Validator tool](https://docs.microsoft.com/en-us/samples/azure-samples/dtdl-validator/dtdl-validator/) to validate the model document to make sure the DTDL is valid.\n\n# Resources\n- [Azure Digital Twins product page](https://azure.microsoft.com/services/digital-twins/)\n- [Azure Digital Twins documentation](https://docs.microsoft.com/en-us/azure/digital-twins/)\n- [Azure Digital Twins Tech Deep Dive](https://www.youtube.com/watch?v=5Ku55g1GQG8\u0026feature=youtu.be)\n- [Digital Twins Definition Language specification](https://github.com/Azure/opendigitaltwins-dtdl)\n- [DTDL Ontologies](https://docs.microsoft.com/en-us/azure/digital-twins/concepts-ontologies)\n- [ADT Explorer](https://github.com/Azure-Samples/digital-twins-explorer)\n- [Azure Digital Twins Model Uploader](https://github.com/Azure/opendigitaltwins-tools/tree/master/ADTTools#uploadmodels)\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact opencode@microsoft.com with any additional questions or comments.\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["3d-map","web-map"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/20012","html_url":"https://ost.ecosyste.ms/projects/20012"}