question

Alejandro Ulises TP avatar image
0 Likes"
Alejandro Ulises TP asked Alejandro Ulises TP commented

Object Dispatcher is an invalid destination

chargers-simulation-error.fsmerror.pngI want to use a dispatcher with two operators for the odd processors and another dispatcher with two operators for the even processors. When I want to do that it pops up the error "Object/Dispatcher1 is an invalid destination to send item" anyone knows what am I doing wrong?

FlexSim 19.1.2
process flowdispatcherdestination errorinvalid
error.png (128.1 KiB)
· 2
5 |100000

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

Steven Hamoen avatar image Steven Hamoen commented ·
@Alejandro Ulises TP

I think you added the wrong model because this model has no dispatchers, only 1 operator and no errors. So if you could post your model with the error we can take a look

0 Likes 0 ·
Alejandro Ulises TP avatar image Alejandro Ulises TP Steven Hamoen commented ·

I'm sorry, you are right.

This is the model I'm having problem with

chargers-simulation-error.fsm

I hope you can help me

0 Likes 0 ·
Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Alejandro Ulises TP commented

The centerport connections on the Odd Processors are backwards from what you seem to be expecting. The processors are first connected to the decision points and then to the dispatcher. If you open the processor's properties page and go to the General tab, you can use the Ports box at the bottom to reorder the port connections. Here is a fixed version of your model:

fixed.fsm


fixed.fsm (83.0 KiB)
· 5
5 |100000

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

Alejandro Ulises TP avatar image Alejandro Ulises TP commented ·

How do you know the order it should be connected? That kind of things got me confused but i'm still learning little by little!

Thank you so much Matthew!

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Alejandro Ulises TP commented ·

There isn't any order that things have to be connected in. The issue is that you wrote code where you made the assumption that all the processors in your model were first connected to the dispatcher and then second to a decision point. However, only half of the processors used this order and the other half had the opposite order.

0 Likes 0 ·
Alejandro Ulises TP avatar image Alejandro Ulises TP Matthew Gillespie ♦♦ commented ·

could you send me where is the code wrote where the assumption was made?

0 Likes 0 ·
Show more comments
Alejandro Ulises TP avatar image Alejandro Ulises TP commented ·

You are the best!

Thanks to you now I understand this error.

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Alejandro Ulises TP commented

The centerports are interchanged at the processors (CHARGER#). The error occurs for the CHARGER1. You open the properties of the CHARGER, switch to the Generat Tab. Bottom area: Port.

Select the Central Ports. Set the rank of the DP1 from 1 to 2.

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

Alejandro Ulises TP avatar image Alejandro Ulises TP commented ·

That worked! but I would like to understand why does the order matter in the center ports?

0 Likes 0 ·