Loading yang-models/_3gpp-energy-nrm-energyinformation.yang 0 → 100644 +121 −0 Original line number Diff line number Diff line module _3gpp-energy-nrm-energyinformation { yang-version 1.1; namespace urn:3gpp:sa5:_3gpp-energy-nrm-energyinformation; prefix energyinformation3gpp; import _3gpp-common-top { prefix top3gpp; } import _3gpp-5g-common-yang-types { prefix types5g3gpp; } import _3gpp-common-managed-element { prefix me3gpp; } import _3gpp-common-subnetwork { prefix subnet3gpp; } import _3gpp-common-yang-types { prefix types3gpp; } organization "3gpp SA5"; contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464"; description "This IOC represents the Energy Information NRM. Copyright 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved."; reference "3GPP TS 28.310"; revision 2025-05-08 { reference CR-1273 ; } feature energyinformationUnderSubNetwork { description "The energyinformation shall be contained under SubNetwork"; } feature energyinformationUnderManagedElement { description "The energyrelatedinformation shall be contained under ManagedElement"; } grouping EnergySourceInfo { description "This data type defines the information related to a type of energy source."; leaf energySourceType { type string; config true; description "The attribute is used to indicate the type of energy source used by an energy supply mode to produce the energy."; } leaf energySourceCef { type real; config true; units kg CO2eq/kWh; description "The attribute is used to indicate the Carbon Emission Factor of a type of energy source. Its unit is kg CO2eq / kWh. } leaf renewableEnergy { type boolean; config true; description "This attribute represents if the energy source is renewable or non-renewable. } leaf energyCompositionPercentage { type real; config true; default 100; description "The attribute is used to indicate the percentage of energy source type used by the energy supply mode."; } } grouping EnergyInfoGroup { description "This IOC represents a group of Network Elements and information related to the energy supply modes that are used to power them."; list energySupplyModeRefList { type DN; config true; description "The list of energy supply modes for the Network Elements of the group"; } list memberDNList { type DN; config true; default 0; description "This attribute contains the DNs of managed entities that are members of the energy info group."; } } grouping EnergySupplyInfo { description "This IOC defines the information related to energy supply and the sources used to produce the energy."; leaf energySupplyMode { type enumeration { enum GRID_ELECTRICITY; enum BACKUP_ENERGY; enum LOCALLY_GENERATED_ENERGY; } config true; description "This attribute indicates the mode by which energy is supplied to a Network Element. } list energySourceList { type EnergySourceInfo; config true; description "This attribute represents the list of sources used to produce the energy by the supplier. This includes energy related information i.e., carbon emission and renewable energy related information, and the percentage of the energy produced using the source."; } } augment "/subnet3gpp:SubNetwork" { if-feature energyinformationUnderSubNetwork; uses EnergyInfoGroup; } augment "/me3gpp:ManagedElement" { if-feature energyinformationUnderManagedElement; uses EnergyInfoGroup; } } No newline at end of file Loading
yang-models/_3gpp-energy-nrm-energyinformation.yang 0 → 100644 +121 −0 Original line number Diff line number Diff line module _3gpp-energy-nrm-energyinformation { yang-version 1.1; namespace urn:3gpp:sa5:_3gpp-energy-nrm-energyinformation; prefix energyinformation3gpp; import _3gpp-common-top { prefix top3gpp; } import _3gpp-5g-common-yang-types { prefix types5g3gpp; } import _3gpp-common-managed-element { prefix me3gpp; } import _3gpp-common-subnetwork { prefix subnet3gpp; } import _3gpp-common-yang-types { prefix types3gpp; } organization "3gpp SA5"; contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464"; description "This IOC represents the Energy Information NRM. Copyright 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved."; reference "3GPP TS 28.310"; revision 2025-05-08 { reference CR-1273 ; } feature energyinformationUnderSubNetwork { description "The energyinformation shall be contained under SubNetwork"; } feature energyinformationUnderManagedElement { description "The energyrelatedinformation shall be contained under ManagedElement"; } grouping EnergySourceInfo { description "This data type defines the information related to a type of energy source."; leaf energySourceType { type string; config true; description "The attribute is used to indicate the type of energy source used by an energy supply mode to produce the energy."; } leaf energySourceCef { type real; config true; units kg CO2eq/kWh; description "The attribute is used to indicate the Carbon Emission Factor of a type of energy source. Its unit is kg CO2eq / kWh. } leaf renewableEnergy { type boolean; config true; description "This attribute represents if the energy source is renewable or non-renewable. } leaf energyCompositionPercentage { type real; config true; default 100; description "The attribute is used to indicate the percentage of energy source type used by the energy supply mode."; } } grouping EnergyInfoGroup { description "This IOC represents a group of Network Elements and information related to the energy supply modes that are used to power them."; list energySupplyModeRefList { type DN; config true; description "The list of energy supply modes for the Network Elements of the group"; } list memberDNList { type DN; config true; default 0; description "This attribute contains the DNs of managed entities that are members of the energy info group."; } } grouping EnergySupplyInfo { description "This IOC defines the information related to energy supply and the sources used to produce the energy."; leaf energySupplyMode { type enumeration { enum GRID_ELECTRICITY; enum BACKUP_ENERGY; enum LOCALLY_GENERATED_ENERGY; } config true; description "This attribute indicates the mode by which energy is supplied to a Network Element. } list energySourceList { type EnergySourceInfo; config true; description "This attribute represents the list of sources used to produce the energy by the supplier. This includes energy related information i.e., carbon emission and renewable energy related information, and the percentage of the energy produced using the source."; } } augment "/subnet3gpp:SubNetwork" { if-feature energyinformationUnderSubNetwork; uses EnergyInfoGroup; } augment "/me3gpp:ManagedElement" { if-feature energyinformationUnderManagedElement; uses EnergyInfoGroup; } } No newline at end of file