corrected-version-example-problem-resource-update.fsm
I'm attempting to have a resource within a process flow model have a varying amount of available resources within various time segments in a single day during a simulation run. I've created a global table that has the numerical value of the amount of resources that that I want from hour to hour (essentially increasing staffing levels during the busiest hours of the day). I have a token looping back through custom code every hour, on the hour but I'm stuck trying to figure out the correct reference I should be updating within the code snippet.
What is the best way to do this? I have attached a dummy model related to this question.