When modules have different timeunit, SpaDES automatically takes the smallest (e.g., "second") as the unit for a simulation.

minTimeunit(sim)

# S4 method for class 'simList'
minTimeunit(sim)

# S4 method for class 'list'
minTimeunit(sim)

Arguments

sim

A simList simulation object.

Value

The timeunit as a character string. This defaults to "second" if none of the modules has explicit units.

Author

Eliot McIntire