Simscape model, black box or white box?

7 vues (au cours des 30 derniers jours)
Matheus Andrade
Matheus Andrade le 22 Juil 2020
Commenté : Matheus Andrade le 3 Août 2020
The Simscape is a library with physical components to create a physical model. A model built with Simscape would be a white box (a model that we know exactly how it works) or a black box (a model that was created and we don't have acess to its functioning completely)? Or somehow a grey box?

Réponse acceptée

Vasco Lenzi
Vasco Lenzi le 3 Août 2020
Hi Matheus
The components in the Simscape Foundation Library come with the source code behind it. In it you can exactly see how the block has been built using Simscape Language, and which physical equations are implemented in the component:
For the add-ons to Simscape such as Simscape Driveline, Simscape Electrical, Simscape Multibody or Simscape Fluids, the source code is not usually open for various reasons. In the case that the Simscape Language implementation is not visible, we publish the underlying physical equations in the documentation page of the block, for example for the Leadscrew in Driveline
In my opinion this makes Simscape very much a white box modeling approach: you know exactly which equations are acting under the hood, and how, either by looking at the source code (when available) or the documentation. If you don't like how we implemented a block, you can even write your own using Simscape Language and have full control on the implementaiton. This requires the Simscape license only:
MathWorks offers as well consulting services to help out creating new models, customizing them, and get a team up and running quickly with special request.
Hope this helps
  1 commentaire
Matheus Andrade
Matheus Andrade le 3 Août 2020
Hi Vasco!
I was thinking about Simscape so much like you just said, but I wasn't 100% sure because it could be a grey box somehow. White box then!
Thank you for the help!

Connectez-vous pour commenter.

Plus de réponses (0)


En savoir plus sur Foundation and Custom Domains dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by