Answered
How to simulate battery charge over time?
Hello Max, Thank you for your question. The way I would implement your design is with a combination of Simscape Battery or Sim...

2 years ago | 0

Answered
Errror: Brace indexing is not supported for variables of this type. No results
Hello Himanshu, Thank you for your question. I believe your current sign convention is reversed. Could you please try changing...

2 years ago | 0

Answered
I want to model lithium ion battery with temperature and aging effect. Can I know battery age in battery table based model?
Hello Jarin, Thank you for your question. The Battery (Table-based) block (Simscape Battery or Simscape Electrical) computes b...

2 years ago | 2

Answered
Example_DischargePulseEstimation.m applying another data
Hello Hanife, thank you for your question. Here's a couple of things to try. 1- Try to set better initial guesses. For example...

2 years ago | 0

Answered
Is there some documentation to model the thermal port on a custom battery block?
Hello Namratha, We offer a battery block in Simscape Battery and Simscape Electrical which do contain a thermal port. This bloc...

2 years ago | 0

Answered
Hybrid Battery-Ultracapacitor for EV
Hello Joseph, Since the ultracapacitor and the fuel cell are so different from one another, you may also wish to look into conv...

2 years ago | 0

Answered
Lithium-Ion battery Data Acquisition and Parameter Estimation.
Hello Sanya, Data Acquisition Toolbox allows streaming measurement data directly into MATLAB. You can save this data as an arra...

4 years ago | 0

| accepted

Answered
Using fuel cell stack and battery with electrical domain
Hello Hugo, Thank you for your question. Please see if any of the Interface Elements in Simscape/Electrical/Specialized Power ...

4 years ago | 1

| accepted

Answered
Cell Balancing Model in Simulink
Hello Sanya, Here is an example you may use to start your design. The bleed resistor has to be adjusted to the unit cell size ...

4 years ago | 0

| accepted

Answered
Initial Equations in Simscape Custom Models
Thank you Christopher. I see your point. The issue with initialization may be the result of this way of defining VOC. There is...

4 years ago | 0

Answered
Read a parameter/block value only at the initialization in Simulink
Hello Lucifer, Thank you for your question. Please see the attachment I created. If you put that block in series with the volt...

4 years ago | 0

Answered
What is the definition and function of temperature break point in Equivalent Circuit Battery Block(Simulink)?
Hello Leon, Thank you for your question. The breakpoints indicate the temperature values for which you need to have OCV and in...

4 years ago | 0

| accepted

Answered
Initial Equations in Simscape Custom Models
Hello Christpher, Thank you for your inquiry. I am not sure if I understand your approach, so I have a couple of clarification...

4 years ago | 0

Answered
How could I control the thermal coupling between two elements (e.g. two battery cell)?
Dear Mustafa, Thank you for your clarification. If you need to switch heat transfer on and off in a thermal circuit you can u...

5 years ago | 0

Answered
How could I control the thermal coupling between two elements (e.g. two battery cell)?
Dear Mustafa, Thank you for your good wishes. What you are trying to do is possible, but using Simscape makes it much easier ...

5 years ago | 0

Answered
How could I control the thermal coupling between two elements (e.g. two battery cell)?
Dear Mustafa, Thank you for your question. Simscape Electrical has a battery cell block which has the option of turning on the...

5 years ago | 0

Answered
How can I speed up my simualtion?
Hello Raphael, Thank you for sharing this. There are several ways in which you could speed up your simulation. They include: R...

5 years ago | 0

Answered
Change the capacity of the battery using Generate Parameter Data for Equivalent Circuit Battery Block
Dear Sumukh, The capacity in that block is Battery capacity table. On line 200 of the script Example_DischargePulseEstimation.m...

5 years ago | 0

Answered
How do I simulate battery performance in the next 5 years, using existing 5 years trend?
Dear L. Sugu, Thank you for your inquiry. If you have capacity fade and internal resistance increase as part of your last 5 ye...

5 years ago | 0

Answered
Simulink toolbox to model pv array, battery, inverter, dc-dc converter, mppt, grid
Hi, Md., You can still use SPS in that case. The main difference with SimElectronics is that the latter models all nonlineari...

9 years ago | 0

Answered
¿Why the battery (electrical source component in SimPowerSystem Matlab/Simulink toolbox) discharge at the same rate with different capacities?
Hello, Jorge, I am attaching a model like you describe above and it seems to work correctly for me. Please make sure you cli...

9 years ago | 0

| accepted

Answered
Simulink toolbox to model pv array, battery, inverter, dc-dc converter, mppt, grid
Hello, Md., If the AC part of your system is three-phase and you can neglect thermal effects on the semiconductor devices and...

9 years ago | 0

Answered
How can I generate the setup of AC sweep for AC Voltage source in either Matlab or simulink?
Hello, Robert, I believe the Chirp Signal may do the job for you. It is in the Sources section of the Simulink library. Be...

9 years ago | 0

| accepted

Answered
Problems with model behaviour, hanging-up in a loop.
Hello, Joel, Would you please attach the model to this thread so I can take a look and try to better understand the issue? ...

9 years ago | 0

| accepted

Answered
How to model a solar powered electric grid in Simulink?
Hello, Faraz, I suggest you consider the use of SimPowerSystems for your design. You can find some examples here: http://w...

9 years ago | 1

| accepted

Answered
Simscape thermal mass discrete model
Dear Lalumet, A discrete solver can be used if you set up "Use Local Solver" in the Simscape Solver configuration block. Ple...

10 years ago | 0

Answered
How to make a Variable resistor in Sim powersystem not Simscape.
Hello, Adroit, You can combine a current meter and a controlled voltage source to create a variable resistor. Please see att...

10 years ago | 2

| accepted

Answered
Battery Model Simulink for 12V
Hi, Samad, Please open the battery cell block and comment out the SOC, DOC, and T blocks. This will prevent the second error ...

10 years ago | 1

| accepted

Answered
How to connect generic battery to an electrical circuit which is created using Simscape??
Hello, Mirza, Yes, that is possible. There are a couple of options: 1) Use SimPowerSystems Simscape Components. The blocks...

10 years ago | 0

| accepted

Answered
lead acid battery simulink
Hello, Simon, You may want to check this submission for an example of what you are trying to model: http://www.mathworks.c...

10 years ago | 0

Load more