Simscape battery nodes error after saving

7 views (last 30 days)
Jakub
Jakub on 1 Nov 2024
Answered: Lorenzo on 25 Mar 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 Comments
Sahas
Sahas on 2 Nov 2024
Hi @Jakub,
Can you share the Simulink model? It would help me assist you faster.
Lorenzo
Lorenzo on 16 Dec 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

Sign in to comment.

Answers (1)

Lorenzo
Lorenzo on 25 Mar 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

Categories

Find more on Simscape Battery in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!