question

shanice.c avatar image
1 Like"
shanice.c asked shanice.c commented

How to control Flexsim AGV using external AGV System program?

Hello, my company hope to realize digital twin through FlexSim. We would like to use FlexSim to validate real AGV Dispatching system before putting our system onto real AMHS. Usually we develop a simulation model in advance, then provide a rule or some suggestions to our team developing real system program, such as how to avoid abnormal condition used to happened in simulation. We have programs of AGV dispatching system, we have physical AGVs. Now my manager wants to know if it’s possible to use our real AGV system programs to directly control AGV in FlexSim. He says our real program could control Flexsim agv using API. I saw description from official website.

1655359184352.png

Although it seems control flexsim looks achievable, while it seems our biggest issue come from real agv system data transformation? Such as packet transformation (transfer message to data that FlexSim could understand). Map, traffic points, the coordination of AGV, these information are important to developing a real AGV dispatch system program. Since real programs, AGV has to communicate with physical equipment or charge station using SECS/GEM to report agv’s current location, report status, report to MES…

Also, even we overcome all kinds of problem in data, we have SLAM AGV that doesn’t always travelling on fixed path, so in this case, does our traffic algorithm in our real system program still works in digital twin(since we use Flexsim object) ?

May I ask for some examples or previous questions from these forum that suit our need? Or steps we could follow? And what does my company need to prepare(in software and hardware) before starting develop this digital twin model? For example, a server, a proxy transfer Data packets into format FlexSim could use. We would like to measure if our ideal is available. Thank you!

FlexSim 22.1.0
contol flexsim externally
1655359184352.png (23.8 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.

Joerg Vogel avatar image Joerg Vogel commented ·
May I suggest, you contact your local distributor to discuss possible support for your project.
0 Likes 0 ·
shanice.c avatar image shanice.c Joerg Vogel commented ·

@Joerg Vogel Yes, I've also looked for our local distributor support.

0 Likes 0 ·

1 Answer

·
Kavika F avatar image
1 Like"
Kavika F answered shanice.c commented

Hey @shanice.c, that's a great question. The answer is yes, you can! You can connect to FlexSim and communicate with a model externally through several different means, such as making your own DLL, using Python code, or even through the web API. Here are some of the links you can reference and read more about it:

Answers Pages:

Document pages:

Hope this helps!

· 4
5 |100000

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

shanice.c avatar image shanice.c commented ·
@Kavika F Thank you for your information. I've try to integrate these information.
1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ shanice.c commented ·

Won't this depend on how the real system communicates? Some implementations use OPC-UA to communicate with the AMRs, so in that case you could use the emulation module to do the same and just replace the real ones with flexsim's.

0 Likes 0 ·
立洲 avatar image 立洲 commented ·

@Kavika F @shanice.c請問SECS的通訊源是否已經成功實現了?

0 Likes 0 ·
shanice.c avatar image shanice.c 立洲 commented ·

@立洲 finally we didn't carry out this project.

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.