generate_consumable_resource_demand

Link the resources to the project activities and generate resource demand for consumable resources.

The tightness of an activity/resource relation can be characterized by the following parameters:

  • Resource use: Average number of activities used by each resource (0% to 100%).
  • Percentage fixed demand: Percentage of activities with ‘fixed use’ demand (0% to 100%). The remaining portion of activities have a variable demand, see P2Schedule:get_consumable_resource_fixed_variable function).
  • Maximum demand: The maximum number of units of the resource requested by the project activities.
Parameters: 
I/O Type Name Description
input integer nrTotalRes number of consumable resources
input integer RU resource use, between 0 and 100
input integer ProbFixed Percentage of fixed resource demand.
input integer maxDemand maximum demand units
Learn More: 

Step inside PMKC.

Example: 
function ()
        io.write('\n')
end
Class: 
P2Generator