question

Clair A avatar image
0 Likes"
Clair A asked Matthew Gillespie commented

Optimization export to CSV throws an exception when using a sequence parameter

Open the attached model Optimization export to CSV 20.2.fsm.

Run the optimization.

Click on Export as CSV:

export-as-csv-202.png

It successfully exports the results as CSV.

Open the attached model Optimization export to CSV 23.0.fsm.

Run the optimization.

Click on Export to CSV:

export-to-csv-230.png

It throws an exception:

exception: FlexScript exception: Attempted to assign non-number data to field 6 which is a number type field in VIEW:/active/experimentcontrol/tabcontrol/Run/OptStatusPanel/ControlPanel/ExportCSV>variables/dump. at VIEW:/active/experimentcontrol/tabcontrol/Run/OptStatusPanel/ControlPanel/ExportCSV>OnPress c: VIEW:/active/experimentcontrol/tabcontrol/Run/OptStatusPanel/ControlPanel/ExportCSV

The difference between the two models is that the upgraded 23.0 model uses a sequence type parameter.

This bug was reported to us by students and their teacher.

FlexSim 23.0.11
optimizationcsv export
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

·
Jeanette F avatar image
0 Likes"
Jeanette F answered Matthew Gillespie commented

Hello @Clair A,

I duplicated the issue and this has been emailed into the developers.

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@Clair A This issue is now fixed in 23.0.12 and 23.2.2

1 Like 1 ·

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.