Simscape battery nodes error after saving

7 visualizaciones (últimos 30 días)
Jakub
Jakub el 1 de Nov. de 2024
Respondida: Lorenzo el 25 de Mzo. de 2025
Dear Matlab forum,
Every time I save my model of the battery ( simscape battery library ) the ambient environment node in the module completaly messes up the connections with the electrical terminals, leaving me with a need to rerun the code completaly and replace the module entirely.
Has anyone encountered a similiar issue?
Greatful for anny suggestions.
  2 comentarios
Sahas
Sahas el 2 de Nov. de 2024
Hi @Jakub,
Can you share the Simulink model? It would help me assist you faster.
Lorenzo
Lorenzo el 16 de Dic. de 2024
Hi @Jakub,
I have never experienced such a behavior. Could you please at least show a screenshot of your model? To see how you have built it.
Best,
Lorenzo

Iniciar sesión para comentar.

Respuestas (1)

Lorenzo
Lorenzo el 25 de Mzo. de 2025
Hello Jakub,
I suppose that you are working in the 24b version. With the little information available, I cannot exactly reproduce your use case, however, I built a battery that has the same ports as the one shown in your screenshot, I tried to run it in a model, and then I tried to save it (see also screenshot).
I did not encounter any problem like the one you described. It might be that your problem could be solved by simply upgrading to the newest Update for 24b.
If you have more detailed description on how you exactly set up your model I can test it as well.
Best,
Lorenzo

Categorías

Más información sobre Simscape Battery en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by