Allocate Available after a desired time step
Posted: Fri Mar 04, 2022 6:47 pm
Hi there,
I'd like to combine the functionality of the Allocate Available function within the logical IF THEN ELSE function as one of its arguments.
Specifically, I wanted to use a Time criteria to dictate when in the simulation Allocate Available function is initiated.
My initial thought was:
real resource deliveries = IF THEN ELSE (Time < 2020, historical sectoral data of resource allocation, Allocate Available )
where, 'historical data of resource allocation' operates as input data of past resource use by various sectors
and where, 'Allocate Available' utilizes said function and uses priorities by sector, demand by sector and resource, and available resources (after year 2020),
however this creates a large crash (after 2020) instead of a gradual decline (assuming resource supplies are depleting). I was wondering if there was a more elegant way of simulating this effect.
Thanks for your thoughts in advance
I'd like to combine the functionality of the Allocate Available function within the logical IF THEN ELSE function as one of its arguments.
Specifically, I wanted to use a Time criteria to dictate when in the simulation Allocate Available function is initiated.
My initial thought was:
real resource deliveries = IF THEN ELSE (Time < 2020, historical sectoral data of resource allocation, Allocate Available )
where, 'historical data of resource allocation' operates as input data of past resource use by various sectors
and where, 'Allocate Available' utilizes said function and uses priorities by sector, demand by sector and resource, and available resources (after year 2020),
however this creates a large crash (after 2020) instead of a gradual decline (assuming resource supplies are depleting). I was wondering if there was a more elegant way of simulating this effect.
Thanks for your thoughts in advance