Simscape battery nodes error after saving

7 Ansichten (letzte 30 Tage)
Jakub
Jakub am 1 Nov. 2024
Beantwortet: Lorenzo am 25 Mär. 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 Kommentare
Sahas
Sahas am 2 Nov. 2024
Hi @Jakub,
Can you share the Simulink model? It would help me assist you faster.
Lorenzo
Lorenzo am 16 Dez. 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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Lorenzo
Lorenzo am 25 Mär. 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

Kategorien

Mehr zu Simscape Battery finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by