• Tidak ada hasil yang ditemukan

Mathematical Modeling of Li-Ion Battery Using Genetic Algorithm Approach for V2G

2.2 Battery Model

the proposed model result with manufactures’ data and summary of the present work is given in Section 2.6.

R1 = (a1+a2x+a3x2)ea4y+(a5+a6x+a7x2) (2.1) R2 =(a8+a9x+a10x2)ea11y+(a12+a13x+a14x2) (2.2) C =−(a15+a16x+a17x2)ea18y+(a19+a20x+a21x2) (2.3) V0 =(a22+a23x+a24x2)ea25y+(a26+a27y+a28y2+a29y3)−a30x+a31x2 (2.4) In the above set of equations, R1, R2, C and V0 are represented in terms of polynomial equations and there are 31 coefficients (from a1 to a31) in total. The detailed extraction method to find these polynomial coefficients has been explained in Section 2.3. The battery parameters for charging pro- cess can be derived by replacing x and y with Cr and S OCcr, while for discharging process with Dr

and (1−DODcr). Here, (1−DODcr) is chosen as V0decreases with increase in DODcrfor discharging voltage. These equations are used for calculating battery terminal voltage for charging or discharging at different Cr and Dr. The terminal charge or discharge voltage of the battery (VcCi or VdC

j) changes with capacity of the battery, S OCcr/DODcr levels and Cr/Dr. The parameters of non-linear relation of VcCi/VdC

j can also be represented in terms of polynomial equations, where i and j denotes ith and jth calculated value of the charging and discharging voltage. Therefore, under constant current the bat- tery terminal voltage for charging and discharging scenario with respect to time is given in Eq. (2.5) and Eq. (2.6). In Appendix A, the calculated battery terminal voltage for charging and discharging scenarios has been mentioned.

VcCi = Qr

C +IcR2

exp tc R2C

!!

+V0(Ic(R1+R2)) (2.5)

VCd

j =

Qr

C +IdR2

exp td

R2C

!!

+V0(Id(R1+R2)) (2.6)

where Qr is the remaining capacity of the battery, tc,Ic,tdand Id are charge time, charge current, discharge time and discharge current, respectively. Thus, Eq. (2.5) and Eq. (2.6) can accurately represent the behavior of any battery types, if the parameters are well defined. This equations capture the non-linear behavior of the battery which depends on the actual battery charge/discharge voltage.

Fig. 2.3 shows the representation of electric circuit based battery model with its non-linear equations.

switch

Source Controlled voltage Signal

electric circuit (EC) VCd =Qr

C +IdR2

×exp

Rt2dC

+V0(Id(R1+R2))

R I<0

I>0

Icor Id

Ireference current VCc =Qr

C +IcR2

×exp

Rt2cC

+V0(Ic(R1+R2))

R1

V0

VdC

j

S OCcr,DODcr,

VcCior

Calculate: Qr, I,tc, td

VcCi or VdC

j

R2

C

Figure 2.3: Non-linear battery model.

2.2.1 Charge/Discharge Rate and SOC Calculations

The charge or discharge rate algorithm is used to determine the amount of energy stored or ex- tracted from the EV battery. The Cr and S OCcr of the battery varies depending on the present condi- tion of the battery.

Fig. 2.4 explains the calculation of Cr and S OCcr for charging scenario. The control algorithm developed inside the battery checks the battery status and then calculates the current charge rate (Ccrtr ) of the EV battery. It has also taken into account of user defined Crlimit (Clmtr ) and initial battery SOC (S OCini). The Crcrtand Dcrtr of the battery can be expressed as given in Eq. (2.7) - Eq. (2.8).

Cr =Crcrt= Ic

Qr (2.7)

Dr=Dcrtr = Id

Qr

(2.8)

This is calculated based on current status of the battery, which is the ratio of current and remaining capacity of the battery. The algorithm chooses the minimum of charge rate based on the Crlmt and Ccrtr to regulate the charge current of the battery. Similar type of control algorithm is used for discharging scenario.

if

if Yes if

Yes No

No

Yes Yes

Stop

if Calculation for

Calculation for

No No

To BM and CFM

S OCmin

S OCmax

S OCiniis CrcrtClmtr

tc

tc tc

tc=tc+(TsTspre) tc=0 Ic

Crcrt

Ts=0 Crcrt=Cltr

sign of Ic

I×Ipre>1 S OCini

Ts S OCmax Clmtr S OCmin Qr

tc=(tcdelay(tc)) S OCini=S OCcr

tc=0

Tspre= delay(Ts); Ipre=delay(I) Ic

S OCcr=S OCini+Q3600Ic×∆tc S OCmax,S OCmin,S OCini,Ts,Ic,Qr,I,tc

Ic

I tc

Figure 2.4: Functional flow chart for Crand S OCcr.

The S OCcr and DODcr can be calculated from Eq. (2.9) - Eq. (2.10). The S OCcr and tc is estimated from the Cr control algorithm which is given in Fig. 2.4. Similarly, the DODcr and td is calculated for discharging scenario.

S OCcr=S OCini+ Ictc

Qr3600

!

(2.9)

DODcr=DODini+ Idtd

Qr3600

!

(2.10)

Here, S OCiniis the initial SOC of the battery. The S OCmax and DODmax are the maximum user defined S OC and DOD limits. If S OCcrand DODcrof the battery reaches S OCmaxand DODmax, then the control algorithm should not allow to charge or discharge the battery to prevent over charging or discharging. The control algorithm used to charge/discharge the EVs’ batteries from/to grid have been explained in Chapter 3. The sample calculation for S OCcr, Cr, etc. has been given in Appendix A.

2.2.2 Battery Power and Processed Energy

The battery power for charging (Pc) and discharging (Pd) scenario is given in Eq. (2.11) - Eq.

(2.12).

Pc =VcCiIc (2.11)

Pd = VdC

jId (2.12)

The amount of stored energy (Estor) during charging process depends on increase in VcC

i and S OCcr, which is given in Eq. (2.13).

Estor =VcCiQrS OCcr (2.13)

where,∆S OCcris the change in current S OCcr. The processed energy (PEc) for charging scenario is given in Eq. (2.14).

PEc =X

Estor (2.14)

The available energy (Eavail) in the battery during discharging process decreases VdC

i with increase in DODcr, which can be calculated using Eq. (2.15).

Eavail=VdCjQrDODcr (2.15)

where, ∆DODcr is the change in current DODcr. The processed energy (PEd) for discharging scenario is given in Eq. (2.16).

PEd = X

Eavail (2.16)

The total processed energy (Etotal) of the battery in a cycle is calculated using Eq. (2.17).

Etotal =X

(PEc+PEd) (2.17)

Eq. (2.11) to Eq. (2.17) represents the real-time performance of the battery during charging and discharging process. Simulations are done based on these equations for the developed BM and has been validated with the manufacturers’ catalogue which is discussed in Section 2.5. In Appendix A, battery power and processed energy calculation details has been mentioned.