add_breakpoint_to_availability

Define a change (increase or decrease) in the resource availability at a certain date.

The following parameters are required:

  • Resource: only renewable resources can be the subject of an availability change.
  • Start time: start date at which the new resource availability must start.
  • Availability: new availability, expressed as a fraction of units (<1, 1 or > 1).
Parameters: 
I/O Type Name Description
input integer ID resource ID
input integer start time time at which the new availability change must start
input float availability new availability
Learn More: 

Step inside PMKC.

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