Clear Filters
Clear Filters

How to connect generic battery to an electrical circuit which is created using Simscape??

5 views (last 30 days)
I am trying to create a dcdc converter and for some reasons need the battery in the circuit. But it is not getting connected with the circuit elements.

Accepted Answer

Javier Gazzarri
Javier Gazzarri on 4 Jan 2015
Hello, Mirza,
Yes, that is possible. There are a couple of options:
1) Use SimPowerSystems Simscape Components. The blocks in this library are Simscape compatible, and there is a battery block that may suit your needs. Alternatively, you can download a battery cell block from here:
and parameterize its equivalent circuit using experimental data if you have it using Parameter Estimation.
2) Use the Interface Elements in the SimPowerSystems Specialized Technology library. Those blocks allow you to connect SimPowerSystems Specialized Technology with Simscape blocks.
Please let me know if this answers your question.

More Answers (1)

Javier Gazzarri
Javier Gazzarri on 20 Dec 2014
Hello, Mirza,
Can you please attach a screenshot of your model so that I can take a look? Your problem is typically related to attempting to connect blocks from different domains. Are you combining Simscape with SimPowerSystems?
  1 Comment
Mirza on 20 Dec 2014
hello Javier,
thanks for your response. Yes I am trying to combine Simscape with Simpowersystems. Is it possible??

Sign in to comment.


More Answers in the  Power Electronics Control


Community Treasure Hunt

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

Start Hunting!