question

Marc R5 avatar image
0 Likes"
Marc R5 asked Felix Möhlmann answered

optimizer not working - giving zero

Hello,

The optimizer in my model does not optimize.

I have the issue detected but not how to solve it.

In container "Truck arrivals" at the beginning of the PF, I have 2 truck arrivals that generates the simulation.

If I make just one arrival with all the objects at time 0, optimizer works.

However, if there is more than one arrival at different times, optimizer only gives me all results as 0.

Thank you very much for your help.

Regards,

Layout v3.1_35.fsm

FlexSim 22.1.1
optimizer
layout-v31-35.fsm (545.6 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

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

The production time variable is only set when all entries in the arrivals table are done, which never happens because the optimizer replications run for 235440 min and thus end before the second truck arrives at 1188000 min.

I also noticed a small mistake in the "Register to Departures GT" activity which causes a lot or error messages: In the if condition you define a new 'value' variant (only exists in the condition's scope), rather than change the value of the one initialized above. As a result the Frabication End date doesn't get set correctly in the table.

1652371934232.png


1652371934232.png (69.5 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.