diff --git a/paseos/actors/spacecraft_actor.py b/paseos/actors/spacecraft_actor.py index a64d193e..30f75272 100644 --- a/paseos/actors/spacecraft_actor.py +++ b/paseos/actors/spacecraft_actor.py @@ -109,10 +109,19 @@ def temperature_in_K(self) -> float: """Returns the current temperature of the actor in K. Returns: - float: Temperature in Kelvin. + float: Actor temperature in Kelvin. """ return self._thermal_model.temperature_in_K + @property + def temperature_in_C(self) -> float: + """Returns the current temperature of the actor in C. + + Returns: + float: Actor temperature in Celsius. + """ + return self._thermal_model.temperature_in_K - 273.15 + @property def state_of_charge(self): """Get the current battery level as ratio of maximum.