Integrating Simbiology and Comsol Models

I have two models, one made in Simbiology and the other in COMSOL, that I am trying to get to work in conjunction with eachother. I know there are resources like Livelink and Simulink, but what is the best approach to integrate these two models which both are observed in time studies?

4 commentaires

Rick Paxson
Rick Paxson le 15 Déc 2020
Hello Darke,
That is an interesting question for which I don't have a good answer to at this time. Just to brainstorm a bit,
  1. If the SimBiology model was integrated with Simulink would that suffice?
  2. Is there a way to get the equations from the COMSOL model into MATLAB (e.g. do they export to SBML by any chance)?
I think pursuing a co-simulation approach would be difficult but maybe we could think of a way to do it if that is your preference.
-rick paxson
Darke Hull
Darke Hull le 15 Déc 2020
Hi Rick,
Thanks for the response. To my knowledge, the only way to get the COMSOL model into MatLab is through LiveLink for Matlab. I have tried a few different methods of integration, my main approach is using a function I wrote to pass values between the two programs, but regulating time steps is proving difficult.
I am pretty new to Simulink, If I could get both models as model objects in MatLab, would it support their integration that way?
-Darke Hull
Rick Paxson
Rick Paxson le 15 Déc 2020
Modifié(e) : Rick Paxson le 15 Déc 2020
Hello again,
I had not heard of Livelink before so I looked it up. It answers my first question; if we find a way to put the SimBiology model into Simulink then you, in theory, would be able to simulate both models in one environment. Would satisfy what you are trying to do?
I should be clear that we don't have an easy way to integrate a SimBiology models into Simulink at the moment but it is something we have thought about and have not actioned yet.
-rick paxson
Darke Hull
Darke Hull le 15 Déc 2020
If I am able to put both models into Simulink, then that would solve my problem. I am currently able to import both models as model objects into Matlab, but I am not aware of any way to put model objects into Simulink effectivly.
-Darke Hull

Connectez-vous pour commenter.

Réponses (0)

Communautés

Plus de réponses dans  SimBiology Community

Catégories

En savoir plus sur Extend Modeling Environment dans Centre d'aide et File Exchange

Produits

Version

R2020b

Question posée :

le 15 Déc 2020

Commenté :

le 15 Déc 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by