원시데이터 수집 시스템
선정목록으로

Development of an electric vehicle and battery pack simulator

관련 수소연료전지 · (6) PEM(고분자전해질막)

기본 정보

저자
  1. Reisz, Petra — TU Wien
DOI
10.34726/hss.2024.117155
저널
reposiTUm (TU Wien)
발행년도
2024
발행기관
TU Wien
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.34726/hss.2024.117155
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W6908814674

평가 내용

관련도
관련
사업분야
수소연료전지 · (6) PEM(고분자전해질막)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > PEM(고분자전해질막)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Die Integration erneuerbarer Energiequellen ist eine Herausforderung für die Energiewirtschaft der Zukunft. Als zusätzlicher Puffer zwischen Stromangebot und -nachfrage sind Batterien ein Kandidat, der zunehmend an Bedeutung gewinnt. Dies wird durch ihre rasch sinkenden Kosten und ihre Flexibilität begünstigt.Sie werden eine wichtige Rolle bei der Unterstützung der Netzstabilität und -flexibilität spielen. Nicht nur die Energiegewinnung, sondern auch der Straßenverkehr wird stark elektrifiziert: Der Verkauf von Elektroautos nimmt rapide zu, so dass deren Aufladung die Stromnetze erheblich belasten kann.Es besteht daher ein Bedarf an leistungsfähigen Batteriemodellen in Bezug auf Geschwindigkeit und Genauigkeit. Diese können für die Entwicklung, das Testen und die Simulation fortschrittlicher Ladealgorithmen für Elektrofahrzeuge, für die Planung moderner Energienetze mit kompletten Batteriespeichersystemen sowie für die Charakterisierung neu entwickelter Batterien und die Vorhersage ihres Verhaltens in verschiedenen Szenarien eingesetzt werden. Die vorliegende Arbeit soll einen Beitrag zur Lösung dieser Probleme leisten.Die folgende Arbeit stellt eine komplette Simulationslösung eines Batteriesystems und die Grundlagen eines Elektrofahrzeug-Emulators basierend auf physikalischen Batteriemodellen vor. Insbesondere werden Simulationsmethoden zur Nachbildung von Schnellladealgorithmen für Elektrofahrzeuge entwickelt. Zunächst werden die thermodynamischen Prinzipien der elektrochemischen Zellen, die die Grundlage dieser Technologien bilden, zusammengefasst. Es folgt eine Erläuterung der Prozesse, die bei der Degradation von Batterien ablaufen.Der nächste theoretische Punkt der Arbeit ist ein Überblick über die wichtigsten internationalen Normen zum Laden von Elektrofahrzeugen. Es folgt eine Zusammenfassung der Grundlagen klassischer und neuer Ladealgorithmen für Elektrofahrzeuge. Anschließend werden moderne Batterietechnologien in Elektrofahrzeugen vorgestellt. Der letzte Teil des zweiten Kapitels ist der Aufgabe gewidmet, die bekanntesten Modellierungsansätze für Li-Ionen-Batterien vorzustellen und zu bewerten.Aufbauend auf den theoretischen Grundlagen von Kapitel 2 wird in Kapitel 3 das Konzept der Simulationsansätze Schritt für Schritt entwickelt. Dies beginnt mit einer genauen Beschreibung des in dieser Arbeit verwendeten Modells.Es wird eine Methode zur Parametrisierung dieses Modells entwickelt. Anschließend wird eine neue Methode vorgestellt, die auf adaptiver Polynominterpolation basiert, um mathematisch glatte funktionale Abhängigkeiten zwischen dem Ladezustand der Batterie und den Werten der Komponenten ihres Ersatzschaltbildes herzustellen. Nach der Erstellung eines genauen Modells für die Simulation des transienten Verhaltens einzelner Zellen werden Ansätze für die Skalierung von Zellen auf der Ebene des Batteriepacks vorgestellt. Diese nutzen sowohl die Linearität der ohmsch-kapazitiven Ersatzschaltbilder als auch die Differentialgleichungen, die diese beschreiben aus. Da es nun möglich ist, nicht nur einzelne Batteriezellen, sondern auch ganze Batteriepacks zu simulieren, werden die von den (Schnell-)Ladealgorithmen vorgegebenen Bedingungen in die Simulation des Ladeverhaltens selbst integriert. Es sind mehrere verbreitete Ladealgorithmen implementiert.Ein Vergleich von gemessenen und simulierten Spannungsprofilen von Batteriezellen zeigt, dass die entwickelten Modelle sehr genaue Ergebnisse liefern, sobald die entsprechenden Eingangsparameter verfügbar sind. Ein Vergleich mit traditionellen Methoden (nicht-adaptive Polynomanpassung und Lookup-Tabellen) wird ebenfalls durchgeführt und es zeigt sich, dass die in dieser Arbeit entwickelten Modelle den herkömmlichen Methoden überlegen sind. Im zweiten Teil von Kapitel 4 werden die Modelle zur Simulation des Schnellladeverhaltens von Elektrofahrzeugen validiert. Zu diesem Zweck werden öffentlich verfügbare Ladekurven verwendet und nachsimuliert. Die Simulationsdaten werden nachbearbeitet und die resultierenden Daten werden mit den Herstellerangaben für die jeweiligen Fahrzeuge verglichen, um eine weitere Validierungsmethode zu erhalten.Am Ende der Arbeit werden weitere Empfehlungen und mögliche Anwendungen für das entwickelte Tool gegeben.

본문 277,484자

본문 펼치기
Unterschrift BetreuerIn ### DIPLOMARBEIT Development of an electric vehicle and battery pack simulator ausgef¨uhrt am Institut f¨ur Angewandte Physik der Technischen Universit¨at Wien und am Austrian Institute of Technology GmbH unter der Anleitung von Ao.Univ.Prof. Dipl.-Ing. Dr.techn. Martin Gr¨oschl Dipl.-Ing. Daniel Stahleder Stephan Ledinger durch Petra Reisz July 3, 2024 Unterschrift StudentIn # Kurzfassung Die Integration erneuerbarer Energiequellen ist eine Herausforderung f¨ur die Energiewirtschaft der Zukunft. Als zus¨atzlicher Puffer zwischen Stromangebot und -nachfrage sind Batterien ein Kandidat, der zunehmend an Bedeutung gewinnt. Dies wird durch ihre rasch sinkenden Kosten und ihre Flexibilit¨at beg¨unstigt. Sie werden eine wichtige Rolle bei der Unterst¨utzung der Netzstabilit¨at und -flexibilit¨at spielen. Nicht nur die Energiegewinnung, sondern auch der Straßenverkehr wird stark elektrifiziert: Der Verkauf von Elektroautos nimmt rapide zu, so dass deren Aufladung die Stromnetze erheblich belasten kann. Es besteht daher ein Bedarf an leistungsf¨ahigen Batteriemodellen in Bezug auf Geschwindigkeit und Genauigkeit. Diese k¨onnen f¨ur die Entwicklung, das Testen und die Simulation fortschrittlicher Ladealgorithmen f¨ur Elektrofahrzeuge, f¨ur die Planung moderner Energienetze mit kompletten Batteriespeichersystemen sowie f¨ur die Charakterisierung neu entwickelter Batterien und die Vorhersage ihres Verhaltens in verschiedenen Szenarien eingesetzt werden. Die vorliegende Arbeit soll einen Beitrag zur L¨osung dieser Probleme leisten. Die folgende Arbeit stellt eine komplette Simulationsl¨osung eines Batteriesystems und die Grundlagen eines Elektrofahrzeug-Emulators basierend auf physikalischen Batteriemodellen vor. Insbesondere werden Simulationsmethoden zur Nachbildung von Schnellladealgorithmen f¨ur Elektrofahrzeuge entwickelt. Zun¨achst werden die thermodynamischen Prinzipien der elektrochemischen Zellen, die die Grundlage dieser Technologien bilden, zusammengefasst. Es folgt eine Erl¨auterung der Prozesse, die bei der Degradation von Batterien ablaufen. Der n¨achste theoretische Punkt der Arbeit ist ein Uberblick <sup>¨</sup> ¨uber die wichtigsten internationalen Normen zum Laden von Elektrofahrzeugen. Es folgt eine Zusammenfassung der Grundlagen klassischer und neuer Ladealgorithmen f¨ur Elektrofahrzeuge. Anschließend werden moderne Batterietechnologien in Elektrofahrzeugen vorgestellt. Der letzte Teil des zweiten Kapitels ist der Aufgabe gewidmet, die bekanntesten Modellierungsans¨atze f¨ur Li-Ionen-Batterien vorzustellen und zu bewerten. Aufbauend auf den theoretischen Grundlagen von Kapitel 2 wird in Kapitel 3 das Konzept der Simulationsans¨atze Schritt f¨ur Schritt entwickelt. Dies beginnt mit einer genauen Beschreibung des in dieser Arbeit verwendeten Modells. Es wird eine Methode zur Parametrisierung dieses Modells entwickelt. Anschließend wird eine neue Methode vorgestellt, die auf adaptiver Polynominterpolation basiert, um mathematisch glatte funktionale Abh¨angigkeiten zwischen dem Ladezustand der Batterie und den Werten der Komponenten ihres Ersatzschaltbildes herzustellen. Nach der Erstellung eines genauen Modells f¨ur die Simulation des transienten Verhaltens einzelner Zellen werden Ans¨atze f¨ur die Skalierung von Zellen auf der Ebene des Batteriepacks vorgestellt. Diese nutzen sowohl die Linearit¨at der ohmsch-kapazitiven Ersatzschaltbilder als auch die Differentialgleichungen, die diese beschreiben aus. Da es nun m¨oglich ist, nicht nur einzelne Batteriezellen, sondern auch ganze Batteriepacks zu simulieren, werden die von den (Schnell-)Ladealgorithmen vorgegebenen Bedingungen in die Simulation des Ladeverhaltens selbst integriert. Es sind mehrere verbreitete Ladealgorithmen implementiert. Ein Vergleich von gemessenen und simulierten Spannungsprofilen von Batteriezellen zeigt, dass die entwickelten Modelle sehr genaue Ergebnisse liefern, sobald die entsprechenden Eingangsparameter verf¨ugbar sind. Ein Vergleich mit traditionellen Methoden (nichtadaptive Polynomanpassung und Lookup-Tabellen) wird ebenfalls durchgef¨uhrt und es zeigt sich, dass die in dieser Arbeit entwickelten Modelle den herk¨ommlichen Methoden ¨uberlegen sind. Im zweiten Teil von Kapitel 4 werden die Modelle zur Simulation des Schnellladeverhaltens von Elektrofahrzeugen validiert. Zu diesem Zweck werden ¨offentlich verf¨ugbare Ladekurven verwendet und nachsimuliert. Die Simulationsdaten werden nachbearbeitet und die resultierenden Daten werden mit den Herstellerangaben f¨ur die jeweiligen Fahrzeuge verglichen, um eine weitere Validierungsmethode zu erhalten. Am Ende der Arbeit werden weitere Empfehlungen und m¨ogliche Anwendungen f¨ur das entwickelte Tool gegeben. # Abstract The integration of renewable energy sources is a challenge for the energy industry of the future. As an additional buffer between electricity supply and demand, batteries are an increasingly important candidate. This is facilitated by their rapidly decreasing cost and flexibility. They will play an important role in supporting grid stability and flexibility. In addition to power generation, road transport is becoming increasingly electrified: Sales of electric cars are growing rapidly, which means that charging them can put a significant strain on power grids. As a result, there is a need for efficient battery models in terms of speed and accuracy. These can be used for the development, testing and simulation of advanced charging algorithms for electric vehicles, for the planning of modern energy grids that include complete battery storage systems, and for the characterization of newly developed batteries and the prediction of their behavior in different scenarios. This work is intended to contribute to the solution of these problems. The following work presents a complete simulation solution of a battery system and the basics of an electric vehicle emulator based on physical battery models. In particular, simulation methods are developed to simulate fast charging algorithms for electric vehicles. First, the thermodynamic principles of electrochemical cells that form the basis of these technologies are summarized. This is followed by an explanation of the processes involved in battery degradation. The next theoretical point of the thesis is an overview of the most important international standards for charging electric vehicles. This is followed by a summary of the basics of classical and new charging algorithms for electric vehicles. Modern battery technologies in electric vehicles are then presented. The last part of the second chapter is dedicated to the task of presenting and evaluating the best known modeling approaches for Li-ion batteries. Based on the theoretical foundations of Chapter 2, the concept of the simulation approaches is developed step by step in Chapter 3. This starts with a precise description of the model used in this thesis. A method to parameterize this model is developed. Then a new method based on adaptive polynomial interpolation is presented to establish mathematically smooth functional dependencies between the state of charge of the battery and the values of the components of its equivalent circuit diagram. After establishing an accurate model for simulations of the transient behavior of individual cells, approaches for scaling cells at the battery pack level are presented. These exploit both the linearity of the resistive-capacitive equivalent circuit diagrams and the differential equations that describe them. Since it is now possible to simulate not only individual battery cells but also entire battery packs, the conditions specified by the (fast) charging algorithms are integrated into the simulation of the charging behavior itself. Several commonly used charging algorithms are implemented. A comparison of measured and simulated battery cell voltage profiles shows that the developed models deliver very accurate results as soon as the corresponding input parameters are available. A comparison with traditional methods (non-adaptive polynomial fitting and lookup tables) is also made and it is shown that the models developed in this thesis are superior to the conventional methods. In the second part of Chapter 4, the models for simulating the fast charging behavior of electric vehicles are validated. For this purpose, publicly available charging curves are used and re-simulated. The simulation data are post-processed and the resulting data are compared with the manufacturer’s specifications for the respective vehicles to provide a further validation method. At the end of the thesis, further recommendations and possible applications for the developed tool are given. # Contents 1 Introduction 3 1.1 Electricity, renewables, battery storage systems and electric vehicles: trends and challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Motivation, problem statement and aims . . . . . . . . . . . . . . . . . . . 4 1.3 Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 State of the Art 9 2.1 Thermodynamic and physical description of batteries . . . . . . . . . . . . 9 2.1.1 Working principle and types . . . . . . . . . . . . . . . . . . . . . . 9 2.1.2 Thermodynamics and kinetics . . . . . . . . . . . . . . . . . . . . . 13 2.1.3 Description of battery state . . . . . . . . . . . . . . . . . . . . . . 14 2.1.4 Degradation processes at high currents . . . . . . . . . . . . . . . . 17 2.2 International standards on EV charging . . . . . . . . . . . . . . . . . . . . 23 2.3 Charging algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.3.1 Conventional CC-CV charging . . . . . . . . . . . . . . . . . . . . . 27 2.3.2 Novel approaches . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.3.3 Comparison of literature methods with observed charging curves . . 31 2.4 Battery technology in modern EVs . . . . . . . . . . . . . . . . . . . . . . 33 2.4.1 Typical cell chemistries . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.4.2 Battery packaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2.4.3 Battery management system . . . . . . . . . . . . . . . . . . . . . . 36 2.5 Standard battery modeling approaches . . . . . . . . . . . . . . . . . . . . 41 2.5.1 Models in literature . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.5.2 Electric Equivalent Circuit model and its components . . . . . . . . 43 3 Simulation of fast charging behavior of EVs 47 3.1 Summary of approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 3.2 Implementation of the electric equivalent circuit model . . . . . . . . . . . 48 3.2.1 Target model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 3.2.2 Obtaining EEC parameter values . . . . . . . . . . . . . . . . . . . 49 3.3 Establishing smooth functional dependencies of the electric equivalent circuit model parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 3.3.1 Numerical approach . . . . . . . . . . . . . . . . . . . . . . . . . . 55 3.3.2 Concrete workflow proposal . . . . . . . . . . . . . . . . . . . . . . 61 3.4 Implementation of the battery pack . . . . . . . . . . . . . . . . . . . . . . 65 3.4.1 Building up the battery pack . . . . . . . . . . . . . . . . . . . . . 65 3.4.2 User-defined correction factors . . . . . . . . . . . . . . . . . . . . . 67 3.5 Simulation of battery (pack) voltage . . . . . . . . . . . . . . . . . . . . . 69 3.6 Implementation of charging algorithms . . . . . . . . . . . . . . . . . . . . 71 3.6.1 Implementation of CC and MCC charging . . . . . . . . . . . . . . 71 3.6.2 Implementation of CV charging . . . . . . . . . . . . . . . . . . . . 72 3.6.3 Implementation of boost charging . . . . . . . . . . . . . . . . . . . 75 3.6.4 Arbitrary current profile . . . . . . . . . . . . . . . . . . . . . . . . 76 3.7 Post-processing of the Results . . . . . . . . . . . . . . . . . . . . . . . . . 77 3.8 Software implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 3.8.1 SAVE cell to database . . . . . . . . . . . . . . . . . . . . . . . . . 82 3.8.2 IMPORT cell properties from database and SCALE up pack . . . . 82 3.8.3 SiMULATE (dis)charging modes . . . . . . . . . . . . . . . . . . . 83 3.8.4 POST-PROCESSING implementation . . . . . . . . . . . . . . . . 85 4 Results 89 4.1 Validation of the battery model . . . . . . . . . . . . . . . . . . . . . . . . 89 4.2 Validation of the EV-charging simulation framework . . . . . . . . . . . . . 95 5 Discussion and outlooks 103 5.1 Recapitulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 5.2 Model analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 5.2.1 Physical model analysis: Thevenin model . . . . . . . . . . . . . . . 103 5.2.2 Solver analysis: Explicit Euler and Finite Difference method . . . . 103 5.2.3 Numerical analysis: Adaptive polynomial fitting . . . . . . . . . . . 104 5.3 Software analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 5.4 Lab setup analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 5.5 Charging algorithm simulator analysis . . . . . . . . . . . . . . . . . . . . 105 5.6 Limitations, and recommendations . . . . . . . . . . . . . . . . . . . . . . 105 5.7 Outlooks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 Bibliography i ##### Acronyms _???_ State of Charge _?_ Faraday’s constant _?_ Elementary charge _??_ Number of electrons taking place in redox reaction EV Electric vehicle EVSE Electrical Vehicle Supply Equipment LIB Lithium Ion Battery SSB Solid State Battery BMS Battery Management System EEC Electric Equivalent Circuit (Model) _???_ Open-circuit voltage _?_ Components of the first-order electric equivalent circuit ( _{???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 _}_ ) MCC Multiple stage Constant Current charging method BC Boost Charging method CV Continous Voltage charging method CC Constant Current charging method (x) Referencing equation x # 1 Introduction ##### 1.1 Electricity, renewables, battery storage systems and electric vehicles: trends and challenges The global demand for electricity is on the rise. According to the International Energy Agency’s (IEA) most recent report, the global electricity demand is expected to rise at a faster rate over the next three years, growing by an average of 3.4 % annually until 2026 [1]. It predicts a faster electricity demand growth both in advanced and emerging economies, strongly supported by the ongoing electrification of the residential-, transportand the data centre sector. The latter is also caused due to the rising demand for the computing power of artificial intelligence. It is stated in the report that the share of electricity in final energy consumption was around 20 % in 2023, experiencing a significant rise compared to 2015. The IEA’s ”Net Zero Emissions by 2050 Scenario” (NZE) is a normative scenario that shows a pathway for the global energy sector to achieve net zero CO2 emissions by 2050 [2]. It meets United Nations key energy-related Sustainable Development Goals [3]. NZE is in consistency with emissions reduction statements assessed in the Intergovernmental Panel on Climate Change’s ”Sixth Assessment Report” whose measures are set to limit the global temperature rise to 1 _._ 5 <sup>_∘_</sup> C with at least 50% probability [4]. According to the NZE scenario, the share of electricity in final energy consumption must reach about 30% by 2030. In addition, renewables are projected to account for more than one-third of total global electricity generation by early 2025, with growth largely driven by the deployment of increasingly affordable solar photovoltaic systems. However, expanding the renewable energy capacity requires significant investments in grid infrastructure and system flexibility to ensure a seamless integration [2]. These requirements become complex due to the variability of electricity generated from renewable sources, which undergoes daily and seasonal fluctuations. They are often misaligned with present electricity needs [5]. Moreover, renewables power generation is temporary. These issues can be addressed by the utilization of battery storage systems [6] and the integration of electric vehicles [7] into the energy grid. In the recent past, a rapidly increased deployment of photovoltaic and battery installations has been observed in the residential sector [8]. Therefore, it is assumed that the energy production will undergo a transition: The necessary stationary storage for energy from renewable sources will increase the demand for batteries. This will amount to about 400-500 GWh by 2030 [9]. For these purposes, lithium-ion technology is still the most widely used battery type. This is due to its high power- and energy density as well as excellent cycling capabilities [10]. Battery chemistries are also expected to continue to evolve and innovate technologically. Figure 1.1: Development of EV selling numbers according to IEA [9]. Not only energy generation, but also the mobility sector undergoes a strong electrification: Electric car (EV) sales were reported to be around 14 million in 2023, 95% of which sold in China, Europe and the United States [9]. Looking at IEA’s statistics (see Figure 1.1), it is clearly recognizable that the EV market is experiencing an exponential growth. The rapidly increasing number of simultaneously charging EVs poses a risk to electricity grids and charging infrastructure due to higher demand, especially during peak times and rush hours [9]. The electric vehicle driving range is constantly but moderately increasing. It still causes range anxiety among EV users and non-users. The concerns also relate to available charging infrastructure for long-distance journeys [11]. Still, according to IEA’s forecast, the global EV fleet is set to grow twelve-fold by the year 2035, leading to a ten-fold battery demand for this market [9]. ##### 1.2 Motivation, problem statement and aims Several trends in the energy and road transport sectors are presented in the previous section. Looking at them, it is clear that technology needs to catch up with the demand of the ongoing electrification. Battery technology plays a key role in all of these aspects. The design of the future’s power grid and network requires extensive simulation, including modeling of transient effects and peak loads. In this context, there is a need for appropriate battery models. These should enable the following methods: ❼ Realistically emulate electric vehicle charging processes. ❼ Simulate battery packs that are built up out of several single battery cells. ❼ Adequate charging algorithms for electric vehicles and their simulation for energy network planning and improved testing of charging infrastructure. ❼ Simulation of battery behavior with the ability to scale up to complete storage systems. ❼ Methods to characterize newly developed batteries and to predict their behavior under different scenarios. All these issues are addressed in this thesis. Some further requirements and problem statements are given in the following: As the mentioned grid simulations can cover a large time scale with many components, and solve possibly back-coupled (differential) equations, their computational complexity can explode very quickly. To maintain reasonable memory and computational costs while ensuring high simulation accuracy, the models should be ❼ Scalable without big ”cost penalties”. This means, scaling up a bigger (storage) system out of smaller ones should not elevate necessary (computational) resources. ❼ Available for a large scale of time resolution ❼ Require as few computing operations per time step as possible ❼ Do not need to store big data or operate on big data per timestep. Provided that these requirements are fulfilled, a huge amount of simulation-timesteps can be done within a few seconds. An explanation: _Floating_ _Point_ _Operations_ _per_ _Second_ _”FLOPS”_ measures the number of floating point operations that can be performed in one second. It is one of the most important parameters to determine the computing power of a system. Simply put, it is the number of floating point operations performed per second. It gives an idea of how fast a computer or processor can perform mathematical operations such as addition, subtraction, multiplication, division, or assignment involving floating point numbers (i.e., decimals). Newer processors can reach are over 100 GFLOPS [12]. So if one can only use 1% of this performance (the full performance can basically never be reached), this yields about 10 <sup>9</sup> operations per second on the respective data. Another point is exploiting the so-called ”temporal locality:” Temporal locality is the tendency of programs to reuse data elements during execution. Before looking to memory for a particular data item, the cache (very fast but small memory) is searched for a local copy [13]. When a variable or instruction is temporary local means that it is kept in the cache of the computer. As a consequence it can be easily retrieved and much less time is needed to search for it, resulting in faster performance. The only real limitation in exploiting this form of locality is cache storage size. When considering the aforementioned points it becomes clear that by keeping the data size (i.e., using only a few variables to iterate over) and the number of operations per iteration step small, an enormous number of iteration steps can be done within a few seconds of real time. Therefore, the pathway of this work is stated in terms of the following modeling approach: _”Use_ _numerical_ _models_ _that_ _capture_ _the_ _physics_ _of_ _battery_ _systems_ _and_ _describe_ _EV_ _behavior,_ _but_ _operate_ _on_ _small_ _datasets_ _with_ _a_ _limited_ _number_ _of_ _steps”_ Therefore, it is investigated which kind of equations can describe the battery and the charging process. One of the well-established approaches in the literature for this purpose are first-order ordinary differential equations in time (in which the spatial dependence of the system variables is not taken into account). For their numerical solution, timestepping methods have proven to be efficient. When implemented in the right way, they fulfill the above-mentioned boundary condition on the computational aspect of modeling [14]. The goal is to develop a software that describes the behavior of the battery under current flow. It should be based on already existing and well proven numerical methods and physical considerations. This model should be applicable to real, commercially available batteries, such as those built into EVs. It is also a goal to be able to accurately and flexibly simulate any EV whose data is sufficiently publicly available. The model should be user friendly and leave room for future improvements in terms of more accurate numerical solver methods or model component describing equations and computational optimizations. Portability and platform-independence of the created simulation software is targeted as well. The discussed requirements regarding computational complexity are also an important boundary condition. ##### 1.3 Methodology First, the physical and thermodynamic principles of batteries are described. This is the subject of 2.1. The reader can learn how internal variables can capture the state of the battery and which processes enhance cell degradation at high currents. This is followed by a section dedicated to helping the understanding of EV-EVSE interactions. For this purpose the most important international standards are evaluated in 2.2. To address the cell degradation discussed earlier, fast charging algorithms designed to mitigate this issue are presented in the section 2.3. The focus is kept on the ones that are currently used in EVs. This selection is based on studying publicly available charging curves of electric cars. In the section 2.4 an overview of modern EV battery technologies- and management systems (BMS) and their control variables is also given for better understanding. Based on the above knowledge, physical models are developed and implemented in Chapter 3 to 1. Simulate the behavior of a single battery cell. 2. Based on 1., simulate any assembled battery pack whose cell is already parameterized. 3. Mimic the behavior of an electric vehicle with a certain battery pack under given charging conditions. 4. Post-process the simulation results to extract technically relevant parameters of the operating process. In this work, the modeling of the temperature distribution and evolution of the cells is not explicitly considered due to its high complexity, geometry and design dependence. It would also require solving partial (instead of ordinary) differential equations, which can lead to huge system matrices in every time step if one is not interested in the steady-state solution. Solving (inverting) huge system matrices in every time step would violate the requirements stated in the previous section. Therefore, the thesis uses electric-circuit based models to simulate battery packs. Such approaches implicitly include the chemistry, kinetics, and thermodynamics of the batteries. # 2 State of the Art ##### 2.1 Thermodynamic and physical description of batteries 2.1.1 Working principle and types In the following, an overview of battery types and physical working principles is given based on [15]. Batteries have the purpose of storing energy in chemical form, which can be extracted in electric form during discharging. They can be comprised of one or more electrochemical cells, which consist in general of a ❼ Cathode ❼ Anode ❼ Electrolyte Anode is the electrode, that provides the electrons while discharging, meanwhile the cathode ”receives” them. The electrolyte is a material between the electrodes that allows ion transport while being ideally completely insulating for electrons. To improve mechanical stability and electric safety, a separator is usually added to the system. Extraction of the energy stored in an electrochemical cell is done by redox reactions, which can be schematically described as _??_ _??·?_ <sup>_−_</sup> _−−−↽−−−⇀_ _???_ (2.1) _??_ denotes the oxidized (”loses” electrons), _???_ the reduced (”gains” electrons) species. Figure 2.1 represents the schematics of battery operations during charge and discharge. The difference between the anodic and cathodic electrochemical potential determines the cell potential, i.e. the maximal theoretical voltage _??ℎ_ that can be delivered by the cell. _??ℎ_ = _??_ <sup>0</sup> _?_ <sup>0</sup> _??_ <sup>_−_</sup> <sup>_?_</sup> _??_ <sup>0</sup> _??_ <sup>0</sup> (2.2) Note that the electrode potentials from (2.2) have to be defined with respect to some reference electrode, such as the standard hydrogen electrode. Batteries can be distinguished by the property, whether their electrochemical reactions delivering energy are reversible or not. The former holds for the so-called _secondary_ batteries, whose most common types are listed below. Lead acid batteries They have an anode from lead, and a cathode out of lead dioxide. Typically, an aqueous sulfuric acid electrolyte is used. The overall cell reaction, that delivers a theoretical voltage of 2 _._ 0 V is Pb(s) + PbO2 + 2H2SO4(aq) 2 _?_ <sup>_−_</sup> _−−↽−−⇀_ 2PbSO4(s) + 2H2O (2.3) Figure 2.1: Generalized working principle of a battery with its main components. Figure taken from [15]. Lead-acid batteries have the advantage of low cost. On the other hand, they have a low specific energy (amount of energy a battery can deliver, typically in Wh normalized to its weight). Besides, the component lead is toxic. They are commonly used as starter batteries in vehicles with combustion engines. Another common application is in electrical storage technologies from small to medium scale storage applications. Nickel-based batteries They use nickel hydroxide as cathode, and the anode material determines its sub-type. The cathode reaction can be summarized as _?_ NiOOH + H2O _?_ <sup>_−_</sup> _−↽⇀−_ _?_ Ni(OH)2 + OH <sup>_−_</sup> (2.4) The stoichiometric coefficient _?_ depends on the anode material, from which the following five main sub-types arise: ❼ Nickel cadmium battery, which uses cadmium plate as anode ❼ Nickel-iron battery, with Fe anode. ❼ Nickel-hydrogen battery, that uses H2 as anode. Its development was inspired from both battery and fuel cell technologies. ❼ Nickel-metal hydride battery, with a complex metal-alloy as anode material. ❼ Nickel-zinc battery, using metallic Zn as anode. All of these types have a theoretical voltage between 1.3 and 1.8 Volts under standard ambient conditions. This type is used in backup power applications, older (hybrid) electric vehicles and aircraft starting systems. Sodium-beta batteries They use solid beta alumina ( _?−_ Al2O3) as electrolyte. This allows the transport of sodium ions between electrodes. As anode, Na, as cathode either S(l) or solid metal chloride is used. They have a high operating temperature (350 ➦ C) with a theoretical voltage between 1 _._ 78 and 2 _._ 08 V. The high energy density of this type makes it promising for automobile applications. However, until now, it could not substantially enter the market. Figure 2.2: Operating principle of Li-ion batteries. Figure taken from [15]. Metal-air batteries They use (preferably atmospheric) oxygen as cathode and pure metal (Zn, Li) as anode. An aqueous solution serves as electrode. It is to be noted that it has the highest energy density and lowest energy storage costs among all existing battery technologies. However, their drawbacks such as capacity loss and enhanced degradation of its components due to exposure to the atmosphere has been prohibiting them conquering the market. Lithium-Ion batteries (LIB) In them, Li <sup>+</sup> commutes between the electrodes. Therefore, they are often referred as ”rocking-chair battery”. As cathode the following materials are typically used: ❼ Metal oxides ❼ LiMPO4, where ”M” stands for some metal, typically Fe, Mn, Co, Ni ❼ vanadium-oxide ❼ Lithium-manganese spinels As anode, carbon, Li4TiO12 and Si are most widely applied. The electrolyte is typically some organic material containing dissolved Li salt. For more details on these components refer to 2.4.1. The working principle is shown in Figure 2.2. During discharging, Li is de-intercalated from the hexagonal C structure, while being oxidized to Li <sup>+</sup> . The produced Li <sup>+</sup> ions are transferred through the electrolyte to the cathode, where they reduce some cathode components, which is traditionally cobalt. This leads to the following reactions: Ox: LixC6 = _⇒_ C6 + _?_ _· ?_ <sup>_−_</sup> + _?_ _·_ Li <sup>+</sup> Red: Li1 _−_ xMO2 + _?_ _· ?_ <sup>_−_</sup> + _?_ _·_ Li <sup>+</sup> = _⇒_ LiMO2 Overall: LixC6 + Li1 _−_ xMO2 = _⇒_ _?_ 6 + LiMO2 (2.5) They have low self-discharge rates of around 1.5%–2% monthly, high energy densities of 100–265 Wh _/_ kg, and a cell voltage of around 3.6 V. Moreover, they stand out with their good cyclability. They are the market-dominating battery technology, see Figure 2.3. The most typical application areas of LIBs are: Figure 2.3: Market share of battery technologies with forecast. Figure taken from [16] ❼ Portable electronic devices ❼ Power tools ❼ Automotive applications such as power packs for electric vehicles ❼ Stationary power plants ❼ Renewable energy-based systems Due to their outstanding dominance on the market and in the electric vehicle industry, this work focuses from this point on them, and with the term ”battery”, from now on, Li-ion secondary batteries are meant. Solid-state batteries (SSB) They represent a very promising and emerging technology on the market, which has not yet been able to make the breakthrough. A summary of their characteristics is given based on [17]. The first solid-state battery was in development even before the conventional liquidelectrolyte-based LIBs. The working principle of an SSB is the same as that of an LIB, based on the movement of lithium ions from the anode to the cathode. An important major difference is that this movement is through a solid electrolyte. Almost all cathode and anode active materials used in LIBs can be applied to SSBs. The property of ion conduction through a solid material leads to many unique properties of SSBs: ❼ Unlike their liquid or polymer counterparts, inorganic solid electrolytes are relatively difficult to ignite. This leads to a higher safety. ❼ SSBs have the potential to prevent dendrite formation. Details on dendrite forma tion, it is referred to 2.1.4. ❼ Thermal conductivity of the solid materials is typically higher than that of the liquids. This property may help eliminate the temperature hotspots inside solid state batteries, enhancing safety and mitigating degradation effects. ❼ Inorganic solid electrolytes can be more thermally stable at higher temperatures than liquid ones. Therefore they are able to work more reliably under high temperatures. ❼ Solid electrolytes allow to use Li metal as the anode. This leads to dramatic im provements in the energy density. By [17] it is stated as the main motivation behind their intensive development. ❼ Due to solid electrolytes with ionic conductivity even higher than liquid ones, very thin electrodes can be used. This leads to a high specific energy of the cell. ❼ Excellent anodic stability has been demonstrated, enabling the utilization of cath odes with high potentials. This is also a reason behind their high energy density. ❼ Excellent kinetic performance mainly because of high ionic conductivity. ❼ The higher lithium concentration provides sufficient lithium ions for charge transfer at fast rates. As a result, very fast charge transfer kinetics has been observed with small specific resistance. The following questions remain open in order to achieve wider commercialization: ❼ Understanding changes in the nature of interfaces between electrodes and elec trolytes ❼ Optimization of the interfaces between solid electrolytes and solid electrodes ❼ Understanding their electronic conductivity, electrochemical stability, mechanical properties and thermal stability ❼ Resolving issues of processibility and scalability SSBs are expected to be an important technology in the future, although there are still many important challenges for a commercialization. 2.1.2 Thermodynamics and kinetics The Gibbs free energy _?_ is a thermodynamic potential which describes the amount of maximum reversible work done by a thermodynamic system. It is given as _?_ = _?_ ( _?⃗,_ _?,_ _?_ ) = _?_ _−_ _?_ _· ?_ (2.6) _?_ denotes the enthalpy (in Joules J ), T the absolute temperature (in Kelvin K) and _?_ the entropy (in J K <sup>_−_</sup> <sup>1</sup> ) of the system. Depending on how _?⃗_ is defined, this can be the absolute number of particles or normalized to weight/mol/volume. By this consideration, the maximum amount of energy, that a battery cell can deliver is given by the difference of Gibbs potentials of the educts (compounds to be oxidized) and products (compounds to be reduced). Ideally, this chemical energy Δ _?_ can be converted completely into electric work _?_ = _?_ _· ?_ (charge _×_ voltage). This already delivers the formula for the maximum _theoretically_ _achievable_ _voltage_ of the battery _??ℎ_ : <u>Δ</u> _<u>?</u>_ _??ℎ_ = (2.7) _??_ _· ?_ In (2.7) _?⃗_ is given in units of mol: _?_ = _??_ _· ??_ _· ?_ = _??_ _· ?_, where ❼ _??_ denotes the Avogadro-constant ❼ _?_ the elementary charge ❼ _??_ the number of electrons transferred in the Redox reaction ❼ Δ _?_ the difference of Gibbs potentials of the oxidized and reduced side. The measurable voltage under stationary, no load conditions is called _open_ _circuit_ _voltage_ _???_ . This is usually insignificantly lower than _??ℎ_ [15]. Therefore, from now on, in this thesis the following approximation is taken: _???_ _≈_ _??ℎ_ (2.8) In a real battery system, unwanted reactions occur in addition to the theoretical redox processes. Phase change and mixing effects also enter the _?_ term of (2.6). The reactions together result in a generated entropy _????_, that also contributes to _?_ . Besides, the temperature of the cell is in general a function of space and time _?_ = _?_ ( _?⃗,_ _?_ ). Therefore, by taking (2.6) and (2.7) a part of the deliverable voltage might be ”lost” due to unwanted entropy generation. It is also important to consider, that there is an over-potential on electrode, cathode, and anode due to 1. Transport kinetic limits 2. Finite conductivity of single components These points can be described by Butler-Volmer and Ohmic relations [15]. The above considerations lead to a deviation of the measurable battery voltage _????_ under current flow from _???_ and to heat generation. Section 2.5 deals with the former, and section 2.1.4 gives details on the latter. 2.1.3 Description of battery state What can be observed on a battery is its voltage, current and temperature, and possibly its mechanical state, such as cracks and expansion. It is of interest to define from these observations a set of parameters that allow a statement to be made about ”how the battery is doing”. They are called the internal state variables of a battery and represent a state of the art abstract concept in the literature. Although they are not physical and measurable observables, they represent the input of many actions that need to be taken on the battery and model its behavior (see 2.4.3). They are also used as independent variables to parameterize battery models. They are evaluated in this section. Figure 2.4: Battery system schematics. Figure is taken and modified from [15]. State of Health Batteries irreversibly and gradually degrade with time. This process can be subdivided in two processes: cyclic and calendar aging. The first one refers to the degradation of the battery due to charging and discharging. It depends on many parameters, such as the cycle conditions and temperature. There is no consensus in the scientific community how to exactly capture this process numerically. However, there are some protocols that define evaluation standards, such as the American ”USABC” [18] and the Chinese ”QC/T 743” [19]. Calendar aging should be analyzed independently of cyclic aging. Tests designed for this purpose involve studying the changes in the characteristics of a cell without charging or discharging it. Such tests take a long time, and the aging process depends on many environmental conditions, such as humidity and temperature. This adds to the complexity of the modeling process to capture calendar aging. To reduce the time and cost of testing, some researchers use the accelerated calendar aging method to develop mathematical models of calendar aging [20]. The mentioned processes result in altering of the cell parameters, which is described by the expression _State_ _of_ _Health_ ( _???_ ). There are varying definitions of this parameter, including considerations based on capacity, internal resistance, peak power of the battery or number of cyles [21]. The first two are the most common ones, so they are evaluated. _???_ definition by capacity According to this method, a numerical determination of the _???_ is done by comparison of the aged and new capacity. This is again not well-defined, since it can be given in energy as well as in charge unit, and also depends on operating conditions, primarily on the C-rate. In this work, the ”Capacity-related State of Health” _????_ is defined as follows: _<u>???</u>_ _????_ = _??????_ (2.9) This means by the term capacity, the amount of charge in Ampere-hours Ah that can be stored in a battery is meant. In (2.9) _???_ denotes the maximum actual capacity and _??????_ the capacity of the new battery, both in Ah. The lower index _?_ indicates that _???_ is expressed in this capacity fade. Currently, electric vehicle batteries are considered to reach end of life when _????_ drops to 70-80% [22]. _???_ definition by internal resistance The consensus in the literature is that battery degradation results in an increase in internal resistance. However, there is no agreement on how to measure this ”internal resistance”. Especially since it plays a different role in different battery models. In this paper, due to the use of the so-called _Electric_ _Equivalent_ _Circuit_ _Model_ (see more in 2.5.2), it is defined by _<u>?</u>_ <u>0</u> _<u>,???</u>_ _<u>−</u>_ _<u>?</u>_ <u>0</u> _????_ = _?_ 0 _,???_ _−_ _?_ 0 _,???_ _<u>??</u>_ _<u>· ?</u>_ <u>0</u> _<u>,???</u>_ _<u>−</u>_ _<u>?</u>_ <u>0</u> := _??_ _· ?_ 0 _,???_ _−_ _?_ 0 _,???_ (2.10) Above, the internal resistance captures _?_ 0 from Figure 2.14. Since _????_ is by definition between 0 and 1, setting the value of the so-called ”end of life resistance” _????_ is necessary. It can be expressed by the internal resistance of the new battery with the help of a resistance-aging threshold factor _??_ (this is a term introduced by the author) according to: _?_ 0 _,???_ = _??_ _· ?_ 0 _,???_ (2.11) In some literature, the value _??_ = 1 _._ 33 is used. This factor is introduced by Guha et al. [23]. However, no proper explanation for this exact value was found. State of Charge This parameter is the most important one among all internal state variables, since most decision algorithms and models take it as an input parameter. It is given by _???_ = <sup>_<u>??</u>_</sup> (2.12) _???_ The deviations of _???_ ’s definition arise from the interpretation of nominator and denominator terms. _??_ denotes the dischargeable amount of energy or charge currently stored in the battery. Its amount is in general a function of operating conditions: There is no consensus on which ones to take and how to relate it to the current battery capacity _???_ . As previously discussed, _???_ is again, not well-defined, because it is a function of aging. In order to get a consequent method for its calculation, in this work ❼ In Equation (2.12) occurring variables have the units of Ampere-hours Ah. ❼ The dependence of _??_ on the operating conditions is neglected. This means, one assumes that under any operation conditions one can get out all the charge stored in the battery. This assumption can be justified with following two arguments: 1. _???_ is an abstract concept that helps to relate parameters describing battery behavior, building some kind of ”mapping”. It is thereby only of importance that one uses a consequent calculation for its value that is used as an input for the following algorithms and models. 2. This study focuses on simulating fast charging. Hence, this method is conducted within an _???_ range approximately between 0.2 and 0.8, making it not particularly relevant whether the battery is fully discharged or not. ❼ The stored amount of charge in the battery equals the integrated current _?_ ( _?_ ) that flows into it, minus losses, which are described by the efficiency parameter _?_ . This translates to the following equation: ∫︁ _??_ = _??_ ( _?_ ) _??_ (2.13) ❼ Battery capacity _???_ is governed by equation (2.9). Also _??_ _≤_ _???_ needs to be satisfied. Further internal variables In the literature, the internal variables listed above are also mentioned. They can be input parameters in some more advanced models. However, they are not currently widely used and will not be discussed further in this study. ❼ State of Power: For an EV, it can be defined by the amount of power that the battery pack can deliver to an electric load. In general, it is a function of _???_ and the temperature. ❼ State of Energy: Depending on the narrower definition, it can either express the chemical energy currently stored in the battery, or the one that it can provide to an electric load. ❼ State of Function ( _???_ ): for an EV, in can be defined as the power that can be delivered by a battery (pack) to some electric load, such as the motor. [21] 2.1.4 Degradation processes at high currents Thermal effects One of the main issues of fast charging is the heating of battery cells. In Figure 2.5 an overview of effects leading to battery heating in EVs are presented. In order to sufficiently cool battery packs and have a uniform temperature distribution in them, multiple approaches exist. An overview is given in [24]. The total heat generation _??_ can be divided into two main categories: reversible ( _??_ ) and irreversible ( _??_ ) heat. The irreversible part of the heat generation rate in a cell during a charging process is due to the difference between the change in Gibbs free energy and the actual electrical work delivered by the cell. ❼ The change in Gibbs free energy Δ _?_ = _−??_ _??ℎ_ represents the maximum amount of chemical energy that can be converted into electrical energy ❼ The electrical work is _??_ = _??_ _????_ Here _????_ represents the cell voltage. The difference between the above two values corresponds to a dissipated heat rate. Such dissipation is an irreversible process. The reversible heat rate is caused by the entropy change Δ _?_ due to the chemical reactions inside the cell [25]. It is given as _?_ <sup>˙</sup> _?_ = <sup>_<u>?</u>_</sup> (2.14) _??_ <sup>(</sup> <sup>_??_</sup> <sup>Δ</sup> <sup>_?_</sup> <sup>)</sup> Therefore the total heat loss _??_ is given as _?_ <sup>˙</sup> _?_ = _?_ <sup>˙</sup> _?_ + _?_ <sup>˙</sup> _?_ _?_ <sup>˙</sup> _?_ = <sup>_<u>?</u>_</sup> _??_ <sup>(Δ</sup> <sup>_?_</sup> <sup>+</sup> <sup>_??_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>(</sup> <sup>_??ℎ_</sup> <sup>_−_</sup> <sup>_????_</sup> <sup>)</sup> _?_ <sup>˙</sup> _?_ = <sup>_<u>?</u>_</sup> _??_ <sup>(</sup> <sup>_??_</sup> <sup>Δ</sup> <sup>_?_</sup> <sup>)</sup> (2.15) _??_ denotes the surface temperature of the cell. Assuming _??ℎ_ _≈_ _???_ that is usually a good assumption, the difference between cell and theoretical voltage is given because of the total resistance of the cell _??_ [25]. <sup>_<u>?</u>_</sup> = <sup>_<u>???</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>????</u>_</sup> _?_ _?_ _??_ = <sup><u>Δ</u></sup> <sup>_<u>?</u>_</sup> <sup>_<u>????</u>_</sup> (2.16) _?_ Here Δ _?_ includes both polarization losses of the electrodes and ohmic losses of both electrolyte and electrodes. The irreversible heat rate can be expressed as the product of battery current and voltage loss: _|?_ <sup>˙</sup> _?|_ = _?_ ( _???_ _−_ _????_ ) = _?_ <sup>2</sup> _??_ (2.17) The change of entropy due to the chemical reaction is given as Δ _?_ = _??_ <sup>_<u>???ℎ</u>_</sup> (2.18) _??_ Using this relation with (2.14), the reversible heat generation is _??_ = _???_ _<u>???ℎ</u>_ (2.19) _??_ When obtaining (2.19) it is assumed that the surface temperature is constant and the theoretical voltage is not a function of time as well, i.e _<u>???ℎ</u>_ _<u>???ℎ</u>_ = <sup>_<u>???</u>_</sup> _??_ _??_ _??_ <sup>_<u>?</u>_</sup> <sup>=</sup> <sup>0</sup> (2.20) The temperature evolution of the cell can be described via the energy balance. When neglecting expansion work, the change in the inner energy _?_ of the cell at a constant pressure equals the amount of heat flowing into / coming out from the cell: _??_ = _?_ _· ??_ _· ??_ = _??_ (2.21) with _??_ = _?_ ( _??_ _−_ _??_ ) (2.22) _??_ is the heat delivered to the surrounding through the boundaries of the cells. Describing the relation 2.21 in dependence of the time by inserting (2.15), (2.17) and (2.19) into that, one obtains the evolution of cell temperature in dependence of the charging current _?_ _???_ ( _?_ ) <sup>_<u>??</u>_</sup> _??_ <sup>=</sup> <sup>(</sup> <sup>_?_</sup> <sup>˙</sup> <sup>_?_</sup> <sup>_−_</sup> <sup>_?_</sup> <sup>˙</sup> <sup>_?_</sup> <sup>)</sup> <sup>=</sup> <sup>_?_</sup> <sup>2</sup> <sup>_??_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>+</sup> <sup>_???_</sup> _<u>???ℎ</u>_ (2.23) _??_ <sup>_−_</sup> <sup>_?_</sup> <sup>˙</sup> <sup>_?_</sup> _?_ and _??_ are the mass and the specific heat capacity at constant pressure of the cell, respectively. The latter is in general a function of the temperature itself, so is the total cell resistance _??_ . The amount of heat that the cell ”looses” _??_ is due to ❼ Conduction: linear dependence on the temperature ❼ Radiation: _?_ <sup>4</sup> dependence, Boltzmann-law Looking at (2.23) it can be seen that the temperature evolution is a non-linear equation. What is particularly important in the context of this work is the current dependence. At high temperatures and low currents, reversible heat generation dominates _??_ and radiation dominates _??_ . However, this is not the practical case for fast charging, where one needs high charging currents and wants to keep the temperature low. Therefore, the focus is on the _?_ <sup>2</sup> term in _??_ and the linear (convective) term in _??_ . Current densities are not equal inside the battery, which leads to different heat generation rates at different locations. Since the conductivity of the cells is finite (and usually inhomogeneous) this results in a non-uniform temperature distribution inside the cell. The local inhomogenities of temperature and current distribution can again lead to different reaction rates and therefore different local degradation rates [26]. Further overview on temperature behavior of the battery cells can be read in [27] and [28]. Temperature induced degradation Many degradation mechanisms in Li-ion batteries show a temperature dependence, that can be represented by Arrhenius plots [30], or by empirical equations [31]. A key parameter for degradation effects is the growth of the so-called ”solid electrolyte interface” (SEI). It is a passivization layer formed already in the very first cycle on the surface of lithium-ion battery anode, produced by electrolyte decomposition. It allows Figure 2.5: Overview of processes leading to battery cell heating. Graphic taken from [29] Li <sup>+</sup> transport while preventing further electrolyte decomposition. The quality of the SEI plays a critical role in the cyclability, rate capacity, irreversible capacity loss and safety of lithium-ion batteries: a stable SEI layer can ensure good long term charge capacity retention stability [32]. Meanwhile, an unstable solid electrolyte interface will consume lithium ions thereby decreasing charge capacity while increasing electrical cell resistance. Unstable SEI layer formation is one of the primary reasons for poor capacity retention [33]. In the following it is to be evaluated, how temperature affects this parameter. At high temperatures, the SEI thickness on the anode increases, causing irreversible capacity fade. SEI growth is considered the main degradation mechanism in Li cells because it consumes active lithium and is an irreversible process. The grown SEI film also increases the cell impedance. During its formation, gaseous by-products may be released, causing additional mechanical stress and thus degradation of the cell [26]. Above 25 ➦ C, in addition to the increased growth of the solid electrolyte interface, higher cathode degradation and an increase in cell resistance can be observed. At lower temperatures, Li -plating on the anodes and subsequent reaction with the electrolyte is a dominant degradation mechanism. Li-Plating is a side reaction in which Li <sup>+</sup> ions form Li-metal on the anode instead of intercalating into it. This leads to loss of active material (cyclable Lithium). In this regime, the diffusion and intercalation of Li is slowed down leading to lower charging efficiency [30]. When at lower temperatures the lithium ion diffusion slow down, it can lead not only to lithium plating, but also to dendrite growth during fast charging. The dendrite growth means that lithium dendrites are formed when the Li <sup>+</sup> ions accumulate on the anode surface and cannot be sufficiently absorbed into the anode because of too slow kinetics. They can cause short circuits and leading to safety issues. Another consequence of this process capacity fade: The lithium dendrite reacts with the electrolyte, causing it to decompose and triggering the loss of active lithium inside the battery [34]. Figure 2.6 presents the qualitative behavior of the aging (degradation) rate dependent on the temperature based on the Arrhenius-relation. Figure 2.6: Qualitative dependence of battery degradation rate on the temperature. As _????_, one usually takes 25 ➦ C Mechanical effects Stress occurs during cycling due to Li (de-)intercalation: This process can lead to an increase/decrease of the electrode volume as ions are regularly inserted/extracted. Since the concentration of intercalated Li is also spatially non-uniform, the resulting gradient leads to different volume expansions and phase transitions. The intensity of the strain is strongly dependent on the current density, since at higher C-rates the concentration gradients of Li are higher, leading to higher strain and thus stress [35]. In addition, gas evolution and associated volume expansion due to side reactions lead to additional mechanical stresses. As discussed above, these side reactions are even more intense at higher current densities, because these lead to higher temperatures, which in turn facilitate side reactions (the reader may recall the Arrhenius equation for the temperature dependence of reaction rates). The strain is not only dependent on the amount of charging current, but also varies at different _???_ s [36]. The fast change in _???_ during fast charging implies thereby higher variations in strain, which in turn, poses even more demand on the cell constituents. Mechanical stress induces cracks, that result in higher reactivity with the electrolyte material. This lowers electrical conductivity [29]. One can classify the mechanically induced losses of the battery pack as following [29]: ❼ Loss of active material ❼ Impedance growth ❼ Loss of Lithium inventory Effects on charging efficiency Manufacturers publish the so-called ”rated efficiency” or ”efficiency” of a battery. It is given as the ratio of the energy retrieved from the battery, to the one provided to the battery, when coming back to the same State of Charge [37]. This quality, however does not take the specific charging and discharging characteristics into account [38]. As the (dis-)charge current increases, the (dis)charge efficiency decreases. This mainly due to potential losses that result in a lower output-voltage than the ideal open-circuit voltage. They will be evaluated above based on the work of Rosen [15]. 1. One contribution to the overpotential caused by the resistance to the flow of current. This is called as the ”ohmic” overpotential. Its main source is often the ionic resistance of the electrolyte. 2. The difference between the rate of forward and backward reactions corresponds to the net current density resulting from the anodic and cathodic reactions. For both, there is an energy barrier that must be crossed for the reaction to start and continue. This can be described using transition state theory. The Butler-Volmer equation describes the relation between the current density and overpotential related to the anodic and cathodic half-reactions. It is the result of reaction kinetics, and increases with the current density. The voltage drop due to these effects is also called as ”surface overpotential”. 3. When a battery is being charged or discharged, there is a transfer of mass, momentum, heat and work. These mechanisms result in the so-called ”concentration overpotential”: Transfer mechanisms lead to concentration gradients, especially when large amounts of current are drawn from the battery. This concentration difference, which is associated with limitations in the mass transfer of reactant or product species, can cause an electrical potential loss. For discharge, the battery capacity as a function of discharge current is characterised by Peukert’s equation [39]. This law, however, only considers discharging efficiency. Jeon et al. have proposed a method to measure the charging efficiency _??_ of electric vehicles, which is governed by a polynomial of degree 3 depending on the charging power. In other words, it depends mainly on the charging current supplied. When charging at high power (current), _??_ decreases [40]. ##### 2.2 International standards on EV charging In order to establish a framework that allows to charge EVs produced by different manufacturers, international norms have been developed in the past. The charging equipment that is used to recharge an EV is called _electric_ _vehicle_ _supply_ _equipment_ _(EVSE)_ . It needs some external supply itself to be able to provide the necessary power to the electric car. EVSEs can be classified into categories based on the following criteria according to the standard IEC 61851-1 [41]: 1. Power supply input : based on the grid supply system, it can be DC or AC. 2. Power supply output : Based on the type of current, that is delivered to the EV it can be either DC (direct current), AC (alternating current) or AC and DC. In case of ”AC” the conversion to direct current (that actually arrives to the battery) takes place in the EV. 3. Type of electric connection method : it can be either plug and cable connected or permanently connected 4. Environmental conditions : Indoor or outdoor 5. Access : Locations with restricted or non-restricted access. 6. Mounting method : Stationary or non-stationary EVSE. 7. Protection against electric shock : Class 1 or class 2. 8. Charging modes : Mode 1-4 (see below) There are also different types of connection sockets, both for AC and DC chargers. For AC, there are three main types [42]: Type 1 (”Yasaki”), Type 2 (”Mennekes”) and Type 3 (”Grand”) sockets. For DC-charging, the most important standards are: CHAdeMO. This is the Japanese electric vehicle charging standard. NACS (North American Charging Standard) . The outdated name is ”Tesla Super Charger”. It is about to overtake the current CCS1 standard in North America. According to Tesla _”Superchargers_ _make_ _up_ _three_ _out_ _of_ _four_ _fast_ _chargers_ _and_ _have_ _set_ _the_ _standard_ _for_ _EV_ _charging_ _in_ _North_ _America._ _This_ _standard,_ _known_ _as_ _the_ _North_ _American_ _Charging_ _Standard_ _(NACS),_ _has_ _been_ _adopted_ _by_ _all_ _large_ _automakers,_ _with_ _manufacturers_ _and_ _charge_ _point_ _operators_ _transitioning_ _to_ _the_ _NACS_ _by_ _2025.”_ [43]. GB/T. Chinese electric vehicle charging standard. Combined Charging System (CCS). This is the plug type used in Europe. The following will therefore concentrate on this standard. CCS also enables AC charging with Type 1 (North America) or Type 2 (Europe). The standardization of electric mobility infrastructure requires specifications divided into the following sub-categories [42], [44] Plugs, in- and outlets: They are subject of the international standard IEC 62196. They specify general requirements, dimensional compatibility for both AC and DC contacts, vehicle connectors and inlets as well as thermal management system requirements for DC chargers. Safety: the IEC 61140 defines requirements on installation and electrical assemblies. Other standards dealing with these aspects are IEC 62040, IEC 60529, IEC 61851, IEC 60364-7-722, ISO 6469-3 and ISO 17409. Security: Electric vehicles are intended to regularly connect to public infrastructure and exchange information. Hence, there are protocols to ensure secure digital communication exchange. These aspects are subject of ISO/IEC 27000, IEC 62351, IEC 61859 and ISO/IEC 15118. Charging modes and topologies: They are specified by the IEC 61851-1. This standard classifies charging modes into 4 categories that are summarized in Table 2.1 ❼ Mode 1 establishes the connection for charging directly between the EV and the AC socket outlet. There is no controling pilot pin implemented in this mode, solely a protective earth conductor. Due to safety issues, this mode is prohibited in several countries. ❼ Mode 2 uses a plug connection between AC socket and EV with an additional control pilot function inbetween. This mode covers the use of an in-cable-control device (see Figure 2.7). ❼ Mode 3 establishes a connection between the EV and the AC-EVSE using a control pilot function. This enables in contrast to Mode 1 controlled charging. The EVSE itself is connected to a supply system (such as the supply grid). ❼ Mode 4 uses a connection between the EV and a DC-EVSE with a control pilot function. The schematics of a CCS2 connector, with its components ❼ Type 1 or 2 connector with CP and PP for communication, L1, L2, L3 for AC supply, protective earth conductor ”PE” and neutral conductor ”N” ❼ DC+ and DC- plugs for direct current supply is shown in Figure 2.8. More on abbreviations ”PP” and ”CP” can be found below, under ”Communication.” <u><mark>Mode</mark></u> <u><mark>1</mark></u> <u><mark>Mode</mark></u> <u><mark>2</mark></u> <u><mark>Mode</mark></u> <u><mark>3</mark></u> <u><mark>Mode</mark></u> <u><mark>4</mark></u> Voltage [V] 480 (for 3-phase) 480 (for 3-phase) 480 DC 200-600 Current [A] 16 32 up to 250 up to 400 Power [kW] 13.3 26.6 up to 185 up to 250 <u>Connector</u> <u>Household</u> <u>Household</u> <u>Type</u> <u>1-3</u> <u>CCS/CHAdeMO/...</u> Table 2.1: Characteristics of the modes defined in IEC 61851. Table is based on [42]. Figure 2.7: Charging modes according to IEC 61851. Graphics is taken from [45]. ”CR” stands for ”charging regulator”. Communication The IEC 61851-1 establishes an analogue, low-level communication protocol based on pulse width modulation to control the charging process. It also describes the hardware requirements between EV and EVSE. Charging begins with an information exchange between the car and the charging station: By the Proximiy Pilot ”PP” (implemented in Type 1, Type 2 as well as in CCS plugs) the maximum rated current of the connected cable is communicated towards the car. Via the Control Pilot ”CP” pin, the EVSE sends the maximum charging current it can provide. The EV can still draw another, lower current while charging [44]. With the purpose to define a secure vehicle-to-grid communication interface, the ISO/IEC 15118 was established. It extends IEC 61851 with an extensive digital communication protocol for the transmission of energy-relevant information. The following points are defined in the scope of this standard [46]: ❼ Use cases, schematics of communication process, requirements both on EV and EVSE ❼ Technical protocols, physical and connection requirements ❼ Conformance tests ❼ Wireless communication ❼ Since the release of ISO 15118-20 a protocol (year 2019) on bidirectional charging is defined. This version of ISO 15118 describes the 2nd generation requirements for the network and application protocol. A prerequisite for the usage ISO/IEC 15118 is the presence of a CP pin according to IEC 61851. It aims to create a ”plug-and-charge” environment, intelligent integration of the EVs into the energy grid, by exchanging information about the car’s State of Charge, schedules and electricity contract information [46]. The scope of ISO 15118 is limited to EV - EVSE communication. The Open Charge Point Protocol (OCPP) addresses this issue. It is an international open standard, designed to be vendor-independent, while allowing charging stations and central systems to Figure 2.8: CCS2 connector with Type 2 AC supply. Left: EVSE side connector; Right: EV side connector. Taken from [50] communicate with each other, independent of vendor. [47]. The OCPP protocol enables EV charging stations and central backend systems to exchange information in form of messages and data with each other. The standard defines the role of [48] 1. ”Charge Point” (client): This is the charging station which can have one or multiple connectors. It provides information about the availability, status of charging sessions and energy consumption. 2. ”Central System” (server): By this term, the backend charge point management system is meant. It communicates with the charge point via OCPP to monitor and manage charging sessions and collect data on energy consumption and billing. The most recent version is OCPP 2.0.1, introduced in 2019. It extends the earlier version (1.6) by many functionalities, incorporating 65 message and 129 data types [48]. The new version, OCPP 2.1 is currently being worked on. This will make bidirectional charging in accordance with ISO 15118-20 fully compatible with Charge Point Operator (CPO) backend systems [49]. ##### 2.3 Charging algorithms A key aspect of batteries is how charging can be done. This process needs to fulfill multiple (sometimes concurrent) requirements: 1. Sufficiently short charging time: In order to motivate consuments to buy electric vehicles, it is a key aspect that they do not need to wait for long hours during trips to charge the car battery. This is the key idea behind fast charging. This however opens the door to new, earlier not relevant or known problems in real applications. 2. Safety: It is well known that Li-Ion batteries can be prone to thermal runaways and inflammations. High current densities are necessary to obtain a State of Charge ∫︀ _?_ around 1 in shorter time, since: _?_ ( _?_ ) = _?_ 0 <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)).</sup> <sup>This</sup> <sup>means</sup> <sup>that</sup> <sup>the</sup> <sup>amount</sup> ∫︀ _?_ around 1 in shorter time, since: _?_ ( _?_ ) = _?_ 0 <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>)).</sup> <sup>This</sup> <sup>means</sup> <sup>that</sup> <sup>the</sup> <sup>amount</sup> of current charged at time _?_, which determines _???_ at that moment, is equal to the integrated current _?_ between _?_ and _?_ 0, if one starts charging at _?_ 0. The charge efficiency _?_ also plays a role. This is generally a function of the charge current itself, and its definition is not entirely clear. What is also known is the quadratic relationship between generated joule heat _?_ and current on some resistance: _?_ _∝_ _?_ <sup>2</sup> _·_ _?_ . This places high demands on the battery thermal management system (such as cooling, monitoring). 3. Spare the battery: High current densities do not only pose safety issues. They also lead to enhanced degradation of the battery, see 2.1.4. To charge a battery fast, high C-rates are required. However this has a major drawback: enhanced cell degradation by impacting the _???_ and high capacity loss. The degradation effect is mainly due to thermal and mechanical effects [29]. They are discussed in 2.1.4. Based on the previously discussed aspects, there is a need for new fast-charging algorithms that can mitigate the degradation effects of batteries. Meanwhile, they are supposed to reach a high _???_ within a short time. It was verified by numerous studies, that simply applying higher currents in the conventional CC-CV algorithm does not satisfy these requirements. For this reason, many approaches have been proposed in the literature. Some of them are evaluated in the following, then compared with observable charging behavior of commercial EVs. This allows making assumptions which one might be already in use, and therefore should incorporated into the simulation framework of this work. 2.3.1 Conventional CC-CV charging First, the traditional approach to charge batteries and electric vehicles is to be evaluated. It is called the Constant-Current, Constant-Voltage (CC-CV) algorithm. Its principle is the following: 1. After an initialization phase, the charging station delivers a constant current that has to be set during the communication process [41]. 2. During the CC-phase the _???_ of the battery increases, so does the open-circuit, and the measurable terminal voltage of the battery. 3. After a pre-set, battery-specific terminal voltage is reached, the charging current reduces exponentially to ensure that the terminal voltage stays in a specific boundary (ideally, constant, therefore the _constant_ _voltage_ naming). In this phase, also the charging power decreases exponentially. This CV mode is necessary for the battery’s health, however it extremely elongates the charging time due to the exponential decrease of charging current. There is a trade - off between battery health and charging time / current. It has been found that higher C-rates in the CC arise a necessity for a longer CV - phase, making the net charging time not necessarily shorter than for lower C- rates [51]. The advantage of this method is its simplicity. However, its drawbacks do not make it suitable for fast charging: It results in higher charging losses and does not lead to a sufficiently low charging time even though applying high currents in the CC-phase. The high CC-phase currents result in addition in increased battery-degradation. . 2.3.2 Novel approaches Many approaches have been developed and published claiming to be the ”ideal” charging strategy. However, there is no consensus in the scientific community which one is ideal. It is in general a trade-off between the simplicity of implementing an algorithm and its accuracy/success. Many of the algorithms, even though being promising, could not find their way into real-world applications due their high complexity or demands towards sensoric or computational efforts. One can cluster the optimization approaches into the following main categories: Heuristic studies and model supported studies on external or internal cell states. The heuristic models are the most popular approach among the fast charging strategies due to their simplicity. Their principle is the following: Many cells are cycled with an individual, pre-determined cell cycling strategy that is based on some assumptions/motivation to optimize charge time to be as low as possible and/or keep the battery‘s health as good as possible. Then, cells are cycled until a pre-set number of cycles or capacity is achieved. The most optimal strategy ”wins” and is proposed for application. The following methods are the ones mostly mentioned in the literature as part of this this category: _Boost_ _Charging_ (BC) _Multi-stage_ _Constant_ _Current_ (MCC), _Pulse_ _Charging_ (PC), _Con-_ _stant_ _Power_ (CP) and _Negative_ _Pulse_ _Current_ (NPC) charging [29], [51], [52]. Usually, after reaching a certain _???_, the aforementioned strategies switch to a CVPhase. A short description of them follows. In Figure 2.9 the most common strategies’ voltage, current and State of Charge profiles are represented. Boost Charging protocols. They apply high average current at the beginning of the charging process. This is followed by a CC-CV at lower currents. They are based on the following idea: Applying a very high, ”boost” current at the beginning of charging is claimed to mitigate the possibility of overcharging. Applying high current and power densities in the low _???_ -regime (and therefore reduced voltage) are less destructive for Figure 2.9: An illustrative representation of current an voltage profiles of different charg ing algorithms. Graphics is taken and modified from [29] the cell. The initial boost charge stage typically consists of a high current CC or a CV in which the cell is immediately brought to the maximum voltage _??????_ or a combination of the two in a CC-CV. Some researchers claim, that these protocols are only able to reduce charging time in exchange for higher capacity fade. MCC protocols. The idea is to adjust the constant current levels during charging to mitigate cell degradation. The higher currents are usually applied at the early stages, but some authors proposed the opposite approach [53]. For transitioning from one CC-stage to the other, the ”cut-off voltage-based” or _???_ -based criteria are the most frequently used ones in literature. The current is reduced according to some formula as soon as the terminal voltage of the battery reaches the cut-off voltage during charging. In case of State of Charge based transition criterion jumping from one to another current level happens at certain _???_ breakpoints. Note that even though using _???_ -based criterion, in a real battery management system this is still based on battery terminal voltage management: The internal, abstract and directly non-measurable State of Charge is calculated according to some algorithms, based on observables such as measurable voltage, see 2.4.3. Some researchers also propose transition criterion based on a threshold-temperature [54]. CC charging continues (in the next stage, at another current level) until the cut-off voltage or next State of Charge breakpoint is reached again. This is repeated until the predefined number of stages is reached. Since the terminal voltage is a well-observable and measurable parameter, and the transition criterion is well-defined, it is an easily implementable algorithm. The same statement applies to the State of Charge based transition: in electric vehicles BMS, _???_ calculation takes place anyway (charging state of the car is an indispensable information for users). For this reason it does not require great additional efforts to implement transition criteria based on reaching certain State of Charge values. The MCC pattern was therefore not surprisingly observed in many charging curves of EVs, see following sub-section. Khan et al. [55] developed a formula for the current levels based on an equivalent circuit model of a Li-ion battery to model its thermal characteristics. With this as boundary condition, the algorithm optimizes for the total charge time. In this paper, they used _?_ = 5 stages, but other authors used the same analytical model with different, odd number of stages. The the _?_ th-stage current _??_ is given as arithmetic mean of the previous and next current level: _??−_ 1 _· ??_ +1 (2.24) _??_ = √︀ In the first and last stage, currents need to be predetermined. The benefits of the MCC charging strategy have been studied by many researchers, with a varying number of stages and distinct transition conditions. The battery performance is determined by the following four parameters: charging time- and efficiency, discharge capacity and temperature rise during charging. In the literature, there is often a concentration solely on one parameter. Thermal Management Protocols. The battery temperature is considered as a key degradation metric. Therefore, fast-charging methods based on the idea to sustain constant temperature (CT) were presented by multiple researchers [56], [57]. The problem with this method is that it requires complex equipment and charging algorithms to monitor and maintain temperature. This makes it infeasible to implement on the commercial level [29]. Constant Power (CP) Protocols The idea of this strategy is to keep the charging power constant. This allows high currents at lower _???_ because then the battery voltage is in general lower for small _???_ . it automatically results in charging current decrease at higher State of Charge regimes due to a higher battery voltage in this case. The researchers in [58] claim that this method results in a better thermal behavior as compared to CC-CV. Due to the low energy efficiency of this method, it is less adaptable for fast charging strategies [29]. Pulsed Charging (PC) Protocols. In this method, the battery is charged using current pulses spanned for a short time interval. The peak value of pulse current is much higher than that of CC, but with the same mean rate [29]. The evaluation of this protocol among researchers is ambiguous. Some claim that it can result in significantly improved battery charge and energy efficiencies, longer battery cycle life, and decreased charge time [59]. In the other hand, some scientist found that the method has bad cycling performance due to the pulverization of electrode particles arising from the larger strain during cycling [60]. ”Trickle Charging” is a sub-category of the CP method, being claimed to help extending the battery’s life. However, a high charging time makes it unsuitable for fast charging strategies [29]. Negative Pulse (NP) Protocols . A short negative pulse is applied after each positive current pulse. The idea is that theoretically no lithium plating should take place when the anode potential is _≥_ 0 V. Ideally, discharge (negative) pulse currents would help to recover ions from plated lithium [61]. Therefore, charging protocols involving short negative pulses have been proposed [61]. It is claimed that these protocols allow minimization of degradation by lithium stripping effects without significantly increasing the charge time [61]. Others claim that the NP strategy shows higher degradation and slower charging, making it unsuitable [29]. Other Protocols. There are some other, more complicated charging strategies such as ”Pulse Amplitude-” or ”Pulse Width Modulation” [62], [63], ”Continuous Direct Current” [64], ”Varying Current Strategy” (VCP) [65] and optimization methods in terms of loss and charging time [66]. The problem with such protocols is their complexity and high cost of implementation. These issues make them unsuitable for mass production [29]. 2.3.3 Comparison of literature methods with observed charging curves In this section, curves are represented, that have been observed on publicly available websites. Based on these observations, a subset of the represented novel charging approaches will be implemented in the simulation, see Chapter 3. It can be also observed by looking at the publicly available charging curves that car vendors stick to one pattern in their products in general. This observation is based on charging curves provided by the website Fastned [67]. CC-CV method. The pattern of this mode was observed for many cars, mainly those with a smaller maximum charging power. MCC, MCC-CV method. The pattern of this mode was observed for many cars, probably due to its simplicity and the fact that it is based on the conventional CC-CV mode. Some of the cars that were observed to charge using this mode, according to publicly available data on the website Fastned [67]: ❼ BMW ix models ❼ Hyundai IONIQ models ❼ Mercedes-Benz EQV ❼ Porsche Taycan models ❼ Toyota ProAce models ❼ Opel models ❼ Fiat models Boost charge method. The pattern of having a high charging power at or shortly after the beginning of the charging process was also observed in case of multiple cars [67]. They were identified to use the Boost algorithm. A collection of vehicles having this property [67]: ❼ Tesla models ❼ Skoda Enyaq models ❼ AUDI etron GT ❼ Mercedes-Benz EQV ❼ Maxus e-deliver models ❼ JAC iev7s (followed by an MCC-CV phase) Not clear. Some cars did not show up the very typical pattern of Boost/MCC, or some combinations of them, However, they mostly still resemble them. A collection of vehicles having this property [67]: ❼ Lexus UX-300e ❼ Nissan e-NV200 and Leaf ❼ Seres 3 ❼ Volkswagen ID models ##### 2.4 Battery technology in modern EVs 2.4.1 Typical cell chemistries In the electric vehicle industry, the focus is on the utilization of Li-Ion batteries. There is hardly any non-hybrid battery electric vehicle using a different technology [68]. In the following section, state of the art technologies for anodes, cathodes and electrolytes for Li-Ion batteries used in EVs are presented. Since there is an emerging demand on high performance and low cost, a short outlook on potential future technologies is given as well. One of the main driving motives behind them is, that around 50-70% of battery costs arise from the materials, with Cobalt being especially relevant [69]. Before discussing the properties of single technologies, some terminology is presented for better understanding of the text below: ❼ Battery chemistry : When using this term, one refers to the cathode material of the battery. ❼ Nominal voltage _??_ : It is the average voltage of the cell (measured between anode and the cathode) when fully charged. The actual voltage varies around this value. When referring to the ”nominal voltage” of a specific battery chemistry _?_, it typically indicates the average voltage of the cathode material _?_ measured against the anode, which is typically graphene. ❼ Specific capacity _????_ : This is the amount of charge that can be stored in the battery divided by its weight (when referring to the _gravimetric_ value) or by its volume (when referring to the _volumetric_ value). In electric vehicle battery technology, it is common to refer to the gravimetric value when specifying certain properties. So _????_ is given in Ah _/_ kg . ❼ Specific energy density _??_ : It is the amount of average _energy_ the battery cell can store divided by its weight. It is calculated by _??_ = _????_ _· ??_ . ❼ Specific power density _??_ : Altough it is not a discussed property below, for the sake of completeness it should be also defined. It measures, how fast a battery can deliver power, in proportion to its weight. Anode The anode is the negative electrode in a battery. Graphene serves as the anode material in most commercially available EV batteries. In its hexagonal structure, Li ions can be (de-)intercalated during charging/discharging. The graphene structure has the great advantage of being very cheap and environmentally friendly. However, these anodes have the problem of low capacity and safety concerns. Although it is the state of the art in commercial EV batteries today, it is believed that breakthroughs in lithium-ion battery technology would require innovative anode components such as alloy materials, conversion-type transition metals, silicon-based and carbon-based compounds. For more details on these listed next generation technologies, see [70]. As an exception, the so-called ”LTO” batteries use the compound Li4Ti5O12 instead of graphite [71]. As an anode, the nominal voltage is 1 _._ 5 V with a Li cathode (standard lithium potential). With commercial cathodes such as LMO, NMC, NCA it is between 2.1 and 2 _._ 5 V with a specific capacity of about 175 mAh _/_ g. Although the specific energy of LTO battery is low, it is very safe and has excellent performance when cycling [71]. Cathode The most typically used anode materials for Li-ion EV batteries are lithium iron phosphate (LFP), lithium nickel manganese cobalt oxide (NMC), lithium nickel cobalt aluminum oxide (NCA) and spinal lithium manganese oxide (LMO). The LFP technology stands out for its enhanced safety, electrochemical and thermal stability and low costs. Its major drawback is its low energy density and conductivity: 190 Wh _/_ kg and approximately 1 _×_ 10 <sup>_−_</sup> <sup>9</sup> S, respectively. Despite cheap materials (iron and fluorine) this leads to a high cost per energy unit. To mitigate the problem of poor conductivity, carbon coating or metal doping is being used [72]. LMO was designed with the main purpose of replacing Cobalt and thereby mitigate costs. It has a three dimensional spinel structure which improves the diffusion of lithium ions compared to the other mentioned technologies. Similar to LFP, this technology is also relatively cheap with a low specific capacity of around 150 _−_ 160 mAh _/_ g. A severe concern is that it also suffers from fast capacity fade when cycling. As an advantage one can mention its low resistance due to the spinel structure, which enables an excellent performance at high current rate in applications [71]. In NCA cathodes, layered structure of LiNi1-x-yCoxAlyO2 is used. The idea is to replace Cobalt by Nickel in the composition, thereby lowering the costs and increasing energy density [69]. Using more Ni however, results in worse thermal stability and cycling performance. These type of architecture is more expensive than LFP and LMO, but has a higher voltage and about 30% more capacity. Also, it is more safe in case of overcharging than the other of the mentioned technologies. NCA has promising trends in improving energy density [69], also having good capability at high current rate [71]. NMC is a layered LiNi1-x-yMnxCoyO2 structure. It has a low internal resistance (due to the use of Manganese) and high capacity (because of Nickel). Its costs are lowered since the amount of Cobalt is reduced in the composition by using Nickel and Manganese. The main design parameter for this type of cathode are the stoichiometric factors x, y. As a disadvantage, the low specific energy has to be pointed out. The qualities of the mentioned cathode materials are summarized in Figure 2.10. Additionally, a comparison of LTO with standard graphene anode technology is listed. Electrolyte Electrolyte materials should have the following properties: safety, electrochemical and thermal stability, withstanding dendrite formation and electrolyte decomposition and good ionic, but at the same time very poor electric conductivity. Electrolytes can be subdivided in the following categories: liquid, polymer, and solid. Figure 2.10: Comparison of commercial cathode materials to each other. In the last row the LTO cathode technology is compared to the traditional graphene cathode. The properties and values are taken from [71]. Liquid electrolytes are the most studied and used ones in lithium ion batteries. They consist typically of Lithium salt (mostly LiFP6) dissolved in some organic solvent mixture. Their major drawback is the limited thermal stability [73]. Polymer electrolytes are based on the capability of some polymers being ion-conductors. A brief theoretical description of this process can be found in [73]. Solid electrolytes are gaining attention because they do not require (flammable) solvents, thereby providing higher safety. There is a big focus nowadays on their development. For more details, it is referred to the literature [69], [73] and 2.1. 2.4.2 Battery packaging Since a single cell would not be able to deliver the power needed to move an electric vehicle, multiple cells are organized in strings and modules, forming a _battery_ _pack_ . The principle is the following: having _??_ voltage sources, each delivering _?_ Volts in series, their total voltage will be ideally _??_ _· ?_ . Having _??_ current sources in parallel (each of them delivering _?_ Amperes), they yield together _??_ _· ?_ Amperes. When packaging, _?_ single cells are first associated into smaller units, the so-called modules. These _?_ modules then are ordered in the package, that has _?_ _· ?_ cells. How this is exactly done, is a unique feature of the respective car. However, at certain cases, there is some public data on the number of battery modules _?_ in the battery pack, number of cells in the module _?_, eventually also including cell configuration ( _??_ serial, _??_ parallel). A website that provides such data on almost all commercially available electric vehicles is the _”Electric_ _Vehicle_ _Database”_ _(EVDB)_ [74]. This website was extensively used by the author to study patterns and trends for electric vehicles. As an example, the Renault Zoe ZE50 R135 can be taken [75]: ❼ EV-Battery architecture voltage: 400 V ( 350 V nominal voltage) ❼ Full energy capacity _?????_ : 54.7 kilowatt-hours ❼ Number of battery modules: _?_ = 12 ❼ Configuration: 96 cells serial, 2 parallel. Figure 2.11: Snippet of the manufacturer’s datasheet for LG Energy Solutions cells. The cell _E79_ was identified to be used in Renault Zoe ZE50 R135. It is also provided at [75] that the car has a battery ”NCM712”. After doing some research, it can be found out that in Renault Zoe models the cells from the manufacturer LG are being used [76]. From the above information the following properties of the used cells from the company LG can be deduced: ❼ Cell nominal voltage: _??,????_ = <sup>_<u>??</u>_</sup> _?_ <sup>_<u>,????</u>_</sup> _?_ <sup>_<u>?</u>_</sup> = 3 _._ 646 V 96 _?_ <sup>_<u>,????</u>_</sup> _?_ = <sup><u>350</u></sup> 96 <sup>_<u>?</u>_</sup> _<u>?????</u>_ ❼ Pack capacity: _???????_ = _??,????_ <sup>=</sup> <sup><u>54</u></sup> 350 <sup>_<u>.</u>_</sup> <sup><u>7</u></sup> <sup>_<u>??</u>_</sup> _?_ <sup>_<u>ℎ</u>_</sup> = 156 _._ 286 Ah ❼ It follows for th coulombic cell capacity: _???????_ = <sup>_<u>???</u>_</sup> _?_ <sup>_<u>????</u>_</sup> _?_ <sup><u>286</u></sup> <sup>_<u>?ℎ</u>_</sup> = 78 _._ 143 Ah 2 _?_ <sup>_<u>????</u>_</sup> _?_ = <sup><u>156</u></sup> <sup>_<u>.</u>_</sup> <sup><u>286</u></sup> 2 <sup>_<u>?ℎ</u>_</sup> ❼ Cell energy capacity: _?????_ = _??,????_ _· ???????_ = 3 _._ 646 V _·_ 78 _._ 143 Ah = 285 _._ 22 Wh After calculating these parameters with the additional provided information of battery chemistry being ”NCM712”, one can go to the manufacturer’s website and find the celltype that is used in the car by comparing the datasheet values with the above calculated parameters. In this case, when comparing the official website and cell datasheets of LG Energy Solutions [77], it can be assumed that the cell _LG_ _Energy_ _Solution’s_ _E79_ is the used one in this car. A part of its datasheet is shown in Figure 2.11. For further calculations, one can then extract the parameters from the datasheets if needed. It should be noted that there is a slight difference between the parameters calculated and those supplied by the manufacturer. The reason may be that the way of packaging may affect the parameters. In Chapter 3, a method to deal with this issue is derived. 2.4.3 Battery management system The battery management system (BMS) is an essential part not only of an electric vehicle, but also of any battery-based storage system. It should ensure optimal and safe usage of the energy stored in the battery and preventing (or at least mitigating) deterioration and the risk of damage. The following features should be included by a BMS design [21]: ❼ (Dis-) charge control ❼ Battery capacity and efficiency calculations (such as State of Charge and Health) ❼ Thermal management ❼ Prediction of battery failure ❼ Safety and alarm indications when necessary, such as in case of beyond operating conditions. One can see that the BMS actually governs the behavior of an EV in multiple situations. It is a very complex system, that has some kind of communication channel. This means, in order to simulate charging behavior in an efficient way, one needs to understand how a BMS works and ”mimic” it an efficient way. For this reason, in the following, its workflow is evaluated. The block diagram shown in Figure 2.12, taken from [21] sketches the role of a BMS in an electric car. The BMS monitors real-time, measurable parameters, such as voltage, current and temperature. Each of these can be done for the entire pack or a number of single cells. Temperature monitoring can also include the environment. In addition, some history may also be taken into account: This could be the number of cycles or current profiles the battery pack has experienced in the past. Out of the aforementioned parameters, a battery state analysis is performed according to some implemented algorithms. This includes the calculation of _???,_ _???,_ _???_ _._ _._ _._, being _???_ the most important among them. Based on the internal state, the BMS decides over the actions to take. That is, in the case of charging, requesting the current, power and voltage accordingly. Battery state analysis Let us have a closer look first at the _’Battery_ _state_ _analysis’_ step from Figure 2.12. This procedure represents the first step of all BMS actions. It mainly includes _???_ estimation, in more advanced systems, _???_ and _???_ estimation as well. In recent research, the additional parameters of State of Power, State of Life and State of Energy are also proposed as internal parameters. This work focuses on the more common _???_ evaluation. The battery performance irreversibly declines with time and cycling, being a highly complex process. It depends on many parameters and the battery’s history. Currently, intense research is being conducted to model this parameter, hoping that quantifiable indicators can be found. The main candidates are DC internal resistance and capacity loss, see equations (2.9), (2.10), (2.12). Battery degradation diagnosis in EVs is based on the calculation of State of Health. There is, however, no standard protocol on that and this method is being currently under development. It can be done either online or offline, Figure 2.12: Role of a BMS in an EV. Graphics taken from [21]. based on physical, data-driven, machine learning and regression models [21], [78], [79]. State of Charge estimation in BMS systems is one of the most important tasks in battery engineering. The most widely mentioned methods in the literature are listed in the following. Coulomb counting: This method refers to the calculation of the current _???_ from the previous one. Thereby, _??_ from (2.12) at a given time _?_ calculates as ∫︁ _?_ _??_ ( _?_ ) = _??_ ( _?_ ) _??_ + _??_ ( _?_ 0) _?_ 0 _??_ denotes the battery current, that actually flows into the battery. It is the charging current provided by the EVSE/socket _?_ minus the losses: _??_ = _?_ _· ?_ . _?_ denotes here the charging efficiency related to the _charging_ _equipment_, such as cables etc. Ideally, considering the conservation of charge the above formula would yield the correct value for _??_ . However, in a real - world BMS system the following issues arise: 1. The initial value _??_ ( _?_ 0) has to be known. In a BMS, this requires appropriate logging and consideration of self-discharge effects, while the vehicle is shut down. 2. The integration is done numerically, with some step size Δ _?_ . The accuracy is limited on the one hand by the numerical method used, which is a compromise between computational complexity and accuracy. On the other hand it is limited by the step size Δ _?_ . A smaller Δ _?_ means a higher sampling rate, which imposes higher requirements on the sensor system. 3. Measuring currents comes with a certain noise. This also goes into the integral, meaning, errors accumulate with time. 4. For the sake of completeness, it is to be mentioned, that self discharge of the battery while the charging process is also not captured by this method. However, concentrating on (fast) charging, the used currents and relatively short time this effect is negligible. Open Circuit Voltage Method: the BMS refers to the _???_ by measuring the open circuit voltage _???_ . A previously established functional dependency or lookup table of _???_ ( _???_ ) is required for this purpose. Moreover, it is assumed that: 1. The mapping: _???_ _↦→_ _???_ is bijective 2. Assume that at the time instant when the battery voltage is being measured, there is no current flowing in there 3. Aging does not affect the open circuit voltage. To put it another way: Degradation is reflected only in capacity fade and in changes in the passive components in Figure 2.14. The second condition makes this method inapplicable in most cases of EV operation, i.e. when driving or charging, because then the battery needs to supply or receive current. Compromised method: The strategy can be summarized as follows: to exploit the advantages of both previous methods, use Coulomb counting when operating, and use OCV-method when the battery is out of work or at start. This eliminates the accumulated errors from the previous operating cycle and the problem of knowing the initial parameter _??_ ( _?_ 0). The following factors also decrease the accuracy of the real-world _???_ estimation in a BMS: 1. Electromagnetic interference between sensors and other electric components of the car. This adds an additional error to the measured value. 2. Difference between the battery cell being measured and the ”reference” cell. There may be differences between individual battery cells and the one used as the reference for building the models. This phenomenon has also been observed in 3.3.2. This effect may be due to different ageing conditions of individual cells within a pack compared to the ”reference” ageing model as well. Also new cells may have slightly different characteristics even though their behaviour is captured by the same model. 3. Differences between cells in the pack: Non-uniform degradation within the pack (see also 2.1.4) due to position - dependent heat absorption, dissipation and eventually mechanical requirements lead to different ageing and therefore different characteristics within the pack, even if all its cells were completely identical initially. 4. To solve or at least mitigate the above problems, each battery in the pack should be monitored and its history recorded and processed accordingly. This requires a computational, memory and hardware effort that is not feasible for a real application EV management system. Typically, some cells are monitored out of all the battery cells. There have been methods developed to cope with the aforementioned issues and approve the accuracy of _???_ estimation. The _fuzzy_ _logic_ _control_ (FLC) can help improve the inconsistency of series-connected lithium-ion batteries in the pack [80]. Its principle is that instead of using Boolean algebra, where decision values can be either 1 or 0, the algorithms takes ”shades” of truth between 0 and 1. To obtain this ”value of truth”, fuzzy logic uses certain mathematical models. _Kalman_ _filter_ (KF) algorithm is designed to solve the problem of obtaining accurate information from inaccurate data. In the considered case it can be posed as follows: _How_ _to_ _select_ _the_ _most_ _appropriate_ _???_ _values_ _when_ _we_ _only_ _an_ _inaccurate_ _value_ _of_ _the_ _measured_ _voltage/current_ _is_ _available?_ The Kalman-Filter algorithm takes as input the model with process noise source(s) and known inputs. The resulting estimator has inputs [ _?_ ; _?_ ] and outputs [ _?_ ˜; _?_ ˜]. KF takes the system input _?_ (such as voltage) and the noisy model output _?_ (such as _???_ ) as inputs, and produces the estimated noise-free output _?_ ˜ as outputs. It can be a ”current estimator” that produces an estimate at the current time step _??_ using all available measurements up to _??_ . The ”delayed estimator” calculates the _?_ ˜( _??−_ 1) when data points up to _??_ are available [81]. This algorithm is already implemented in commercial software packages such as MATLAB and Python [81], [82]. An important remark is to be left at this point: In this work, the simulation of EV batteries is considered. Therefore, one does not need to bother about real-time noise and its removal. Therefore, Kalman filter and fuzzy logic control are not further discussed in this work. They are mentioned, because this work makes the foundations of an EVSE emulator, where measuring real physical quantities is of importance. These methods will become relevant at that stage. ##### 2.5 Standard battery modeling approaches 2.5.1 Models in literature An overview on the state-of-the art approaches to model battery behavior under different operating conditions is given in [83]–[85]. A summary is given below. The chosen modeling approach _Electric_ _Equivalent_ _Circuit_ will be evaluated in a separate subsection 2.5.2. Depending on how much ”physical insight” is used, the battery models can be subdivided into three categories. From the most to less physical understanding they are ”white”, ”grey” and ”black box” models [85]. White box, electrochemical model Such models actually use physical laws to model battery system behavior. As sketched in section 2.1, there are multiple chemical reactions going on in the battery. They generate heat which determines the temperature field. The latter is a function of spatial coordinates and time. It once again interacts with the cell reactions. This leads to a system of coupled partially differential equations, whose boundary conditions are determined by ambient factors. This system has no analytical solution, but can be solved with iterative non-linear or finite element- combined with time stepping methods. The electrochemical approach stands out with its accuracy and transparency of outputs. Since these models incorporate temperature changes resulting from reaction processes, they can predict the development in the temperature field with time in a natural way [86]. Such models usually relate mass transport phenomena (such a diffusion) and current laws [85]. The main drawback of these models is that they are very complicated and computationally intensive. Therefore, they are claimed to be rather unsuitable for the use on real-time BMS of electric vehicles. For this reason, they are not used in this work. Grey box models A sub-category of grey box models are the so-called mathematical models. They implement empirical equations and stochastic models. Their computational effort of solving algorithms are simplified compared to the electrochemical models. Their use is very low, since it is claimed that the relation of current-voltage characteristics with model parameters is not sufficient. Another approach are the circuit oriented grey box models. They can again be subdivided into the categories simple-, Thevenin-, impedance-, runtime based-, generic- and combined models. ❼ Simple models use an ideal voltage source with solely one ohmic resistance to model the battery. They do not take into account the charging or discharging rates and nonlinear effects [85]. ❼ Impedance model. The structure has an impedance for both anode and cathode connected in series. Electrolyte, separator, and current collector are represented by a pure ohmic resistor _?_ 0 between anode and cathode. At high frequency, battery current collectors and cables introduce inductance, represented by an inductor _?_ which appears as a positive imaginary part in the Electrochemical Impedance Spectroscopy (EIS) diagram. For the representation see Figure 2.13. Such models can be characterized with time consuming Electrochemical Impedance Spectroscopy measurements [87]. The proposed impedance model in [87] has 16 parameters, whose values have to be found in the frequency domain. The conversion to time domain might become complex. ❼ The runtime-based approach uses a complex circuit network to simulate battery runtime and DC voltage response. However, it is thought only for constant discharge current in SPICE-compatible simulators. They are not able to predict a voltage response for varying load currents accurately [88]. ❼ Combined models consist of the combination of different circuit oriented ones, to exploit their advantages simultaneously [89]. ❼ Generic models are claimed to be suitable to model batteries of different technologies undergoing different charging and discharging conditions [89]. ❼ Thevenin models model the transient responses of the battery by using Resistor Capacitor (RC) networks. This approach has been demonstrated to be accurate and effective in capturing the dynamic behavior of batteries [83], [90], [91]. Due to this property, and being computationally cheap as well as having not too many parameters, this approach is used in this work. In the following, Thevenin models will be referred also as ”electric equivalent circuit (EEC)” models. A schematic of some circuit oriented approaches is shown in Figure 2.13. ������������������������ ��������������������� �������������������������� (b) ���������������������� (a) (c) Figure 2.13: Grey box model approaches. (a): Impedance model. (b): Thevenin model, that boils down to the simple model if _?_ Transient _,_ _?_ Transient = 0 _._ Here it is shown with one RC-element, but it can contain multiple ones. (c): Runtimebased models. Graphics is based on figures from [87], [88] Black box models They use for battery parameter estimation data-driven approaches which include methods such as fuzzy-based estimation or neural network, artificial neural networks, support vector machines etc [85]. In particular the data-driven approach of machine learning is considered as very promising. It is highly adaptable to changes in the respective system under study and does not need much resources [85]. Building and applying a black box model usually consists of three phases: 1. Data pre-processing: First, one needs to acquits an accordingly amount and quality of data. It is followed by cleaning, normalizing and transforming it in a form that is suitable for the respective machine learning algorithm. 2. Model training: By using specific algorithms, find the best model describing system behavior based on acquitted data. 3. Estimation: Applies the ”knowledge” gained in the previous step. With this knowledge, the required battery parameters can be predicted. Since the default capabilities required for performing machine learning algorithms are generally included in battery management systems, machine learning techniques are a candidate for modeling charging/discharging profiles in electric vehicles in the future [85]. 2.5.2 Electric Equivalent Circuit model and its components Since the relevant charging algorithms have the battery terminal voltage as control parameter, there is a need to simulate that. Over the years many approaches were developed for this purpose. Due to their simplicity, easy understanding and applicability, the _Elec-_ _tric_ _Equivalent_ _Circuit_ models are the most widespread ones. Their generic principle combined with the consideration of charging infrastructure is illustrated in Figure 2.14. Charging Charging Algorithm Power ###### VTerminal Figure 2.14: Modeling approach of the battery terminal voltage _????_ . Note that _????_ is referred as _??_ _???????_ on this figure. The idea is the following: One considers the battery as an ideal voltage source, that delivers the _open_ _circuit_ _voltage_ _???_ . It is dependent on the internal state of the battery, in the first order of its State of Charge, _???_ . The measured, no-load (terminal) voltage _????_ ( _??_ _???????_ on Figure 2.14) differs from _???_ due to internal losses. The losses are based on the inner resistance of the cell and time/current-dependent characteristics (batteries do not react immediately to currents in general). The aforementioned dynamics effects are modeled via RC-components, whose number can vary. They are situated in the _Charge_ _Dynamics_ box on Figure 2.14. The literature standard uses one or two RC components. The finite conductance of battery components leads to a voltage drop as well. This is modeled by the internal, ohmic resistance _?_ 0 on Figure 2.14. The terminal voltage is the control parameter of most of the currently implementable charging algorithms, due to its easy accessibility. The algorithms again, calculate the charging power _?_ ( _?_ ). By integrating its current part ( _?_ = _?_ _· ?_ ) one obtains the State of Charge of the battery. The _???_ determines the open-circuit voltage and in general the value of the other passive components of the equivalent-circuit model, thereby _????_ . The charging power can be in general multiplied with some efficiency or filter function _?_ ( _?⃗_ )). _?_ can again depend on a set of parameters _?⃗_, such as the temperature. This results in a loop. In the following, the modeling approaches of the single components shown in Figure 2.14 will be discussed. Passive parameters Passive parameters are the internal resistance _?_ 0 and the RC elements ”hidden” in the _Charge_ _Dynamics_ box in Figure 2.14. _?_ 0 describes the ohmic (internal) resistance of the battery, representing conduction losses. This is in series with one or multiple RC elements, usually one or two are used in the literature. These RC parts characterize the _transient_ response of the battery to currents. EEC circuits can be modeled with the differential equations _?_ ˙ _?_ = <sup>_<u>−</u>_</sup> <sup><u>1</u></sup> _????_ _??_ + <sup><u>1</u></sup> _??_ _?_ ( _?_ ) (2.25) _????_ = _???_ _−_ _?_ 0 _?_ _−_ ∑︁ _??_ _??_ _?_ 1 _??_ is the voltage across the _?_ th RC element. _??,_ _??_ are its resistance and capacitance, respectively. _?_ is the battery current. In the literature it is usually positive during discharge. This means that care must be taken that the sign is always correct. If _??_ RC parts are used to characterize the transient behavior, it is called an _??_ order EEC (or Thevenin) model [92]. How to obtain these values is described in 3.2.2. Open circuit voltage It is important to note that _???_ can only be measured when no current is flowing (otherwise, there is a voltage drop on the passive components). For this reason, the _???_ ( _???_ ) curve can be determined by (dis)charging the battery with short and small current pulses, leaving enough time between them. This method allows the transient processes to equilibrate. This results in discrete values of _???_ ( _????_ ) := _???,?_ . To obtain an analytic expression for this relationship, based on real-word data, multiple model equations are represented in the literature: ❼ Nernst model: _???_ ( _???_ ) = _?_ 0 + _?_ 1 _??_ ( _???_ ) + _?_ 2 _??_ (1 _−_ _???_ ) (2.26) [93]. The Nernst model is based on the thermodynamic characteristics of the battery. This means that (2.26) incorporates the fact that the thermodynamic voltage _??ℎ_ is given as the difference of the electrostatic potentials _?_ ˜ between the electrodes. They are governed by Nernst’s equation: <sup>_<u>?</u>_</sup> _??_ <sup>_<u>?</u>_</sup> <sup>_·_</sup> <sup>ln(</sup> <sup>_<u>?</u>_</sup> _?_ <sup>_<u>?</u>_</sup> _??_ <sup>_<u>??</u>_</sup> _?_ = _?_ 0 _−_ <sup>_<u>?</u>_</sup> _??_ <sup>_<u>?</u>_</sup> _???_ ) (2.27) _?_ 0 is the standard cell potential, _?_ is the universal ideal gas constant, _?_ is the temperature in Kelvins, _?_ is the number of electrons transferred in the cell reaction, _?_ is the Faraday constant. _????_ is the activity of the reduced chemical species and _???_ is the activity of the oxidized form. What is important for the numerical, modeling case in this thesis is the dependence of the activities of the reduced/oxidized species _????,_ _???_ . The activities are dependent on the concentration. In the ”battery world” this is accessed by the State of Charge, resulting in the custom equation (2.26). ❼ Zheng model [94] _???_ ( _???_ ) = _?_ 0 + _?_ 1 _??_ ( _???_ ) + _?_ 2 _??_ (1 _−_ _???_ ) + _?_ 3 <u>1</u> _???_ <sup>+</sup> <sup>_?_</sup> <sup>4</sup> <sup>_???_</sup> (2.28) ❼ Shepherd Model [83] _<u>?</u>_ <u>1</u> _???_ ( _???_ ) = _?_ 0 _−_ (2.29) _???_ that is in its modified version [93] _<u>?</u>_ <u>1</u> _???_ ( _???_ ) = _?_ 0 _−_ _???_ <sup>+</sup> <sup>_?_</sup> <sup>2 exp</sup> ❼ Lam Model [95] (︀ _−_ _?_ (1 _−_ _???_ ) (2.30) )︀ _<u>?</u>_ <u>6</u> _???_ ( _???_ ) = _?_ 1 _?_ <sup>_−?_</sup> <sup>2</sup> <sup>_???_</sup> + _?_ 3 + _?_ 4 _???_ + _?_ 5 _?_ <sup>_−_</sup> 1 _−???_ (2.31) ❼ Chen and Rincon-Mora model [88] _???_ (SoC) = _?_ 0 _· ?_ <sup>_−?_</sup> <sup>1SoC</sup> + _?_ 2 + _?_ 3 _·_ SoC _−_ _?_ 4 _·_ SoC <sup>2</sup> + _?_ 5 _·_ SoC <sup>3</sup> (2.32) These modeling equations shall be called _physical_ _equations_ _(PhEs)_ in the following. # 3 Simulation of fast charging behavior of EVs The previous chapter introduced the theory of battery technology. After reading it, the reader has a basic knowledge of the physical/thermodynamic principles of batteries, including their main degradation effects. There is also a review of charging standards and algorithms in EV technology, and modeling approaches of battery behavior under load. Having established the basics, the next step is to build a model to capture the behavior of the battery (packs) and electric vehicle charging. For this purpose, the well-established Thevenin model with one RC element is used as a basis. As a next step, a novel approach is represented to obtain the EEC’s components State of Charge dependency. The latter is done by setting up a numerical model based on adaptive order polynomial fitting, as well as presenting a measurement procedure that provides the raw data for the subsequent numerical modeling. Then, exploiting the linearity of electrical circuits (those with only voltage sources, resistors and capacitors) a method is presented to scale up single battery models to package models. To simulate vehicle charging or voltage profiles under load currents, differential equations are set up with boundary conditions appropriate to the particular application. They are solved numerically using time-stepping methods. These approaches can achieve the following objectives: ❼ Simulation of individual battery cells when subjected to an arbitrary load current ❼ Simulation of arbitrary assembled battery packs ❼ Simulation of the most common fast charging algorithms, taking into account EVSE limitations ##### 3.1 Summary of approach The problem of simulating EV or battery pack charging is subdivided as following: 1. Simulate and capture the behaviour of a single battery cell. 2. Take this cell, and build up a pack out of it. 3. Scale the pack using the linearity of electric circuits. 4. Consider operational EVSE limitations. 5. Define the charging algorithm. 6. Run the simulation. A graphics connecting these ideas is shown in Figure 3.1. How single steps on this figure are done is the subject of the following sections. \ EVSE ������� ������� Cell Database Discrete Datapoints Generate functional dependency (���, ��, ��, ��)(SoC) EV Battery ���= �� ⋅���� ⋅�� �= �� ⋅�� ⋅�� BMS ������� ������� ������� Figure 3.1: An approach that will be followed in the following sections to develop a sim ulation software for EV and battery (dis-) charging. ##### 3.2 Implementation of the electric equivalent circuit model In this section, the framework for parameterizing the State of Charge dependency of EEC model components is established. The presented method delivers the _?_ values at discrete _???_ points. This is based on the examination of transient voltage profiles after current pulses that are applied to the battery whose parameters are of interest. 3.2.1 Target model The principle of Thevenin-based models is described in 2.5. A common subcategory in literature is the case where only one RC element is used to model transient battery behavior. This means that the value of _??_ from (2.25) is _??_ = 1. Therefore one can imaginally replace the battery by the electric circuit shown in Figure 3.2. This means: ❼ The open-circuit voltage of the battery is modeled by an ideal voltage source, _???_ from Figure 3.2. ❼ Finite conductance of battery components are modeled by a standalone ohmic re sistance, _?_ 0 from Figure 3.2. ❼ Transient response of battery voltage on currents are modeled with an RC-network consisting of solely one capacitor _?_ 1 and resistor _?_ 1 from Figure 3.2. This approach was reported to be effective in capturing the dynamic behavior of Li-ion batteries [83], [90]–[92], [95]. Moreover, it is computationally cheap and requires solely 5 parameters. Therefore it is used in this work to further develop battery models. An important, left-over issue is now to get the exact values of _???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1. It has already been discussed that properties of a chemical system depend on the activities of the reacting species. The activity, depending on the chemical concentration is implicitly incorporated in the term of State of Charge. Therefore, it is expected that _???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 depend on the _???_ . It is shown in the literature as well as in the following that this expectation holds. As a next step in establishing the battery model, it is presented how to obtain the values of _???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 at a certain State of Charge. ## R1 R0 VOC V VBat C1 Figure 3.2: Target model, graphical representation. 3.2.2 Obtaining EEC parameter values Theoretical derivation In this subsection the theoretical considerations how to obtain parameters from Figure 3.2 are derived. This is done by describing the time-dependent behavior of the respective electric circuit by differential equations and discretizing them. Afterwards, coefficients of the discretized equations are fitted on observations, i.e measurable voltage and current profiles. For the first-order Thevenin model _??_ = 1, therefore (2.25) reduces to _????_ = _???_ _−_ _?_ 0 _?_ _−_ _?_ 1( _?_ ) _<u>??</u>_ <u>1</u> <u>1</u> _??_ <sup>=</sup> <sup>_−_</sup> _?_ 1 _?_ 1 _?_ 1 + <sup><u>1</u></sup> _?_ 1 (3.1) _?_ ( _?_ ) _?_ denotes the battery current ((dis-)charging current). One can obtain the solution by integrating the first order ordinary differential equation (3.1). This cannot be done analytically in many cases, since both _?_ 1 and _?_ depend explicitly on the integration variable _?_ . A promising alternative to do the integration numerically is using time-stepping methods. When using the first-order forward explicit Euler method, at the time-step _?_ using a step-size of _??_, the transient voltage on the RC-element _?_ 1 is given as [92] 1 _−_ _?_ <sup>_−??/?_</sup> <sup>1</sup> <sup>_?_</sup> <sup>1)︀</sup> _?_ ( _??−_ 1) (3.2) _?_ 1( _??_ ) = _?_ 1( _??−_ 1) _· ?_ <sup>_−_</sup> _?_ 1 _<u>???</u>_ 1 + _?_ 1 _·_ (︀ Obtaining the model parameters _???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 (that are _???_ dependent) can be done by looking at the transient response at a current pulse as described in the following. The derivation is based on the method described in the works [96]–[98]). Multiple (dis)charge pulses can be applied to the battery. It reacts to them as follows: it comes first to an initial voltage drop or increase, and then to a transient part determined by the RC-component values. Figure 3.3 illustrates a typical voltage response profile on current pulses. Let us discuss the single sections of the figure: 1. _?_ _≤_ _?_ 0: The battery has been at rest for a sufficiently long time (without currents). Its voltage _????_ equals _???_ . 2. _?_ 0 _≤_ _?_ _≤_ _?_ 1 : At the beginning of the discharge pulse, an initial voltage drop _?_ 0 takes place due to the ohmic resistance _?_ 0. Then the voltage decreases because _???_ is doing so due to the discharging process, with an additional contribution of the RC-network ( _?_ 1) described by (3.1). 3. _?_ 1 _≤_ _?_ _≤_ _?_ 2 : After drawing no more current from the battery, there is an instantaneous jump in _????_ again due to _?_ 0. Since no current is being drawn, and the resting interval is sufficiently short to neglect self-discharging effects, the State of Charge can be treated as constant in this period. _???_ = _?????_ := _???_ ( _?_ 1) _,_ _?_ _∈_ [ _?_ 1 _,_ _?_ 2] (3.3) After the initial voltage drop at the instant when the discharging current has been turned off, _????_ converges to _???_ ( _???_ = _???_ ( _?_ 1)) with a characteristic transient profile. The transient profile is determined by _?_ 1 _,_ _?_ 1. 4. _?_ 2 _≤_ _?_ _≤_ _?_ 3 : When a charging current pulse is applied there is an instantaneous jump in _????_ again due to _?_ 0. Then the voltage increases because _???_ is doing so due to the charging process. There is a contribution of _?_ 1 according to (3.1) as well. 5. _?_ 3 _≤_ _?_ : After charging no more current into the battery, there is an instantaneous drop in _????_ due to _?_ 0. Then, _????_ converges to _???_ ( _???_ = _???_ ( _?_ 3)) with a transient profile, characteristic to _?_ 1 _,_ _?_ 1. Since no current is being drawn or charged, and the resting interval is sufficiently short to neglect self-discharging effects, the State of Charge can be treated as constant in this period. _???_ = _?????_ := _???_ ( _?_ 3) _,_ _?_ _≥_ _?_ 3 (3.4) In the following, a method with _?_, solely discharge pulses to obtain a discrete set of _{????,_ _???,?,_ _?_ 0 _,?,_ _?_ 1 _,?,_ _?_ 1 _,?},_ _?_ _∈_ [1 _,_ _...,_ _?_ ] is derived based on the above considerations. Considering an immediate turning off the current at a time instant _??_, the value of _?_ from (3.1) reduces to zero. This holds until _??_, when the new discharge pulse starts. _?_ ( _?_ ) = 0 _,_ _?_ _∈_ [ _??,_ _??_ ] (3.5) In this current-free interval (3.1) reduces to, when one denotes _?_ 1 _· ?_ 1 by the time constant _?_ : _<u>??</u>_ <u>1</u> _<u>????</u>_ <u>1</u> <sup>=</sup> <sup>_<u>−</u>_</sup> _?_ <sup><u>1</u></sup> (3.6) _?_ <sup><u>1</u></sup> <sup>_?_</sup> <sup>1(</sup> <sup>_?_</sup> <sup>)</sup> <sup>_,_</sup> <sup>_?_</sup> <sup>_∈_</sup> <sup>[</sup> <sup>_??,_</sup> <sup>_??_</sup> <sup>]</sup> The equation (3.6) can be solved analytically by applying separation of variables: Figure 3.3: Characteristic voltage profile of the battery responding to current pulses. Taken from [97]. ∫︁ _?_ = ∫︁ _?_ _??_ _<u>−??</u>_ _?_ _<u>??</u>_ <u>1</u> _?_ 1 )︀ _?_ 1( _?_ ) _−_ ln _??_ = <sup>_<u>−</u>_</sup> <sup><u>Δ</u></sup> <sup>_<u>?</u>_</sup> + _?????_ _?_ (3.7) ln (︀ (︀ _?_ 1( _??_ ) )︀ _?_ 1( _?_ ) = _?_ 1( _??_ ) _·_ e <sup>_−_</sup> <sup>Δ</sup> <sup>_?/?_</sup> + _?????_ With Δ _?_ := _?_ _−_ _??_ . Derivation of (3.7) and the above enumerated points mean that when applying discharge pulses and turning off current at the timestep _??_, one can record the voltage profile _????_ until the beginning of the next pulse _??_, and can fit it to the custom profile: _????_ ( _?_ ) = _??_ + _??_ _·_ e <sup>_−??·_</sup> <sup>Δ</sup> <sup>_?_</sup> _,_ _?_ _∈_ [ _??,_ _??_ ] (3.8) When doing in total _?_ pulses, means _?_ _∈_ _{_ 1 _,_ _._ _._ _._ _?_ _},_ _?_ _∈_ _{_ 1 _,_ _._ _._ _._ _?_ _}_ . Considering points 1-5, it holds if the rest interval ( _??_ _−_ _??_ ) is large enough for the battery voltage to equilibrate, but sufficiently small to neglect self-discharge effects: _???_ = _?????_ := _???_ ( _??_ ) = _???_ ( _??_ ) _,_ _?_ _∈_ [ _??,_ _??_ ] (︀ _????_ ( _??_ ) _≈_ _???_ _???_ _???_ ( _??_ ) = _??_ _?_ 1( _??_ ) = _??_ _???_ ( _??_ ) )︀ (3.9) _???_ ( _??_ ) (︀ _· ?_ 1 _???_ ( _??_ ) = <sup><u>1</u></sup> _??_ _?_ ( _??_ ) = _?_ ( _??_ ) = _?_ 1 (︀ )︀ )︀ By fitting a measured voltage profile on known current pulses, one can obtain the values of the parameters _??,_ _??,_ _??_ from (3.8). Combined with (3.9) this method delivers the values of the first-order EEC parameters as follows: (︀ _???_ )︀ _???_ ( _??_ ) = _???_ := _?_ 0 _?_ = <sup><u>Δ</u></sup> <sup>_<u>??</u>_</sup> := _???,?_ = _??_ (︀ )︀ _???_ ( _??_ ) )︀ (︀ (3.10) _?_ 0 _???_ ( _??_ ) )︀ (︀ _· ?_ 1 _???_ ( _??_ ) := _?_ 1 _?_ _· ?_ 1 _?_ = <sup><u>1</u></sup> _??_ _??_ _?_ 1 (︀ _???_ ( _??_ ) )︀ In (3.10) the internal resistance _?_ 0 is calculated from the instantaneous voltage jumps Δ _??_ at the time instants when discharging currents are turned off. _??_ stands for the discharging current, that has to be constant for every respective discharging interval. What is left is to obtain an unambiguous expression for _?_ 1 _?,_ _?_ 1 _?_ . This can be done by combining (3.7), (3.8) (3.10): Denote with _??_ the length of the _?_ th current-free period. In the used _?,_ _?_ -notation, it is _??_ = _??_ _−_ _??,_ _?_ = _?_ (3.11) To get graphical representation, on Figure 3.3 _?_ 1 would equal _?_ 1 = _?_ 2 _−_ _?_ 1. Note that Figure 3.3 is not consistent with the used _?,_ _?_ -notation. After inserting the value of _??_ into (3.7), (3.8) (3.10) the expressions for _?_ 1 _?,_ _?_ 1 _?_ can be obtained as follows: _<u>?</u>_ _?_ 1 _?_ = ~~(~~ 1 _−_ e <sup>_−??·??_</sup> <sup>~~)~~</sup> _· ??_ <u>1</u> _?_ 1 _?_ = _??_ _· ?_ 1 _?_ (3.12) Note that the State of Charge has to be computed by knowing the length and height of the current pulses. With every pulse a certain amount of charge is extracted from the battery. This results in a new State of Charge at the end of the pulse _?_ . The State of Charge after a pulse with a duration Δ _??_ and current _??_ is _????_ = _????−_ 1 _−_ <sup><u>Δ</u></sup> <sup>_<u>??</u>_</sup> <sup>_<u>·</u>_</sup> <sup>_<u>|??|</u>_</sup> (3.13) _???_ To summarize, the presented method, based on the derived equations and parameter fitting, yields a collection of points _{????,_ _???,?,_ _?_ 0 _,?,_ _?_ 1 _,?,_ _?_ 1 _,?},_ _?_ _∈_ [1 _,_ _...,_ _?_ ]. This is done by performing _?_ discharge current steps with sufficiently long rest periods in between. At the same time, it is necessary to record the voltage and current profile, followed by parameter fitting. Figure 3.4 recapitulates the procedure. Figure 3.4: Algorithm to generate an array of _???_ values and corresponding passive com ponents. Figure 3.5: Trend of passive components values over _???_, modeled by polynomial of order 3 and parameters as presented in [92]. In this paper, only _???_ _≥_ 0 _._ 4 was considered. One remark is left over: In the work [92] separate parametrization of resistance and capacitance values for charging and discharging is proposed. Their values obtained in the publication are re-plotted in Figure 3.5. It is noticeable, that their values actually show a higher deviation between the charging and discharging condition. Due to resource issues, in this work the parametrization is followed based on discharge pulses only. However, it has been shown to be sufficiently accurate for charging conditions as well. See Chapter 4. Moreover, it is a common practice in the literature to consider only discharge current pulses for battery model parameterization. ##### 3.3 Establishing smooth functional dependencies of the electric equivalent circuit model parameters In this section a procedure that establishes smooth, even _?_ <sup>_∞_</sup> continuous functional dependencies between the State of Charge and EEC components is derived. This is done by interpolating polynomials, whose optimal degree is determined adaptively based on the provided input data, i.e. set of points _{????,_ _???,?,_ _?_ 0 _,?,_ _?_ 1 _,?,_ _?_ 1 _,?}?_ . 3.3.1 Numerical approach The idea is derived in the following by taking the open-circuit voltage _???_ and its State of Charge dependency as example. PhEs are based on some physical considerations, however, they cannot capture the physical processes completely, and are in the end just some fitting-custom models. The true nature of the _???_ _−_ _???_ is described by some _unknown_ function: _???_ := _?_ ( _???_ ) (3.14) One has the ”true” knowledge only in a set of discrete pair points (if measurement errors are neglected and it is assumed that the actual State of Charge is known): _{??,_ _?_ ( _??_ ) _}_ := _{??,_ _??},_ 1 _≤_ _?_ _≤_ _?_ (3.15) when having _?_ measurements points. This actually lets us arrive, considering from a numerical point of view, at an interpolation problem. Thereby the goal is to represent some unknown function ( _?_ ( _?_ )) by a set of well known basis functions _{??_ ( _?_ ) _},_ 1 _≤_ _?_ _≤_ _?_ : _?_ ( _?_ ) _≈_ _?_ <sup>˜</sup> ( _?|{??},_ _?⃗_ ) = ∑︁ _?_ _?_ =1 _????_ ( _?_ ) (3.16) With the unknown coefficients _??_ that can be put in the vector _?⃗_ . They are usually calculated by minimizing the sum of squared errors between interpolated function values _?_ <sup>˜</sup> _?_ and known values of the ”true” function _??_ : _??_ _−_ _?_ <sup>˜</sup> ( _?|{??},_ _?⃗_ ) _|_ (3.17) (︁ )︁2 _?⃗_ = argmin _?_ _|_ ∑︁ _?_ _?_ =1 From a numerical point of view, there is no reason to rely on the custom equations from the literature. Moreover, fitting their coefficients numerically require ”good enough” initial guesses. Without these initial guesses being appropriate, algorithms solving (3.17) (by an optimization problem) do not converge. As a remark: such algorithms are already implemented in several numerical packages, such as the `curve_fit` method from Python’s `scipy.optimize` library [99]. Therefore a simply-seeming polynomial fit is considered, whose basis is just the monomial basis: _??_ ( _?_ ) = _?_ <sup>_?−_</sup> <sup>1</sup> (3.18) This leads to the representation (note the index shift, sum begins now at _?_ = 0): _?_ <sup>˜</sup> ( _?|{??},_ _?⃗_ ) = _?_ ∑︁ _−_ 1 _?_ =0 _???_ <sup>_?_</sup> (3.19) For N observations (tabulated _??_ _−_ _?_ ( _??_ ) values) one can create the so called ( _?_ _× ?_ ) _design_ _matrix_ _?_ <sup>˜</sup> . Modeling the observed quantity _?_ ( _?_ ) by polynomial of order (M-1), one can represent the polynomial interpolation problem due to its linearity (note the sum in Eq. 3.19) via matrix form: _?⃗_ _≈_ _?_ <sup>˜</sup> _?⃗_ (3.20) with _?_ <sup>˜</sup> being 1 1 1 ... ... ... ... _?_ <sup>0</sup> _?_ _?_ <sup>1</sup> _?_ _._ _._ _._ _?_ <sup>_?_</sup> _?_ ⎞ ⎟ ⎠ (3.21) _?_ <sup>0</sup> 1 <sup>1</sup> 1 _._ _._ _._ _?_ <sup>_?_</sup> 1 <sup>_−_</sup> <sup>1</sup> _?_ <sup>˜</sup> = ⎛ ⎜ ⎝ <sup>0</sup> 1 _?_ <sup>1</sup> 1 <sup>1</sup> _?_ _._ _._ _._ _?_ <sup>_?_</sup> _?_ <sup>_−_</sup> <sup>1</sup> <sup>0</sup> _?_ _?_ <sup>1</sup> _?_ _?_ The lower index i stands for the ith observation. The solution vector (=vector of coefficients _??_ from Eq. 3.19) is given by solving the optimization problem shown in (3.17) and inserting for _?_ <sup>˜</sup> the expressions (3.21), (3.19). (︁ _?_ <sup>˜</sup> <sup>_?_</sup> _?_ <sup>˜</sup> _?_ <sup>˜</sup> _?⃗_ (3.22) )︁ _−_ 1 _?⃗_ = The formula (3.22) for ”optimal” interpolating polynomial coefficients _??_ is obtained as described below: One needs to build the first derivative in the bracket of (3.17) respective to _?⃗_ and force the expression to equal zero. One solves it for _?⃗_ . The solution then delivers the right-handside of (3.22), representing the optimal interpolating coefficients _??_ for the respective data-set _{??,_ _??}_ . They are summarized in the solution vector _?⃗_ = _?⃗???????_ . The reader can find an example for deriving this solution for a more simple problem on concrete data in [100]. A very important property of the polyinomial fitting method is that equation (3.22) always has a solution when extrapolating different data ( _??_ ) points: In this case, the rows and columns of _?_ <sup>˜</sup> are linearly independent, and then ( _?_ <sup>˜</sup> <sup>_?_</sup> _?_ <sup>˜</sup> ) is invertible. Thereby, this method ensures a solution for interpolating the open-circuit voltage over State of Charge behavior. Moreover, one does not even require any initial guesses that have to be good enough for other optimization algorithms. Although the derivation might seem to be complicated, one is not even required to create and write the algorithm itself. Using `polyfit` from the `numpy` Python library, this is exactly the process being done when returning the coefficients [101]. The aforementioned points are not the only advantage of the polynomial fit. There is a mathematical theorem providing an upper error bound (or at least, convergence) for the accuracy of the interpolation: Let _??_ ( _?_ ) be the polynomial of degree _?_ that interpolates _?_ _∈_ _?_ <sup>_?_</sup> <sup>+1</sup> [ _?,_ _?_ ] ( _?_ is _?_ + 1 -times continuously differentiable on the interval [ _?,_ _?_ ]) in the points _?_ 0 + _?_ _· ℎ?_ . In this notation, _ℎ?_ represents the distance between _??_ +1 and _??_ . The function _?_ is to be interpolated on the interval [ _?,_ _?_ ]. Then, the interpolation error can be bound by _||?_ _−_ _??||∞,_ [ _?,?_ ] _≤_ ( _?_ _−_ _?_ ) <sup>_?_</sup> <sup>+1</sup> _·_ <sup>_||?_</sup> <sup>(</sup> <sup>_?_</sup> <sup>+1)</sup> <sup>_||∞,_</sup> <sup>[</sup> <sup>_?,?_</sup> <sup>]</sup> (3.23) ( _?_ + 1)! By the term ” _||.||∞_ ” the supremum norm (in other terms: Chebyshev or infinity norm) is meant. The upper bound provided in (3.23) has the following relevance: Given that the function is smooth enough, the interpolation converges very fast with higher degree _?_ to the true function _?_, and it does it not only point-wise, but in an absolute sense (note the supremum norm!). Additionally, this method is also ”safe” when choosing higher _?_ for some function _?_ _∈/_ _?_ <sup>_?_</sup> <sup>+1</sup> [ _?,_ _?_ ]: the error will not get worse, one just does not get this ideal convergence ratio. The described behavior is demonstrated in Figure 3.6 where the convergence behavior of polynomial interpolation on a logarithmic scale is shown: On the left sub-figure a smooth _?_ <sup>_∞_</sup> function _?_ 1( _?_ ) = _?_ <sup>2</sup> _· ?_ <sup>2</sup> <sup>_?_</sup> on [0,1] is interpolated. One sees the convergence rate is of approximately (even better) as ( _?_ +1)!1 <sup>.</sup> <sup>After</sup> <sup>the</sup> <sup>degree</sup> 14 machine precision is reached, that is why one cannot observe any improvement. ”Reaching machine precision” means that the interpolation error _|?_ _−_ _??|_ is smaller than the relative approximation error due to rounding in double-precision (64 bit) floating point number system according to the IEEE 754 standard on computer arithmetic [102]. Simply put, it means that the error is for _?_ _≥_ 14 smaller that the ”double” resolution _?_ = 2 <sup>_−_</sup> <sup>53</sup> _≈_ 10 <sup>_−_</sup> <sup>16</sup> of computers, therefore the machine cannot ”see” that the interpolation error is getting smaller. On the right sub-figure a non-smooth (not even _?_ <sup>1</sup> at _?_ = 0) function _?_ 2( _?_ ) = _|?|_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> on [-1,1] is interpolated. The convergence rate is thereby far from the optimal one, but the error is still decreasing with _?_ . More on the theory of polynomial fitting and numerical analysis see in the state-of-the art book of Stoer et al. [103]. Finally, let’s compare the performance of some PhE and in this work proposed method to interpolate _???_ ( _???_ ). The procedure is the following: 1. First, tabulated _???_ _−_ _???_ values are extracted from MATLAB’s _”Battery_ _(Table-_ _Based)”_ [104] block: A discrete set _???_ _−_ _???_ points for the battery _Panasonic_ _NCA103450_ is taken. 2. Fitting is done by the polynomial method, _?_ = 15. The polynomial coefficients are obtained by the `polyfit` method of the `numpy` Python library. 3. Finding the optimal parameters for the Nernst, Zheng, modified Shepherd, Lam and Chen & Rincon-Mora model (see equations (2.26)-(2.32)). Optimization algorithm is done by the `curve_fit` function from the Python `scipy.optimize` library. As initial guess a trial of either 0.0 or 0.1 for all the parameters is set. Figure 3.6: Convergence of polynomial interpolation on a logarithmic scale. Left: interpo lating a smooth function on [0,1]. Right: Interpolating a non-smooth function on [-1,1]. The convergence rate is thereby far from the optimal one, but error is still decreasing with _?_ . Finding the optimal values for the PhEs’ coefficients to appropriately interpolate the dataset is not possible this way for this input data, see Figure 3.7. An exception is the Rincon-Mora model, that, except the first term, is a polynomial of degree 3. On the other hand, one can see that the polynomial interpolation represents the dateset very well. Note that: ❼ With appropriate initial coefficients the PhEs probably would have delivered more accurate results. This comparison only presents the performance of the methods by making a quick fit without bothering about fine tuning the initial parameters. ❼ To fit non-linear models on curves, alternatively, the function `least_squares` from Pythons `scipy.optimize` library could have been used. This however also requires initial guesses of independent variables. This method was not examined due to this requirement. As the final step, the maximal relative error _????_ of the two well-performing methods is compared. By this term what is meant is: }︂ _?_ _?_ =1 _?_ max = max {︂⃒⃒⃒⃒ _<u>??</u>_ _<u>−</u>_ _<u>?</u>_ <u>˜</u> _<u>?</u>_ _??_ (3.24) In the above expression, _??_ denotes the _?_ th data point of _???_ . _?_ ˜ _?_ = _?_ <sup>˜</sup> ( _????_ ) means the value interpolated by the function _?_ <sup>˜</sup> at the point _????_ . In total _?_ data points are considered. The results with the considered dataset are: ❼ _????_, polyfit: 0.0054 ❼ _????_, Rincon Mora model: 0.0179 ❼ Relation: 3.3073 Results of fitting dataset on polynom and Phes 4.2 Polyfit, degree 15 4.0 Tabulated data 3.8 3.6 3.4 3.2 3.0 2.8 0 20 40 60 80 100 4.2 4.0 3.8 3.6 3.4 3.2 3.0 2.8 4.2 4.0 3.8 3.6 3.4 3.2 3.0 2.8 <u>Fit, Rincon Mora Model</u> <u>Tabulated data</u> 0 20 40 60 80 100 ~~Fit, Zheng Model~~ <u>Tabulated data</u> 4.2 4.0 3.8 3.6 3.4 3.2 3.0 2.8 ~~Fit, Shepherd Model~~ <u>Tabulated data</u> 0 20 40 60 80 100 0 20 40 60 80 100 4.2 4.0 3.8 3.6 3.4 3.2 ~~Fit, Nernst Model~~ <u>Tabulated data</u> 0 20 40 60 80 100 3.0 2.8 SoC Figure 3.7: Comparison of the interpolating curves obtained by fitting on polynomials and PhEs. There was no convergence at all for Lams equation, for this reason it is not plotted. Meaning, the polyfit method performs here three times better than the best-performing PhE, when doing a quick ”on-the-fly” interpolation. Now the further usage of polynomial fitting to model the SoC-dependent parameters from Figure 3.2 can be considered as justified. From now on, for the sake of simplicity and brevity the variable _?_ can stand for the respective parameters on Figure 3.2: _?_ _∈_ _{???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 _}_ (3.25) 3.3.2 Concrete workflow proposal At this point, approaches have been established to ❼ Have a target model which describes the transient behavior of a battery under load current. This is the content of 3.2.1. ❼ Obtain the values of this model at discrete State of Charge points. It is described in 3.2.2. ❼ A method to not only have a discrete set of points of the EEC model’s parameters, but also be able to model them with smooth, _?_ <sup>_∞_</sup> functions. The idea is based on polynomial fitting. This is the content of 3.3.1. As a next step, a method applicable in the practice based on the listed considerations is presented. The overall goal is to parameterize the first order Thevenin model presented in 3.2.1. It is based on _optimized_ (in terms of time and equipment resources) pulse discharge measurements whose foundations are described in 3.2.2. They are done on a set of cells belonging to the same battery cell type. The smooth functional dependencies describing the _?_ ( _???_ ) behavior are established by doing _adaptive_ polynomial fitting on the discrete data points which are the result of the previous step. The adaptive approach allows to take into account the differences between single cells belonging to the same model. At the same time it has optimized coefficients for the respective polynomial model. The manuscript on the method that is presented in the following and developed by the author has been accepted for publication by IEEE to the 2024 Annual Conference of the IEEE Industrial Electronics Society in Chicago, Illinois. Its single steps in order of execution are discussed in the following. 1. Capacity Determination of the Cells. Battery cells have a nominal capacity _????_ _??_ (in Ah) given by the manufacturer as specified data. However, it is a well known phenomenon that battery capacities vary between the single samples. Besides, capacity is dependent on the operating conditions, such as the rate of charge and discharge. At first, the cells are fully charged and discharged with a certain C-rate to determine their capacity. After doing so, the respective _actual_ capacity for every cell _?_ is available. Having _??_ cells in the set it means there is a set _{???_ 1 _,_ _._ _._ _._ _?????_ _}_ after this step. 2. Pulse discharge measurements. Pulse discharge measurements are started with fully charged batteries: _????_ = 1 _,_ _∀?_ . Then, discharge current pulses in defined time intervals of length Δ _??_ are applied. Between these intervals, the cells are let to ”relax”. This means, it needs to be waited for Δ _??_ between two discharge current pulses. The discharge current is chosen uniformly for all batteries, so that it <u>corresponds</u> to a C rate of _??_, respective to the _average_ determined capacity of the set _???_ : (︂ )︂ _???_ = mean _{???_ 1 _,_ _._ _._ _._ _?????_ _}_ (3.26) <u>In</u> the following, this discharge current corresponding to a C rate of _??_, respective to _???_ is called _?_ . According to the above considerations, the pulse discharge procedure for battery _?_ _∈_ _{_ 1 _,_ _._ _._ _._ _??}_ is as follows: ❼ With every pulse, some charge from the battery is extracted. This results in a new state of charge for the battery _?_ at the end of the pulse _?_ : _????_ <sup>_?_</sup> _?_ <sup>_?_</sup> _−_ 1 <sup>_−_</sup> <sup><u>Δ</u></sup> <sup>_<u>??</u>_</sup> <sup>_<u>·</u>_</sup> <sup>_<u>|?|</u>_</sup> _????_ _?_ <sup>_?_</sup> <sup>=</sup> <sup>_???_</sup> _?_ <sup>_?_</sup> _−_ _????_ (3.27) ❼ At the moment when a discharge period is finished and the current drops to zero, an instantaneous voltage jump can be observed. This is followed by a transient phase due to the RC-element as described in 3.2.2. ❼ The fact that individual cells show some variation in their true capacity can be exploited. This means that even if discharge pulses of the same length and current are applied, the resulting steps of _???_, Δ _???_ <sup>_?_</sup> for cell _?_ will be different from the others. This will be important when doing the polynomial fitting. At the end of this procedure one has for every cell _?_ A time-vector _?⃗?_, containing the discrete set of time-points, recorded in intervals according to the sampling time _??_ . The _?⃗?_ vectors are the same for all _?_ . A current- vector _?⃗_ _?_, containing the discrete set of current values. They are recorded at the time instants being elements of _?⃗?_ . Assuming an ideal equipment and no ❼ A time-vector _?⃗_ _?_ vectors are the same for all _?_ . ❼ A current- vector _?⃗_ at the time instants being elements of _?⃗?_ . Assuming an ideal equipment and no measurement errors the elements of _?⃗_ _?_ are either 0 or _?_, and the _?⃗_ _?_ vectors are the measurement errors the elements of _?⃗_ _?_ are either 0 or _?_, and the _?⃗_ _?_ vectors are the same for all _?_ . _?_ are either 0 or _?_, and the _?⃗_ ❼ A voltage-vector of the measured battery voltage recorded at the time instants being _?_ elements of _?⃗?_ : _?⃗_ _???_ <sup>.</sup> <sup>Even</sup> <sup>if</sup> <sup>having</sup> <sup>an</sup> <sup>ideal</sup> <sup>equipment</sup> <sup>and</sup> <sup>no</sup> <sup>measurement</sup> <sup>errors,</sup> this is expected to be _non_ -uniform for the cells _?_ . This is because of two reasons: First, the State of Charge steps due to the pulses with _?_ are different for all cell _?_, see (3.27). Secondly, not only in the capacities, but also the EEC components of the single samples can be differ in general. It means that not all samples of some manufactured system (e.g. battery cells) behave completely identically, which is a well-known and observed property. elements of _?⃗_ _?_ : _?⃗_ _?_ _???_ <sup>are</sup> <sup>the</sup> <sup>input</sup> <sup>of</sup> <sup>the</sup> <sup>subsequent</sup> <sup>step,</sup> <sup>when</sup> <sup>the</sup> <sup>_???_</sup> _?_ <sup>_?_</sup> _?_ <sup>_?−?_</sup> _?_ <sup>_?_</sup> These above arrays _?⃗_ _?,_ _?⃗_ _?,_ _?⃗_ _???_ <sup>are</sup> <sup>the</sup> <sup>input</sup> <sup>of</sup> <sup>the</sup> <sup>subsequent</sup> <sup>step,</sup> <sup>when</sup> <sup>the</sup> <sup>_???_</sup> _?_ <sup>_?−?_</sup> _?_ pairs for every cell _?_, every pulse _?_ are extracted. 3. _???_ _−_ _?_ data points After step 2., the next task is to obtain the _????_ <sup>_?_</sup> _?_ <sup>_?_</sup> <sup>_−_</sup> <sup>_?_</sup> _?_ <sup>_?_</sup> _?_, _?⃗_ After step 2., the next task is to obtain the _????_ <sup>_?_</sup> <sup>_−_</sup> <sup>_?_</sup> _?_ <sup>_?_</sup> pairs for every cell _?_, every _?_ pulse _?_ . One takes for every cell _?_ the recorded arrays _?⃗?_, _?⃗_ _?_, _?⃗_ _???_ <sup>and</sup> <sup>according</sup> <sup>to</sup> <sup>the</sup> _?_ pulse _?_ . One takes for every cell _?_ the recorded arrays _?⃗?_, _?⃗_ _?_, _?⃗_ _???_ <sup>and</sup> <sup>according</sup> <sup>to</sup> <sup>the</sup> method described in 3.2.2, needs to conduct the parameter fitting on the voltage-timecurrent profile of all cells separately. This delivers for every cell _?_ a set of discrete points _{????_ <sup>_?,_</sup> <sup>_?_</sup> _??,?_ <sup>_?_</sup> <sup>_,_</sup> <sup>_?_</sup> 0 <sup>_?_</sup> _,?_ <sup>_,_</sup> <sup>_?_</sup> 1 <sup>_?_</sup> _,?_ <sup>_,_</sup> <sup>_?_</sup> 1 <sup>_?_</sup> _,?_ <sup>_}?_</sup> <sup>.</sup> _?_, _?⃗_ _?_ <sup>_?,_</sup> <sup>_?_</sup> _??,?_ <sup>_?_</sup> _??,?_ <sup>_?_</sup> <sup>_,_</sup> <sup>_?_</sup> 0 <sup>_?_</sup> _,?_ 0 <sup>_?_</sup> _,?_ <sup>_,_</sup> <sup>_?_</sup> 1 <sup>_?_</sup> _,?_ <sup>_,_</sup> <sup>_?_</sup> 1 <sup>_?_</sup> _,?_ <sup>_}?_</sup> <sup>.</sup> 4. Adaptive polynomial fitting After the respective _????_ <sup>_?_</sup> _?_ <sup>_?_</sup> - _??_ <sup>_?_</sup> After the respective _????_ <sup>_?_</sup> - _??_ <sup>_?_</sup> data points are available, the idea is to use the method of adaptive polynomial fitting, based on the following brief theoretical considerations: A higher-degree polynomial allows the fitted model to capture a richer variety of relationships. A potential flaw of this method is that it makes the fit more dependent on the individual observations, which adds random variability and can lead to worse predictions [105]. One model is considered as an overfit if its predictions are not better than those of another simpler (in the considered case: lower polynomial degree) model [105]. Adaptive order polynomial fitting on the recorded data of _multiple_ samples of a certain system (here: the respective battery cell-type) takes the variations between the single cells into account, while smoothing the effect of noise sources. It is also intended to prevent excessive focus on the properties of a single sample. Figure 3.8: Pseudo code for the adaptive fitting algorithm which is applied to each first order Thevenin-model parameter _?_ _∈_ _{???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 _}_ . Note that in the pseudo-code the components referred as `Y` This fitting method is achieved through the following process: The available discrete set of first order Thevenin parameter _?_ measurement data of all cells are randomly shuffled and split into two datasets for _modeling_ and _validation_ . Afterwards, the fit is performed on the modeling set for each EEC parameter to obtain the interpolating polynomials _??,?_ ( _???_ ) of degree _?_ . Then, the quadratic error (residual) _??_ = ∑︁ _?,?????????????_ ( _??,?_ ( _????_ ) _−_ _??_ ) <sup>2</sup> (3.28) is calculated by comparing the aforementioned fit with the _validation_ dataset. _?_ denotes the respective EEC component, i.e. _?_ _∈_ _{???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 _}_ . This is done for every polynomial degree in a range of [ _??_ _??,_ _??_ _??_ + 1 _,_ _._ _._ _._ _,_ _??_ _??_ ]. Finally, the optimal polynomial degree is obtained by choosing the one with the minimal error _??_ . To avoid randomness obtaining the optimal degree is done multiple times ( _?_ runs). In this case, the optimal polynomial degree _??_ is determined as the rounded integer mean of the individual optimal degrees calculated across all runs. The improved method is summarized in the pythonic pseudo-code representation in Figure 3.8. ##### 3.4 Implementation of the battery pack In the previous section, the framework for parameterizing individual battery cells according to circuit-based approaches has been established. In many applications, a complete set of batteries is used to obtain sufficient power. This is especially the case for electric vehicles. For this reason, it is necessary to have a model for scaling from battery to pack level. The purpose of this section is the derivation of a method to do this. The main idea is to use the linearity of RC electrical circuits and differential equations used in the previous section to model batteries. 3.4.1 Building up the battery pack To simulate the pack, one needs to obtain its equivalent circuit. This is composed of the single components _?_ of the cells being contained in it. One can imagine it as depicted in Figure 3.9. The main idea is to exploit the linearity of electric circuits and differential equations describing their behavior. By using this consideration, the circuit representation of the entire pack with an equivalent internal resistance, _?_ 0 <sup>_????_</sup>, RC-element _?_ 1 <sup>_????_</sup> _,_ _?_ 1 <sup>_????_</sup> and 0 <sup>_????_</sup>, RC-element _?_ 1 <sup>_????_</sup> 1 <sup>_????_</sup> _,_ _?_ 1 <sup>_????_</sup> entire pack with an equivalent internal resistance, _?_ 0 <sup>_????_</sup>, RC-element _?_ 1 <sup>_????_</sup> _,_ _?_ 1 <sup>_????_</sup> and voltage source _???_ <sup>_????_</sup> can be constructed. For their calculations, for the sake of simplicity, it voltage source _???_ <sup>_????_</sup> can be constructed. For their calculations, for the sake of simplicity, it is assumed, that the cells building the respective pack, have the same _?_ -values. Removing this condition would lead to equations that are more algebraically complex, yet the same considerations would apply. How to obtain the pack EEC-components is derived in the following. The ohmic resistance of the pack, _?_ 0 <sup>_????_</sup> The ohmic resistance of the pack, _?_ 0 <sup>_????_</sup> : Having _??_ resistances in series, the total resistance is obtained by adding up their values. Having _??_ in parallel, the sum of their inverses equals the inverse of the total resistance. Via this consideration, _?_ 0 <sup>_????_</sup> is given inverses equals the inverse of the total resistance. Via this consideration, _?_ 0 <sup>_????_</sup> is given by _?_ 0 <sup>_????,???_</sup> 0 <sup>_????_</sup> _· ??_ 0 <sup>_????,???_</sup> = _?_ 0 <sup>_????_</sup> <u>1</u> = 0 <sup>_????_</sup> ∑︁ _??_ _?_ =1 <u>1</u> _<u>??</u>_ = 0 <sup>_????,???_</sup> _?_ 0 <sup>_????,???_</sup> <u>1</u> 0 _?_ 0 <sup>_????_</sup> _?_ 0 <sup>_????,???_</sup> (3.29) 0 <sup>_????_</sup> = <sup>_<u>??</u>_</sup> <sup>_<u>· ?</u>_</sup> <u>0</u> <sup>_????_</sup> = _⇒_ _?_ 0 <sup>_????_</sup> <u>0</u> <sup>_<u>· ?</u>_</sup> _??_ The upper index ” _ser_ ” stands for the value of equivalent resistance, that would replace the _??_ single resistances connected in series in _one_ _row_ of Figure 3.9. The total resistance in the equivalent RC element _?_ 1 <sup>_????_</sup> The total resistance in the equivalent RC element _?_ 1 <sup>_????_</sup> : With the same consideration as above _?_ 1 <sup>_????,???_</sup> 1 <sup>_????_</sup> _· ??_ 1 <sup>_????,???_</sup> = _?_ 1 <sup>_????_</sup> <u>1</u> = 1 <sup>_????_</sup> ∑︁ _??_ _?_ =1 <u>1</u> _<u>??</u>_ = 1 <sup>_????,???_</sup> _?_ 1 <sup>_????,???_</sup> <u>1</u> 1 _?_ 1 <sup>_????_</sup> _?_ 1 <sup>_????,???_</sup> (3.30) 1 <sup>_????_</sup> = <sup>_<u>??</u>_</sup> <sup>_<u>· ?</u>_</sup> <u>1</u> <sup>_????_</sup> = _⇒_ _?_ 1 <sup>_????_</sup> <u>1</u> <sup>_<u>· ?</u>_</sup> _??_ The capacitance of the pack, _?_ 1 <sup>_????_</sup> : Having _??_ capacitances in parallel, the total capacitance is obtained by adding up their values. Having _??_ in series, the sum of their inverses equals the inverse of the total capacitance. Via this consideration, _?_ 1 <sup>_????,???_</sup> 1 <sup>_????_</sup> _· ??_ 1 <sup>_????,???_</sup> = _?_ 1 <sup>_????_</sup> <u>1</u> = 1 <sup>_????_</sup> ∑︁ _??_ _?_ =1 <u>1</u> _<u>??</u>_ = 1 <sup>_????,???_</sup> _?_ 1 <sup>_????,???_</sup> <u>1</u> 1 _?_ 1 <sup>_????_</sup> _?_ 1 <sup>_????,???_</sup> (3.31) 1 <sup>_????_</sup> = <sup>_<u>??</u>_</sup> <sup>_<u>· ?</u>_</sup> <u>1</u> <sup>_????_</sup> = _⇒_ _?_ 1 <sup>_????_</sup> <u>1</u> <sup>_<u>· ?</u>_</sup> _??_ The upper index ” _par_ ” stands for the value of equivalent capacitance that would replace the _??_ single capacitances connected in parallel in _one_ _column_ of Figure 3.9. _??_ <sup>_????_</sup> : Having _??_ voltage sources (with _???_ <sup>_????_</sup> The open-circuit voltage of the pack, _???_ <sup>_????_</sup> _??_ _??_ volts each) in series, they yield a voltage of _???_ <sup>_????,???_</sup> _??_ <sup>_????,???_</sup> = _???_ <sup>_????_</sup> _??_ <sup>_????_</sup> _· ??_ (3.32) It does not play a role how many of them are connected parallel. <sup>_????_</sup> 0 : Having _??_ charge sources (witch _???_ <sup>_???_</sup> 0 <sup>_?_</sup> The capacity of the pack, _???_ <sup>_????_</sup> 0 The capacity of the pack, _???_ <sup>_????_</sup> 0 : Having _??_ charge sources (witch _???_ <sup>_???_</sup> 0 <sup>_?_</sup> Ampere hours each) in parallel, they yield a capacity of <sup>_????_</sup> 0 = _???_ <sup>_???_</sup> 0 <sup>_?_</sup> _???_ <sup>_????_</sup> 0 <sup>_???_</sup> 0 <sup>_?_</sup> _· ??_ (3.33) It does not play a role how many of them are connected in serial. C_10 R_23 C_11 R_19 C_12 R_21 V_oc9 <sup>R_22</sup> V_oc10 <sup>R_18</sup> V_oc11 <sup>R_20</sup> C_4 R_11 C_6 R_13 C_9 R_7 ...... ...... ...... C_3 R_5 C_5 R_9 C_8 R_17 V_oc3 <sup>R_10</sup> V_oc5 <sup>R_12</sup> V_oc8 <sup>R_6</sup> V_oc2 <sup>R_4</sup> V_oc4 <sup>R_8</sup> V_oc7 <sup>R_16</sup> C_1 R_1 C_2 R_3 C_7 R_15 C_1_pack R_1_pack ## = R_0_pack V_oc_pack V_pack ...... R_0 V_oc V_oc1 <sup>R_2</sup> V_oc6 <sup>R_14</sup> Figure 3.9: Consider the battery pack as one RC-Circuit, whose components are calculated from the single cells’ passive components. 3.4.2 User-defined correction factors With equations (3.29) - (3.33) one can scale up the the properties from cell to pack level. For the ideal case no deviations of pack voltage, capacity etc from the ones calculated with (3.29) - (3.33) could be observed. This is apparently not how reality works, see subsection 2.4.2, where the package voltage and capacity were not an integer multiple of the cell’s voltage and capacity, as it would be ideally the case. To capture the above described, for a single EV (or battery pack) specific behavior, the factors _??,_ _??_ are introduced: _???_ <sup>_????_</sup> = _??_ _· ???_ <sup>_????_</sup> _· ??_ _??_ <sup>_????_</sup> = _??_ _· ???_ <sup>_????_</sup> _???_ <sup>_????_</sup> (3.34) _??_ <sup>_????_</sup> _· ??_ To have a value for _??,_ _??_, one can consider the deviations between ideally upscaled and car-manufacturer-given parameters. For the example of Renault Zoe ZE50 R135 the LGES E79 cell was found to be used in the pack (see subsection 2.4.2). Below, the manufacturer data on packaging configuration is given. Manufacturer data of the identified LGES cell that is the building block of the pack is shown as well. ❼ Packaging: _??_ = 96 _,_ _??_ = 2 [75]. ❼ Cell voltage: _???_ <sup>_????_</sup> _??_ <sup>_????_</sup> = 350 V [75] _??_ <sup>_????_</sup> = 3 _._ 69 V [77]. Car pack voltage: _???_ <sup>_????_</sup> ❼ Cell capacity: _???_ <sup>_???_</sup> 0 <sup>_?_</sup> = 78 Ah [77]. ❼ Car pack capacity: _???_ <sup>_????_</sup> 0 <sup>_<u>.</u>_</sup> <sup><u>7 kWh</u></sup> = 156 _._ 286 Ah 350 V <sup>_????_</sup> 0 = <sup><u>54</u></sup> 350 V <sup>_<u>.</u>_</sup> <sup><u>7 kWh</u></sup> One can calculate the correction factors by comparing the given pack values with the ones that would be observed when the ”upscaling” would be ideal according to (3.29) (3.33). _??_ = _<u>???</u>_ <sup>_????_</sup> _<u>??</u>_ _??_ _· ???_ <sup>_????_</sup> (3.35) = 0 _._ 988 _??_ _??_ = _<u>???</u>_ <sup>_????_</sup> <u>0</u> <u>0</u> _??_ _· ???_ <sup>_???_</sup> 0 <sup>_?_</sup> = 1 _._ 0018 <sup>_???_</sup> 0 <sup>_?_</sup> One could argue to introduce similar factors for the passive components values, i.e. <u>0</u> 0 <sup>_????_</sup> = <sup>_<u>??</u>_</sup> <sup>_<u>·</u>_</sup> _?_ <sup>_<u>?</u>_</sup> _?_ <sup>_????_</sup> 1 <sup>_????_</sup> = <sup>_<u>??</u>_</sup> <sup>_<u>·</u>_</sup> _?_ <sup>_<u>?</u>_</sup> _?_ <u>1</u> <sup>_????_</sup> <u>1</u> 1 <sup>_????_</sup> = <sup>_<u>??</u>_</sup> <sup>_<u>· ?</u>_</sup> <sup>_????_</sup> _?_ 0 <sup>_????_</sup> <u>0</u> <sup>_<u>?</u>_</sup> _??_ _?_ 1 <sup>_????_</sup> <u>1</u> <sup>_<u>?</u>_</sup> _??_ (3.36) _?_ 1 <sup>_????_</sup> <u>1</u> <sup>_<u>?</u>_</sup> _??_ _· ??_ 0 _· ??_ 1 _· ??_ 1 But for this, pulse or EIS-measurements should be conducted at least for one _???_ value of the entire pack. Then insertion of the respective values at this considered _???_ into equation (3.36) would deliver a way to mathematically capture the non-ideal scaling of the passive components. However, there where no resources available to obtain pack-level passive components values. For this reason, these correction factors are not considered, i.e are set to 1 in the following. ##### 3.5 Simulation of battery (pack) voltage After having obtained the _???_ -dependency by the method described in 3.2 and 3.3, one has an analytical expression in form of an interpolating polynomial _??_ for every _?_ _∈_ _{???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 _}_ . _?_ ( _???_ ) _≈_ _??_ ( _???_ ) (3.37) Under current flow, the State of Charge evolves with the time, therefore all passive components have the time as an implicit parameter. _?_ = _?_ ( _???_ ) = _?_ ( _???_ ( _?_ )) (3.38) The above consideration neglects the degradation effects for the period of simulated battery operating conditions. If such effects would be taken account or play a role in the considered time-scale, the time _?_ would be an explicit variable as well. This would mean the functional dependency of _?_ would be given as _?_ = _?_ ( _???_ ( _?_ ) _,_ _?_ ). The assumption in (3.38) can be supported by the following arguments: ❼ Duration of considered battery operation (up to several hours) is so small compared to time scales at which calendar aging (months, years) is relevant that it is negligible. ❼ Cyclic aging is negligible for the respective simulation because the number of simu lated cycles is sufficiently small. ❼ Battery (pack) is not exposed to such extreme conditions so that degradation effects would become relevant within this short time and few cycles. This poses the condition on the simulation setup of not providing unrealistic high (more than several _?_ ) charging or discharging currents. In the considered use cases, this requirement is fulfilled. In this work the battery (pack) voltage _?????_ is simulated in discrete timesteps _??_ . In the following, the abbreviations _?_ ( _???_ ( _??_ )) := _??_ _?_ ( _??_ ) = _??_ _???_ ( _??_ ) := _????_ (3.39) will be used for the sake of brevity, _?_ _∈_ _{???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 _,_ _????}_ . It does not matter, whether one considers a single battery cell, or a pack decomposed of _??_ _× ??_ cells: In the latter case one considers the equivalent circuit representation of the pack. This would mean _???_ _↦→_ _???_ <sup>_????_</sup> _?_ 0 _↦→_ _?_ 0 <sup>_????_</sup> _?_ 1 _↦→_ _?_ 1 <sup>_????_</sup> _?_ 1 _↦→_ _?_ 1 <sup>_????_</sup> (3.40) The ” _pack_ ” values are obtained through pre-processing the functional dependencies as described in 3.4.1 and 3.4.2. Therefore, in the following, the variables _?_ <sup>_????_</sup> and _?_ will be treated the same way. After these considerations, in every time-step the battery (pack) voltage can be simulated. It is given by (3.1), what still needs to be solved in a discrete numerical way. When inserting discrete values instead of the continuous ones, minding the notation as defined in (3.39) _????,?_ = _???,?_ _−_ _?_ 0 _,?_ _· ??_ _−_ _?_ 1 _,?_ (3.41) Since _?_ 1 is not given by an explicit analytic formula, but by a first order ordinary differential equation in time (see (3.1)), its calculation cannot be done by directly inserting the discrete values of _??,_ _??_ . It can be calculated by an explicit first-order time stepping method, that results in (3.2). It translates to )︂ (︂ (︀ _<u>−</u>_ <u>(</u> _<u>??</u>_ _<u>−</u>_ _<u>??−</u>_ <u>1)</u> 1 _−_ exp _?_ 1 _,??_ 1 _,?_ _· ??−_ 1 _?_ 1 _,?_ (3.42) )︀ <sup>)︂</sup> _?_ 1 _,?_ = _?_ 1 _,?−_ 1 _·_ exp (︂ _<u>−</u>_ <u>(</u> _<u>??</u>_ _<u>−</u>_ _<u>??−</u>_ <u>1)</u> _?_ 1 _,??_ 1 _,?_ + Inserting (3.42) into (3.41) yields an explicit formula for the battery (pack) voltage _????_ for every considered timestep _??_ .The ingredients of (3.41), (3.42) are: ❼ State of Charge at timestep _?_ : _????_ = _????−_ 1 + ( _??_ _−_ _??−_ 1) _· ??−_ 1 ❼ Based on _????_, the values of _??_ ❼ The current from the previous timestep _??−_ 1 ❼ Based on _??_, _??−_ 1, the voltage of RC-element _?_ 1 _,?_ can be calculated ❼ Out of the above quantities _????,?_ can be obtained. The initial parameters are necessary, since there is actually a differential equation of first order in time to be (numerically) solved. This means, the initial values _?_ 1 _,_ 0 _,_ _?_ 0 _,_ _???_ 0 are needed. If one considers the beginning of a complete (dis)charge process that starts after a sufficiently long time interval in which there were no battery currents, the initial parameters can be given as below: _?_ 0 = 0 _????,_ 0 = _???_ (no current for sufficiently long time) = _⇒_ _?_ 1 _,_ 0 = _???_ _−_ _????,_ 0 _−_ _?_ 0 _,_ 0 _· ?_ 0 = 0 (3.43) Nevertheless, a specification of other initial parameters is very well possible. That becomes relevant if one has multiple charging-algorithm stages, see next sub-sections. In the subsequent section the implementation of most common charging algorithms are presented based on the established battery voltage simulation model. ##### 3.6 Implementation of charging algorithms Up to this point, the methods and differential equations to model the battery (pack) voltage have been established. As it is discussed in 2.4.3, this observable couples back on the value of the requested charging voltage and current. In the following a modular approach is presented, which separately implements: 1. Simulation of single battery cells. 2. Based on 1., the simulation of battery packs with corresponding up-scaling of single cells’ parameters. This is derived based on simple electric-circuit based considerations. 3. Charging algorithms, which have as primary control parameter the output voltage of step 2. Additionally, the requested current and elapsed time. The foundations of the first two points are described in 3.2 - 3.5, forming the basis for the third step. The latter will be described in the following subsections. 3.6.1 Implementation of CC and MCC charging For a constant-current charging mode, one takes (3.41) and (3.42), and inserts for _??_ = _??, ∀?_ _∈_ _{_ 1 _,_ _._ _._ _._ _??}_ in every constant-current stage _?_ . By the index _?_ the respective constant-current stage is denoted: _?_ _∈_ _{_ 1 _,_ _._ _._ _._ _??????}_, when having _??????_ constant current stages in the respective charge protocol. For every stage _?_, there is a pre-defined, well known current _??_ (that corresponds to some C-rate _??_ ). The number of stages _??????_ is given at the beginning of the process as well. This gives an explicit formula for the evolution of the voltage profile for every stage _?_ _????,?_ = _???_ _−_ _?_ 0 _,?_ _· ??_ _−_ _?_ 1 _,?_ (3.44) _??_ _∈_ _??_ <sup>_?_</sup> _−_ 1 <sup>_??_</sup> _?_ <sup>_?_</sup> _−_ 1 <sup>_??_</sup> _,_ _??_ <sup>_?_</sup> <sup>_??_</sup> _?_ How the above formula can be evaluated is described in 3.5. _?_ 0 <sup>_?_</sup> <sup>_??_</sup> 0 <sup>_?_</sup> <sup>_??_</sup> is the time when MCC charging begins. The other _??_ <sup>_?_</sup> <sup>_??_</sup> _?_ 0 <sup>_?_</sup> <sup>_??_</sup> is the time when MCC charging begins. The other _??_ <sup>_?_</sup> <sup>_??_</sup> are time instants, when transition to the next, _?_ +1th stage happens. _??_ <sup>_?_</sup> _????_ <sup>_??_</sup> _?_ <sup>is</sup> <sup>the</sup> <sup>time</sup> <sup>instant</sup> <sup>that</sup> <sup>denotes</sup> when transition to the next, _?_ +1th stage happens. _??_ <sup>_?_</sup> _????_ <sup>_??_</sup> _?_ <sup>is</sup> <sup>the</sup> <sup>time</sup> <sup>instant</sup> <sup>that</sup> <sup>denotes</sup> the end of the MCC procedure. Transition from one stage to another is coupled on the condition _????_ _>_ _??ℎ?_ (3.45) where _??ℎ?_ is a threshold voltage described in 2.3. Therefore, in every timestep _????,?_ is simulated and the condition _????,?_ _>_ _??ℎ_ has to be checked. Another approach to set a transition criterion is to check the internal variable _???_ instead of the battery voltage. Every stage goes until a defined State of Charge _????ℎ,?_ . This means that the condition _??????,?_ _>_ _????ℎ,?_ (3.46) has to be checked. Depending on the choice of criterion, if condition (3.45) or (3.45) is true, the current for the next step will be modified to the next-predefined value: _??_ _↦→_ _??_ +1. This algorithm continues until ❼ The battery (pack) is charged ”enough”, i.e _????_ _≥_ _??????_ or ❼ Another algorithm (such as CV) begins. That is also coupled on reaching a certain State of Charge value that indicates the end of the MCC-phase. It is denoted by _????_ _??_ . Therefore, the _???_ -based end criterion for MCC charging translates to _????_ _≥_ _????_ _??_ (3.47) ❼ There is more time elapsed than the maximal, pre-set charging time. This time is denoted by _????_ . Therefore, the time-based end criterion for MCC charging translates to _??_ _>_ _????_ (3.48) The initial condition for MCC stage can be either 1. As defined in (3.44) and by user-defined _???_ 0 or 2. Inherited from the end of the previous algorithm, if there is any. A brief explanation why both _???_ and battery voltage based transition conditions are implemented: In the literature, the theoretical development of charging algorithms is usually based on reaching a certain State of Charge. The reason is that this value is an actual, however directly non-measurable indicator of the battery’s condition. In real BMS, what can be measured is the battery pack voltage _????_ . Out of this observable the BMS has algorithms to deduce the _???_ . In this work both way of thinking is considered. Therefore, both trigger-point conditions are implemented in the simulation methods. Moreover, as discussed in 2.4.3, since this work develops a simulation framework, one does not have to bother about obtaining the internal, physically non-observable State of Charge by voltage measurement values. 3.6.2 Implementation of CV charging After reaching a certain State of Charge (that is indicated by reaching a certain opencircuit voltage _???_ ), charging switches to the constant voltage mode in order to protect the battery and avoid an overvoltage at the charge terminals. This means that the requested current has to fulfill the condition for the terminal voltage: _????_ ( _?_ ) = _???_ ( _?_ ) _−_ _?_ 0( _?_ ) _· ?_ _−_ _?_ 1( _?_ ) =! _?????_ (3.49) This means that the first time derivative of the above expression is forced to be zero. In the following, the time derivative is denoted by a dot above the variable to be derived. By using the product rule _<u>?????</u>_ <u>(</u> _<u>?</u>_ <u>)</u> = _?_ <sup>˙</sup> _??_ _−_ ( _?_ <sup>˙</sup> 0 _· ?_ + _?_ 0 _· ?_ <sup>˙</sup> ) _−_ _?_ ˙1 _??_ =! 0 (3.50) In the equation (3.50) the time derivatives of _???,_ _?_ 0 and _?_ can be replaced by using backward and forward differences. The value of _?_ ˙ 1 is given by equation (3.1). _?_ <sup>˙</sup> _??_ = <sup>_<u>????</u>_</sup> Δ _?_ <sup>_<u>????</u>_</sup> _≈_ <sup>_<u>???</u>_</sup> <sup><u>(</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>???</u>_</sup> <sup><u>(</u></sup> <sup>_<u>?</u>_</sup> <sup>_<u>−</u>_</sup> <sup><u>Δ</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> _??_ Δ _?_ _?_ <sup>˙</sup> 0 = <sup>_<u>??</u>_</sup> _??_ <sup><u>0</u></sup> Δ _?_ <sup>_<u>??</u>_</sup> _??_ <sup><u>0</u></sup> <sup>_≈_</sup> <sup>_<u>?</u>_</sup> <sup><u>0(</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>?</u>_</sup> Δ <sup><u>0</u></sup> _?_ <sup><u>(</u></sup> <sup>_<u>?</u>_</sup> <sup>_<u>−</u>_</sup> <sup><u>Δ</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> (3.51) <sup>_<u>??</u>_</sup> _??_ <sup><u>1</u></sup> <sup>=</sup> <sup>_−_</sup> _?_ ( <sup><u>1</u></sup> _?_ 1( _?_ ) _?_ ˙ 1 = <sup>_<u>??</u>_</sup> _??_ <sup><u>1</u></sup> _?_ ( <sup><u>1</u></sup> _?_ ) <sup>_· ?_</sup> <sup>1(</sup> <sup>_?_</sup> <sup>)</sup> <sup>+</sup> _?_ <sup>_<u>?</u>_</sup> 1 <sup><u>(</u></sup> ( <sup>_<u>?</u>_</sup> _?_ <sup><u>)</u></sup> _?_ <sup>˙</sup> = <sup>_<u>??</u>_</sup> _??_ <sup>_<u>??</u>_</sup> _??_ <sup>_≈_</sup> <sup>_<u>?</u>_</sup> <sup><u>(</u></sup> <sup>_<u>?</u>_</sup> <sup><u>+</u></sup> <sup><u>Δ</u></sup> Δ <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> _?_ <sup>_<u>−</u>_</sup> <sup>_<u>?</u>_</sup> <sup><u>(</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> Δ _?_ If one restricts the time interval in that (3.49) is to be solved on the duration of charging, the time-dependency of the EEC-components _???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 is only governed by the time evolution of the State of Charge. This means that the following effects can be neglected: ❼ Calendar aging: This is justified by the fact that the duration of fast charging takes maximal several hours. This is much smaller than the time scale (years, months) where calendar aging becomes relevant. ❼ Degradation effects while operation: it is assumed that the battery pack is not exposed to such extreme conditions that degrading effects would become relevant while charging. This consideration is again justified, since charging protocols and algorithms are designed in a way to protect batteries from extreme degradation. This specially holds for the considered CV-mode. The above considerations imply that the differential coefficients from (3.51) can be calculated as _<u>???</u>_ <u>(</u> _<u>?</u>_ _<u>−</u>_ <u>Δ</u> _<u>?</u>_ <u>)</u> = <sup>_<u>???</u>_</sup> <sup><u>(</u></sup> <sup>_<u>???</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>???</u>_</sup> <sup><u>(</u></sup> <sup>_<u>???</u>_</sup> <sup>_−_</sup> <sup><u>)</u></sup> Δ _?_ Δ _?_ _<u>?</u>_ <u>0(</u> _<u>?</u>_ _<u>−</u>_ <u>Δ</u> _<u>?</u>_ <u>)</u> = <sup>_<u>?</u>_</sup> <sup><u>0(</u></sup> <sup>_<u>???</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>?</u>_</sup> <sup><u>0(</u></sup> <sup>_<u>???</u>_</sup> <sup>_−_</sup> <sup><u>)</u></sup> Δ _?_ Δ _?_ _<u>???</u>_ <u>(</u> _<u>?</u>_ <u>)</u> _<u>−</u>_ _<u>???</u>_ <u>(</u> _<u>?</u>_ _<u>−</u>_ <u>Δ</u> _<u>?</u>_ <u>)</u> <sup>_<u>???</u>_</sup> <sup><u>(</u></sup> <sup>_<u>???</u>_</sup> <sup>_−_</sup> <sup><u>)</u></sup> := Δ _???_ Δ _?_ _<u>?</u>_ <u>0(</u> _<u>?</u>_ <u>)</u> _<u>−</u>_ _<u>?</u>_ <u>0(</u> _<u>?</u>_ _<u>−</u>_ <u>Δ</u> _<u>?</u>_ <u>)</u> <sup>_<u>?</u>_</sup> <sup><u>0(</u></sup> <sup>_<u>???</u>_</sup> <sup>_−_</sup> <sup><u>)</u></sup> := Δ _?_ 0 Δ _?_ (3.52) _?_ ˙ 1 = <sup>_<u>??</u>_</sup> _??_ <sup><u>1</u></sup> <sup>_<u>??</u>_</sup> _??_ <sup><u>1</u></sup> <sup>=</sup> _?_ <sup>_<u>−</u>_</sup> ( _?_ <sup>_<u>?</u>_</sup> <sup><u>1</u></sup> _??_ <sup><u>(</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> ) _?_ <sup>_<u>−</u>_</sup> ( _?_ <sup>_<u>?</u>_</sup> <sup><u>1</u></sup> _??_ <sup><u>(</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> ) <sup>+</sup> _?_ 1 _<u>?</u>_ ( _?_ <u>(</u> _<u>???</u>_ <u>)</u> ) where _???_ <sup>_−_</sup> is given as _???_ <sup>_−_</sup> := _???_ ( _?_ _−_ Δ _?_ ) _≈_ _???_ ( _?_ ) _−_ Δ _?_ _· ?_ ( _?_ ) (3.53) Now, one can insert the expressions from (3.51), (3.52) into equation (3.50), yielding the condition for the required current in the next time-step in order to ”hold the battery voltage”. This required current shall be denoted by _?_ ( _?_ + Δ _?_ ) := _?_ <sup>+</sup> . _−_ _?_ ( <sup><u>1</u></sup> _?_ _?_ ( <sup><u>1</u></sup> _?_ ) <sup>_· ?_</sup> <sup>1(</sup> <sup>_?_</sup> <sup>)</sup> <sup>+</sup> _?_ <sup><u>1</u></sup> = 0 (3.54) Δ _???_ _−_ Δ _?_ 0 _· ?_ _−_ _?_ 0 _·_ <sup>_<u>?</u>_</sup> <sup>+</sup> <sup>_<u>−</u>_</sup> <sup>_<u>?</u>_</sup> _−_ Δ _?_ (︂ _?_ 1 )︂ _· ?_ The calculation of _?_ 1 is according to (3.2). From equation (3.54) one can explicitly calculate the requested charging current for the next time-step, _?_ <sup>+</sup> : _?_ ( _?_ + Δ _?_ ) := _?_ <sup>+</sup> = <sup><u>Δ</u></sup> <sup>_<u>???</u>_</sup> <sup><u>+</u></sup> <sup><u>1</u></sup> <sup>_<u>/?</u>_</sup> <sup>_<u>· ?</u>_</sup> <sup><u>1 +</u></sup> <sup><u>(Δ</u></sup> <sup>_<u>?</u>_</sup> <sup><u>0 +</u></sup> <sup>_<u>?</u>_</sup> <sup><u>0</u></sup> <sup>_<u>/</u>_</sup> <sup><u>Δ</u></sup> <sup>_<u>?</u>_</sup> <sup><u>)</u></sup> <sup>_<u>· ?</u>_</sup> Δ _?_ + _?_ 0 _/_ Δ _?_ + 1 _/?_ 1 End criterion of the CV-mode is indicated by either (3.55) ❼ Reaching the point where the battery is charged ”enough”, i.e. _????_ _≥_ _??????_ ❼ Or the charging current drops below the pre-set, threshold value denoted by _??????_ _?_ . Therefore, the current-based end criterion for CV charging translates to _??_ _≤_ _??????_ _?_ (3.56) By using these considerations, the pseudo-code in Figure 3.10 for the simulation approach for CV-mode can be developed. Figure 3.10: Pseudo-code for the implementation of the CV-phase. Abortion is executed when the charging current goes below some user-defined cutoff value `Icutoff` . `SoCinit,` `v1_init` are the values of _???_ and _?_ 1 at the timestep when switching to CV mode. `Cap` is the capacity of the considered battery (pack). 3.6.3 Implementation of boost charging The idea of this protocol is to add an initial CC or CV phase with a high voltage/current, _??????,_ _??????_ respectively. This ”boosting interval” shall reduce the overall charging time, with minimized degradation of the battery, see 2.3 and [106]. Since there is no common approach in the literature which version is to be applied, and how long or until which _???_ one needs to boost charge, this is up to the user to choose. After the boost-period, MCC-CV or CC-CV period follows to finish charging. There are two simulation options implemented for boost charge: either in CV or in CC mode. CV - defined boost charging The implementation follows the idea for CV-defined boost charging by Notten et al [106]. The idea is the following: start the boost charging by jumping to the boost battery voltage. This means, apply a current so that _????_ = _??????_ (3.57) and hold this (in general very high) voltage until the _???_ reaches some cutoff value. This means one can actually use the CV algorithm presented in 3.6.2. The only hurdle is to ”find” the starting current of this process, _???_ . This can be done by solving an equation with respect to the necessary current for reaching the boost voltage in the first timestep of BC phase. The aforementioned equation for _???_ is given by taking (3.44) and insert _???_ in place of the charging current: _????_ = _???_ ( _???_ 0) _−_ _?_ 0( _???_ 0) _· ???_ _−_ _?_ 1 _,_ 0 =! _??????_ (3.58) Here _???_ 0 _,_ _?_ 1 _,_ 0 denote the State of Charge and transient voltage when entering the boost charge phase. _??????_ is given according to the requirement of the user/charging protocol specification. The only unknown in the above equation is _???_, one can solve for it, yielding the expression _???_ = <sup>_<u>???</u>_</sup> <sup><u>(</u></sup> <sup>_<u>???</u>_</sup> <sup><u>0)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>?</u>_</sup> <sup><u>1</u></sup> <sup>_<u>,</u>_</sup> <sup><u>0</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>??????</u>_</sup> (3.59) _?_ 0( _???_ 0) After having jumped to _????_ = _??????_ the condition _????_ = _??????_ =! _?????_ (3.60) needs to be hold. This leads again to the differential equation as in (3.50), with the initial condition _?_ 0 = _???_ . The required current values to keep the battery voltage at _??????_ in the subsequent time steps can be calculated by the method described in 3.6.2. This constant-voltage boost charge algorithm runs until ❼ The battery (pack) is charged ”enough”, i.e _????_ _≥_ _??????_ or ❼ Another algorithm (such as MCC) begins. That is also coupled on reaching a certain State of Charge value that indicates the end of the CV boost-phase. It is denoted by _????????,??_ . Therefore, the _???_ -based end criterion for CV-boost charging translates to _????_ _≥_ _????????,??_ (3.61) This is the most praxis relevant case. ❼ There is more time elapsed than the maximal, pre-set charging time. This time is denoted by _????_ . Therefore, the time-based end criterion for CV boost charging translates to _??_ _>_ _????_ (3.62) CC -defined boost charging In this case, the battery (pack) is charged with the high, pre-defined constant boost-charge current _??_ . This leads to the implementation algorithm of the CC protocol, described in 3.6.1 using the time stepping equation (3.44) with _??????_ = 1, _?_ = _??_ . This constant-current boost charge algorithm runs until ❼ The battery (pack) is charged ”enough”, i.e _????_ _≥_ _??????_ or ❼ Another algorithm (such as MCC) begins. That is also coupled on reaching a certain State of Charge value that indicates the end of the CC boost-phase. It is denoted by _????????,??_ . Therefore, the _???_ -based end criterion for CC-boost charging translates to _????_ _≥_ _????????,??_ (3.63) This is the most praxis relevant case. ❼ There is more time elapsed than the maximal, pre-set charging time. This time is denoted by _????_ . Therefore, the time-based end criterion for CC boost charging translates to _??_ _>_ _????_ (3.64) 3.6.4 Arbitrary current profile Until this point, a model that can be scaled for an arbitrary number and configuration of cells has been developed . After obtaining the electric circuit-based representation of the respective battery (pack) and the _???_ -dependencies of its components, with (3.41) one is able to calculate its voltage for every timestep if the current values _??_ are available. This means, the developed model does not only allow to simulate common charging protocols: Since the necessary equations and their solution method is set, it is possible to describe the evolution of the pack’s voltage with an arbitrary load-current. This can be either charging (negative) or discharging (positive). The discretized calculation of battery voltage requires ❼ Prescribed, required current profile ❼ Initial state of charge ❼ Initial transient-voltage value _?_ 10. Then, applying (3.41) makes it possible to simulate the voltage profile according to the respective current. ##### 3.7 Post-processing of the Results Physical considerations and an understanding of the EEC model’s parameters do not only allow to simulate the battery voltage up-scaled to an arbitrarily built-up pack, but also to give an estimation about 1. The output or charging power being delivered by or into the battery. 2. The amount of energy and charge that has been charged into the battery over time. 3. Also, in case of discharging, the amount of energy and charge that has been extracted from the battery over time. 4. Based on the previous two points, the charge- or (for real-life scenarios more relevant case) energy efficiency when cycling under a certain load profile. 5. Power loss at any time instant while (dis)charging process. 6. Based on (5.) the energy loss at a certain time-step of the discharging process. In the following, the calculation method and exact definition of the mentioned quantities will be explained. 1-3. (Dis-)charging power and energy First it is to be exactly defined what is meant by these terms. It is a well known phenomenon that not all the stored charge or energy in a battery can be re-extracted and its amount is dependent on the load current profile, i.e the C-rate. A relevant use-case scenario is considering the voltage at the battery terminal (this is governed by (3.1)) and the prescribed current profile. The charging power naturally arises from the formula _??ℎ????_ = _??ℎ????_ _· ??ℎ????_ (3.65) _??ℎ????_ is a given parameter for every timestep (see 3.6). The necessary charging voltage, _??ℎ????_ is ideally the battery voltage at this time-step: That is, the minimum thermodynamic-kinetic-given necessary voltage for the Li-intercalation. In reality, the actual applied voltage is by some factor _?_ higher than this ideal value: (︂ )︂ (︂ )︂ _·_ 1 + _?_ (3.66) _??ℎ????_ ( _?_ ) = _????_ (︂ _???_ ( _?_ ) _,_ _??ℎ????_ ( _?_ ) )︂ the method for calculating _????_ _???_ ( _?_ ) _,_ _??ℎ????_ ( _?_ ) is described in 3.2 and 3.6. In this work, the value of _?_ is chosen to be 2 %. Therefore, the exact definition of the charging power in this work (︂ )︂ (︂ _·_ )︂ 1 + 0 _._ 02 (3.67) _??ℎ????_ ( _?_ ) = _??ℎ????_ ( _?_ ) _· ????_ _???_ ( _?_ ) _,_ _??ℎ????_ ( _?_ ) The discharging power at a certain time instant is the product of the prescribed current _?????ℎ_ and the deliverable voltage ( _????_ ) at this moment: (︂ _?????ℎ_ ( _?_ ) = _?????ℎ_ ( _?_ ) _· ????_ _???_ ( _?_ ) _,_ _??ℎ????_ ( _?_ ) )︂ (3.68) When having the (dis)charged power profile over time, one can calculate the (dis)charged amount of energy by integrating over the power profile: ∫︁ _?_ _??ℎ????_ ( _?_ ) = _?????ℎ_ ( _?_ ) = _?_ 0 ∫︁ _?_ _??ℎ????_ ( _?_ ) d _?_ _?????ℎ_ ( _?_ ) d _?_ (3.69) _?_ 0 the expressions for _??ℎ????,_ _?????ℎ_ are given in (3.67) and (3.68). 4. Cycling - Efficiency In analyzing battery usage, one may seek to quantify the total energy extracted or available under specific conditions after a certain amount of charge input under some circumstances. This can be expressed by determining the energy extracted from a battery following a charge input under specified operating conditions. Therefore the cycling efficiency _????_ is defined as follows: _????_ := <sup>_<u>?????ℎ</u>_</sup> _??ℎ????_ (3.70) As it can be seen by considering (3.67), (3.68) and (3.69), _??ℎ_ is dependent on the prescribed current profile because _??ℎ????_ and _?????ℎ_ do so. This value holds particular significance for complete cycles, where the process initiates and concludes at identical State of Charge levels. 5.-6 Power and energy loss These are the most ambiguous terms. Losses could of course include any contributions being independent of the battery pack itself: coming from finite conductivity of surrounding cables, heating or cooling power (preconditioning before starting operating the battery), for EVs charging loss due to the on-board charger etc. It might be beneficial to be able to get a measure for these battery-independent losses separately. The ”loss” arising from the battery is given due to the fact, that it can deliver a voltage which deviates from the theoretically deliverable voltage at a certain State of Charge. This theoretical voltage _??ℎ_ is given by the laws of thermodynamics (see 2.1). Applying the assumption (2.8) that the open-circuit voltage _???_ corresponds to the theoretical voltage with a good approximation, the battery-loss in terms of deliverable voltage can be summarized as _????_ ( _???_ ( _?_ ) _,_ _?_ ( _?_ )) _̸_ = _??ℎ_ ( _???_ ( _?_ )) _≈_ _???_ ( _?_ ) (3.71) In this work only the losses related to the battery are defined and calculated. Therefore the charging losses with (3.67) are _?????,?ℎ_ ( _?_ ) = _??????,?ℎ_ _−_ _??ℎ????_ (︀ )︀ (︀ _≈_ ⃒⃒ _???_ _???_ ( _?_ ) _· ??ℎ????_ ( _?_ ) _−_ _????_ _???_ ( _?_ ) _,_ _??ℎ??_ (︀ _???_ ( _?_ ) _,_ _??ℎ????_ ( _?_ ) )︀ _???_ ( _?_ ) )︀ (︀ _· ??ℎ????_ ( _?_ ) _−_ _????_ _· ??ℎ????_ ( _?_ ) (3.72) (3.73) (︂ _· ??ℎ????_ ( _?_ ) _???_ ( _?_ ) _,_ _??ℎ????_ ( _?_ ) (︀ )︀ <sup>)︂</sup> = _???_ ( _???_ ( _?_ )) _−_ _????_ and the discharging-related loss is _?????,????ℎ_ ( _?_ ) = _??????,????ℎ_ _−_ _?????ℎ_ (︀ )︀ (︀ _≈_ ⃒⃒ _???_ _???_ ( _?_ ) _· ?????ℎ_ ( _?_ ) _−_ _????_ _???_ ( _?_ ) _,_ _?????ℎ_ ( (︀ )︀ (︀ _· ?????ℎ_ ( _?_ ) _−_ _????_ _???_ ( _?_ ) _,_ _?????ℎ_ ( _?_ ) _???_ ( _?_ ) )︀ _· ?????ℎ_ ( _?_ ) (︂ _· ?????ℎ_ ( _?_ ) _???_ ( _?_ ) _,_ _?????ℎ_ ( _?_ ) (︀ )︀ <sup>)︂</sup> = _???_ ( _???_ ( _?_ )) _−_ _????_ The energy loss is given by integrating both the charging and discharging related losspower ∫︁ _?_ _?????_ = _?_ 0 _?????,?ℎ_ ( _?_ ) d _?_ + ∫︁ _?_ _?_ 0 _?????,????ℎ_ ( _?_ ) d _?_ (3.74) Application For the simulation case always discrete time-steps are considered. Therefore, in all the above equations the time-stepping methods derived in the previous subsections have to be applied in order to evaluate the respective expressions. This means, (︀ _???_ ( _?_ ) _,_ _????_ _???_ ( _?_ ) _,_ _?_ disch( _?_ ) ∫︁ _?_ _?_ ( _?_ ) = _?_ 0 _,_ _?_ ( _?_ ) _↦→_ _???_ ( _??_ ) _,_ _????_ _?_ ( _?_ ) _↦→_ _?_ ( _??_ ) _???_ ( _??_ ) _,_ _?_ disch( _??_ ) _,_ _?_ ( _??_ ) )︀ (︀ )︀ (3.75) _?_ ( _?_ ) _??_ _↦→_ _??_ = ∑︁ _?<?_ _?_ ( _??_ )Δ _??_ ##### 3.8 Software implementation In the previous sections, both the theory and equations for simulating charging algorithms and battery voltages based on given load currents have been developed. In this section, the software implementation of these algorithms is presented. A starting point is to parameterize the respective cells. The structure of the Python-language based software is depicted in Figure 3.11. The principle is _SISSiP_ : Save-Import-Scale-Simulate-PostProcess, in this order. All of these parts are evaluated in the following sub-sections. S I S Si P - SAVE : Module _DataToDB_ - Save ???? −?? points, other properties - IMPORT : Module _DBDataImport_, _GUI_commands, BatteryCell_ - Select cell type and import previously saved properties via dialog - Choice of interpolating polynomials - SCALE : Module _BatteryCell_, _BatteryPack_ - Build up virtual pack, insert correction - SiMULATE : Module _Charging_ - Specify how to (dis)charge, current / voltage limits - POST-PROCESSING : automated HTML-Reports - Also results in text-files with information at every simulation step Figure 3.11: Main points of the software implementation. Also names of the responsible modules are shown. The software provides a graphical user-interface and user dialogs to specify simulation parameters. In some cases, to allow a quicker start for practiced users, specifications can be also given in .txt and .json files. The order of questions popping up by the program is shown in Figure 3.12. After having answered all these prompts, the program creates an instant of `class` `Charging` . It contains the implementations of all the discussed charging algorithms and the necessary parameters for their calculations, EVSE-limitations (supported current and voltage range), simulation step-size and a few I/O functions. The `class` `Charging` has a nested instant of `class` `BatteryPack` . This is the virtual battery pack whose behavior is to be simulated under the specified conditions. It has the attributes specifying the pack configuration ( `nser,` `npar` ), and also the _?_ -correction factors ( `alpha_ns,` `alpha_np` ) discussed in 3.4. It contains the pack-capacity and EECparameters as well. They are calculated from the underlying cell’s qualities as described in 3.4. The properties of the aforementioned cell are put into the `class` `BatteryCell` . The individual battery cell, represented by `class` `BatteryCell`, stands as a distinct entity. It establishes a ”has-a” relationship with `class` `BatteryPack` . `BatteryCell` contains attributes specifying its EEC-components: `*Data` are the discrete _?_ -parameter points and `*Coeff` are the coefficients of the interpolating polynomials that are calculated from them as described in 3.3.2. Also information about the temperature(s) where `*Data` was recorded and other additional information (name, weight, chemistry, capacity) is put into this class. The described class-structure and hierarchy is shown in Figure 3.13. 1. 4. Figure 3.12: User dialog steps of the software. Figure 3.13: Hierarchy and attributes of the three basic Python classes. 3.8.1 SAVE cell to database For every component _?_ of the first order Thevenin model a discrete set of _????_ _−_ _??_ points and the corresponding temperature, at which it was recorded is needed. The rules for saving them in a previously, by the author implemented SQLite database are: 1. For the respective component _?_, the number of corresponding _???_ points has to be the same as the discrete _?_ -points. This allows to do polynomial interpolation when the cell is later chosen to run a simulation with it, see 3.3. 2. At the beginning of the _?_ -array, the recorded ambient temperature during testing has to be provided. Meaning: it is possible to conduct the pulse discharge measurements with the same current profile at different temperatures _??_, _?_ _∈_ [1 _,_ _._ _._ _._ _?_ ] if having done the measurements at _?_ different temperatures. Having _?_ pulses in the pulse discharge procedure means that an ( _?_ + 1) _× ?_ -array for the respective _?_ value is saved. The array’s first row is the vector of the recorded temperatures, at which the measurements were done. 3. Every cell needs to have a unique name, under which it is saved. It is the so-called ”key” in the respective database. 4. The EEC parameters are in SI-units, capacity has to be given in Ampere-hours, weight in grams. 5. The input data for _???,_ _?_ arrays is in .dat-format, separated by semicolons ”;” This procedure needs to be done once per cell, whose data is then saved in a SQLite database. For the simulation, properties will be automatically loaded from there after having selected the respective battery cell by its name. The tool is designed on purpose in a way that for one cell under the ID ”Name” for all of its components a different set of _???_ _−_ _?_ pairs can be chosen. This allows to examine the behavior of imaginary batteries: For example, what if battery _?_, that has been optimized in terms of its internal resistance _?_ 0, would be also optimized in terms of its open-circuit-voltage characteristics? 3.8.2 IMPORT cell properties from database and SCALE up pack This is the starting point of the subsequent charging-simulation. In this step, the user is asked via graphical user interface (GUI) dialogs to choose from the batteries whose properties and discrete points of _???_ _−?_ measurements are stored in a database. _?_ denotes the respective component from the cell’s electric equivalent circuit, i.e _?_ _∈_ _{???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 _}_ . This happens the following way: 1. Choose via drop-down menu the cell type by name, out of the stored ones 2. Choose the ambient-temperature, at which one wants to run the simulation. The user can provide an arbitrary value. Temperatures, at which _?_ 0 _−_ _???_ values are recorded, are displayed. They are chosen because the ohmic resistance’s temperature dependence is the most crucial. Always the dataset, whose respective temperature is the closest to the user-provided one, is chosen. Usually, the _???_ _−_ _?_ data points that are extracted from the method described in subsection 3.2.2, have been recorded at the same set of temperatures for a certain battery cell. 3. Choose the degree of interpolating polynomial for _???,_ _?_ 0 _,_ _?_ 1 _,_ _?_ 1 4. Choose the number of cells in parallel ( _??_ ) and in series ( _??_ ) in the pack 5. Choose the factors _??,_ _??_ that stand for the non-idealistic behavior due to packaging All of these points can be done either per user-dialog or per dedicated text files. The rules are ❼ If choosing the option ”No” at the question in Figure 3.12 step 1, the user will be guided by subsequent dialog windows to provide cell and battery pack specification data. ❼ If choosing ”Yes” the above parameters will be read-in from the file _valueSpecs.txt_ . After making these steps, first the functional _???_ _−_ _?_ dependency via polynomial fitting as described in section 3.3 is obtained, for the respective battery _cell_ . With these steps, in the Python simulation code, the `class` `BatteryPack` is built up out of the `class` `BatteryCell` . To do so, the attributes `BatteryPack.alpha_np`, `BatteryPack.alpha_ns` (correspond to _??,_ _??_ from equation 3.34) are used based on the method described in 3.4.1. The cell type from the database is always chosen by an user-dialog . 3.8.3 SiMULATE (dis)charging modes In the software the charging modes that are discussed in 3.6 are implemented. Their software implementation follows exactly the logic in 3.6. Implementation of MCC charging This mode is implemented as the attribute `MCC` of `class` `Charging` . In this case, the user can define 1. The number of stages 2. The C-rates at the certain stages 3. The transition (cutoff) voltage _??????_ _?_ when the algorithm moves to the next charging current step (if ”SoC based transition?” from Figure 3.12 was answered with ”No”) or the State of Charge values when the algorithm moves to the next charging current step (”SoC based transition?” from Figure 3.12 was answered with ”Yes”) 4. State of Charge value when algorithm moves to the next charging mode Then, the simulation iterates as long as the pack’s _???_ reached the user defined transition value. The calculations in the iteration steps are done as described in 3.6.1. Implementation of Boost charging In this case, the user can define 1. The boost current _??_ (for `BoostCC` ) or boost voltage (for `BoostCV` ) at this stage 2. The transition State of Charge values when the algorithm moves to the next charging step If choosing the option voltage-based boost charging the following has to be done: In the first iteration step _???_ in order to jump to the specified boost voltage has to be calculated. Its calculation is done as given by (3.59). Subsequently, the CV-algorithm developed in 3.6.2 can be run until reaching the transition condition. If _??????_ _>_ `maxVoltage`, the boost voltage is replaced by the maximum voltage the EVSE can deliver ( `maxVoltage` in Figure 3.13). In case of current-based boost charging, the boost-charging current _??_ can be prescribed. The battery is charged with this current until the maximum deliverable voltage by EVSE, or a pre-defined _???_ value is reached. In this case, the MCC-algorithm protocol is run with 1 stages and one current value _??_ . If the specified value _??_ or _???_ exceed the maximum deliverable current ( `maxCurrent` ), they are set to its value. Implementation of CV charging When switching to this mode, the goal is to hold the battery voltage, at which this mode is entered. This is done by requesting in every timestep iteratively the next current as described in 3.6.2. The simulation runs as long as either ❼ Battery is charged enough or ❼ The current drops below some threshold (specified by user) or ❼ Maximal, set simulation time is exceeded It is implemented as the attribute `CV` of `class` `Charging` . Implementation of MCC-CV charging This is a combination of an MCC and a CV charging mode: first calling `Charging.MCC` then subsequently `Charging.CV` . The initial parameters of `Charging.CV` are inherited from the end of `Charging.MCC` . Implementation of simulating battery pack behavior under arbitrary load current This mode is implemented as the attribute `Custom` of `class` `Charging` . In this case, the user can choose the current profile from a csv-file. The latter has to contain the array of time instants _??_ and the array for (dis)charging current values _??_ at the given time instants. The program reads in the arrays and iterates over them, solving in every iteration the equations for the battery current (see 3.6). It is ensured that neither too much current can be loaded into the pack nor too much can be extracted from it. For this purpose the ideally strict condition _???_ _≤_ 1 _∧_ _???_ _≥_ 0 (3.76) is relaxed to _???_ _≤_ 1 _._ 05 _∧_ _???_ _≥_ _−_ 0 _._ 05 (3.77) The condition described in (3.77) has the purpose to consider the fact that actual capacity is C-rate dependent. Since this tool is intended to be applied to some arbitrary C-rate(s), it makes sense to not strictly stick to the ideal condition in (3.76). 3.8.4 POST-PROCESSING implementation While running the simulation (see previous subsection) for every timestep, several properties are calculated and can be exported into txt-files. In the automatically generated _”demo.txt”_ the following columns can be found: ❼ `Time` : The real time at which the simulation step was run. It is being implemented with the intention of integrating the software into an electric vehicle emulator at a later stage. ❼ `Elapsed[s]` : Elapsed simulated time from a user-defined zero-point. By default the beginning of the simulation process denotes `Elapsed[s]` `=` `0` . ❼ `BatteryPack` `Voltage[V]` : It is _????_ at the time-step `Elapsed[s]` . ❼ `SoC` : State of Charge of the battery pack at `Elapsed[s]` .. ❼ `Charging` `current` `[A]` : Current flowing into (by the program’s convention then positive) or being extracted from the battery (by the program’s convention then negative) at time-step `Elapsed[s]` . ❼ `Charged` `[Ah]` : Integrated current, by the Coulomb counting method. ❼ `Power[kW]` : Power being delivered by or into the battery. It is calculated by (3.67) in charging mode ( `ChargingCurrent` `>` `0` ) and by (3.68) in discharging mode ( `ChargingCurrent` `<` `0` ). In the file _energyLog.txt_ the (dis)charged amount of energy at time interval `dt` is calculated. `dt` is given as the difference between two subsequent timesteps: `dt[i]` `=` `Elapsed[s][i+1]` `-` `Elapsed[s][i]` (3.78) ❼ If `ChargingCurrent` `>` `0` then the energy-entry will have a positive sign and it equals `dE` `=` `Power[kW]` `*` `dt` (3.79) at timestep `Elapsed[s]` . ❼ If `ChargingCurrent` `<` `0` then the entry will have a a negative sign and it equals `dE` `=` `Power[kW]` `*` `dt` (3.80) at timestep `Elapsed[s]`, same as in the charging case. The difference is that `dE` has a negative sign in this case, because `Power[kW]` does so. This allows to separately consider and calculate the ❼ Charged amount of energy during the process. It is called `Echarge` and calculates as: `Echarge` `=` `sum(energyLog>0)` (3.81) ❼ Discharged amount of energy during the process. It is called `Edischarge` and given by: `Edischarge` `=` `sum(` `abs(energyLog<0)` `)` (3.82) Then the cycling efficiency in case of full cycles, `eta_cyc` as defined in 3.7 is easily calculated by `eta_cyc` `=Edischarge` `/` `Echarge` (3.83) Also losses in terms of energy can be calculated by the software. For this purpose, the file _logLosses.txt_ contains the loss-power at every time-step `Elapsed[s]` according to its definition in 3.7. At the end of the simulation the arrays `timevector` (created from `Elapsed[s]` ) and `P_loss` are also available. Having these two entities allows to calculate the losses in terms of energy ( `ElossCharge,` `ElossDisch` ) as described in 3.7. Translated to the software case, it can be implemented as follows: Denoting the set of indices of the time-instants in charging mode charged (i.e `ChargingCurrent>0` ) with `charging`, and the set of indices of the time-instants where in discharge mode (i.e `ChargingCurrent<0` ) with `discharge` respectively it holds `ElossCharge` `=` `sum(P_loss[charged]` `*` `timevector[charged]` `)` (3.84) and `ElossDisch` `=` `sum(` `P_loss[discharge]` `*` `timevector[discharge]` `)` (3.85) According to (3.74) the ”lost” energy `Eloss` during the procedure is `ElossCharge` `+` `ElossDisch` (3.86) At the end of the simulation, the text files are loaded into a jupyter-notebook, and the described calculations are performed. Also plots are generated and the report is automatically exported as an HTML file. After opening the default-generated jupyternotebook, the simulation data is already loaded into `numpy` and `pandas` arrays. Therefore plots can be easily modified by conventional Python commands, and other desired aspects of the simulation can be highlighted or extracted. A default exported report (compressed) is shown in Figure 3.14. Plot the simulated values. This jupyter notebook allows you to plot results of a EV-charging simulation. - Plot charging power, current and voltage over _SoC_ - Plot charging power, current and voltage over time - Calculate overall (dis)charged energy over the process, and also plot the the (dis)charged energy over elpsed time Exporting this Jupyter-Notebook as repost is possible. To do so, get full python extension in VS-Code and klick on "... -> Export" Print info over the sequence. Step 1: MCC-CV Plot load current Plot voltage, current, power together over time <Figure size 736x552 with 0 Axes> Calculate charging energy efficiency. Charged amount of energy[kWh]: 78.273464066112 Discharged amount of energy[kWh]: 0.0 Relation: 0.0 Report over power losses Plot voltage, current, power over _SoC_ Plot energy over time. Note: positive means charging into the battery (pack) Energy loss chargning in kWh: 3.5885849314658573 Energy loss dischargning in kWh: 0.0 Figure 3.14: Default format of HTML-report. # 4 Results ##### 4.1 Validation of the battery model In order to experimentally validate the adaptive polynomial fit and numerical batteryvoltage simulation method (framework that is developed in Chapter 3) 10 samples of type 18650 LiFePO4 batteries underwent the presented parametrization workflow. These tests were conducted in the _Battery_ _Test_ _Laboratory_ of Austrian Institute of Technology GmbH. In Figure 4.1 the obtained functional _???_ -dependencies based on adaptive polynomial fitting of all of the 10 cells are depicted. It seems that variations and oscillations are more pronounced when the State of Charge approaches either 1 or 0. What is notable is that deviations are particularly pronounced for low or high _???_ values. In this regime the deviations between the overall fit and single samples behavior will gain therefore more significance compared to the middle State of Charge area. But still, as discussed it 3.3 it is numerically still ”the best we can do”. This statement is proven in the next steps. To do so, the recorded voltage profile is re-simulated in three ways (Approach 1-3). Subsequently they are analysed in terms of their accuracy. For this purpose _one,_ _arbitrary_ sample’s voltage profile of the set is targeted. In the presented particular case it is cell #2. Approach 1 The functional State of Charge- _?_ dependency obtained by _adaptive_ _poly-_ _nomial_ _fitting_ was taken to re-simulate the voltage profile during the pulse discharge measurement. In particular, simulation result are obtained by the software whose implementation is the subject of 3.8. ❼ For _???_ _−_ _?_ dependencies, the interpolation polynomials resulting from the adap tive method described in 3.3.2 were taken. ❼ For numerical battery simulation the equations and time-stepping methods as de scribed in 3.2, 3.6 were used. ❼ A battery pack with _??_ = _??_ = 1 and _??_ = _??_ = 1 _._ 0 was used. ❼ The time resolution was 1 s The simulation results compared with the recorded voltage of the chosen cell #2 are shown in Figure 4.2. Approach 2 For this case the _???_ _−_ _?_ functional dependency is obtained by ”classically” doing a polynomial fit of high ( _?_ = 15) polynomial degree on _solely_ _one_ cell’s data. For the considered case it was cell #6. Therefore it is aimed to represent the effect of not considering fluctuations in single samples properties what would be the case for adaptive polynomial fitting: Functional dependency is obtained by ”fine-tuning” the interpolating <u>Result of polyfit, R0</u> Cell 1 <u>Cell 2</u> Cell 3 Cell 4 ~~Cell 5~~ Cell 6 <u>Cell 1</u> Cell 2 Cell 3 Cell 4 Cell 5 ~~Cell 6~~ 3.4 3.2 3.0 2.8 2.6 2.4 0.16 0.14 0.12 0.10 0.08 0.06 0.04 0.02 <u>Result of polyfit, Voc</u> Cell 1 Cell 2 Cell 3 <u>Cell 4</u> Cell 5 Cell 6 Cell 7 <u>Cell 8</u> Cell 9 Cell 10 ~~Fit, degr. 15~~ Cell 7 Cell 8 Cell 9 <u>Cell 10</u> Fit, degr. 15 0.0 0.2 0.4 0.6 0.8 1.0 SoC <u>Result of polyfit, R1</u> 0.040 0.035 0.030 0.025 0.020 0.015 0.010 1400 1200 1000 800 600 400 200 0.0 0.2 0.4 0.6 0.8 1.0 SoC <u>Result of polyfit, C1</u> <u>Cell 1</u> Cell 2 <u>Cell 3</u> Cell 4 ~~Cell 5~~ Cell 6 <u>Cell 7</u> Cell 8 <u>Cell 9</u> Cell 10 ~~Fit, degr. 16~~ <u>Cell 7</u> Cell 8 Cell 9 Cell 10 Fit, degr. 15 0.0 0.2 0.4 0.6 0.8 1.0 SoC 0.0 0.2 0.4 0.6 0.8 1.0 SoC Figure 4.1: Functional dependencies of EEC parameter values on the _???_ . The optimal polynomial degree determined by the algorithm is depicted in the legends. functions on one cell’s properties. This would of course yield accurate results for this respective cell, but performs (more) poorly when applying the model to another sample (cell #2) belonging to the same system. The comparison with Approach 1 (adaptive fit) is shown in Figure 4.3 and in Figure 4.4. The comparison demonstrates the rationale behind adaptively fitting to the system properties that are ”hidden” within all samples of a specific model. Despite using the same polynomial degree and model, focusing on only one sample (here #6) gives less accurate results. To optimally illustrate the deviations, a time-frame of 1000 s in Figure 4.4 is depicted, where the effects of different modeling data and method can be clearly seen. Approach 3 This step should present the effect of using smooth interpolating functions (polynomials) instead of lookup tables. Lookup tables are used as state of the art in battery modeling for approximating a mathematical function such as the _???_ dependency of model parameters. This is the method which is used in the commercially available popular tool for battery modeling: MATLAB’s battery framework. It provides a simulation model for voltage profiles based on lookup-tables [104], [107]. It implements the already presented RC-circuit battery model by creating lookup tables which are functions of _???_ . To acquire the latter one, the block _Estimation_ _Equivalent_ _Circuit_ _Battery_ [107] integrates (dis)charge currents. Generating lookup tables is based on tabulated _???_ _−_ _?_ data of a _specific_ cell. 3.6 3.4 3.2 3.0 2.8 2.6 3.6 3.4 3.2 3.0 2.8 2.6 <u>Voltage Profile, adaptive fit</u> <u>Simulation</u> Measurement 0 10000 20000 30000 40000 50000 60000 Elapsed[s] <u>Voltage Profile, adaptive fit</u> <u>Simulation</u> Measurement 0.0 0.2 0.4 0.6 0.8 1.0 SoC 3.6 3.4 3.2 3.0 2.8 2.6 3.6 3.4 3.2 3.0 2.8 2.6 <u>Voltage Profile, adaptive fit</u> <u>Simulation</u> Measurement 0 10000 20000 30000 40000 50000 60000 Elapsed[s] <u>Voltage Profile, adaptive fit</u> <u>Simulation</u> Measurement 0.2 0.4 0.6 0.8 1.0 SoC Figure 4.2: Re-simulating the voltage profile of cell #2. _???_ _−_ _?_ dependencies are ob tained by the adaptive polynomial fitting method described in 3.3.2. Here in the second row the voltage evolution over the State of Charge (that implicitly contains time) is plotted. Since MATLAB is a renowned state of the art in software-based reference modeling, it is taken as another baseline. For this purpose, especially the auto-block _Estimation_ _Equiv-_ _alent_ _Circuit_ _Battery_ [107] from the _Powertrain_ _Blockset_ was used. For time-dependent simulations this tool has already implemented an fourth-order ordinary differential equation solver [108]. It is based on the fourth-order Dormand-Prince method whose foundations are the explicit Runge-Kutta numerical integration formulae [109]. This is even a more sophisticated algorithm than the simpler backward and forward first-order time stepping methods that are used in this work. To give MATLAB a ”head start” in terms of comparing the modeling approaches, the _Estimation_ _Equivalent_ _Circuit_ _Battery_ is allowed to take exactly the data points of the considered cell #2 for re-simulation purposes. The results of MATLAB-simulations are depicted in Figure 4.5. As stated earlier, a comparison of Approach 3 and Approach 1 have the purpose to present the supremacy of smooth higher order interpolation functions over solely _?_ <sup>0</sup> continuous lookup tables. The reader may recall the convergence behavior in (3.23). The errors for all the three methods ❼ Proposed adaptive parameter fitting combined with physical-numerical models in this work, _???_ _∈_ [0 _._ 0 _,_ 0 _._ 99] _(A)_ 3.6 3.4 3.2 3.0 2.8 2.6 3.6 3.4 3.2 3.0 2.8 2.6 <u>Voltage Profile, fit on cell #6</u> <u>Simulation</u> Measurement 0 10000 20000 30000 40000 50000 60000 Elapsed[s] <u>Voltage Profile, fit on cell #6</u> <u>Simulation</u> Measurement 0.0 0.2 0.4 0.6 0.8 1.0 SoC 3.6 3.4 3.2 3.0 2.8 2.6 3.6 3.4 3.2 3.0 2.8 2.6 <u>Voltage Profile, fit on cell #6</u> <u>Simulation</u> Measurement 0 10000 20000 30000 40000 50000 60000 Elapsed[s] <u>Voltage Profile, fit on cell #6</u> <u>Simulation</u> Measurement 0.2 0.4 0.6 0.8 1.0 SoC Figure 4.3: Re-simulating the voltage profile of cell #2. _???_ _−_ _?_ dependencies are ob tained by concentrating only on properties of cell #6. Here in the second row the voltage evolution over the State of Charge (that implicitly contains time) is plotted. ❼ Proposed adaptive parameter fitting combined with physical-numerical models in this work, _???_ _∈_ [0 _._ 05 _,_ 0 _._ 99] _(B)_ ❼ Conventional polynomial parameter fitting combined with physical-numerical mod els in this work _???_ _∈_ [0 _._ 0 _,_ 0 _._ 99] _(C)_ ❼ Lookup table (MATLAB software) _???_ _∈_ [0 _._ 0 _,_ 0 _._ 99] _(D)_ are compared in Table 4.1. The quantity _Mean_ _Error_ _%_ is the _Mean_ _error_ _[V]_ relative to the ”plateau” of open-circuit voltage ( _≈_ 3 _._ 3 V). To visualize the differences, it is referred to the bar-plot in Figure 4.6. 0.0475 0.0500 0.0525 0.0550 0.0575 0.0600 0.0625 0.0650 0.0675 SoC 3.6 3.4 3.2 3.0 2.8 2.6 3.6 3.4 3.2 3.0 2.8 2.6 <u>Voltage, 1000s time-frame, adapt. fit</u> Simulation ~~Measurement~~ 59000 59200 59400 59600 59800 60000 Elapsed[s] <u>Voltage, 1000s time-frame, adapt. fit</u> Simulation ~~Measurement~~ 0.0525 0.0550 0.0575 0.0600 0.0625 0.0650 0.0675 0.0700 SoC 3.6 3.4 3.2 3.0 2.8 2.6 3.6 3.4 3.2 3.0 2.8 2.6 <u>Voltage, 1000s time-frame, fit on cell #6</u> Simulation ~~Measurement~~ 59000 59200 59400 59600 59800 60000 Elapsed[s] <u>Voltage, 1000s time-frame, fit on cell #6</u> Simulation ~~Measurement~~ Figure 4.4: Comparison of a 1000 s timeframe of the simulation and experiment. In the left column, _???_ _−_ _?_ dependencies are obtained by the proposed adaptive polynomial fitting method. In the right column, _???_ _−_ _?_ dependencies are obtained by fitting on data of cell #6, with same degree as for the adaptive method. Figure 4.5: Recorded voltage, current and time profile for the pulse discharge measure ment. The plotted values belong to cell #2. Simulation was done by considering only the _??_ values of cell #2, using higher-order explicit Dormand-Price formula embedded into MATLAB’s _Estimation_ _Equivalent_ _Circuit_ _Battery_ . 0.30 0.25 0.20 0.15 0.10 0.05 0.00 Mean Error Percentage for Different Methods Method A Method B Method C Method D Methods Figure 4.6: The mean error of compared methods <u><mark>Method</mark></u> <u><mark>A</mark></u> <u><mark>Method</mark></u> <u><mark>B</mark></u> <u><mark>Method</mark></u> <u><mark>C</mark></u> <u><mark>Method</mark></u> <u><mark>D</mark></u> <u><mark>Mean</mark></u> <u><mark>error</mark></u> <u><mark>[V]</mark></u> <u>0.00321</u> <u>0.00266</u> <u>0.00827</u> <u>0.00956</u> <u><mark>Max</mark></u> <u><mark>error</mark></u> <u><mark>[V]</mark></u> <u>0.07226</u> <u>0.02992</u> <u>0.30594</u> <u>0.17765</u> <u><mark>Mean</mark></u> <u><mark>Error</mark></u> <u><mark>%</mark></u> <u>0.097%</u> <u>0.0806%</u> <u>0.2506%</u> <u>0.2897%</u> Table 4.1: Comparison of errors between different methods. ##### 4.2 Validation of the EV-charging simulation framework This section is dedicated to validate and present the function of _???_ -based simulation using the developed software. After successfully validating the battery model which is the basis of the framework, simulated charging curves with publicly available ones are compared. It is targeted to reproduce the charging curve of the EV _Hyundai_ _IONIQ_ _6_ [110]. As baseline the publicly available charging curve of the respective car from Fastned [111] is taken. There is no accessible exact data of the battery used in the EV (also nothing about the chemistry). Therefore the only currently available high power-battery, whose pulse discharge measurement data are provided by MATLAB is taken as building block of the underlying EV battery pack. It is stated to be a type of ”lithium-ion polymer” (LiPo) type with a capacity of 10 _._ 006 Ah [112]. There is only data for one single cell of this type available. Therefore it is not possible to use the method of adaptive polynomial fitting on multiple sample’s data, whose efficiency has been proven in the previous section. For the aforementioned LiPo cell the _????_ _−_ _??_ values are obtained with MATLAB’s PulseSequence object out of the provided pulse-discharge profile. For a quality check, the pulse discharge profile was re-simulated with the built-in method of the MATLAB PulsSequence object, called _plotSimulationResults_ . The profile is shown in Figure 4.7. In the following a method how to scale up the virtual battery pack for the subsequent charging-simulation is derived. By doing so, accurate results can be reproduced. Solely publicly available data of the target electric vehicle Hyundai IONIQ6 are taken as simulation input. Reproducing such curves, where only some data plotted over _???_ are available is very difficult based on the voltage-based transition criterion. The situation is of course different in case a voltage profile is available. Figure 4.7: Pulse Discharge measurement profile of the 10 Ah LFP battery from MATLAB. The single steps, how to simulate an real-scenario EV charging procedure with the developed software and framework are listed below. They are followed and accompanied by comparisons of publicly available parameters of the respective car and charging procedure with the simulation results. 1. Manufacturer Data of the EV The manufacturer data is taken based on the information of the EVDB website [110]. ❼ Pack Configuration: _??_ = 192, _??_ = 2 ❼ Nominal voltage of the pack _??_ = 697 V ❼ Usable battery capacity (energy) _??_ = 74 _._ 0 kWh 2. Available Cell type The only data which could be extracted for the respective cell type was based on its provided pulse discharge measurement data. ❼ Capacity cell : _????_ = 10 _._ 006 Ah ❼ Nominal cell voltage: _??_ _≈_ 3 _._ 8 V (taken from the plateau of the _???_ -curve) 3. Get _??,_ _??,_ _??,_ _??_ They can be calculated from above data. How to do so, is described below: ❼ The number of cells of the parametrized type, required to be ordered in series in the considered virtually-built pack _??_, and the correction factor _??_ are given by the condition that the virtual pack needs to deliver the same nominal voltage as the EV. )︂ (︂ _<u>??</u>_ )︂ _??_ = int _??_ = 183 = 1 _._ 0023 (4.1) _<u>??</u>_ _??_ = _??_ _· ??_ ❼ The number of cells of the parametrized type, required to be ordered in parallel in the considered virtually-built pack _??_, and the correction factor _??_ are given by the condition that the virtual pack needs to have the same nominal capacity as the EV. We denote the charge-related capacity of the EV by _????_, and calculate it as the usable battery capacity (energy) divided by the nominal voltage of the pack. _????_ _≈_ <sup>_<u>??</u>_</sup> _??_ = 106 _._ 169 Ah _??_ = int (︂ _<u>????</u>_ _????_ )︂ = 10 = 1 _._ 061 (4.2) _<u>????</u>_ _??_ = _??_ _· ????_ 4. Design the charging parameters For this purpose the Fastned-charging-curve (see Figure 4.11) can be analyzed. On the curve 4 CC-Phases can be observed, followed by a CV phase. From the provided curve simulation input values can be estimated. It is assumed that the EVSE is available to deliver the necessary voltage (i.e assume an 800 _?_ -architecture). What is further provided by Fastned, is that the maximal charging power accounts to 233 kW. This is observed in Phase 1. 4.1 Phase 1: Here the maximal charging power _?_ 1 = 233 kW can be observed. If the assumption that the battery is at its nominal voltage is taken, then the charging current and thereby the respective C-rate can be calculated in the first approximation. _?_ 1 = <sup><u>233 kW</u></sup> 697 V <sup><u>233 kW</u></sup> 697 V <sup>_≈_</sup> <sup>334</sup> <sup>_._</sup> <sup>28 A</sup> _<u>?</u>_ <u>1</u> = _⇒_ _?_ 1 = _????_ This first CC-phase goes until _???_ 1 _≈_ 0 _._ 55 (4.3) = 3 _._ 147 h <sup>_−_</sup> <sup>1</sup> 4.2 Phase 2: here a charging power _?_ 2 _≈_ 175 kW can be observed. If the assumption that the battery is at its nominal voltage is taken, then the charging current and thereby the respective C-rate can be calculated in the first approximation: _?_ 2 = <sup><u>175 kW</u></sup> 697 V <sup><u>175 kW</u></sup> 697 V <sup>_≈_</sup> <sup>251</sup> <sup>_._</sup> <sup>1 A</sup> _<u>?</u>_ <u>2</u> = _⇒_ _?_ 2 = _????_ This second CC-phase goes until _???_ 2 _≈_ 0 _._ 63 (4.4) = 2 _._ 365 h <sup>_−_</sup> <sup>1</sup> 4.3 Phase 3: here a charging power _?_ 3 _≈_ 160 kW can be observed. If the assumption that the battery is at its nominal voltage is taken, then the charging current and thereby the respective C-rate can be calculated in the first approximation. _?_ 3 = <sup><u>160 kW</u></sup> 697 V <sup><u>160 kW</u></sup> 697 V <sup>_≈_</sup> <sup>229</sup> <sup>_._</sup> <sup>56 A</sup> _<u>?</u>_ <u>3</u> = _⇒_ _?_ 3 = _????_ This third CC-phase goes until _???_ 3 _≈_ 0 _._ 69 (4.5) = 2 _._ 162 h <sup>_−_</sup> <sup>1</sup> 4.4 Phase 4: here a charging power _?_ 4 _≈_ 152 kWcan be observed.If the assumption that the battery is at its nominal voltage is taken, then the charging current and thereby the respective C-rate can be calculated in the first approximation. _?_ 4 = <sup><u>152 kW</u></sup> 697 V <sup><u>152 kW</u></sup> 697 V <sup>_≈_</sup> <sup>218</sup> <sup>_._</sup> <sup>01 A</sup> _<u>?</u>_ <u>4</u> = _⇒_ _?_ 4 = _????_ (4.6) = 2 _._ 05 h <sup>_−_</sup> <sup>1</sup> This fourth CC-phase goes until _???_ 4 _≈_ 0 _._ 78 After taking these above calculated parameters for the MCC-CV algorithm, it can observed that the charging power is too high compared to the one depicted on Fastned. It is shown in Figure 4.8. The depicted Fastned-charging procedure was done until _???_ _≈_ 0 _._ 96, the simulated charging procedure was done for the sake of completeness until _???_ = 0 _._ 99. It is however only plotted until _???_ _<_ 0 _._ 96. This first approach is already not a bad approximation, but can be still improved as it is shown in the following. In order to obtain more accurate results, one needs to ”fine-tune” the C-rates, i.e. make a second, corrected simulation. A refined approximation for the C-rates can be applied by comparing the simulated and given charging power at Phase 1 . _<u>?</u>_ <u>1(Simulated)</u> <sup><u>262 kW</u></sup> 232 kW <sup>=</sup> <sup>1</sup> <sup>_._</sup> <sup>123</sup> <u>(Simulated)</u> _≈_ <sup><u>262 kW</u></sup> _?_ 1(Given) 232 kW (4.7) = _⇒_ _?_ 1 <sup>_???_</sup> _≈_ _?_ 1 _/_ 1 _._ 123 _≈_ 2 _._ 8 This means that the applied C-rates by comparing the deviation of simulated power from the ”target value” can be obtained. The corrected C-rates are rounded down. It is done so because it has to be considered that when applying higher C-rates the charging voltage is higher too. The reason is that there is more loss voltage on the _?_ -components of the EEC model as indicated in (3.1). Taking the correction factor derived in (4.7) the new C-rates for the second try can be obtained: _<u>?</u>_ <u>1</u> 1 <sup>new</sup> = 1 _._ 123 <sup>_≈_</sup> <sup>2</sup> <sup>_._</sup> <sup>8</sup> _<u>?</u>_ <u>2</u> 2 <sup>new</sup> = 1 _._ 123 <sup>_≈_</sup> <sup>1</sup> <sup>_._</sup> <sup>9</sup> _<u>?</u>_ <u>3</u> 3 <sup>new</sup> = 1 _._ 123 <sup>_≈_</sup> <sup>1</sup> <sup>_._</sup> <sup>7</sup> _<u>?</u>_ <u>4</u> 4 <sup>new</sup> = 1 _._ 123 <sup>_≈_</sup> <sup>1</sup> <sup>_._</sup> <sup>5</sup> _?_ 1 <sup>new</sup> _<u>?</u>_ <u>2</u> _?_ 2 <sup>new</sup> = 1 _._ 123 <sup>_≈_</sup> <sup>1</sup> <sup>_._</sup> <sup>9</sup> _<u>?</u>_ <u>3</u> _?_ 3 <sup>new</sup> = 1 _._ 123 <sup>_≈_</sup> <sup>1</sup> <sup>_._</sup> <sup>7</sup> _<u>?</u>_ <u>4</u> _?_ 4 <sup>new</sup> = 1 _._ 123 <sup>_≈_</sup> <sup>1</sup> <sup>_._</sup> <sup>5</sup> (4.8) ( _?_ 4 <sup>new</sup> adjusted to be a little bit lower) After doing this adjustment, a second simulation can be run, all the other parameters remain the same. That yields the result depicted in Figures 4.9, 4.10 and 4.11. On the simulation output data post-processing results can be done as well, as described in 3.7 and 3.8. The post-processing results can be an indicator of the accuracy of the simulation: If they are consistent with the available manufacturer specifications, it suggests that the simulation is producing accurate results. This was observed to be the case: ❼ Charged amount of energy: 78 _._ 27 kWh ❼ Energy loss while charging 3 _._ 6 kWh ❼ Therefore one can calculate the amount of charged energy, stored in the battery: 78 _._ 27 kWh _−_ 3 _._ 6 kWh = 74 _._ 67 kWh _≈_ usable battery capacity according to manufacturer. – According to EVDB, the usable battery-pack capacity of the electric vehicle Hyundai IONIQ 6 accounts 74 _._ 0 kWh [110]. Figure 4.8: First try with calculated initial, approximate parameters. This way, the charg ing power is ”overshoot”. Power, current, voltage over SOC 250 200 150 100 50 300 250 200 150 100 50 790 780 770 760 750 740 0.2 0.4 0.6 0.8 1.0 SoC 0.2 0.4 0.6 0.8 1.0 SoC 0.2 0.4 0.6 0.8 1.0 SoC Figure 4.9: Second try with the modified initial parameters. This way, the charging power is reproduced correctly. The charging power is again re-plotted and compared against the reference curve from Fastned in Figure 4.11. 250 200 150 100 50 790 780 770 760 750 740 300 250 200 150 100 50 Voltage, Current and Power over time 0 500 1000 1500 2000 Elapsed[s] Figure 4.10: Second try with the modified initial parameters. This way, the charging power is reproduced correctly. Note that on this figure, the values are plotted over the time. Mind the difference compared to plotting over _???_ . 300 200 100 0 Reproduce Hyundai IONIQ 6 Long Range Charging Charged energy: 78.27 kWh Losses: 3.6 kWh Usable charged cap.: 74.67 kWh 0 20 40 60 80 100 SoC % Figure 4.11: Charging curve of Hyundai IONIQ 6 Long Range provided by Fastned [111] and the reproduced, simulated curve based on publicly available data. . The post-processing results that give information on the time-dependent profile of charging losses are shown in Figure 4.12. These provide information of charging losses, and the profile of the accumulated charged energy into the EV’s pack. They could not be compared to any publicly available profiles, as no such profiles were found. Reproduce Hyundai IONIQ 6 Long Range Charging 80 40 30 20 10 0 70 60 50 40 30 20 10 0 0 500 1000 1500 2000 Time [s] 0 500 1000 1500 2000 Time [s] Figure 4.12: Profile of the loss power and charged amount of energy plotted over time. _?_ = 0 denotes the beginning of the charging process. The simulation results are depicted. Looking at the simulated charging voltage, current, and power profiles leaves room for discussion. ❼ The charging power is mainly governed by the charging current. Note the same shape of the ”ChargingPower” and ”ChargingCurrent” curves. ❼ The simulation tool calculates the charging voltage that an EVSE _should_ deliver in order to fulfill the requirements posed by the different charging algorithms. In this case they are MCC and CV. It seems to be the case for the supply equipment at which was used to record the charging process of the real car, since: 1. The recorded and simulated ”ChargingPower” curves are in accordance 2. The charged amount of energy corresponds to the energy-related battery capacity of the car battery pack according to manufacturer. ❼ The charging voltage corresponds to the battery voltage plus some offset. This offset in this thesis is by definition 2%. Note the equation (3.66) and the accompanying evaluation. Therefore, by looking at the curve ”Voltage[V]” not only the delivered voltage by the EVSE, but also the shape of the battery pack voltage is known. This is namely exactly the battery voltage and the added offset of two percent. The deviations of the observed, depicted charging-voltage profile from the well-known open circuit-like ones from manufacturer datasheets are evaluated in the following. – The initial huge voltage jump is due to the fact, that one applies a strong initial current to the battery. This leads to a voltage jump on its internal resistance. – Note that the reason behind such jumps builds the basics of pulse discharge measurements. They could be observed in the practice when performing pulse discharge measurements, see previous section on validation. – One would expect the battery voltage to rise with _???_ . Therefore at the first glance it might be surprising that in the range _???_ _<_ 0 _._ 35 it is decreasing. Considering the discussed model properties again, it can be explained why it is so. The big jump in the battery voltage due to the initially applied strong current relaxes. The relaxation procedure is governed by the transient voltage equation, therefore the voltage decreases with an exponential-like profile. – After having already relaxed at _???_ _≈_ 0 _._ 35 (this is after about 400 second, see Figures 4.9 and 4.10) the voltage arises again. This is because after relaxation the battery voltage is mainly governed again by the open-circuit voltage part. It is already discussed that _???_ grows with the State of Charge. ❼ Voltage drops can be observed after switching from one CC phase to a next one. This results again in declining battery voltage despite a higher _???_ value. The reason is that suddenly a big difference in the battery current Δ _?_ appears. This leads to a voltage jump Δ _?_ due to the internal resistance, according to the Ohmic relation Δ _?_ = _?_ _·_ Δ _?_ ❼ Plotting over _???_ might give a distorted image on charging. This becomes evident when comparing the plots in the Figures 4.9 and 4.10. When plotting over _???_ the battery-protecting CV phase might seem very short. However, considering its length with respect to time, it gets clear why is it unfeasible to have long continuous voltage stages during charging: – CV-phase happens between _???_ = 0 _._ 78 and _???_ = 0 _._ 99. This corresponds to about 21% of the amount of charge that is put into the car’s battery. – However, the CV-phase takes almost half of the time of the charging process, almost 1000 seconds. ❼ The complicatedly-seeming voltage profile explains why battery management sys tems have a ”hard job” when estimating the State of Charge based on the measurable battery terminal voltage. On the other hand, it justifies why both the approaches _???_ and voltage based transition criteria are implemented in the simulation framework. Note again that in case of simulation, one does not have to bother about obtaining the _???_ based on the battery voltage. This fact facilitates working with the simulation model. # 5 Discussion and outlooks In this chapter, the implemented environment is assessed and the results of the performed simulations and laboratory tests are analysed. Recommendations for possible improvements are given. Finally, there is a discussion on feasible applications of the developed model tools. ##### 5.1 Recapitulation After briefly introducing general aspects on battery modeling, -management systems, -degradation and EV technology, the development of a complete framework for the characterization and simulation of battery packs and conventional EV-charging technologies was introduced. The novelty of the method is based on an innovative combination of multiple, already well-known and accepted aspects of physics, battery modeling, numerics, mathematics and computing. The presented method showed up an excellent performance in comparison with experiments and publicly available data, see Chapter 4. Simulations are easily reproducible by simply saving the respective configuration files. ##### 5.2 Model analysis 5.2.1 Physical model analysis: Thevenin model The Thevenin model is a well established and proven approach in the battery community. This is due to its simplicity, good understability, and visualization potential. Another important quality is that it does not require extensive computational resources and coupled partial differential equations that need to be solved in order to generate simulation output. The evaluation of this electric-circuit based approach is topic of 2.5.2 and 3.2. The property of being simple and resource-saving is especially true for the subset of Thevenin models used in this work: It is the case of using one RC element to model the transient part of the battery voltage when responding to currents. Its accuracy and effectiveness have been demonstrated in this work. 5.2.2 Solver analysis: Explicit Euler and Finite Difference method The first-order explicit forward Euler method is one of the simplest numerical methods for solving ordinary differential equations. Although there are more advanced and faster convergence methods [14], they are more computationally expensive and require more memory. The explicit Euler procedure, on the other hand, provides a simple approach to develop discretized equations that can be solved even in the case of simulation of fast charging algorithms, see 3.6. The simplest numerical approximation to differential equations can be derived by replacing the differentiation by a discrete difference quotient. In case of the simulation tool it is done with respect to the variable _?_ (time). This leads to the finite difference method that is widely used in engineering applications due to its simplicity easy implementation. It is to be noted, that when using this method on some data _??_, it is a requirement that _??_ has to be continuous. It is fulfilled in real-case scenarios when battery packs are charged or discharged, making this simple method suitable for the simulation framework. The validation procedure has shown that the used simple solvers work with sufficient accuracy for solving the ordinary differential equations arising from the Thevenin model and charging boundary conditions. When they are combined with the parametrization methods presented in this work, they even lead to excellent results (sub-per mille average error!) see Chapter 4. 5.2.3 Numerical analysis: Adaptive polynomial fitting A good rule of thumb in numerics is that it is desirable to work with smooth functions. The traditional method of using lookup tables to determine the functional dependence of _???_ _−_ _?_ does not satisfy this condition, because it is only _?_ <sup>0</sup> continuous. On the other hand, polynomials have the ”best” smoothness property by being infinitely often continuously differentiable. Another important property when fitting with polynomials is the convergence behavior as discussed in 3.3. Moreover, performing coefficient determination for polynomials by the least-squares method on experimental data has a guaranteed success in case of having distinct ordinate points. This is not the case for the coefficients of other non-linear models presented in the literature, see 2.5.2. The last remaining issue of considering deviations between individual samples belonging to the same cell type is addressed by using adaptive polynomial fitting. It avoids focusing too much on the properties of a single sample, which would lead to a loss of generality. Meanwhile, it still allows to apply a polynomial degree as high as possible, thus leading to good convergence, as discussed in 3.3. ##### 5.3 Software analysis The models are implemented in a Python software package. Python is a good compromise between ease of handling and computational speed. Since the implementation uses optimized data structures in form of numpy arrays the run-time of the software is kept very low (approximately 2 seconds even for around 10 <sup>5</sup> simulation steps even so that I/O operations are not yet optimized). NumPy is one of the most popular Python tools used by developers and data scientists to support large-scale computing. It provides libraries and techniques to work with arrays and matrices, which allows this high performance: It is supported by code written in fast languages like C, C++, and Fortran [113]. Due to its C support, NumPy is not subject to Python’s computational restrictions. Optimization is partly achieved by the fact that all numpy arrays are homogeneous: Every item takes up the same size block of memory, and all blocks are interpreted in exactly the same way [114]. The other reason for the software of this work being fast is based on the well-reasoned choice of the physical basic model, polynomial interpolation and ordinary differential equation- and finite difference solver that are discussed in the previous subsections. When using them, the idea of temporal locality as discussed in the first Chapter is being exploited: The software temporarily switches the values of the pre-allocated variables representing the previous and current parameters/observables. The Python implementation with the high performance data-types has another advantage: Python is open-source, portable and works computer-architecture independent. It allows the codes being versatile and portable. ##### 5.4 Lab setup analysis To parameterize the first-order Thevenin model a pulse discharge measurement procedure in 3.2 and 3.3 was established. It requires specific lab equipment. However, once it is available the procedure delivers many data-points within one batch. With the appropriate measuring instrument the procedure can be done in a completely automatized manner, therefore the procedure is optimized in terms of human time resource. ##### 5.5 Charging algorithm simulator analysis Based on the literature, conditions are implemented that have to be fulfilled according to the different charging modes. Only the most common (commercially observed) algorithms are implemented: CC, CV, MCC, BC (voltage and current based) and their arbitrary combinations with transition criteria based either on _???_ or voltage thresholds. The modular nature of the software and the modeling approach, based on solving differential equations governed by the physical battery model, allow this set of algorithms to be easily extended with future ones. ##### 5.6 Limitations, and recommendations As it has been shown, modeling the battery behavior with the first-order Thevenin model and the numerical solvers/functional _???_ _−_ _?_ dependencies established in this work gives very accurate results, see Chapter 4 for validation. However, even better accuracy could be achieved by adding more RC elements to the equivalent circuit model [83], [90], [97]. This would not change much in the applied equations to be solved: It would result in additional transient voltage values _?_ 2 _,_ _?_ 3 _._ _._ _._, depending on how many additional RC pairs are added. It is questionable whether this is a necessary step at all, considering that the average error of the method is currently below 0.01%. see Table 4.1. Another aspect which is not captured by the presented models is the degradation and change of the battery due to cycling and calendar aging. This would lead to a change of the _?_ -values in the equivalent circuit depending on the number of cycles, the calendar age of the cell/pack and the operating conditions. Considering all these aspects could lead to arbitrarily complicated equation systems. A good approach to avoid the need to implement analytical expressions that capture the above effects could be to perform measurements on used cells and obtain their degraded _?_ values this way. To consider calendar-based degradation and cycle-based degradation separately, a fit (e.g., polynomial) could be applied to 1. Cells cycled many times within a very short calendar time. 2. Cells which have been in storage without cycling for a long period of calendar time. Temperature dependency is implemented indirectly by allowing _???_ _−_ _?_ data to be captured at various ambient temperatures and stored in the database. When running the simulation, the user can select the desired temperature. This could be improved by establishing models for scaling the _?_ values as a function of temperature. This could be represented by a temperature scaling function _??_ ( _?_ ) that depends only on _?_ . A reference temperature _?_ 0 (following the literature 25 <sup>_∘_</sup> C could be defined as _??_ ( _?_ 0) _._ = 1). Therefore _?_ ( _?_ ) would be given as _?_ ( _?_ ) = _?_ _·_ _??_ ( _?_ ). This would not change the applied equations, since they are independent of temperature. This means that this separation ansatz would not require any modification except the extension of the software with modules that implement _??_ . ##### 5.7 Outlooks Due to its modular structure the developed software is well suitable for extensions and an integration into other frameworks. The presented work offers a highly efficient approach for characterizing arbitrary rechargeable batteries and simulating their transient terminal voltage under various load conditions. It enables a flexible scale up of cells and charging scenarios according to users’ wishes. It is intended that the models will be further developed by experts at the Austrian Institute of Technology, including the author. It is planned to ❼ Assist in testing and evaluating newly developed battery cells ❼ Simulate hybrid power plant components ❼ Form the basis of an electric vehicle emulation tool. This would allow realistic testing of EVSE devices as well as hardware-in-the-loop network testing. ❼ With certain modifications, the models will be extended to simulate fuel cells. This would improve the design and simulation of modern green energy based power plants. In addition, further validation and extension of the software tool is planned based on the measurement of voltage and current profiles of electric vehicles during charging. For this purpose, the author and experts from the Austrian Institute of Technology GmbH are currently building a ”man-in-the-middle” measurement device which is plugged between the charger and the car. The tests will be carried out on the 50 kW EVSE of the SmartEST laboratory as well as on public high-power charging stations with a variety of electric cars. It is intended to extend the SQLite database of the software written by the author with parameterization data of many battery cells, including high-power ones of electric vehicles. For this purpose, the method developed in this thesis will be used. The measurements will be conducted in the battery test laboratory of the Austrian Institute of Technology GmbH. The parameterization of a sufficiently large variety of cell types will allow even more accurate simulation results for a wide range of application cases. For the aforementioned network planning purposes, simulations with different cell types can be performed to suggest the optimal choice for the respective storage system. On the innovative aspects of this work the author and her supervisors from the Austrian Institute of Technology GmbH have submitted a manuscript to the 2024 Annual Conference of the IEEE Industrial Electronics Society that has been accepted for publication. The author will present these aspects on the conference that is held in November 2024, Chicago, Illinois. Further publications and examinations on the extensions, use cases and development of the models are intended. Especially incorporating temperature and aging/ degradation effects into the existing framework is intended. It will be based on the ideas in 5.6 and already existing approaches developed at the Austrian Institute of Technology GmbH. It can be concluded that the developed simulation framework has the potential to be used for various high performance applications such as battery emulation or grid simulation. It will serve as a valuable tool in advancing battery technology and energy systems through continuous research and development. # Bibliography [1] International Energy Agency, “Electricity 2024: Executive summary”, International Energy Agency (IEA), Tech. Rep., 2024. [Online]. Available: `[https : / /](https://www.iea.org/reports/electricity-2024/executive-summary)` `[www.iea.org/reports/electricity-2024/executive-summary](https://www.iea.org/reports/electricity-2024/executive-summary)` . [2] International Energy Agency, “Net zero emissions by 2050 scenario (nze)”, International Energy Agency (IEA), Tech. Rep., 2024. [Online]. Available: `[https:](https://www.iea.org/reports/global-energy-and-climate-model/net-zero-emissions-by-2050-scenario-nze#abstract)` ``` //www.iea.org/reports/global-energy-and-climate-model/net-zero``` `[emissions-by-2050-scenario-nze#abstract](https://www.iea.org/reports/global-energy-and-climate-model/net-zero-emissions-by-2050-scenario-nze#abstract)` . [3] D. o. E. United Nations and S. D. Social Affairs, “The 17 goals”, United Nations, Tech. Rep., 2023. [Online]. Available: `[https://sdgs.un.org/goals](https://sdgs.un.org/goals)` . [4] T. I. P. on Climate Change, “Climate change 2022: Mitigation of climate change”, The Intergovernmental Panel on Climate Change (IPCC), Tech. Rep., 2022. [Online]. Available: `[https://www.ipcc.ch/report/sixth-assessment-report-](https://www.ipcc.ch/report/sixth-assessment-report-working-group-3/)` `[working-group-3/](https://www.ipcc.ch/report/sixth-assessment-report-working-group-3/)` . [5] C. Brunner, G. Deac, S. Braun, and C. Z¨ophel, “The future need for flexibility and the impact of fluctuating renewable power generation”, _Renewable_ _Energy_, vol. 149, pp. 1314–1324, 2020. [6] P. Rullo, L. Braccia, P. Luppi, D. Zumoffen, and D. Feroldi, “Integration of sizing and energy management based on economic predictive control for standalone hybrid renewable energy systems”, _Renewable_ _energy_, vol. 140, pp. 436–451, 2019. [7] A. Sangswang and M. Konghirun, “Optimal strategies in home energy management system integrating solar power, energy storage, and vehicle-to-grid for grid support and energy efficiency”, _IEEE_ _Transactions_ _on_ _Industry_ _Applications_, vol. 56, no. 5, pp. 5716–5728, 2020. [8] International Energy Agency, “Outlook for battery demand and supply”, International Energy Agency (IEA), Tech. Rep., 2024. [Online]. Available: `[https://www.](https://www.iea.org/reports/batteries-and-secure-energy-transitions/outlook-for-battery-demand-and-supply#abstract)` ``` iea.org/reports/batteries-and-secure-energy-transitions/outlook``` `[for-battery-demand-and-supply#abstract](https://www.iea.org/reports/batteries-and-secure-energy-transitions/outlook-for-battery-demand-and-supply#abstract)` . [9] International Energy Agency, “Global ev outlook 2024”, International Energy Agency (IEA), Tech. Rep., 2024. [Online]. Available: `[https://www.iea.org/](https://www.iea.org/reports/global-ev-outlook-2024)` `[reports/global-ev-outlook-2024](https://www.iea.org/reports/global-ev-outlook-2024)` . [10] F. Mohammadi and M. Saif, “A comprehensive overview of electric vehicle batteries market”, _e-Prime-Advances_ _in_ _Electrical_ _Engineering,_ _Electronics_ _and_ _Energy_, vol. 3, p. 100 127, 2023. [11] C. Maier, C. Pfeiffer, and M. Millendorfer, “A comparative analysis of perceived drivers and barriers for electric vehicle usage among users and non-users in austria”, _Available_ _at_ _SSRN_ _4015252_, [12] “APP Metrics for Intel ➤ Microprocessors”, Intel Corporation. (), [Online]. Available: `[https://www.intel.com/content/dam/support/us/en/documents/](https://www.intel.com/content/dam/support/us/en/documents/processors/APP-for-Intel-Core-Processors.pdf)` `[processors/APP-for-Intel-Core-Processors.pdf](https://www.intel.com/content/dam/support/us/en/documents/processors/APP-for-Intel-Core-Processors.pdf)` (visited on 05/15/2024). [13] B. Jacob, D. Wang, and S. Ng, _Memory_ _systems:_ _cache,_ _DRAM,_ _disk_ . Morgan Kaufmann, 2010. [14] T. Goudon, _Mathematics_ _for_ _Modeling_ _and_ _Scientific_ _Computing_, eng, 1st. Newark: John Wiley Sons, Incorporated, 2016, isbn: 1848219881. [15] M. A. Rosen and A. Farsi, _Battery_ _technology_ _:_ _from_ _fundamentals_ _to_ _thermal_ _behavior_ _and_ _management_, eng. London, England: Academic Press, 2023, isbn: 0443188637. [16] Statista. “Global battery market size, by technology”. (), [Online]. Available: `[http](https://www.statista.com/statistics/1339880/global-battery-market-size-by-technology/)` ``` s://www.statista.com/statistics/1339880/global-battery-market-size``` `[by-technology/](https://www.statista.com/statistics/1339880/global-battery-market-size-by-technology/)` (visited on 04/04/2024). [17] R. K. Gupta, _Solid_ _State_ _Batteries_ _Volume_ _1._ (ACS Symposium), eng. Washington, DC: American Chemical Society, 2022, isbn: 0841297673. [18] “USABC”, United States Advanced Battery Consortium LLC (USABC). (), [Online]. Available: `[https://uscar.org/usabc/](https://uscar.org/usabc/)` (visited on 05/16/2024). [19] “ QC/T 743-2006 PDF in English”, ChineseStandard. (), [Online]. Available: `[https](https://www.chinesestandard.net/PDF.aspx/QCT743-2006)` `[://www.chinesestandard.net/PDF.aspx/QCT743-2006](https://www.chinesestandard.net/PDF.aspx/QCT743-2006)` (visited on 05/16/2024). [20] M. Ecker, J. B. Gerschler, J. Vogel, _et_ _al._, “Development of a lifetime prediction model for lithium-ion batteries based on extended accelerated aging test data”, _Journal_ _of_ _Power_ _Sources_, vol. 215, pp. 248–257, 2012. [21] X. Tan, A. Vezzini, Y. Fan, N. Khare, Y. Xu, and L. Wei, _Battery_ _Management_ _System_ _and_ _Its_ _Applications_ . John Wiley and Sons, 2022. [22] S. Saxena, C. Le Floch, J. MacDonald, and S. Moura, “Quantifying ev battery endof-life through analysis of travel needs with vehicle powertrain models”, _Journal_ _of_ _Power_ _Sources_, vol. 282, pp. 265–276, 2015, issn: 0378-7753. doi: `[https://](https://doi.org/https://doi.org/10.1016/j.jpowsour.2015.01.072)` `[doi . org / 10 . 1016 / j . jpowsour . 2015 . 01 . 072](https://doi.org/https://doi.org/10.1016/j.jpowsour.2015.01.072)` . [Online]. Available: `[https :](https://www.sciencedirect.com/science/article/pii/S0378775315000841)` `[//www.sciencedirect.com/science/article/pii/S0378775315000841](https://www.sciencedirect.com/science/article/pii/S0378775315000841)` . [23] A. Guha and A. Patra, “State of health estimation of lithium-ion batteries using capacity fade and internal resistance growth models”, _IEEE_ _Transactions_ _on_ _Transportation_ _Electrification_, vol. 4, no. 1, pp. 135–146, 2017. [24] J. Kim, J. Oh, and H. Lee, “Review on battery thermal management system for electric vehicles”, _Applied_ _thermal_ _engineering_, vol. 149, pp. 192–212, 2019. [25] E. Schuster, C. Ziebert, A. Melcher, M. Rohde, and H. J. Seifert, “Thermal behavior and electrochemical heat generation in a commercial 40 ah lithium ion pouch cell”, _Journal_ _of_ _Power_ _Sources_, vol. 286, pp. 580–589, 2015. [26] A. Tomaszewska, Z. Chu, X. Feng, _et_ _al._, “Lithium-ion battery fast charging: A review”, _eTransportation_, vol. 1, p. 100 011, 2019, issn: 2590-1168. doi: `[https:](https://doi.org/https://doi.org/10.1016/j.etran.2019.100011)` `[//doi.org/10.1016/j.etran.2019.100011](https://doi.org/https://doi.org/10.1016/j.etran.2019.100011)` . [Online]. Available: `[https://www.](https://www.sciencedirect.com/science/article/pii/S2590116819300116)` `[sciencedirect.com/science/article/pii/S2590116819300116](https://www.sciencedirect.com/science/article/pii/S2590116819300116)` . [27] M. Fleckenstein, O. Bohlen, M. A. Roscher, and B. B¨aker, “Current density and state of charge inhomogeneities in li-ion battery cells with lifepo4 as cathode material due to temperature gradients”, _Journal_ _of_ _Power_ _Sources_, vol. 196, no. 10, pp. 4769–4778, 2011, issn: 0378-7753. doi: `[https : / / doi . org / 10 . 1016 / j .](https://doi.org/https://doi.org/10.1016/j.jpowsour.2011.01.043)` `[jpowsour.2011.01.043](https://doi.org/https://doi.org/10.1016/j.jpowsour.2011.01.043)` . [Online]. Available: `[https://www.sciencedirect.com/](https://www.sciencedirect.com/science/article/pii/S0378775311001558)` `[science/article/pii/S0378775311001558](https://www.sciencedirect.com/science/article/pii/S0378775311001558)` . [28] W. Song, M. Chen, F. Bai, S. Lin, Y. Chen, and Z. Feng, “Non-uniform effect on the thermal/aging performance of lithium-ion pouch battery”, _Applied_ _Thermal_ _Engineering_, vol. 128, pp. 1165–1174, 2018, issn: 1359-4311. doi: `[https://doi.](https://doi.org/https://doi.org/10.1016/j.applthermaleng.2017.09.090)` `[org/10.1016/j.applthermaleng.2017.09.090](https://doi.org/https://doi.org/10.1016/j.applthermaleng.2017.09.090)` . [Online]. Available: `[https:](https://www.sciencedirect.com/science/article/pii/S1359431117350986)` `[//www.sciencedirect.com/science/article/pii/S1359431117350986](https://www.sciencedirect.com/science/article/pii/S1359431117350986)` . [29] B. Bose, A. Garg, B. Panigrahi, and J. Kim, “Study on li-ion battery fast charging strategies: Review, challenges and proposed charging framework”, _Journal_ _of_ _Energy_ _Storage_, vol. 55, p. 105 507, 2022. [30] T. Waldmann, M. Wilka, M. Kasper, M. Fleischhammer, and M. WohlfahrtMehrens, “Temperature dependent ageing mechanisms in lithium-ion batteries a post-mortem study”, _Journal_ _of_ _Power_ _Sources_, vol. 262, pp. 129–135, 2014, issn: 0378-7753. doi: `[https://doi.org/10.1016/j.jpowsour.2014.03.112](https://doi.org/https://doi.org/10.1016/j.jpowsour.2014.03.112)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0378775314004352)` `[S0378775314004352](https://www.sciencedirect.com/science/article/pii/S0378775314004352)` . [31] A. Barr´e, B. Deguilhem, S. Grolleau, M. G´erard, F. Suard, and D. Riu, “A review on lithium-ion battery ageing mechanisms and estimations for automotive applications”, _Journal_ _of_ _Power_ _Sources_, vol. 241, pp. 680–689, 2013, issn: 0378-7753. doi: `[https://doi.org/10.1016/j.jpowsour.2013.05.040](https://doi.org/https://doi.org/10.1016/j.jpowsour.2013.05.040)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/S0378775313008185](https://www.sciencedirect.com/science/article/pii/S0378775313008185)` . [32] S. J. An, J. Li, C. Daniel, D. Mohanty, S. Nagpure, and D. L. Wood, “The state of understanding of the lithium-ion-battery graphite solid electrolyte interphase (sei) and its relationship to formation cycling”, _Carbon_, vol. 105, pp. 52–76, 2016, issn: 0008-6223. doi: `[https://doi.org/10.1016/j.carbon.2016.04.008](https://doi.org/https://doi.org/10.1016/j.carbon.2016.04.008)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0008622316302676)` `[S0008622316302676](https://www.sciencedirect.com/science/article/pii/S0008622316302676)` . [33] S. Yan and A. C. Marschilok, “Conversion-type electrodes for rechargeable lithium based batteries: Case studies of iron based conversion materials for lithium-ion batteries and molybdenum disulfides for lithium-sulfur batteries”, in _Encyclopedia_ _of_ _Energy_ _Storage_, L. F. Cabeza, Ed., Oxforpd: Elsevier, 2022, pp. 36–46, isbn: 9780-12-819730-1. doi: `[https://doi.org/10.1016/B978-0-12-819723-3.00116-5](https://doi.org/https://doi.org/10.1016/B978-0-12-819723-3.00116-5)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/B9780128197233001165)` `[B9780128197233001165](https://www.sciencedirect.com/science/article/pii/B9780128197233001165)` . [34] “A look inside your battery: Watching the dendrites grow”. (2020), [Online]. Available: `[https://www.batterypoweronline.com/news/a-look-inside-your-](https://www.batterypoweronline.com/news/a-look-inside-your-battery-watching-the-dendrites-grow/)` `[battery-watching-the-dendrites-grow/](https://www.batterypoweronline.com/news/a-look-inside-your-battery-watching-the-dendrites-grow/)` (visited on 06/13/2024). [35] Y. Shen, S. Wang, H. Li, K. Wang, and K. Jiang, “An overview on in situ/operando battery sensing methodology through thermal and stress measurements”, _Journal_ _of_ _Energy_ _Storage_, vol. 64, p. 107 164, 2023. [36] B. Suthar, V. Ramadesigan, S. De, R. D. Braatz, and V. R. Subramanian, “Optimal charging profiles for mechanically constrained lithium-ion batteries”, _Physical_ _Chemistry_ _Chemical_ _Physics_, vol. 16, no. 1, pp. 277–287, 2014. [37] “Battery Efficiency”, PVsyst 7 Help. (), [Online]. Available: `[https://www.pvsyst.](https://www.pvsyst.com/help/battery_efficiency.htm)` `[com/help/battery_efficiency.htm](https://www.pvsyst.com/help/battery_efficiency.htm)` (visited on 05/20/2024). [38] BM f¨ur Verkehr, Bau und Stadtentwicklung (BRD). “What is the capacity of the battery? ritar power”. (2013), [Online]. Available: `[https://www.ritarpower.](https://www.ritarpower.com/service/158.html)` `[com/service/158.html](https://www.ritarpower.com/service/158.html)` . [39] J. Lee, Y. Kim, and H. Cha, “A new battery parameter identification considering current, soc and peukert’s effect for hybrid electric vehicles”, in _2011_ _IEEE_ _Energy_ _Conversion_ _Congress_ _and_ _Exposition_, IEEE, 2011, pp. 1489–1494. [40] S. U. Jeon, J.-W. Park, B.-K. Kang, and H.-J. Lee, “Study on battery charging strategy of electric vehicles considering battery capacity”, _IEEE_ _Access_, vol. 9, pp. 89 757–89 767, 2021. [41] I. E. Commission, _Electric_ _vehicle_ _conductive_ _charging_ _system–part_ _1:_ _General_ _re-_ _quirements_, 2017. [42] S. Palanisamy, S. Chenniappan, and S. Padmanaban, _Fast-Charging_ _Infrastructure_ _for_ _Electric_ _and_ _Hybrid_ _Electric_ _Vehicles:_ _Methods_ _for_ _Large-Scale_ _Penetration_ _into_ _Electric_ _Distribution_ _Networks_, eng, 1st ed. Newark: Wiley, 2023, isbn: 1119987741. [43] “Charging for all”, Tesla. (2024), [Online]. Available: `[https://www.tesla.com/](https://www.tesla.com/NACS)` `[NACS](https://www.tesla.com/NACS)` (visited on 05/20/2024). [44] J. Schmutzler, C. A. Andersen, and C. Wietfeld, “Evaluation of ocpp and iec 61850 for smart charging electric vehicles”, eng, _World_ _electric_ _vehicle_ _journal_, vol. 6, no. 4, pp. 863–874, 2013, issn: 2032-6653. [45] M. N¨ohrer, “Flexible co-simulationsumgebung zum testen von ladeinfrastrukturen f¨ur elektromobilit¨at”, Ph.D. dissertation, 2014. [46] F. R¨ucker, I. Schoeneberger, T. Wilmschen, _et_ _al._, “Self-sufficiency and charger constraints of prosumer households with vehicle-to-home strategies”, _Applied_ _En-_ _ergy_, vol. 317, p. 119 060, 2022. [47] B. Vaidya and H. T. Mouftah, “Deployment of secure ev charging system using open charge point protocol”, in _2018_ _14th_ _International_ _Wireless_ _Communications_ _&_ _Mobile_ _Computing_ _Conference_ _(IWCMC)_, IEEE, 2018, pp. 922–927. [48] “The complete ocpp guide”. (), [Online]. Available: `[https://www.ampeco.com/](https://www.ampeco.com/guides/complete-ocpp-guide/?utm_medium=cpc&utm_source=google&utm_campaign=Search-EU&utm_adgroup=OCPP-B&utm_content=OCPP-B&utm_term=ocpp%202.0&_gl=1*1kf6gsz*_up*MQ..&gclid=Cj0KCQjwir2xBhC_ARIsAMTXk87xtjK2PAvD2IQhSz79VtnQRSZGfpaAk0iEhEcXIGfbOkhWB7V52UUaAjxxEALw_wcB#6-the-functional-blocks-of-ocpp)` ``` guides/complete-ocpp-guide/?utm_medium=cpc&utm_source=google&utm_ campaign=Search-EU&utm_adgroup=OCPP-B&utm_content=OCPP-B&utm_term=o cpp%202.0&_gl=1*1kf6gsz*_up*MQ..&gclid=Cj0KCQjwir2xBhC_ARIsAMTXk87x tjK2PAvD2IQhSz79VtnQRSZGfpaAk0iEhEcXIGfbOkhWB7V52UUaAjxxEALw_wcB#6``` `[the-functional-blocks-of-ocpp](https://www.ampeco.com/guides/complete-ocpp-guide/?utm_medium=cpc&utm_source=google&utm_campaign=Search-EU&utm_adgroup=OCPP-B&utm_content=OCPP-B&utm_term=ocpp%202.0&_gl=1*1kf6gsz*_up*MQ..&gclid=Cj0KCQjwir2xBhC_ARIsAMTXk87xtjK2PAvD2IQhSz79VtnQRSZGfpaAk0iEhEcXIGfbOkhWB7V52UUaAjxxEALw_wcB#6-the-functional-blocks-of-ocpp)` (visited on 04/29/2024). [49] O. C. Alliance, “Wwcp ocpp”, Open Charge Alliance, Tech. Rep., 2024. [Online]. Available: `[https://github.com/OpenChargingCloud/WWCP_OCPP](https://github.com/OpenChargingCloud/WWCP_OCPP)` . [50] D. Ramasamy, “Possible hardware architectures for power line communication in automotive v2g applications”, _Journal_ _of_ _The_ _Institution_ _of_ _Engineers_ _(India):_ _Series_ _B_, vol. 104, no. 3, pp. 813–819, 2023. [51] M. U. Tahir, A. Sangwongwanich, D.-I. Stroe, and F. Blaabjerg, “Overview of multi-stage charging strategies for li-ion batteries”, _Journal_ _of_ _Energy_ _Chemistry_, vol. 84, pp. 228–241, 2023, issn: 2095-4956. doi: `[https://doi.org/10.1016/j.](https://doi.org/https://doi.org/10.1016/j.jechem.2023.05.023)` `[jechem.2023.05.023](https://doi.org/https://doi.org/10.1016/j.jechem.2023.05.023)` . [Online]. Available: `[https://www.sciencedirect.com/](https://www.sciencedirect.com/science/article/pii/S2095495623003091)` `[science/article/pii/S2095495623003091](https://www.sciencedirect.com/science/article/pii/S2095495623003091)` . [52] N. Wassiliadis, J. Schneider, A. Frank, _et_ _al._, “Review of fast charging strategies for lithium-ion battery systems and their applicability for battery electric vehicles”, _Journal_ _of_ _energy_ _storage_, vol. 44, p. 103 306, 2021. [53] S. S. Zhang, “The effect of the charging protocol on the cycle life of a li-ion battery”, _Journal_ _of_ _Power_ _Sources_, vol. 161, no. 2, pp. 1385–1391, 2006, issn: 0378-7753. doi: `[https://doi.org/10.1016/j.jpowsour.2006.06.040](https://doi.org/https://doi.org/10.1016/j.jpowsour.2006.06.040)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/S0378775306011839](https://www.sciencedirect.com/science/article/pii/S0378775306011839)` . [54] Y. Li, K. Li, Y. Xie, J. Liu, C. Fu, and B. Liu, “Optimized charging of lithium-ion battery for electric vehicles: Adaptive multistage constant current–constant voltage charging strategy”, _Renewable_ _Energy_, vol. 146, pp. 2688–2699, 2020, issn: 0960-1481. doi: `[https://doi.org/10.1016/j.renene.2019.08.077](https://doi.org/https://doi.org/10.1016/j.renene.2019.08.077)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0960148119312649)` `[S0960148119312649](https://www.sciencedirect.com/science/article/pii/S0960148119312649)` . [55] A. B. Khan and W. Choi, “Optimal charge pattern for the high-performance multistage constant current charge method for the li-ion batteries”, _IEEE_ _Transactions_ _on_ _Energy_ _Conversion_, vol. 33, no. 3, pp. 1132–1140, 2018. doi: `[10.1109/TEC.](https://doi.org/10.1109/TEC.2018.2801381)` `[2018.2801381](https://doi.org/10.1109/TEC.2018.2801381)` . [56] L. Patnaik, A. V. J. S. Praneeth, and S. S. Williamson, “A closed-loop constanttemperature constant-voltage charging technique to reduce charge time of lithiumion batteries”, _IEEE_ _Transactions_ _on_ _Industrial_ _Electronics_, vol. 66, no. 2, pp. 1059–1067, 2019. doi: `[10.1109/TIE.2018.2833038](https://doi.org/10.1109/TIE.2018.2833038)` . [57] M. Sabarimuthu, N. Senthilnathan, and M. Kamalesh, “Multi-stage constant current–constant voltage under constant temperature (mscc-cv-ct) charging technique for lithium-ion batteries in light weight electric vehicles (evs)”, _Electrical_ _Engineering_, vol. 105, no. 6, pp. 4289–4309, 2023. [58] U. S. Kim, J. Yi, C. B. Shin, T. Han, and S. Park, “Modeling the thermal behaviors of a lithium-ion battery during constant-power discharge and charge operations”, _Journal_ _of_ _The_ _Electrochemical_ _Society_, vol. 160, no. 6, A990, 2013. [59] J. M. Amanor-Boadu and A. Guiseppi-Elie, “Improved performance of li-ion polymer batteries through improved pulse charging algorithm”, _Applied_ _Sciences_, vol. 10, no. 3, p. 895, 2020. [60] S. Li, Q. Wu, D. Zhang, _et_ _al._, “Effects of pulse charging on the performances of lithium-ion batteries”, _Nano_ _Energy_, vol. 56, pp. 555–562, 2019. [61] M. Song and S.-Y. Choe, “Fast and safe charging method suppressing side reaction and lithium deposition reaction in lithium ion battery”, _Journal_ _of_ _Power_ _Sources_, vol. 436, p. 226 835, 2019. [62] X. Huang, Y. Li, A. B. Acharya, _et_ _al._, “A review of pulsed current technique for lithium-ion batteries”, _Energies_, vol. 13, no. 10, p. 2458, 2020. [63] H. Fang, C. Depcik, and V. Lvovich, “Optimal pulse-modulated lithium-ion battery charging: Algorithms and simulation”, _Journal_ _of_ _Energy_ _Storage_, vol. 15, pp. 359– 367, 2018. [64] S. Wang, K. Kuang, X. Han, Z. Chu, L. Lu, and M. Ouyang, “A model-based continuous differentiable current charging approach for electric vehicles in direct current microgrids”, _Journal_ _of_ _Power_ _Sources_, vol. 482, p. 229 019, 2021, issn: 0378-7753. doi: `[https://doi.org/10.1016/j.jpowsour.2020.229019](https://doi.org/https://doi.org/10.1016/j.jpowsour.2020.229019)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/](https://www.sciencedirect.com/science/article/pii/S0378775320313161)` `[S0378775320313161](https://www.sciencedirect.com/science/article/pii/S0378775320313161)` . [65] Z. Guo, B. Y. Liaw, X. Qiu, L. Gao, and C. Zhang, “Optimal charging method for lithium ion batteries using a universal voltage protocol accommodating aging”, _Journal_ _of_ _Power_ _Sources_, vol. 274, pp. 957–964, 2015. [66] A. Abdollahi, X. Han, G. Avvari, _et_ _al._, “Optimal battery charging, part i: Minimizing time-to-charge, energy loss, and temperature rise for ocv-resistance battery model”, _Journal_ _of_ _Power_ _Sources_, vol. 303, pp. 388–398, 2016, issn: 0378-7753. doi: `[https://doi.org/10.1016/j.jpowsour.2015.02.075](https://doi.org/https://doi.org/10.1016/j.jpowsour.2015.02.075)` . [Online]. Available: `[https://www.sciencedirect.com/science/article/pii/S0378775315003092](https://www.sciencedirect.com/science/article/pii/S0378775315003092)` . [67] F. Support. “Vehicles - fastned charging”. (), [Online]. Available: `[https://sup](https://support.fastned.nl/hc/en-gb/sections/4428932764573-Vehicles)` `[port.fastned.nl/hc/en-gb/sections/4428932764573-Vehicles](https://support.fastned.nl/hc/en-gb/sections/4428932764573-Vehicles)` (visited on 04/29/2024). [68] I. (2023). “Global ev outlook 2023, iea, paris”. (), [Online]. Available: `[https:](https://www.iea.org/reports/global-ev-outlook-2023)` `[//www.iea.org/reports/global-ev-outlook-2023](https://www.iea.org/reports/global-ev-outlook-2023)` (visited on 04/29/2024). [69] M. S. Houache, C.-H. Yim, Z. Karkar, and Y. Abu-Lebdeh, “On the current and future outlook of battery chemistries for electric vehicles—mini review”, _Batteries_, vol. 8, no. 7, p. 70, 2022. [70] P. Nzereogu, A. Omah, F. Ezema, E. Iwuoha, and A. Nwanya, “Anode materials for lithium-ion batteries: A review”, _Applied_ _Surface_ _Science_ _Advances_, vol. 9, p. 100 233, 2022, issn: 2666-5239. doi: `[https://doi.org/10.1016/j.apsadv.](https://doi.org/https://doi.org/10.1016/j.apsadv.2022.100233)` `[2022.100233](https://doi.org/https://doi.org/10.1016/j.apsadv.2022.100233)` . [Online]. Available: `[https://www.sciencedirect.com/science/](https://www.sciencedirect.com/science/article/pii/S2666523922000253)` `[article/pii/S2666523922000253](https://www.sciencedirect.com/science/article/pii/S2666523922000253)` . [71] X. Liu, K. Li, and X. Li, “The electrochemical performance and applications of several popular lithium-ion batteries for electric vehicles-a review”, in _Advances_ _in_ _Green_ _Energy_ _Systems_ _and_ _Smart_ _Grid:_ _First_ _International_ _Conference_ _on_ _In-_ _telligent_ _Manufacturing_ _and_ _Internet_ _of_ _Things_ _and_ _5th_ _International_ _Conference_ _on_ _Computing_ _for_ _Sustainable_ _Energy_ _and_ _Environment,_ _IMIOT_ _and_ _ICSEE_ _2018,_ _Chongqing,_ _China,_ _September_ _21-23,_ _2018,_ _Proceedings,_ _Part_ _III_ _5_, Springer, 2018, pp. 201–213. [72] S.-P. Chen, D. Lv, J. Chen, Y.-H. Zhang, and F.-N. Shi, “Review on defects and modification methods of lifepo4 cathode material for lithium-ion batteries”, _Energy_ _&_ _Fuels_, vol. 36, no. 3, pp. 1232–1251, 2022. [73] Y. Horowitz, C. Schmidt, D.-h. Yoon, _et_ _al._, “Between liquid and all solid: A prospect on electrolyte future in lithium-ion batteries for electric vehicles”, _Energy_ _Technology_, vol. 8, no. 11, p. 2 000 580, 2020. [74] E. Database. “Electric vehicle database”. (), [Online]. Available: `ev-database.org` (visited on 04/29/2024). [75] E. Database. “Renault zoe ze50 r135”. (2024), [Online]. Available: `[https://ev-](https://ev-database.org/car/1205/Renault-Zoe-ZE50-R135)` `[database.org/car/1205/Renault-Zoe-ZE50-R135](https://ev-database.org/car/1205/Renault-Zoe-ZE50-R135)` . [76] “Possible upgrades with ncm 712 battery cells from lg chem”, PushEVs. (2020), [Online]. Available: `[https://pushevs.com/2020/04/23/possible-upgrades-](https://pushevs.com/2020/04/23/possible-upgrades-with-ncm-712-battery-cells-from-lg-chem/)` `[with-ncm-712-battery-cells-from-lg-chem/](https://pushevs.com/2020/04/23/possible-upgrades-with-ncm-712-battery-cells-from-lg-chem/)` (visited on 05/23/2024). [77] L. E. Solution. “Cell solutions for powerful ev performance”. (2024), [Online]. Available: `[https : / / www . lgensol . com / assets / file / 202312 _ LGES _ cell _](https://www.lgensol.com/assets/file/202312_LGES_cell_spec_en.pdf)` `[spec_en.pdf](https://www.lgensol.com/assets/file/202312_LGES_cell_spec_en.pdf)` . [78] Z. Lyu and R. Gao, “A model-based and data-driven joint method for state-ofhealth estimation of lithium-ion battery in electric vehicles”, _International_ _Journal_ _of_ _Energy_ _Research_, vol. 43, no. 14, pp. 7956–7969, 2019. [79] X. Li, C. Yuan, and Z. Wang, “State of health estimation for li-ion battery via partial incremental capacity analysis based on support vector regression”, _Energy_, vol. 203, p. 117 852, 2020. [80] Y. Ma, P. Duan, Y. Sun, and H. Chen, “Equalization of lithium-ion battery pack based on fuzzy logic control in electric vehicle”, _IEEE_ _Transactions_ _on_ _Industrial_ _Electronics_, vol. 65, no. 8, pp. 6762–6771, 2018. doi: `[10.1109/TIE.2018.2795578](https://doi.org/10.1109/TIE.2018.2795578)` . [81] MathWorks. “Kalman”. (2024), [Online]. Available: `[https://de.mathworks.com/](https://de.mathworks.com/help/control/ref/ss.kalman.html)` `[help/control/ref/ss.kalman.html](https://de.mathworks.com/help/control/ref/ss.kalman.html)` . [82] R. R. Labbe. “Kalmanfilter”. (2024), [Online]. Available: `[https://filterpy.](https://filterpy.readthedocs.io/en/latest/kalman/KalmanFilter.html)` `[readthedocs.io/en/latest/kalman/KalmanFilter.html](https://filterpy.readthedocs.io/en/latest/kalman/KalmanFilter.html)` . [83] A. A.-H. Hussein and I. Batarseh, “An overview of generic battery models”, in _2011_ _IEEE_ _Power_ _and_ _Energy_ _Society_ _General_ _Meeting_, IEEE, 2011, pp. 1–6. [84] A. Fotouhi, D. J. Auger, K. Propp, S. Longo, and M. Wild, “A review on electric vehicle battery modelling: From lithium-ion toward lithium–sulphur”, _Renewable_ _and_ _Sustainable_ _Energy_ _Reviews_, vol. 56, pp. 1008–1021, 2016. [85] S. Tamilselvi, S. Gunasundari, N. Karuppiah, _et_ _al._, “A review on battery modelling techniques”, _Sustainability_, vol. 13, no. 18, p. 10 042, 2021. [86] G. Fan, X. Li, and R. Zhang, “Global sensitivity analysis on temperaturedependent parameters of a reduced-order electrochemical model and robust stateof-charge estimation at different temperatures”, _Energy_, vol. 223, p. 120 024, 2021. [87] S. E. Li, B. Wang, H. Peng, and X. Hu, “An electrochemistry-based impedance model for lithium-ion batteries”, _Journal_ _of_ _Power_ _Sources_, vol. 258, pp. 9–18, 2014. [88] M. Chen and G. A. Rincon-Mora, “Accurate electrical battery model capable of predicting runtime and iv performance”, _IEEE_ _transactions_ _on_ _energy_ _conversion_, vol. 21, no. 2, pp. 504–511, 2006. [89] M. d. F. B. Binelo, A. T. Z. R. Sausen, P. S. Sausen, and M. O. Binelo, “Mathematical modeling and parameter estimation of battery lifetime using a combined electrical model and a genetic algorithm”, _TEMA_ _(S˜ao_ _Carlos)_, vol. 20, pp. 149– 167, 2019. [90] M.-K. Tran, A. DaCosta, A. Mevawalla, S. Panchal, and M. Fowler, “Comparative study of equivalent circuit models performance in four common lithium-ion batteries: Lfp, nmc, lmo, nca”, _Batteries_, vol. 7, no. 3, p. 51, 2021. [91] M. A. Roscher and D. U. Sauer, “Dynamic electric behavior and open-circuitvoltage modeling of lifepo4-based lithium ion secondary batteries”, _Journal_ _of_ _Power_ _Sources_, vol. 196, no. 1, pp. 331–336, 2011. [92] S. J. Navas, G. C. Gonz´alez, F. Pino, and J. Guerra, “Modelling li-ion batteries using equivalent circuits for renewable energy applications”, _Energy_ _Reports_, vol. 9, pp. 4456–4465, 2023, issn: 2352-4847. doi: `[https://doi.org/10.1016/j.egyr.](https://doi.org/https://doi.org/10.1016/j.egyr.2023.03.103)` `[2023.03.103](https://doi.org/https://doi.org/10.1016/j.egyr.2023.03.103)` . [Online]. Available: `[https://www.sciencedirect.com/science/](https://www.sciencedirect.com/science/article/pii/S2352484723003414)` `[article/pii/S2352484723003414](https://www.sciencedirect.com/science/article/pii/S2352484723003414)` . [93] C. Seitl, “Development and implementation of a battery emulator for power hardware-in-the-loop simulations”, Ph.D. dissertation, 2014. [94] M. Zheng, B. Qi, and X. Du, “Dynamic model for characteristics of li-ion battery on electric vehicle”, in _2009_ _4th_ _IEEE_ _Conference_ _on_ _Industrial_ _Electronics_ _and_ _Applications_, 2009, pp. 2867–2871. doi: `[10.1109/ICIEA.2009.5138733](https://doi.org/10.1109/ICIEA.2009.5138733)` . [95] L. Lam, P. Bauer, and E. Kelder, “A practical circuit-based model for li-ion battery cells in electric vehicle applications”, in _2011_ _IEEE_ _33rd_ _International_ _Telecom-_ _munications_ _Energy_ _Conference_ _(INTELEC)_, IEEE, 2011, pp. 1–9. [96] C. R. Lashway and O. A. Mohammed, “Adaptive battery management and parameter estimation through physics-based modeling and experimental verification”, _IEEE_ _Transactions_ _on_ _Transportation_ _Electrification_, vol. 2, no. 4, pp. 454–464, 2016. doi: `[10.1109/TTE.2016.2558843](https://doi.org/10.1109/TTE.2016.2558843)` . [97] A. Rahmoun and H. Biechl, “Modelling of li-ion batteries using equivalent circuit diagrams”, _Przeglad_ _Elektrotechniczny_, vol. 88, no. 7, pp. 152–156, 2012. [98] O. Arregi, E. Agirrezabala, U. Iraola, _et_ _al._, “A new equivalent circuit model parametrization methodology based on current pulse tests for different battery technologies”, _Energies_, vol. 14, no. 21, p. 7255, 2021. [99] “Scipy.optimize.curve _?_ _??_ ”, The SciPy community. (2008), [Online]. Available: `[htt](https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.curve_fit.html)` ``` ps://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize. ``` `[curve_fit.html](https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.curve_fit.html)` (visited on 05/25/2024). [100] C. Balaji, “Curve fitting”, eng, in _Thermal_ _System_ _Design_ _and_ _Optimization_, Switzerland: Springer International Publishing AG, 2021, pp. 69–128, isbn: 3030590453. [101] N. Developers. “Numpy.polyfit”. (2024), [Online]. Available: `[https://numpy.org/](https://numpy.org/doc/stable/reference/generated/numpy.polyfit.html)` `[doc/stable/reference/generated/numpy.polyfit.html](https://numpy.org/doc/stable/reference/generated/numpy.polyfit.html)` . [102] “Ieee standard for floating-point arithmetic”, _IEEE_ _Std_ _754-2019_ _(Revision_ _of_ _IEEE_ _754-2008)_, pp. 1–84, 2019. doi: `[10.1109/IEEESTD.2019.8766229](https://doi.org/10.1109/IEEESTD.2019.8766229)` . [103] J. Stoer, R. Bulirsch, R. Bartels, W. Gautschi, and C. Witzgall, _Introduction_ _to_ _numerical_ _analysis_ . Springer, 1980, vol. 2. [104] MathWorks. “Battery (table-based)”. (), [Online]. Available: `[https://de.mathwo](https://de.mathworks.com/help/sps/ref/batterytablebased.html)` `[rks.com/help/sps/ref/batterytablebased.html](https://de.mathworks.com/help/sps/ref/batterytablebased.html)` (visited on 04/19/2024). [105] D. M. Hawkins, “The problem of overfitting”, _Journal_ _of_ _chemical_ _information_ _and_ _computer_ _sciences_, vol. 44, no. 1, pp. 1–12, 2004. [106] P. H. Notten, J. O. het Veld, and J. Van Beek, “Boostcharging li-ion batteries: A challenging new charging concept”, _Journal_ _of_ _Power_ _Sources_, vol. 145, no. 1, pp. 89–94, 2005. [107] MathWorks. “Estimation equivalent circuit battery”. (), [Online]. Available: `%7Bh` ``` ttps://de.mathworks.com/help/autoblks/ref/estimationequivalentcircu ``` `itbattery.html%7D` (visited on 04/19/2024). [108] MathWorks. “Ode45”. (), [Online]. Available: `[https://de.mathworks.com/help/](https://de.mathworks.com/help/matlab/ref/ode45.html)` `[matlab/ref/ode45.html](https://de.mathworks.com/help/matlab/ref/ode45.html)` (visited on 04/19/2024). [109] L. F. Shampine and M. W. Reichelt, “The matlab ode suite”, _SIAM_ _journal_ _on_ _scientific_ _computing_, vol. 18, no. 1, pp. 1–22, 1997. [110] E. Database. “Hyundai ioniq 6 77.4 kwh - full specs and price”. (), [Online]. Available: `[https://ev-database.org/de/pkw/1718/Hyundai-IONIQ-6-774-kWh](https://ev-database.org/de/pkw/1718/Hyundai-IONIQ-6-774-kWh)` (visited on 04/23/2024). [111] F. Support. “Hyundai electric vehicles charging - fastned support”. (), [Online]. Available: `[https://support.fastned.nl/hc/en-gb/articles/4405121276945-](https://support.fastned.nl/hc/en-gb/articles/4405121276945-Hyundai)` `[Hyundai](https://support.fastned.nl/hc/en-gb/articles/4405121276945-Hyundai)` (visited on 04/23/2024). [112] “Generate parameter data for equivalent circuit battery block”. (), [Online]. Available: `[https://de.mathworks.com/help/autoblks/ug/generate-parameter-](https://de.mathworks.com/help/autoblks/ug/generate-parameter-data-for-estimations-circuit-battery-block.html#References)` `[data-for-estimations-circuit-battery-block.html#References](https://de.mathworks.com/help/autoblks/ug/generate-parameter-data-for-estimations-circuit-battery-block.html#References)` (visited on 04/24/2024). [113] S. Yegulalp. “What is numpy? faster array and matrix math in python”. (2024), [Online]. Available: `[https://www.infoworld.com/article/3712923/what-](https://www.infoworld.com/article/3712923/what-is-numpy-faster-array-and-matrix-math-in-python.html)` `[is- numpy- faster - array- and- matrix- math- in- python. html](https://www.infoworld.com/article/3712923/what-is-numpy-faster-array-and-matrix-math-in-python.html)` (visited on 06/10/2024). [114] “Array objects”, NumPy Developers. (2008), [Online]. Available: `[https://numpy.](https://numpy.org/doc/stable/reference/arrays.html)` `[org/doc/stable/reference/arrays.html](https://numpy.org/doc/stable/reference/arrays.html)` (visited on 06/10/2024).

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.