CapacitySchedule.apply_target()

Try to reach capacity target until the specified deadline.

Usage

Source

CapacitySchedule.apply_target(
    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.