question

EmersonPaiva avatar image
0 Likes"
EmersonPaiva asked Jeanette F commented

How do I dynamically populate a "Global List" of the "Task Sequence List" type?

I've created a schedulling template. However, this scheduler is optimized externally and must feed a "Task Sequence List" dynamically at the start of the simulation. Several schedulings will be generated to run the simulation model. How do I dynamically update the "Initial Content" box on the "General" tab of the "List Properties"?listproperties.jpg

FlexSim 24.0.2
global listflexsim script
listproperties.jpg (26.5 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @EmersonPaiva, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

Initial Content is a variable node called "contentsOnReset". Values are subnodes.

initial-list-content.jpg

This is not an option for a Tasksequence List. Many Tasksequences are containing references those are not present on Loading or after an Reset of a model. Perhaps you have noticed that you can not select a tasksequence node by sampler tool while a model runs.


· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

EmersonPaiva avatar image EmersonPaiva commented ·

Can you suggest an alternative? I use TaskSequence List to direct a fire department team to various fire outbreaks.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ EmersonPaiva commented ·
Just push your task sequences to the list at the start of the simulation.
1 Like 1 ·