Next-generation time of death estimation: combining surrogate model-based parameter optimization and numerical thermodynamics