Cooling#
- class impactshpc.src.Cooling(cooling_power: ReplicableValue | str, embodied_impacts: Impacts | None = None, allocation_method: AllocationMethod | None = None)
Bases:
HasEmbodiedImpactsRepresents the cooling system and is used to compute its embodied impacts <TODO : REPLACE WITH ONTOLOGY OF EMBODIED IMPACTS>`_.
- embodied_impacts
The embodied impacts of the cooling system. If the value is known,
estimate_embodied_impacts()returns it, otherwise an estimation is done based on other attributes. Defaults to None.
- cooling_power
The cooling power, in watts.
- Type:
- allocation_method
An Allocation Method used to attribute a part of the embodied impact of the cooling system to a specific job.
- Type:
AllocationMethod
Methods Summary
embedded_impacts(job_duration)Estimate the Embedded impacts of the cooling system for the job.
Methods Documentation
- embedded_impacts(job_duration: ReplicableValue) Impacts#
Estimate the Embedded impacts of the cooling system for the job.
Internally uses
estimate_embodied_impacts()and passes it theallocation_methodwith thejob_duration.- Parameters:
job_duration (ReplicableValue) – The duration of the job we want to allocate the embodied impacts to.
- Returns:
The Embedded impacts of the cooling system for the job.
- Return type:
Impact
- estimate_embodied_impacts() Impacts#
Estimate the embodied impacts of the cooling system.
If
embodied_impactsis not None, this method only returns it.The embodied impacts of the cooling system are reduced to the impact of the refrigeration unit.
Interpolation factors are defined for the different phases. The extrapolation factor for a refrigeration unit of X watts is a number close to 1, which, when multiplied by the reference impacts (defined in the config file under csv > cooling_impacts), gives the impact of a refrigeration unit of X watts. For our estimation, we interpolate between the two closest extrapolation factors (defined in the config file under csv > cooling_extrapolation_factors).
For example, if the
cooling_poweris 355 W, to compute the impact of the manufacturing phase, we will interpolate between the two closest extrapolation factors: for 346 W it’s 1.12, and for 380 W it’s 1.099. The interpolated factor is then multiplied by the reference impact (for the GWP impact, it’s 60.4 kg CO2eq) to give the impact of the 355 W refrigeration unit.- Returns:
The embodied impact of the cooling system.
- Return type:
Impact
- embedded_impacts(job_duration: ReplicableValue) Impacts
Estimate the Embedded impacts of the cooling system for the job.
Internally uses
estimate_embodied_impacts()and passes it theallocation_methodwith thejob_duration.- Parameters:
job_duration (ReplicableValue) – The duration of the job we want to allocate the embodied impacts to.
- Returns:
The Embedded impacts of the cooling system for the job.
- Return type:
Impact
- estimate_embodied_impacts() Impacts
Estimate the embodied impacts of the cooling system.
If
embodied_impactsis not None, this method only returns it.The embodied impacts of the cooling system are reduced to the impact of the refrigeration unit.
Interpolation factors are defined for the different phases. The extrapolation factor for a refrigeration unit of X watts is a number close to 1, which, when multiplied by the reference impacts (defined in the config file under csv > cooling_impacts), gives the impact of a refrigeration unit of X watts. For our estimation, we interpolate between the two closest extrapolation factors (defined in the config file under csv > cooling_extrapolation_factors).
For example, if the
cooling_poweris 355 W, to compute the impact of the manufacturing phase, we will interpolate between the two closest extrapolation factors: for 346 W it’s 1.12, and for 380 W it’s 1.099. The interpolated factor is then multiplied by the reference impact (for the GWP impact, it’s 60.4 kg CO2eq) to give the impact of the 355 W refrigeration unit.- Returns:
The embodied impact of the cooling system.
- Return type:
Impact