question

Matheus Coelho avatar image
0 Likes"
Matheus Coelho asked Matheus Coelho commented

Create and connect Network Nodes during simulation

Hi, im trying to create and connect NN during the simulation, but its not working. Im trying to use the command "optimizenetwork();" after the creation, but the task executer just doesnt go to the next Node. I replicate the issue in a simple model.

Teste.fsm

1698346854499.png


FlexSim 22.1.4
network nodedynamic creation
1698346854499.png (157.0 KiB)
teste.fsm (37.1 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

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Matheus Coelho commented

Some features require a setup to update a map like data structure in memory by resetting a model. In some cases an otherwise allowed feature would also violate license rules.

A different approach consists in creating all network node objects before a reset. But you deactivate or set paths to non-passing option that destinations aren’t available for routing. Later you switch them on to passing and optimize your network.

Also you can use traffic control objects to deactivate segments of your network on model run start.

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

Matheus Coelho avatar image Matheus Coelho commented ·

Thanks Joerg! I'll try to do this!

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.