Struct sep2_common::packages::pricing::EnvironmentalCost
source · pub struct EnvironmentalCost {
pub amount: Uint32,
pub cost_kind: CostKindType,
pub cost_level: Uint8,
pub num_cost_levels: Uint8,
}
pricing
only.Expand description
Provides alternative or secondary price information for the relevant RateComponent. Supports jurisdictions that seek to convey the environmental price per unit of the specified commodity not expressed in currency. Implementers and consumers can use this attribute to prioritize operations of their HAN devices (e.g., PEV charging during times of high availability of renewable electricity resources).
Fields§
§amount: Uint32
The estimated or actual environmental or other cost, per commodity unit defined by the ReadingType, for this RateComponent (e.g., grams of carbon dioxide emissions each per kWh).
cost_kind: CostKindType
The kind of cost referred to in the amount.
cost_level: Uint8
The relative level of the amount attribute. In conjunction with numCostLevels, this attribute informs a device of the relative scarcity of the amount attribute (e.g., a high or low availability of renewable generation). numCostLevels and costLevel values SHALL ascend in order of scarcity, where “0” signals the lowest relative cost and higher values signal increasing cost. For example, if numCostLevels is equal to “3,” then if the lowest relative costLevel were equal to “0,” devices would assume this is the lowest relative period to operate. Likewise, if the costLevel in the next TimeTariffInterval instance is equal to “1,” then the device would assume it is relatively more expensive, in environmental terms, to operate during this TimeTariffInterval instance than the previous one. There is no limit to the number of relative price levels other than that indicated in the attribute type, but for practicality, service providers should strive for simplicity and recognize the diminishing returns derived from increasing the numCostLevel value greater than four.
num_cost_levels: Uint8
The number of all relative cost levels. In conjunction with costLevel, numCostLevels signals the relative scarcity of the commodity for the duration of the TimeTariffInterval instance (e.g., a relative indication of cost). This is useful in providing context for nominal cost signals to consumers or devices that might see a range of amount values from different service providres or from the same service provider.
Trait Implementations§
source§impl Clone for EnvironmentalCost
impl Clone for EnvironmentalCost
source§fn clone(&self) -> EnvironmentalCost
fn clone(&self) -> EnvironmentalCost
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnvironmentalCost
impl Debug for EnvironmentalCost
source§impl Default for EnvironmentalCost
impl Default for EnvironmentalCost
source§fn default() -> EnvironmentalCost
fn default() -> EnvironmentalCost
source§impl PartialEq<EnvironmentalCost> for EnvironmentalCost
impl PartialEq<EnvironmentalCost> for EnvironmentalCost
source§fn eq(&self, other: &EnvironmentalCost) -> bool
fn eq(&self, other: &EnvironmentalCost) -> bool
self
and other
values to be equal, and is used
by ==
.