Challenge

Project 2 Thermal modeling of battery pack

ANSWER:

How Does Temperature Affect the Safety of Lithium-Ion Batteries?

Very low temperatures can produce a reduction in the energy and power capabilities of lithium-ion batteries. High ambient temperatures, however, can contribute to a high internal temperature of the battery — which can also decrease performance and power capabilities.

 High ambient temperature is the most important factor that influences UPS battery aging and can cause premature battery failure. Higher temperatures mean a faster chemical reaction inside the battery, which increases water loss and corrosion.

 For developing the model we have used the below-given blocks as per the model requirement.

Battery (Table-Based)

Tabulated battery model

  • Library:
  • Simscape / Electrical / Sources

    Simscape / Battery / Cells

Description

The Battery (Table-Based) block represents a high-fidelity battery model. The block calculates open-circuit voltage as a function of charge level and optional temperature using lookup tables and includes several modeling options:

  • Self-discharge

  • Battery fade

  • Charge dynamics

  • Calendar aging

 

Use this block to parameterize batteries with complex open-circuit voltage behavior from datasheets or experimental results. For a simpler representation of a battery, see the Battery (Simscape Electrical) block.

The Battery (Table-Based) block has two optional ports that you can expose by setting the corresponding parameters. The extra physical signal port, SOC, outputs the internal state of charge. Use this function to change the load behavior as a function of the state of charge, without the complexity of building a charge state estimator. To expose the SOC port, set the Expose SOC measurement port parameter to Yes in the Main setting.

To expose the thermal port, in the Thermal setting, set the Thermal port parameter to Model. The thermal port represents the battery's thermal mass.

You can also choose different built-in parameterizations for this block. For more information, see the  Predefined parameterization section.

The battery equivalent circuit is made up of the fundamental battery model, the self-discharge resistance RSD, the charge dynamics model, and the series resistance R0.

Battery Model

The block calculates the open-circuit voltage or the voltage across the fundamental battery model by interpolation:

v0=v0(SOC,T)

Where:

  • v0 is the open-circuit voltage of the battery. Specify the grid of lookup values using the Open-circuit voltage, V0(SOC, T) parameter if tabulating parameters over temperature, or Open-circuit voltage, V0(SOC) otherwise.

  • SOC is the ratio of current charge to nominal battery capacity specified in the Cell capacity, AH parameter along with the effects of the temperature-dependent fade percentage change in cell capacity, δAH(n, Tfade), specified in the Percentage change in cell capacity, dAH(N, Tfade) parameter. Specify the SOC breakpoints using the Vector of state-of-charge values, SOC parameter. The block estimates the nominal battery capacity based on the number of cycles and the temperature of the battery by interpolating the specified temperature-dependent fade characteristic and the Cell capacity, AH parameter.

    SOC represents the normalized data concerning qnom.

    For the lookup-table-based fade characteristic option,

    qnom(T,n)=(1+δAH(n,Tfade)100)∗AH Ah.

    For the equation-based fade characteristic option,

    qnom(T,n)=(1+δAH100√nN)∗AH Ah.

    Finally, SOC is obtained from the following equation.

    SOC(t)=1qnom(T,n)∫(i(t)−Vopen(T,n,t)RSD(T,n))dt

    Where:

    • qnom is the cell capacity of the battery. Specify this value using the Cell capacity, AH parameter.

    • N is the reference number of discharge cycles over which you specify the percent change of several battery parameters. Set this value using the Number of discharge cycles, the N parameter.

    • n is the present number of cycles of the battery.

    • δAH is the percentage change in cell capacity of the battery after N discharge cycles.

  • T is the battery temperature. Specify the T breakpoints using the Vector of temperatures, T parameter if tabulating the parameters over temperature.

The block also models the series resistance R0 as a function of the state of charge and optional temperature. Specify the grid of lookup values for the series resistance using the Terminal resistance, R0(SOC, T) parameter if tabulating the parameters over temperature, or Terminal resistance, R0(SOC) otherwise.

THESE BATTERIES ARE CONNECTED IN THE SERIES TO PERFORM THE SIMULATION.

Controlled Current Source

The ideal current source is driven by the input signal

Library

Electrical Sources

Description

The Controlled Current Source block represents an ideal current source that is powerful enough to maintain the specified current through it regardless of the voltage across the source.

The output current is I = Is, where Is is the numerical value presented at the physical signal port.

The positive direction of the current flow is indicated by the arrow.

Ports

The block has one physical signal input port and two electrical conserving ports associated with its electrical terminals.

This block has been.

IT IS USED TO CONTROL THE ELECTRIC CURRENT REQUIRED FOR THE MODEL.

Voltage Sensor

Voltage sensors in electrical systems

expand all on page
  • Library:
  • Simscape / Foundation Library / Electrical / Electrical Sensors

    Simscape / Electrical / Sensors & Transducers

Description

The Voltage Sensor block represents an ideal voltage sensor, a device that converts voltage measured between two points of an electrical circuit into a physical signal proportional to the voltage.

Use the + and - ports to connect the sensor in parallel with the block (or several blocks) where you want to measure the voltage. Port V outputs the measurement result as a physical signal. Use a PS Simulink Converter block to connect this port to Simulink® blocks, such as Scope or Display.

Ports

Output

expand all

Conserving

expand all

 

Conductive Heat Transfer

Heat transfer by conduction

 
  • Library:
  • Simscape / Foundation Library / Thermal / Thermal Elements

Description

The Conductive Heat Transfer block represents heat transfer by conduction between two layers of the same material. For a flat surface, the Fourier law describes the transfer,

Q=k⋅AD(TA−TB),

where:

  • Q is the heat flow.

  • k is the thermal conductivity of the material.

  • A is the area normal to the heat flow direction.

  • D is the distance between layers, that is, the thickness of the material.

  • TA is the temperature of layer A.

  • TB is the temperature of layer B.

Heat conduction through a round pipe wall is

Qcyl=2πk⋅Lln(doutdin)(TA−TB),

where:

  • L is the pipe length.

  • din is the inner diameter.

  • dout is the outer diameter.

You can specify the thermal conductivity by using the Conductivity type parameter:

  • Constant — Thermal conductivity remains constant during simulation. You specify the thermal conductivity by using the Thermal conductivity parameter.

  • Variable input — You specify the thermal conductivity using the input physical signal at port K, which can vary during simulation. The Minimum thermal conductivity parameter specifies the lower bound for the physical signal.

  • Tabulated data — You specify the thermal conductivity by using a lookup table based on temperature. In this case, thermal conductivity can also vary during simulation.

The Tabulated data option uses the average temperature of the block to find the thermal conductivity. For planar wall geometry, the average temperature is

Tavg=TA+TB2.

For cylindrical wall geometry, the average temperature is

Tavg=(TA−TB)⋅⎛⎜⎜⎝doutdout−din−1ln(doutdin)⎞⎟⎟⎠+TB,

which assumes that TB is at the inside of the cylinder.

A and B are thermal conserving ports associated with the material layers. Because the block's positive direction is from port A to port B, the heat flow is positive if it flows from A to B.

Variables

To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and initial Target for block variables. 

Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation's robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see Modify Nominal Values for a Block Variable. 

Ports

Input

expand all

Conserving

expand all

Parameters

expand all

 

Temperature Source

A constant source of thermal energy, characterized by temperature

  • Library:
  • Simscape / Foundation Library / Thermal / Thermal Sources

Description

The Temperature Source block represents an ideal source of thermal energy that is powerful enough to maintain a specified temperature at its outlet regardless of the heat flow consumed by the system.

The source generates constant absolute temperature, defined by the Temperature parameter value.

Ports

Conserving

Thermal conserving port associated with the source outlet

Parameters

The constant absolute temperature at the source outlet port.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.