Is it possible use a battery in Simulink?
Show older comments
Dear all,
I am modeling a power microgrid model, like the example "power_microgrid", however, I wonder wether is feasible interchange the battery model of the example for one developed in Simscape or not?. My question arises because they are different environments, the battery is shown below.

6 Comments
Andrew
on 17 Feb 2021
Hi Tony,
If your model is composed of Specialized Power Systems blocks, then the Battery you have highlighted is the best one to use.
If your model is composed of Libraries Compatible with Simscape Technology, then you should use either the Battery or Battery (Table-Based) blocks.
Best regards,
Andrew
Tony Castillo
on 18 Feb 2021
Jonas
on 18 Feb 2021
The example model is made with Specialized Power Systems blocks, so you should be able to integrate the block you showed in the model.
Tony Castillo
on 18 Feb 2021
Vinay Gurram
on 22 Jun 2021
Hi
Singular matrix error is commonly seen when there is a zero in denominator, could you disable all zero crossings from configuration parameters and check once.
Rik
on 23 Jun 2021
I appreciate your attempt, but even I added a zero crossing block at the output port of the Symscape Electrical battery the error still persisted
Accepted Answer
More Answers (0)
Categories
Find more on Energy Storage in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!