question

Isaiás SNM avatar image
0 Likes"
Isaiás SNM asked Isaiás SNM commented

Multi-Agent Systems

Hi

I would like to know if someone can help me about it.

I'm doing research at the University with Multi-Agent Systems for the design of an intelligent manufacturing system and I have the following doubt.

FlexSim has attributes of AGENT BASED MODELING, to be able to create an interface (for example with JAVA), design and intelligence focused on the concept of intelligent objects?

Because I would like to create an interface, of flexsin with a multi-agent model created in Java Agent DEvelopment Framework (JADE) of JAVA.

FlexSim 18.0.2
intelligent manufacturing systemsmulti-agent systems
· 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.

Khadija T avatar image Khadija T commented ·

In 2020 what other solutions

0 Likes 0 ·

1 Answer

Sam Stubbs avatar image
2 Likes"
Sam Stubbs answered Isaiás SNM commented

I'm a bit new at some of this as well. But first in order to write a custom system such as the intelligent agent system like the one you're describing, you'll want to write to or create your own modules or libraries in FlexSim. There's a couple of tools to write custom C++ code into FlexSim, that you can look into. And from there, there is an interface tool you can use to write JAVA code into the C++ sdk's.

The first tools you'll want to look into (And you'll want to decide which is more useful or appropriate for your needs) are our DLLMaker tool or the Module SDK. The DLLMaker is tool to help create a Visual Studio DLL implemented specifically for FlexSim. Both the tool itself and a description of how to set up your own dll using FlexSim can be found at this link in our old forums:

https://www.flexsim.com/community/forum/showthread.php?t=382

The other tool to look into is the Module SDK. It's a little bit newer of a tool. This SDK was designed for developers to be able to customize nearly every facet of FlexSim's library. The customization is deep, but the complexity of the tool is as well, so it might be a bit of a learning curve for those new to writing custom libraries. Fortunately, there is pretty good documentation to be found within the Module SDK.

You can find the download for the Module SDK here:

https://bitbucket.org/flexsim/flexsim-module-sdk/downloads/

The pros of the DLLMaker is that it's simpler. It's a little bit older, but it's very straightforwardly designed to simply allow someone to execute C++ code inside of FlexSim. The Module SDK is far more robust, more complex. So you'll want to figure out the option that suits, your Multi-Agent System better.

Finally, in order to then interface JAVA code with these tools, you'll need the JAVA Native Interface tool. (or JNI) which basically is a tool that sets up a Java Virtual Machine, in which you can execute Java code, that will call and execute other code (such as the C++ in the above mentioned frameworks.) Again, I'm not very familiar with using the JNI myself, but this tutorial seems like a good place to start.

https://www.ibm.com/developerworks/java/tutorials/j-jni/j-jni.html

You can also find more information about JNI here:

https://en.wikipedia.org/wiki/Java_Native_Interface

Hopefully this information gives you a good idea of where to start looking.

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

Isaiás SNM avatar image Isaiás SNM commented ·

Sam.

Thanks for the comments, I will try.

0 Likes 0 ·