HasConsumptionAndEmbodiedImpacts#
- class impacthpc.src.HasConsumptionAndEmbodiedImpacts(embodied_impacts: Impacts | None = None, electric_power: ReplicableValue | str | None = None, peak_power: ReplicableValue | str | None = None, idle_power: ReplicableValue | str | None = None)
Bases:
HasEmbodiedImpacts
,ABC
Abstract class defining the methods for estimating electric power, peak power and idle power
- embodied_impacts
The embodied impacts of the component. If the value is known,
estimate_embodied_impacts()
returns it, otherwise an estimation is done based on other attributes. Defaults to None.- Type:
Impacts | None, optional
- electric_power
The electric power of the component. If the value is known,
estimate_electric_power()
returns it, otherwise an estimation is done based on other attributes. Defaults to None.- Type:
ReplicableValue | str | None, optional
- peak_power
The peak power of the component. If the value is known,
estimate_peak_power()
returns it, otherwise an estimation is done based on other attributes . Defaults to None.- Type:
ReplicableValue | str | None, optional
- idle_power
The idle power of the component. If the value is known,
estimate_idle_power()
returns it, otherwise an estimation is done based on other attributes. Defaults to None.- Type:
ReplicableValue | str | None, optional
Methods Summary
Returns the maximum consumption of the component
Returns the minimum consumption of the component, the consumption it has when no job are running
Methods Documentation
- abstractmethod estimate_electric_power() ReplicableValue | None #
- estimate_peak_power() ReplicableValue | None #
Returns the maximum consumption of the component
- estimate_idle_power() ReplicableValue | None #
Returns the minimum consumption of the component, the consumption it has when no job are running
- __repr__()
Return repr(self).
- abstractmethod estimate_electric_power() ReplicableValue | None
- estimate_idle_power() ReplicableValue | None
Returns the minimum consumption of the component, the consumption it has when no job are running
- estimate_peak_power() ReplicableValue | None
Returns the maximum consumption of the component