Resource convenience function to generate a scheduling object from a timetable specification.

schedule(timetable, values, period = Inf)

## Arguments

timetable absolute points in time in which the desired value changes. one value for each point in time. period of repetition.

## Value

Returns a schedule object.

add_resource.
# Schedule 3 units from 8 to 16 h
add_resource("dummy", capacity_schedule)