def get_derates()

in analysis/GreenSKU-Framework/src/carbon_model.py [0:0]


    def get_derates(self) -> Dict[str, float]:
        """Get the derates for the server components based on the derate curves and spec rate."""
        derates = {}
        for key, value in self.component_derate_curves.items():
            derates[key] = value(self.allocated_spec)
        return derates