MATLAB Answers

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

21 views (last 30 days)
Mirza
Mirza on 15 Nov 2014
Commented: Mirza on 4 Jan 2015
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.

  0 Comments

Sign in to comment.

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.
Javier

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?
Thanks,
Javier

  1 Comment

Mirza
Mirza on 20 Dec 2014
hello Javier,
thanks for your response. Yes I am trying to combine Simscape with Simpowersystems. Is it possible??
regards,
Mirza

Sign in to comment.

Sign in to answer this question.