question

Dj Moens avatar image
0 Likes"
Dj Moens asked Phil BoBo edited

Is it possible to query if a model is run in "Optquest mode"?

A model creates a lot of data at the end of a replication. Is it possible to query if a model is run in "Optquest mode", so we can switch off the data collection automatically?

FlexSim 18.2.2
optquest
5 |100000

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

1 Answer

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Phil BoBo edited

https://answers.flexsim.com/questions/24265/how-to-tell-if-the-simulation-is-being-run-by-the.html

I believe the same is true for both Optquest replications and Experimenter replications.

· 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.

Dj Moens avatar image Dj Moens commented ·

Yeah, I kind of wanted to differentiate between 'normal' eperimenter and the Opquest started replication.

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Dj Moens commented ·

This works for knowing if it is in an optimization replication:

get(node("MAIN:/project/exec/optquest/optimizing"))
2 Likes 2 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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