-
The scheduling functionality is accessible using the module scheduling.
-
To use it, just put
import schedulingin the code that is to be run by PLANTA Server.
SchedulingType
|
Enum Name |
Enum Value |
Comment |
|---|---|---|
|
CAPACITY_SCHEDULING |
0 |
capacity scheduling |
|
UNLOAD_SCHEDULING |
1 |
unload project |
|
TIME_SCHEDULING |
2 |
time scheduling |
Scheduling Convenience Functions
-
All of the following functions take either
-
(technical) project id arguments, e.g.
scheduling.unload('4711', '4811'), or -
an iterable of technical project ids, e.g.
scheduling.unload(['4711', '4811'])
-
They return nothing (
None) -
Projects that cannot be found are silently skipped!
|
Function Name |
Comment |
|---|---|
|
|
Unload the given projects |
|
|
Do a rescheduling on the given projects |
|
|
Capacity scheduling |
|
|
Pure time based scheduling |
Internal Scheduling Functionality
|
Function Name |
Parameter Description |
Comment |
|---|---|---|
|
|
|
For internal use only |
Effort Distribution
|
Function Name |
Parameter Description |
Comment |
|---|---|---|
|
|
|
For internal use only |
Simulation
Simulation class
The Simulation class adds a bit of syntactic sugar to the simulation API as it provides indirect access to the simulation API and automatically clears the simulation on __exit__.
|
Method |
Parameter(s) |
Return Value |
Comment |
|---|---|---|---|
|
|
|
none |
Add relation to simulation environment. |
|
|
|
none |
Remove relation from the simulation environment. |
Direct usage of the simulation API is also possible.
|
Function Name |
Parameter Description |
Comment |
|---|---|---|
|
|
|
Add relation to simulation environment. |
|
|
|
Remove relation from simulation environment. |
|
|
|
Clear simulation environment. |
Cycle Check
|
Function Name |
Parameter Description |
Comment |
|---|---|---|
|
|
|
Returns |