question

Lokesh avatar image
0 Likes"
Lokesh asked Ryan Clark commented

RFID system simulation using experimenter tool

major project_autosave.fsm

hi

i have modeled a RFID based conveyor sorting system and to study the effect of materials, conveyor speed and tag direction i need to carry out an experiment using experimenter tool. the parameters are materials(metal,fluid, document), conveyor speed(0.5,1,1.5 m/s) and tag direction(top, front, leftside). so total scenario 3*3*3=27.ex(metal-0.5-top,metal-0.5-front..).The performance measure of this experiment is the no. of products read till a defect or failure occurs in reading the tag. i have statistical data for all parameters like for metal rfid tag can read 75% of time and for document 90% of time. please help me to accomplish this task.

FlexSim 22.0.1
rfidexperimenter tool
· 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.

Ryan Clark avatar image Ryan Clark commented ·

Hi @Lokesh , 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

I would set up all parameters as "Option" type with the values representing the corresponding successful read chances. (Example values in screenshot)

1649239457292.png

Then you can use the following condition when you need to check whether the read was successful or not:

uniform(0,1,getstream(current)) < Model.parameters.ConveyorSpeed * Model.parameters.TagDirection * Model.parameters.Materials

This checks whether a random number between 0 and 1 is smaller than the product of the individual read percentages, so the read would be successful. If the product is for example 0.72, then the number will be smaller 72% of the time.

If you want to use spaces in the parameter names, you have to use the following syntax for the parameters instead:

Model.parameters["parameterName"].value

1649239457292.png (10.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.