question

ram prasad avatar image
0 Likes"
ram prasad asked ram prasad commented

issue with experimenter

rfidproject.fsm

when i run the experimenter, it is not considering trigger logic given in processor.screenshot-4143.png

it just runs the experiment for one hour and i get same output for all scenarios.i have parameters and assigned some values to them and set a scenario for each of parameter level so i need to get a different output for scenarios.

can someone help what needs to be done?

FlexSim 22.0.1
experimenterprocessortriggers
screenshot-4143.png (10.2 KiB)
rfidproject.fsm (184.6 KiB)
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

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered ram prasad commented

"stop()" doesn't work with the experimenter or optimizer. Use "endreplication(1)" instead. Depending on which trigger you are using, you might have to send a delayed message and then run the command in the message trigger, instead of directly in the first trigger.

(endreplication deletes all pending events, if the trigger it is called in creates a new event, the replication won't stop)

1650375169089.png

1650375196826.png


1650375169089.png (4.8 KiB)
1650375196826.png (12.1 KiB)
· 9
5 |100000

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