필터 지우기
필터 지우기

Calculate the SOC (State of Charge)

조회 수: 2 (최근 30일)
salima chaa
salima chaa 2024년 4월 17일
답변: Sayan 2024년 4월 29일
Hello, I would like to calculate the SoC of this battery using Q without using filters, knowing that SoC = 1 - 1/c( int of I) But I don't know where I'm going wrong, can someone help me?
  댓글 수: 4
Sam Chak
Sam Chak 2024년 4월 17일
I noticed that there are no constraints in the equation that bound the SOC response between 0 and 1. As a result, we can, in theory, conclude that the integration in Simulink is mathematically correct, even though the obtained result (Scope) may not match your expectations.
Could you please verify the differential equation once again to ensure its accuracy?
Sam Chak
Sam Chak 2024년 4월 17일
Educated guess
Ib = 4000; % approximation
socODE = @(t, x) Ib;
tspan = [0 1.25];
x0 = 1; % initial SOC
[t, x] = ode45(socODE, tspan, x0);
plot(t, x, '-o'), grid on, xlabel t, ylabel SOC

댓글을 달려면 로그인하십시오.

답변 (1개)

Sayan
Sayan 2024년 4월 29일
Hi salima chaa,
The SOC of the battery should remain between 0 to 1. It is hard to debug your model without the Simulink file. However, the possible reasons and their resolutions for the issue are provided below.
  • In the formula for SOC calculation you provided, the term "Crated" is the full charge capacity of the battery. Ensure you have selected "Finite" for the "Battery charge capacity" parameter and configured the "Cell capacity parameter". The Constant block with the value "2.6" in your model should be replaced with the cell capacity value in Coulomb. (1 Ah = 3600 Coulomb capacity).
  • If you do not need filtering in your "Derivative" block, change the value of coefficient "c" to 0 inside the block parameter.
I am attaching a sample Simulink model with a battery cell capacity of 50 Ah. It works fine for me.
You can go through the following documentation to learn more about the Battery block parameters and how to configure them.
Hope this helps in resolving the issue.

카테고리

Help CenterFile Exchange에서 Propulsion and Power Systems에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by