question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Felix Möhlmann commented

Saving Model with 3D Run Completion?

Hi Team,

I am having model taking around 5 hours to complete run of 360 days. I tried saving model in this stage but it doesn't get saved. I have to rerun the model every time to check the results.

Is it possible to save this model with completed run in 3D environment?

If it is not what is the alternative way to make this process quick?

Thank you!

FlexSim 21.1.5
saverunfast
· 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.

Andrew O avatar image Andrew O commented ·

Hi @Ankur A3, was Felix Möhlmann'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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann commented

You can save state files (.fst). Loading those will recreate the state of the simulation.

1668496448433.png

You can also automatically save the state at the end of each replication when using the Experimenter.

1668496516779.png


1668496448433.png (29.9 KiB)
1668496516779.png (3.3 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.

Ankur A3 avatar image Ankur A3 commented ·
Hi @Felix Möhlmann,

I have tried given method but model is having same size even if I am using save state with .fsl extension. I feel size should be significantly higher if ran model is saved. I don't think so it is saving everything what I ran.

Also, I would like to know how to open .fsl file?

Thank you!

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Ankur A3 commented ·

The model size won't change, since the state is saved in the separate .fst file.

To load a state, open the corresponding model, then navigate to the "Load State..." entry under "File" and choose the file that contains the state you want to load.

statefileexample.gif

(Not sure if that is just a typo in your post, but the file extension is fst (as in state), not fsl)

0 Likes 0 ·
statefileexample.gif (933.5 KiB)
Ankur A3 avatar image Ankur A3 Felix Möhlmann commented ·

Hi @Felix Möhlmann,

Thank you so much for uploading animation here.

It is working fine.

I have observed that while saving state file there are some errors popping up in my model.

Can you help me why it is so?

1669275453860.png

Thank you!

0 Likes 0 ·
1669275453860.png (75.3 KiB)
Show more comments