preheat_open.helpers.timestep_start

preheat_open.helpers.timestep_start(step, t)

Computes the start of the current timestep

Parameters:
  • step (Union[Enum, str]) – step (check conditions below)

  • t (datetime) – time for which to evaluate the step start

Return type:

datetime

Returns:

start time of the timestep