question

John MA avatar image
0 Likes"
John MA asked Ryan Clark commented

experimenter without initiative

Good afternoon, I have a model to make with experimenter, but when I start it I get this error:

exception: FlexScript exception: Array index out of bounds at MAIN:/project/exec/replications/OnExpStart


Prueba.fsm

thanks for your help
FlexSim 21.0.10
experimenter
prueba.fsm (195.9 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.

Ryan Clark avatar image Ryan Clark commented ·

Hi @John MA, was Jason Lightfoot'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 unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

You need to select the parameters to have valid scenarios:

1647863080991.png


1647863080991.png (10.0 KiB)
· 4
5 |100000

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

John MA avatar image John MA commented ·
Thanks for your reply. But I am not doing an experiment with scenarios.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ John MA commented ·

An experiment has to have at least one scenario - just like it has to have a least one replication.

0 Likes 0 ·
John MA avatar image John MA Jason Lightfoot ♦♦ commented ·

Por lo que entiendo, por defecto viene el primer escenario definido. He hecho muchos experimentos sin necesidad de escenarios ya que solo hay 1. Os dejo una muestra adjunta aquí.

Si fuera solo eso, por favor pruebe con mi modelo definiendo cualquier escenario y verá que todavía no se va.


Prueba.fsm

0 Likes 0 ·
prueba.fsm (113.1 KiB)
Show more comments