question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Jason Lightfoot commented

Empty rows in parameters table

Hi @Jordan Johnson ,

Some of our customers and we are sometimes using empty rows in Model Parameter Table to structure the table a little bit. So something like:
1709214284176.png
This all works like we expect it to work, except for the experimenter. When using the experimenter the following exception is thrown:

FlexScript exception: Setting rank property on node to invalid number at MAIN:/project/library/Experimenter>behaviour/eventfunctions/refreshScenarioTable

This happens when selecting the parameters you want to use in the experiment.


Would it be possible to let the experimenter work with these empty rows or is this just something that should not be done?

Thank you in advance,

Patrick

FlexSim 24.0.1
experimentermodel parameters table
1709214284176.png (11.8 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

·
Jordan Johnson avatar image
1 Like"
Jordan Johnson answered Jason Lightfoot commented

Please avoid making blank rows for now. There are many, many places that assume that every row in a Parameter table is a valid parameter with a unique name. This includes the Experimenter, not only in the view as you discovered, but also in the database logic, and probably in the Performance Measures window logic, and likely many other places.

I will add an item to the dev list regarding this issue.

· 3
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
@Patrick Zweekhorst ,If it couses such problems, then any blank parameter can be replaced by a name for those parameters, which make it even stronger a section line like "xxxxx1xxxxx*.
1 Like 1 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Joerg Vogel commented ·
@Jordan Johnson , @Joerg Vogel

Thank you both. I will probably make a script to give all the empty names a unique name, something like xxxxxMachineSettingsxxxxx

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Patrick Zweekhorst commented ·
Instead of using separated sections of one table you could also use additional parameter tables with names to match your section descriptions.
0 Likes 0 ·

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.