# set model max and initial timestep size
timeStep = timedelta(hours=1)
SetModelProperty(fmModel, KnownProperties.DtMax, str(timeStep.total_seconds()))
SetModelProperty(fmModel, KnownProperties.DtInit, str(timeStep.total_seconds()))
Set model times
# set model times
SetModelTimes(fmModel, startTime, endTime, time(6,0,0))