question

Connie Kao avatar image
0 Likes"
Connie Kao asked Phil BoBo edited

Why Does Different Run Speed Have Different Output?

funspeed.fsm

Hi, I am wondering why does different run time affect my overall throughput in the model?

With stop time set at 3600, if I run in 300 speed, I will get 30 throughput.

But when I set run speed to max, I can only get 19 throughput and all the items stack up in one of the queues?

FlexSim 17.1.0
run speed
funspeed.fsm (44.3 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.

Phil BoBo avatar image
2 Likes"
Phil BoBo answered Phil BoBo edited

Your queues have logic in their Custom Draw trigger that open and close ports.

If the 3D view is closed, then the Custom Draw triggers won't be called at all. You shouldn't put model logic in the Custom Draw trigger; only draw code.

When you run the model fast, the 3D view draws less often so your code isn't being fired that opens and closes the ports.

Move your code into a trigger that fires at specific times rather than with the refresh rate of the window.

5 |100000

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

David Seo avatar image
-1 Like"
David Seo answered Connie Kao commented

@Connie Kao

Your issue looks like the statistical distribution of triangular not running speed.

The model stops when running NOT maximum speed.

The model has not any problem and the running speed.

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

Connie Kao avatar image Connie Kao commented ·

My model does not stop as long as the run speed is not set too high (<500 all work fine).

Right now it stops at 3600 because I set it to stop

0 Likes 0 ·