HDD#

class impacthpc.HDD(embodied_impacts: Impacts | None = None, electric_power: ReplicableValue | str | None = None, peak_power: ReplicableValue | str | None = None, idle_power: ReplicableValue | str | None = None)#

Bases: HasConsumptionAndEmbodiedImpacts

Subclass of Component representing a HDD disk.

This class uses the same estimation as BoavitzAPI, described in

Thibault Simon, David Ekchajzer, Adrien Berthelot, Eric Fourboul, Samuel Rince, et al.. BoaviztAPI: a bottom-up model to assess the environmental impacts of cloud services. HotCarbon’24 - 3rd Workshop on Sustainable Computer Systems, Jul 2024, Santa Cruz, United States. hal-04621947v3"

See the documentation of BoavitzAPI : https://doc.api.boavizta.org/Explanations/components/hdd/

Methods Summary

Methods Documentation

estimate_electric_power() ReplicableValue | None#

Instant consumption of HDD is ignored.

Returns:

Always returns None.

Return type:

ReplicableValue | None

estimate_embodied_impacts() Impacts#

Estimate the embodied impacts of the HDD.

Simply returns a constant impact defined in the config file under default_value_hdd.

Returns:

The HDD embodied impacts .

Return type:

Impact | 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