Skip to main content

model.CapacitySchedule.remove_units()

Remove available units until the target or deadline is reached.

Usage

Source

model.CapacitySchedule.remove_units(
    remove_target,
    deadline,
)

Parameters

remove_target: int

Target total number of resources removed from the maximum resource pool.

deadline: int
Simulation time (in minutes) at which to stop attempting to reach the removal target. If the required resources are busy, the method waits for them to become available only until this time.