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

Functional data-driven framework for fast forecasting of electrode slurry rheology simulated by molecular dynamics

관련 수소연료전지 · (7) MEA(막전극접합체) (6) PEM(고분자전해질막)

기본 정보

저자
  1. Marc Duquesnoy — ALISTORE-European Research Institute, FR CNRS 3104, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||LRCS - Laboratoire réactivité et chimie des solides - UMR CNRS 7314 (Université de Picardie Jules Verne - 33 Rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||ALISTORE-ERI - Advanced Lithium Energy Storage Systems - ALISTORE-ERI (33 rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)
  2. Teo Lombardo — Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Reseau sur le Stockage Electrochimique de l’Energie (RS2E), FR CNRS 3459, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||RS2E - Réseau sur le stockage électrochimique de l'énergie (33 rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||LRCS - Laboratoire réactivité et chimie des solides - UMR CNRS 7314 (Université de Picardie Jules Verne - 33 Rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)
  3. Fernando Caro — Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Reseau sur le Stockage Electrochimique de l’Energie (RS2E), FR CNRS 3459, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||RS2E - Réseau sur le stockage électrochimique de l'énergie (33 rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||LRCS - Laboratoire réactivité et chimie des solides - UMR CNRS 7314 (Université de Picardie Jules Verne - 33 Rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)
  4. Florent Haudiquez — Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||LRCS - Laboratoire réactivité et chimie des solides - UMR CNRS 7314 (Université de Picardie Jules Verne - 33 Rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)
  5. Alain C. Ngandjong — Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Reseau sur le Stockage Electrochimique de l’Energie (RS2E), FR CNRS 3459, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||RS2E - Réseau sur le stockage électrochimique de l'énergie (33 rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||LRCS - Laboratoire réactivité et chimie des solides - UMR CNRS 7314 (Université de Picardie Jules Verne - 33 Rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)
  6. Jiahui Xu — Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Reseau sur le Stockage Electrochimique de l’Energie (RS2E), FR CNRS 3459, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||RS2E - Réseau sur le stockage électrochimique de l'énergie (33 rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||ICMPE - Institut de Chimie et des Matériaux Paris-Est (2-8, rue Henri Dunant 94320 Thiais - France)
  7. Hassan Oularbi — Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Reseau sur le Stockage Electrochimique de l’Energie (RS2E), FR CNRS 3459, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||LRCS - Laboratoire réactivité et chimie des solides - UMR CNRS 7314 (Université de Picardie Jules Verne - 33 Rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||RS2E - Réseau sur le stockage électrochimique de l'énergie (33 rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)
  8. Alejandro A. Franco — ALISTORE-European Research Institute, FR CNRS 3104, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Institut Universitaire de France, 103 Boulevard Saint Michel, 75005, Paris, France|||Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||Reseau sur le Stockage Electrochimique de l’Energie (RS2E), FR CNRS 3459, Hub de l’Energie, 15, rue Baudelocque, 80039, Amiens, Cedex, France|||LRCS - Laboratoire réactivité et chimie des solides - UMR CNRS 7314 (Université de Picardie Jules Verne - 33 Rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||RS2E - Réseau sur le stockage électrochimique de l'énergie (33 rue Saint-Leu - 80039 AMIENS CEDEX 1 - France)|||IUF - Institut universitaire de France (Maison des Universités 103 Boulevard Saint-Michel 75005 Paris - France)
DOI
10.1038/s41524-022-00819-2
저널
npj Computational Materials
발행년도
2022
발행기관
Nature Portfolio
피인용수
20
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41524-022-00819-2
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4286488913

평가 내용

관련도
관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
(6) PEM(고분자전해질막)
R&D 측면
분석·모델링
확신도
0.90
근거 용어
electrode slurry, rheology, viscosity, molecular dynamics, machine learning
판단 근거
이 논문은 리튬이온배터리 전극 슬러리의 유변학적 특성(점도)을 분자 동역학(MD) 시뮬레이션과 머신러닝을 결합하여 빠르게 예측하는 프레임워크를 다룹니다. 이는 코오롱인더스트리의 수소연료전지용 MEA 및 전극 관련 연구(7번) 및 고분자 소재의 물성 예측 기술과 직접적인 연관성이 있습니다.
R&D 활용 포인트
전극 슬러리 제조 공정에서 고분자 바인더 및 활물질의 배합에 따른 점도 변화를 시뮬레이션할 때, 머신러닝 기반의 가속화된 예측 모델을 도입하여 R&D 비용과 시간을 단축하는 데 참고할 수 있습니다.
평가 입력
본문 55,231자 중 30,032자 발췌

초록

초록이 없습니다.

본문 55,231자

본문 펼치기
/ pj p ARTICLE OPEN # Functional data-driven framework for fast forecasting of electrode slurry rheology simulated by molecular dynamics Marc Duquesnoy <sup>1,2</sup>, Teo Lombardo <sup>1,3</sup>, Fernando Caro <sup>1,3</sup>, Florent Haudiquez <sup>1</sup>, Alain C. Ngandjong <sup>1,3</sup>, Jiahui Xu <sup>1,3</sup>, Hassan Oularbi <sup>1,3</sup> and [1,2,3,4](http://orcid.org/0000-0001-7362-7849) ✉ Alejandro A. Franco The computational simulation of the manufacturing process of lithium-ion battery composite electrodes based on mechanistic models allows capturing the influence of manufacturing parameters on electrode properties. However, ensuring that these properties match with experimental data is typically computationally expensive. In this work, we tackled this costly procedure by proposing a functional data-driven framework, aiming first to retrieve the early numerical values calculated from a molecular dynamics simulation to predict if the observable being calculated is prone to match with our range of experimental values, and in a second step, recover additional values of the ongoing simulation to predict its final result. We demonstrated this approach in the context of the calculation of electrode slurries viscosities. We report that for various electrode chemistries, the expected mechanistic simulation results can be obtained 11 times faster with respect to the complete simulations, while being accurate <mark>with</mark> <mark>a</mark> <mark>R</mark> <sup>2</sup> <mark>score</mark> <sup><mark>equals</mark></sup> <sup><mark>to</mark></sup> <sup><mark>0.96.</mark></sup> <mark>npj</mark> <mark>Computational</mark> <mark>Materials</mark> <mark>(2022)8:161</mark> <mark>;</mark> <mark>[https://doi.org/10.1038/s41524-022-00819-2](https://doi.org/10.1038/s41524-022-00819-2)</mark> INTRODUCTION In a modern world where Artificial Intelligence (AI) and Machine Learning (ML) applications are blooming <sup>1,2</sup>, one may think that the use of more traditional mechanistic models based on mathematical descriptions of physical processes is becoming obsolete. However, this is not true since mechanistic models still represent nowadays essential tools to support the analysis of complex systems. In contrast to empirical models (and per se ML approaches), which study the reality to develop equations that are able of describing such reality, mechanistic models are based on theoretical knowledge to predict real-world behavior. Models of this kind are omnipresent in numerous domains such as medicine <sup>3</sup>, energy storage <sup>4,5</sup>, nanotechnology <sup>6</sup>, biology <sup>7,8</sup>, and environmental sciences <sup>9</sup> . The significant progress in computational hardware achieved in the last decades boosted the emergence of a massive amount of academic and commercial software <sup>10,11</sup>, allowing to solve the equations behind mechanistic models describing systems with increasing complexity <sup>12,13</sup> . One of the application fields for such models is the manufacturing process of lithium-ion batteries (LIBs) <sup>14</sup> . This process encompasses multiple steps and parameters which are interlinked (Figure 1) <sup>15,16</sup> . Such steps concern the slurry preparation, its coating and drying, the calendering of the resulting electrode, the cell assembly, the electrolyte infiltration, and the formation of the solid electrolyte interphase <sup>17–20</sup> . This complex process has been historically simulated using empirical models with parameters fitted considering experimental trends or by using mechanistic models based, for instance, on the continuum fluid dynamics (CFD) approach <sup>21</sup> . In recent years, mechanistic models allowing to predict the electrode microstructure in 3D, as a function of the manufacturing parameters, started to emerge, in particular through our contributions <sup>22,23</sup> . These 3D mechanistic models account for the explicit spatial location and trajectory of active material (AM) and carbon-binder domain (CBD) phases (Figure 1) <sup>4,24,25</sup> . As an example of what happens during the slurry and the drying steps, these models are supported by the coarsegrained molecular dynamics (CGMD) approach accounting for attractive and repulsive forces (force fields (FFs)) between the considered particles <sup>5</sup> . FFs enable to correctly set the CGMD mechanistic model, which can track the spacial location evolution of particles, facilitating the analysis of electrode properties with time. For the case of the calendering step, mechanistic models are supported by the Discrete Element Method (DEM). Given the different steps and dedicated models, it appears meaningful to concatenate these models into a single calculation loop to support the modeling of the full manufacturing process, allowing to evaluate various properties as a function of the manufacturing parameters in a straightforward way <sup>26</sup> . Despite the continuous improvement in the numerical methods used to closely match the experimental data, the execution of these methods is usually time and resources consuming. The overall time and resources required to recover the complete simulation process determine the computational cost of the corresponding simulation and vary as a function of the specific model handled. A high computational cost narrows the number of possible parameter sets that is feasible to consider for testing other conditions <sup>27</sup>, preventing the use of mechanistic models in a high-throughput way <sup>28–31</sup> . In the battery manufacturing context, this is especially true since the mechanistic models have a significant computational cost for the generation of 3Delectrode microstructures, but they still need to be run in order to generate the high-fidelity data required for the mechanistic model’s validation by comparison with experimental observables needed for the correct setting of FFs. One of these observables is the slurry viscosity as a function of the applied shear rate, which is sensitive to various of the properties of the powders such as the 1Laboratoire de Réactivité et Chimie des Solides (LRCS), UMR CNRS 7314, Université de Picardie Jules Verne, Hub de l’Energie, 15, rue Baudelocque, 80039 Amiens, Cedex, France. 2ALISTORE-European Research Institute, FR CNRS 3104, Hub de l’Energie, 15, rue Baudelocque, 80039 Amiens, Cedex, France. 3Reseau sur le Stockage Electrochimique de l’Energie (RS2E), FR CNRS 3459, Hub de l’Energie, 15, rue Baudelocque, 80039 Amiens, Cedex, France. <sup>4</sup> Institut Universitaire de France, 103 Boulevard Saint Michel, 75005 Paris, France. <sup>✉</sup> email: [alejandro.franco@u-picardie.fr](mailto:alejandro.franco@u-picardie.fr) 2 M. Duquesnoy et al. Fig. 1 Schematic of the first steps in the lithium-ion battery electrode manufacturing process which illustrates 3D-generated microstructures resulting from their mechanistic computational modeling. Our modeling methodology focuses first on the electrode slurry and can describe slurries made with different active material chemistries: LiNi0.33Mn0.33Co0.33O2 (NMC-111), Graphite, and LiFePO4 (LFP). particle size distribution of the AM, the weight ratio between AM and carbon-binder, as well as the solid content in the slurry. Once the slurry microstructure is predicted by the CGMD model, nonequilibrium molecular dynamics (NEMD) simulations are performed to calculate the shear-viscosity curve (γ-η curve) which is compared with the experimental one (see the Supplementary Discussion and Supplementary Figure 1 for the explanations of the working principles of the NEMD approach). The execution time of each calculation must be long enough to achieve convergence and reach a stable viscosity value, usually leading to high overall computational costs. However, ML techniques can be easily combined with mechanistic models to reduce their computational cost. They are very popular nowadays to help researchers move away from pure trial-and-error experimental approaches, to facilitate property calculations, and to ease the parameterization of mechanistic models <sup>32,33</sup> . For instance, Wang et al. applied different ML algorithms to analyze molecular dynamics simulations <sup>34</sup>, whereas Adam et al. combined neural networks with physics-based models to improve the accuracy of lithographic process modeling <sup>35</sup> . From an industrial perspective, Maleh et al. studied the use of ML techniques for Internet of Things (IoT) intrusion detection in aerospace cyber-physical systems <sup>36</sup>, and Tuncali et al. evaluated cyber-physical systems with ML in the context of autonomous driving systems <sup>37</sup> . In contrast to usual data analysis techniques for multivariate data sets, Functional Data Analysis (FDA), which is typically used to process time series, can be also connected with ML techniques for the forecasting or prognostic of such time series <sup>38</sup> . Therefore, this coupling can constitute a straightforward solution to deal with time-dependent data from mechanistic models in order to contribute in their computational cost reduction <sup>39</sup> . In this work, we tackled the issue of computational cost reduction of 3D-resolved mechanistic models for electrode slurry rheology simulation with molecular dynamics through the use of a functional data-driven framework for fast predictions of their simulation results. Briefly, this framework bases its operation on only executing the first numerical steps (i.e. time frames) of the mechanistic simulation to retrieve early numerical values, and then bypassing the full simulation process by predicting its final results without the need to run it until the end. More precisely, the aforementioned framework proposes first a screening step, whose main goal is to identify running simulations that will end with a result in a range of interest for our manufacturing modeling, e.g. expected to provide results comparable with the experimental data, in order to validate the CGMD mechanistic model of the electrode slurry. Second, it proposes a forecasting step to quickly predict the NEMD results, considering only the previously filtered simulations within the range of interest. Both steps couple two algorithms: one based on Functional Principal Component Analysis (FPCA) achieving compression of the time series in a low dimensional space (i.e. dimensionality reduction), and another one based on K-Nearest-Neighbors (KNN) performing the predictive task. We applied this framework for electrode slurry modeling based on NEMD after accumulating simulations over three different LIB electrode AM chemistries, making the framework extensive to different materials <sup>40</sup> . We tracked the evolution of the calculated viscosity values (η) along the simulation process to determine the shear-viscosity curve (γ-η curve). It is calculated point by point, i.e. a shear rate is applied through the deformation of the simulated slurry box to define the time series. Despite the particular illustration here for the case of LIB electrode slurries, the proposed framework can be also applied to other fields where mechanistic models are employed to generate time series data providing a significant computational cost reduction, but also making feasible a faster optimization process. RESULTS AND DISCUSSION NEMD calculations of electrode slurry viscosities generate discretized values at each numerical step (time frames) along the calculation process. Those steps are independent of the allocated resources used and produce a list of numerical values to constitute a viscosity curve as a function of time. Such a curve (written here X(t)) is the descriptor of one simulation, and the appropriate data treatment of this curve requires fixing the number of time frames for the definition of the corresponding functional space I <sup>41</sup> . The functional form of a viscosity vs. time curve is written X ¼ fXðtÞ; t 2 Ig I � R <sup>þ</sup> (1) FDA properly carries out those types of variables by defining highly regular data over the space I through smoothing techniques. FDA has shown to be a very relevant approach in numerous contexts, for instance in clinical studies <sup>42</sup>, sports performance analysis <sup>43</sup>, or materials discovery <sup>44,45</sup> . Within this study, we applied a FPCA on time series data as a tool to achieve their compression (dimensionality reduction), making possible to recover new variables that will be employed as input values of ML models for further predictive tasks. In particular, FPCA obtains high variability on a meaningful low dimensional representation of time series <sup>46,47</sup> . Such data processing is already well known within the usual principal component analysis (PCA) <sup>48</sup>, but here it is extended to the functional form of time series. FPCA requires a smoothing technique to reconstruct a set of discrete values from time series (equation (1)), over the functional M. Duquesnoy et al. Fig. 2 Data treatment of the NEMD simulation for the assessment of the simulation results. a The slurry microstructure evolution and associated viscosity (η) during the NEMD simulation were handled to assess the slurry viscosity at a given shear rate (γ). The last 1000 viscosity values from a single simulation are used as a vector to calculate an average value (μ) and a standard deviation (σ). These latter values enable to color-code the slurry viscosity evolution within a box, where the two limits are the average plus and minus the standard deviation (μ ± σ). b Empirical natural log distribution of the average slurry viscosity value (η) associated with the mechanistic simulations carried out in this study. The black arrow illustrates the range of interest for the simulated viscosity values. 3 space. The latter space is characterized by a set of basis functions, that enables a basis decomposition of time series in a finitedimensional space <sup>49</sup> . Considering a time series like the one in equation (1), and a set of basis functions ϕ = {ϕ1, ϕ2, . . ., ϕp} all defined on I (p ≥ 1), X(t) is given by X ¼ XðtÞ ¼ Xp i¼1 ci ´ ϕiðtÞ ðci; tÞ 2 R ´ I (2) supervised ML implementations of our framework for predictive tasks. The main advantages concern the possibility to decrease the training time due to a narrowed number of possible input variables combinations, but also to avoid overfitting during the training step <sup>52,53</sup> . The latter-mentioned fitting usually happens when the feature space becomes increasingly sparse with a high number of parameters (inputs), since ML models can be very sensitive to a small set of parameters <sup>54</sup> . Therefore, the application of dimensionality reduction for time series helps, in that sense, to represent a meaningful data processing for defining inputs of ML models. Table 2 in the Methods section illustrates the number of inputs per algorithm. In our framework, we coupled such a FPCA with a supervised ML algorithm to perform two different predictive tasks, being the two pillars of our study. Simulations in the range of interest To speed up the validation of the electrode slurry simulation, we are interested on predicting in advance the range in which the values of the viscosity NEMD calculations will fall in the end, allowing us to keep only the X(t) that will likely reach values close to the experimental ones. Indeed, it is not useful to keep running electrode slurry simulations which offer viscosity values that are likely to be far away from the experimental values. More precisely, in our viscosity tests we applied a shear rate (deformation of the slurry microstructure illustrated in Figure 2a) of 0.1–1000 s <sup>−1</sup> corresponding to viscosity values between 0.1 and 50 Pa s. It is therefore reasonable to model the viscosity in this range of values, since these are the viscosity values that make the electrode slurry dense. As a result, we consider predicting whether a running simulation will end up with a result in this range of values. Otherwise, it means that this simulation will provide viscosity values that are too far from the expected experimental values and that it can be stopped in order to free up the hardware used for where the set c = {c1, c2, . . ., cp} is the vector of basis coefficients, which describes X as a finite number of values. The basis family most commonly used to perform this type of decomposition is the B-Spline family <sup>50</sup> . The latter consists on interpolating time series with a family of polynomial functions (basis functions) which are sufficiently differentiable in discrete knots. Considering I = [I0, I1] with I0 = t0 < t1 < . . . < tp = I1, each polynomial is defined in sub-intervals of I, expressed by ðtiÞði�pÞ values. These polynomials are positive on at most p sub-intervals, and their degree is equal to 3 in this study. This data processing initializes the FPCA which estimates M eigenfunctions ðψiÞði�MÞ associated to M eigenvalues ðνiÞði�MÞ, and finally M scores ðρi;jÞði�MÞ representing the projection of the j-st time series (Xj(t)) along the new axis, also called functional principal components. Following the Karhunen–Loève decomposition, Xj(t) is expressed as XjðtÞ ¼ <sup>PM</sup> m¼1 <sup>ρ</sup> m;j <sup>´ ψ</sup> m51. In particular, M is very limited compared to the initial length of the time series, since the FPCA must keep as much variability (variance) as possible from them in a short set of functional principal components, which illustrates the concept of dimensionality reduction (see the Supplementary Methods for the mathematical explanations of the FPCA). In the end, the resulting M scores are sufficient to describe each time series in a discrete manner and can be used as input values to embed further <sup>M</sup> m¼1 <sup>ρ</sup> m;j <sup>´ ψ</sup> m 51. 4 M. Duquesnoy et al. Fig. 3 Schematic representation of the functional framework with the different steps to fast forecast the mechanistic simulation results. M and N are the two quantities considered of numerical values already generated by the simulation to assess the time series for the screening and the forecasting steps. Such a framework illustrates how a running simulation is handled during its processing taking only into account the early numerical steps, to then predict its final results and decrease the overall computational cost. the computations and to run another simulation associated with other conditions. The simulation result is calculated on the final behavior of the simulation as Figure 2a displays. In fact, we used the average of the numerical values resulting from the last 1000 time frames to assess the result of a simulation (i.e. μ). We labeled each NEMD simulation by a binary value representing if its result is falling into the range of values [0.1; 50] Pa.s. Then, we determined the first pillar (called supervised classification in the ML terminology) of our framework, achieving the screening of mechanistic simulations in the very first numerical steps, by predicting if a running simulation will be ending with a result in the range of interest defined above. The prediction provided concludes on the interest of a running mechanistic simulation to let it continue for forecasting its viscosity result. This represents an automatized go or no go decision in our framework (Figure 3) that allow us to only focus on running simulations that are in a range of interest due to similarities with experiments through the analysis of how the simulation behaves within the early numerical values. K-Nearest-Neighbors This screening step (classification step) within the aforementioned framework is executed using a KNN classification <sup>55</sup> . One basis of the algorithm is the memorization of distances between data from the features space. The latter, which is defined by the functional principal components from the FPCA, enhances calculations of sparse distances between time series (inputs) to make a meaningful choice for our study <sup>56</sup> . The KNN algorithm relies on the choice of k neighbors and a distance metric to evaluate pairwise distances between input data, to then attribute a prediction (output) for unseen input data based on the outputs of its k nearest neighbors <sup>57</sup> . Moreover, the right choice of k is crucial to take into account a suitable number of neighbors when predicting the output. This affects the predictive capabilities of the KNN. In this direction, the algorithm is straightforward and can be summarized as follows (see Supplementary Figure 2 for the graphical interpretation of the KNN algorithm): i. Choose the number of neighbors k; ii. Calculate the distance between data considering a specific metric; iii. Get the k nearest neighbors for another data we want to predict; iv. Assign the associated output by a majority vote (classifica tion), or by an average value (regression), for the outputs of its k nearest neighbors. From the perspective of the framework, the chosen number of time frames to determine the time series in the screening step must be low, since the actual efficiency achieved when making the prediction within the early numerical steps is mainly determined by this parameter. Moreover, this enables us to stop quickly a running simulation if the latter does not fall within the range of interest for our slurry modeling. This is particularly meaningful in our accelerated computational methodology for freeing up computational resources and then launching another simulation with other operating conditions. This is discussed in more detail below by comparing the predictive capabilities of the KNN classification as a function of the number of time frames for the time series definition. Fast forecasting from mechanistic simulations The second pillar of the aforesaid framework concerns the fast prediction of the results, only for mechanistic simulations that have been previously considered in the range of interest, as Figure 3 displays. In this second stage, the results represent now the complete information we can extract from the last numerical steps of the simulation. As Figure 2a shows, it is not only the average value (μ) but also the standard deviation (σ) from the vector formed by the numerical values of slurry viscosities within the last 1000 time frames. This collection of numerical values was empirically set to deal with the variability of the viscosity behavior along the simulation process, based on the available mechanistic simulations in the dataset (Figure 4 encompasses various viscosity behaviors to emphasize the application of our functional framework for the data processing of viscosity curves for its forecasting purpose). These results not only provide the final average viscosity of the associated simulation but also the corresponding standard deviation of the final viscosity, which describes how the last 1000 viscosity values behave around μ. To achieve this forecasting step, we also couple a FPCA with a KNN algorithm, but in the context of a supervised regression for the latter algorithm considering in this case two outputs, i.e. μ–σ, and μ+σ. In addition to the previous time series assessment in the screening step, we used another number of time frames to recover additional numerical values of the ongoing simulations to define the time series (Figure 3) for the dimensionality reduction M. Duquesnoy et al. Fig. 4 Graphical representation of a few examples of mechanistic simulations with various slurry viscosity evolutions along with the time frames. We highlight the early numerical values to represent the viscosity curve taken into account in the screening, and forecasting steps if applicable, as well as the last 1000 numerical values serving for the calculation of associated simulation results. As it can be noticed, the numerical values in between are removed for the schematic representation of the framework's purpose. See Supplementary Figure 3 for the full-length simulations corresponding to these examples. M and N still represent the time frames selected to define time series for the screening and forecasting step. The threshold represents the upper limit for our range of interest. 5 here in the forecasting step. In practice, a simulation is executed until a convergence criteria is satisfied and a stable value is reached to define its final result (Figure 4). This suggests that by recovering the numerical values within a large number of time frames, we may expect the KNN regression to provide predictions that are very close to the simulation result. Moreover, this action does not reduce the computational cost since the simulation runs for a large number of time frames. As a consequence, the forecasting step balances the number of time frames to use for the definition of the time series, and that will define the corresponding computational cost to fast predict the simulation result, with the level of predictive capabilities for the KNN. We compared these predictive capabilities of the KNN regression (as for the classification) for different numbers of time frames to find the best compromise. The results are discussed below. Datasets The time series were extracted from NEMD simulations to capture the rheological behavior of LIB slurries (viscosity vs. shear rate). Simulations were launched using the LAMMPS software <sup>10</sup> . In total, we executed 2172 simulations coming from the modeling of three different slurries to build a complete data set: 1773 from NickelManganese-Cobalt (NMC), 183 from graphite, and 216 from Lithium-Iron-Phosphate (LFP) slurries. We noticed that the type of chemistry does not determine an input value for the KNN algorithm, since only the corresponding rheological behavior was used for our data processing. The LAMMPS code was executed using the MatriCS HPC platform from the Université de Picardie Jules Verne (Amiens, France) <sup>58</sup> . In total, the number of time frames to reach stable viscosity values (η) was between 1450 and 1800, with an average number equal to 1734. In the screening step, all the executed simulations were used as a functional dataset to train and test our KNN classification. The training dataset contained 80% of simulations randomly selected from the functional dataset, and the testing dataset contained the remaining 20%. In the forecasting step, only simulations labeled in the range of interest were used to form another functional dataset to train and test our KNN regression, whose size is equal to 1927 simulations. Time frames selection We chose the number of time frames to set each time series according to what is presented in Figure 5, where the trends for the predictive capabilities, i.e. validation metrics, as a function of the number of time frames to set time series for the screening and forecasting step are displayed. Figure 5c reflects a straightforward graphical representation of the overall compromise between the maximization of the validation metrics and the maximization of the computational efficiency (inversely proportional to the computational cost), illustrating a desirable best compromise found in between. In this context, the higher the time required to predict the simulation results, the lower the computational efficiency achieved. For each selected number of time frames, we calculated a numerical mean of the validation metrics by generating a random training/testing dataset 20 times. It is particularly important to avoid a biased calculation of the validation metrics by only considering one single random split of the data into the training and testing datasets. The selected validation metrics and their optimization through hyperparameter tuning are detailed in the Methods section below. We retained a number of time frames equal to 100 for the screening step, whereas the number for the forecasting step was equal to 150. As expected, Figure 5a and b show increasing trends in the validation metrics when incrementing the number of time frames, while they start to stagnate from those two chosen numbers. In the end, the corresponding validation metrics were on average equal to 0.84 and 0.90 for the Recall and F1score (KNN classification), and equal to 0.97 and 0.96 for the R <sup>2</sup> score <sup>of</sup> <sup>both</sup> outputs (KNN regression). Computational cost decrease In terms of the computational cost reduction, the framework enables us to use time series defined over 100 (screening step) and 150 (forecasting step) time frames to accurately predict the different results from a running simulation. Considering the average number of time frames to execute a mechanistic simulation in the common slurry modeling approach detailed above (i.e. 1734 time frames), we have successfully developed an efficient framework that is able to determine the slurry viscosity 11 times faster. Furthermore, the same framework determines if the final result of a running simulation will fall or not into the expected range of experimental values 17 times faster. These results illustrate a drastic reduction of the time required to recover the simulation outputs, and also to provide quickly some information on how a given simulation behaves. In addition, it is essential to discard running simulations that are not in the range of interest, corresponding to viscosity values far too high to be representative of any of our experimental conditions <sup>5</sup> . Moreover, the fast prediction of simulation results enables the allocation of free available resources on an HPC platform for another simulation to fast study other operating conditions. In the battery manufacturing context, such an advantage facilitates to seek the best parameter set that 6 M. Duquesnoy et al. Fig. 5 Time frame selection based on the validation metrics from the training of different KNN models. a Evolution of the average Recall and F1score as a function of the number of time frames. The latter defines the time series needed for the FPCA within the screening step of the framework. The black slight bar represents the standard deviation (SD) around the mean value of the validation metric. b Evolution of the average R <sup>2</sup> score <sup>as a function of the number of time frames for each KNN output. The latter defines the time series needed for</sup> <sup>the FPCA within</sup> the forecasting step of the framework. c Graphical representation of the best compromise between the validation metrics and the corresponding computational efficiency to calculate the simulation results for the time frame selection. The green trend illustrates the results from a and b and the orange one is a simplification of the evolution of the computational efficiency function of time frames to clarify the overall compromise. The expected best compromise is illustrated where both trends plateau. Fig. 6 Regression plots to evaluate the predictive capabilities of the KNN regression for the fitting of μ ± σ. a Comparison of the predicted values against the real values, for mechanistic simulations associated with the Graphite within the testing data set. b Comparison of the predicted values against the real values, for mechanistic simulations associated with the LFP within the testing data set. c Comparison of the predicted values against the real values, for mechanistic simulations associated with the NMC-111 within the testing data set. maximizes a given observable among extensive possibilities, triggering further and faster optimization processes of mechanistic model parameters. Chemistry neutral approach According to the R <sup>2</sup> score <sup>corresponding to the two KNN’s outputs</sup> (μ ± σ) that were calculated with the testing dataset, we can observe that our framework is able to forecast simulation results in a highly reliable manner. Figure 6 displays the regression plots related to the retained KNN regression. We compared the predicted values against their corresponding real full-length simulation results by separating the testing dataset for each material, despite the fact that the training process did not take into account the chemistry as an input value. This graphical representation reflects how accurate is the framework M. Duquesnoy et al. 7 to make predictions regardless of the specific chemistry considered during the mechanistic simulation. Therefore, we calculated the R <sup>2</sup> score <sup>over</sup> <sup>each</sup> <sup>material</sup> <sup>and</sup> <sup>concluded,</sup> <sup>as</sup> it can be also seen in the same Figure 6, that the framework provides overall high validation metrics without differences in the results. Besides these global predictive capabilities, our framework has the specificity of being chemistry neutral, enlarging the practical application of our tool for the slurry modeling to any of the numerous chemistry used in the battery field during this first step of the battery manufacturing process. In this study, we presented a functional data-driven framework for fast predictions of mechanistic simulation results, from the very first numerical iterations without the need to run the simulation until the end. We demonstrated this data-driven approach for the case of viscosity calculations versus applied shear rate for LIB electrode slurries, with different AM chemistries. Such calculations are supported on NEMD and are usually computationally expensive. The aforementioned framework quickly determined slurry viscosities within the forecasting step, leading to a computational cost reduction by a factor 11. Besides, such a framework also enabled us to predict if a simulation will end within the range of interest for experimental comparisons 17 times faster within the screening step. This early determination is enhanced by the inclusion of mechanistic simulations coming from different materials, making it possible to apply the framework for chemistries that are widely used in the battery field. In terms of predictive capabilities, the KNN classification reached an F1score equals to 0.90, whereas the KNN regression achieved overall R <sup>2</sup> score <sup>equal to 0.97 and 0.96 for both</sup> KNNs outputs. Moreover, we obtained the same range of values when computing the validation metrics for each specific material. These validation metrics show the high predictive capabilities of the framework regardless of the chemistry associated with a mechanistic simulation. In particular, the results presented in this work demonstrate that our framework is able to treat mechanistic simulations as time series, for the application of FDA techniques to embed supervised learnings performing predictive tasks. In this way, it serves as a tool to support the training process of those ML algorithms aimed at analyzing the rheology of the electrode slurries. As a perspective, it is important to highlight that the proposed framework can be transferred to any other field where mechanistic models generate time series, to then benefit from a drastic decrease in the corresponding computational costs. This is the case on a plethora of physical scales, e.g. materials properties from their electronic structure <sup>59</sup> or the dynamics of colliding galaxies derived from gravitational forces <sup>60</sup> and gas hydrodynamics <sup>61</sup> . In the context of battery modeling, other steps of the manufacturing chain can be also optimized with such an accelerated computational methodology, for instance the DEM modeling of the calendering process which tracks electrode properties along time (e.g. porosity). METHODS Validation metrics We evaluated the performance of both the KNN classification and the regression by using two different metrics on the testing data sets. The F1score <sup>62</sup> and, especially, the corresponding Recall score were used to validate the KNN classification, whereas we assessed the goodness of the fitting for the KNN regression with the R <sup>2</sup> score63. The first mentioned metric corresponds to the harmonic mean of the Precision and Recall (equation (3)) and from its optimization a binary classifier should reduce the number of incorrect predictions and simultaneously increase the number of correct ones. In our context, this is especially relevant due to the large number of mechanistic simulations with a final result lower than the threshold of 50 Pa.s, compared to the number of mechanistic simulations with a final result greater than 50 Pa.s. within the dataset. As an example, we considered minimizing the error from the KNN classification to predict a running simulation, although its real full-length result is far too high to be representative of the expected experimental conditions. This is reported in Table 1 with the confusion matrix corresponding to the KNN classification instances. <u>TP</u> <u>TP</u> Precision ¼ Recall ¼ (3) TP þ FP TP þ FN where the Recall allows minimizing FN, as expressed above <sup>64</sup> . The second mentioned metric (R <sup>2</sup> score <sup>)</sup> <sup>was</sup> <sup>computed</sup> <sup>to</sup> <sup>assess</sup> how close are the predicted simulation results from their real fulllength simulation results. The higher the score, the lower the discrepancy between the prediction and the real value. Such a score is calculated as follows Xn i¼1 ðyi - <u>yÞ</u> <sup>2</sup> (4) R <sup>2</sup> score <sup>¼ 1 �</sup> Xn i¼1 ðyi - yeiÞ <sup>2</sup> = where yi, yei, and ȳ are the predicted values by the deterministic learning, the real value from the data set, and the average of the real values respectively. Computational details The functional framework applies an FPCA on time series for the screening and forecasting step, using a B-spline decomposition with a set of knots whose size is equal to 60% of the time series length. FPCAs provided a set of functional principal components corresponding to 99% of the initial variability (variance) from the initial data set. Table 2 summarizes the different number of input values regarding each algorithm within the framework. This illustrates how the latter narrows the overall information from the time series, reducing the number of input values which is beneficial for the KNNs training process. Hyperparameters tuning All validation metrics within our study were obtained by tuning the hyperparameters of both KNN classification and regression <sup>65</sup> . In practice, the number of nearest neighbors (k) is difficult to assess while initializing a random value. To deal with this, we used cross-validation (CV) through the GridsearchCV function <sup>66</sup> available within the common Scikit-Learn library of Python. We empirically set the number of CV splits at five to not increase the training time. Table 3 reflects the results obtained for the hyperparameters tuning. Table 1. Summary of the possible instances, i.e., predictions, in the case of the KNN classification, for the screening of mechanistic simulations. KNN classification’ instance Interpretation Confusion matrix True positive (TP) Irrelevant simulations predicted as irrelevant 10.5% True negative (TN) Relevant simulations predicted as relevant 85.5% False positive (FP) Relevant simulations predicted as irrelevant 2% False negative (FN) Irrelevant simulations predicted as relevant 2% For the sake of simplicity, we replaced the meaning of a simulation to end within the range of interest by relevant, and its opposite case by irrelevant. 8 M. Duquesnoy et al. Table 2. Summary of the number of values taking action of the screening step (classification) and the forecasting step (regression) in the functional framework. Parameters Screening Forecasting Initial length of time series 100 150 Number of knots in the basis decomposition 60 90 Number of functional principal components 10 15 Number of input values for the KNN 10 15 The initial length of the time series can be compared with the number of input values of both KNNs, illustrating the dimensionality reduction from the functional data analysis. Table 3. Hyperparameters tuning from the cross-validation, for the KNN classification and regression. Hyperparameter Screening Forecasting Number of nearest neighbors k = 28 k = 7 Distance metric Manhattan Minkowski Power parameter 1 2 Others KNN hyperparameters are set with initial values proposed by the function. DATA AVAILABILITY This study did not generate new unique materials. Data and codes are available upon [reasonable request. They will be made available in ARTISTIC-ERC/FunctionalSimulations](https://github.com/ARTISTIC-ERC/FunctionalSimulations) (official ARTISTIC project GitHub page) and [MarcDuquesnoy/FunctionalSimulations.](https://github.com/MarcDuquesnoy/FunctionalSimulations) Received: 7 January 2022; Accepted: 30 May 2022; REFERENCES 1. Dean, T., Allen, J. & Aloimonos, Y. Artificial intelligence: theory and practice (Benjamin-Cummings Publishing Co., Inc., 1995). 2. Patterson, D. Introduction to artificial intelligence and expert systems (PrenticeHall, Inc., 1990). 3. Kohl, M. et al. Physical model for the spectroscopic analysis of cortical intrinsic optical signals. Phys. Med. Biol. 45, 3749 (2000). 4. Ngandjong, A. C. et al. Investigating electrode calendering and its impact on electrochemical performance by means of a new discrete element method model: towards a digital twin of li-ion battery manufacturing. J. Power Sources 485, 229320 (2021). 5. Lombardo, T. et al. Accelerated optimization methods for force-field parametrization in battery electrode manufacturing modeling. Batter. Supercaps 3, 721–730 (2020). 6. Maingi, V. et al. Stability and dynamics of membrane-spanning dna nanopores. Nat. Commun. 8, 1–12 (2017). 7. Warfield, S. K. et al. Real-time biomechanical simulation of volumetric brain deformation for image guided neurosurgery. 23–23 (SC ’00: Proceedings of the 2000 ACM/IEEE Conference on Supercomputing, 2000). 8. Souza, P. C. T. et al. Martini 3: a general purpose force field for coarse-grained molecular dynamics. Nat. Methods 18, 382–388 (2021). 9. Sloane, C. S. & Wolff, G. T. Prediction of ambient light scattering using a physical model responsive to relative humidity: validation with measurements from detroit. Atmos. Environ. 19, 669–680 (1967). 10. FrantzDale, B., Plimpton, S. J. & Shephard, M. S. Software components for parallel multiscale simulation: an example with lammps. Eng. Comput. 26, 205–211 (2010). 11. MathWorks. Simulink. [https://fr.mathworks.com/products/simulink.html.](https://fr.mathworks.com/products/simulink.html) Accessed on 07.18.2021. 12. [Cloud, G. Vertex AI. https://cloud.google.com/ai-platform. Accessed on 07.18.2021.](https://cloud.google.com/ai-platform) 13. Microsoft, A. Azure Machine Learning. [https://azure.microsoft.com/fr-fr/services/](https://azure.microsoft.com/fr-fr/services/machine-learning/) [machine-learning/.](https://azure.microsoft.com/fr-fr/services/machine-learning/) Accessed on 07.18.2021. 14. Slezak, L. Annual progress report 2009, office of freedom car and vehicle technologies. US Department of Energy, Washington (2009). 15. Duquesnoy, M. et al. Data-driven assessment of electrode calendering process by combining experimental results, in silico mesostructures generation and machine learning. J. Power Sources 480, 229103 (2020). 16. Thomitzek, M. et al. Simulating process-product interdependencies in battery production systems. Procedia CIRP 72, 346–351 (2018). 17. Li, J., Fleetwood, J., Hawley, W. B. & Kays, W. From materials to cell: state-of-the-art and prospective technologies for lithium-ion battery electrode processing. Chem. Rev. 122, 903–956 (2021). 18. Cunha, R. P., Lombardo, T., Primo, E. N. & Franco, A. A. Artificial intelligence investigation of NMC-cathode manufacturing parameters interdependencies. Batter. Supercaps 3, 60–67 (2020). 19. Turetskyy, A. et al. Toward data-driven applications in lithium-ion battery cell manufacturing. Energy Technol. 8, 1900136 (2020). 20. Turetskyy, A., Wessel, J., Herrmann, C. & Thiede, S. Battery production design using multi-output machine learning models. Energy Storage Mater. 38, 93–112 (2021). 21. Fichtner, M. et al. Rechargeable Batteries of the Future—The State of the Art from a ATTERY 2030+ Perspective. Adv. Energy Mater. [https://doi.org/10.1002/](https://doi.org/10.1002/aenm.202102904) [aenm.202102904](https://doi.org/10.1002/aenm.202102904) (2021). 22. Shodiev, A. et al. 4D-resolved physical model for electrochemical impedance spectroscopy of Li(Ni1-x-yMnxCoy)O2-based cathodes in symmetric cells: consequences in tortuosity calculations. J. Power Sources 454, 227871 (2020). 23. Chouchane, M., Rucci, A., Lombardo, T., Ngandjong, A. C. & Franco, A. A. Lithium ion battery electrodes predicted from manufacturing simulations: assessing the impact of the carbon-binder spatial location on the electrochemical performance. J. Power Sources 444, 227285 (2019). 24. Chouchane, M., Primo, E. N. & Franco, A. A. Mesoscale effects in the extraction of the solid-state lithium diffusion coefficient values of battery active materials: physical insights from 3D modeling. J. Phys. Chem. Lett. 11, 2775–2780 (2020). 25. Chouchane, M., Arcelus, O. & Franco, A. A. Heterogeneous solid-electrolyte interphase in graphite electrodes assessed by 4D-resolved computational simulations. Batter. Supercaps 4, 1457–1463 (2021). 26. Lombardo, T. et al. The ARTISTIC online calculator: exploring the impact of li-ion battery electrode manufacturing parameters interactively through your browser. Batter. Supercaps 5, 1–9 (2022). 27. Toffolo, A., Masi, M. & Lazzaretto, A. Low computational cost cfd analysis of thermoacoustic oscillations. App. Therm. Eng. 30, 544–552 (2010). 28. Bradley, E. G. & Kendall, B. A review of computer simulations in teacher education. J. Educ. Technol. Syst. 43, 3–12 (2014). 29. Li, J. & Geng, S. Industrial clusters, shared resources and firm performance. Entrep. Reg. Dev. 24, 357–381 (2012). 30. Mochalov, V. P., Linets, G. I. & Palkanov, I. S. Methods and models of resource allocation in load balancing clusters. In Computer Science Online Conference. vol. 230, 552–563 (Springer International Publishing, Cham, 2021). 31. Elisa, G. & Vittorio, V. Compact physical model for simulation of thermal networks. Energy 175, 998–1008 (2019). 32. Scherer, C., Scheid, R., Andrienko, D. & Bereau, T. Kernel-based machine learning for efficient simulations of molecular liquids. J. Chem. Theory Comput. 16, 3194–3204 (2020). 33. Deosarkar, P. M. & Sathe, S. V. Predicting effective viscosity of magnetite ore slurries by using artificial neural network. Powder Technol. 219, 264–270 (2012). 34. Wang, Y., Marcelo, J., Ribeiro, L. & Tiwary, P. Machine learning approaches for analyzing and enhancing molecular dynamics simulations. Batter. Supercaps 61, 139–145 (2020). 35. Adam, K. et al. Using machine learning in the physical modeling of lithographic processes. In Design-Process-Technology Co-optimization for Manufacturability XIII, vol. 10962, 86–93 (SPIE, 2019). 36. Maleh, Y. Machine learning techniques for iot intrusions detection in aerospace cyber-physical systems. In Machine Learning and Data Mining in Aerospace Technology, 205–232 (Springer, 2020). 37. Tuncali, C. E., Fainekos, G., Ito, H. & Kapinski, J. Simulation-based adversarial test generation for autonomous vehicles with machine learning components. In 2018 IEEE Intelligent Vehicles Symposium (IV), 1555–1562 (IEEE, 2018). 38. Guo, J. & Li, Z. Prognostics of lithium ion battery using functional principal component analysis. In 2017 IEEE International Conference on Prognostics and Health Management (ICPHM), 14–17 (IEEE, 2017). 39. Pal, M. On application of machine learning method for history matching and forecasting of times series data from hydrocarbon recovery process using water flooding. Pet. Sci. Technol. 39, 519–549 (2021). 40. Giménez, C. S. et al. Numerical simulation of the behavior of lithium-ion battery electrodes during the calendaring process via the discrete element method. Powder Technol. 349, 1–11 (2019). 9 41. Petersen, A. & Muller, H.-G. Functional data analysis for density functions by transformation to a hilbert space. Ann. Statis. 44, 183–218 (2016). 42. Donoghue, O., Harrison, A., Coffey, N. & Hayes, K. Functional data analysis of running kinematics in chronic achilles tendon injury. Med. Sci. Sports Exerc. 40, 1323–1335 (2008). 43. Pataky, T. C. One-dimensional statistical parametric mapping in python. Comput. Methods Biomech. Biomed. Engin. 15, 295–301 (2012). 44. Cheng, Y., Lu, C., Li, T. & Tao, L. Residual lifetime prediction for lithium-ion battery based on functional principal component analysis and bayesian approach. Energy 90, 1983–1993 (2015). 45. Guo, J. & Li, Z. Prognostics of lithium ion battery using functional principal component analysis. In 2017 IEEE International Conference on Prognostics and Health Management (ICPHM), 14–17 (IEEE, 2017). 46. Nicol, F. Functional principal component analysis of aircraft trajectories. In ISIATM 2013, 2nd International Conference on Interdisciplinary Science for Innovative Air Traffic Management (2013). 47. Happ, C. & Greven, S. Multivariate functional principal component analysis for data observed on different (dimensional) domains. J. Am. Stat. Assoc. 113, 649–659 (2016). 48. Shlens, J. A tutorial on principal component analysis. arXiv preprint [https://arxiv.](https://arxiv.org/abs/1404.1100) [org/abs/1404.1100](https://arxiv.org/abs/1404.1100) (2014). 49. Chagny, G. Statistique pour données fonctionnelles. [http://gchagny.perso.math.](http://gchagny.perso.math.cnrs.fr/CoursFDA.pdf) [cnrs.fr/CoursFDA.pdf.](http://gchagny.perso.math.cnrs.fr/CoursFDA.pdf) Accessed on 07.18.2021. 50. Basdevant, C. On calculating with b-splines. J. Approx. Theory 6, 50–62 (1972). 51. Panaretos, V. M. & Tavakoli, S. Cramer-karhunen-loève representation and harmonic principal component analysis of functional time series. Stoch. Process. Their Appl. 123, 2779–2807 (2013). 52. Paris, G., Robilliard, D. & Fonlupt, C. Exploring overfitting in genetic programming. In International Conference on Artificial Evolution (Evolution Artificielle), 267–277 (Springer, 2003). 53. Ying, X. An overview of overfitting and its solutions. J. Phys. Conf. Ser. 1168, 2779–2807 (2019). 54. Matcha, B. B., Chachira, R., Transtrum, M. K. & Sethna, J. P. Parameter space compression underlies emergent theories and predictive models. Science 342, 604–607 (2013). 55. Cover, T. M. Estimation by the nearest neighbor rule. IEEE Trans. Infor. Theory 14, 50–55 (1968). 56. Raschka, S. & Mirjalili, V. Python machine learning: machine learning and deep learning with Python, scikit-learn, and TensorFlow 2 (Packt Publishing Ltd, 2019). 57. Cover, T. M. & Hart, P. E. Nearest neighbor pattern classification. IEEE Trans. Inf. Theory 13, 21–27 (1967). 58. Hager, G. & Wellein, G. Introduction to high performance computing for scientists and engineers (CRC Press, 2010). 59. Chelikowsky, J. R., Saad, Y., Öğüt, S., Vasiliev, I. & Stathopoulos, A. Electronic structure methods for predicting the properties of materials: grids in space. Phys. Stat. Sol. 217, 173–195 (2000). 60. Barnes, J. E. & Hernquist, L. E. Computer models of colliding galaxies. Phys. Today 46, 54–61 (1993). 61. D’Humières, D., Lallemand, P. & Frisch, U. Lattice gas models for 3d hydrodynamics. EPL 2, 291–297 (1986). 62. Popovic, M. chrf: character n-gram f-score for automatic mt evaluation. Proceedings of the Tenth Workshop on Statistical Machine Translation. 392–395 (2015). 63. Frost, J. How to interpret r-squared in regression analysis. Statistics by Jim (2018). 64. Buckland, M. & Gey, F. The relationship between recall and precision. J. Am. Soc. Inf. Sci. 45, 12–19 (1994). 65. Yang, L. & A. Shami, A. On hyperparameter optimization of machine learning algorithms: theory and practice. Neurocomputing 415, 295–316 (2020). 66. Granholm, V., Noble, W. S. & Käll, L. A cross-validation scheme for machine learning algorithms in shotgun proteomics. BMC Bioinf. 13, 1–8 (2012). M. Duquesnoy et al. ACKNOWLEDGEMENTS The authors acknowledge the European Union’s Horizon 2020 research and innovation program for the funding support through the European Research Council (grant agreement 772873, “ARTISTIC” project: [ARTISTIC-ERC.](https://www.erc-artistic.eu/) M.D. and A.A.F. acknowledge the ALISTORE European Research Institute for funding support. A.A.F. acknowledges the Institut Universitaire de France for the support. A.A.F. and F.C. acknowledges the European Union’s Horizon 2020 research, and innovation program under grant agreement no. 957189 (BIG MAP). We acknowledge Daphne Boursier at LRCS for the English proofreading of the article and useful comments. AUTHOR CONTRIBUTIONS A.A.F. and M.D. had the original idea of the concept presented in this paper. M.D. was in charge of the data-driven development, the data analysis, and the writing of the original version of the manuscript. T.L. was in charge of the generation of NEMD simulations for NMC-based and graphite-based slurries and supported the writing and the data analysis. F.C. proofread the manuscript and provided useful comments. J.X. and F.H. were in charge of the generation of NEMD simulations for LFP-based slurries. A.C.N. and H.O. supported the conceptualization of this work. A.A.F. obtained the funding (ERC Consolidator Grant), supervised the project and the preparation of the manuscript, and carried out the revision. COMPETING INTERESTS The authors declare no competing interests. ADDITIONAL INFORMATION Supplementary information The online version contains supplementary material available at [https://doi.org/10.1038/s41524-022-00819-2.](https://doi.org/10.1038/s41524-022-00819-2) Correspondence and requests for materials should be addressed to Alejandro A. Franco. Reprints and permission information is available at [http://www.nature.com/](http://www.nature.com/reprints) [reprints](http://www.nature.com/reprints) Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly [from the copyright holder. To view a copy of this license, visit http://creativecommons.](http://creativecommons.org/licenses/by/4.0/) [org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2022

섹션 본문 41문단 · 32,320자

(제목 없음)

1Computational modeling of the manufacturing process of Lithium-Ion Battery (LIB) composite electrodes based on mechanistic approaches, allows predicting the influence of manufacturing parameters on electrode properties.However, ensuring that the calculated properties match well with experimental data, is typically time and resources consuming In this work, we tackled this issue by proposing a functional data-driven framework combining Functional Principal Component Analysis and K-Nearest Neighbors algorithms.This aims first to recover the early numerical values of a mechanistic electrode manufacturing simulation to predict if the observable being calculated is prone to match or not, i.e screening step.In a second step it recovers additional numerical values of the ongoing mechanistic simulation iterations to predict the mechanistic simulation result, i.e forecasting step.We demonstrated this approach in context of LIB manufacturing through nonequilibrium molecular dynamics (NEMD) simulations, aiming to capture the rheological behavior of electrode slurries.We discuss in full details our novel methodology and we report that the expected mechanistic simulation results can be obtained 11 times faster with respect to running the complete mechanistic simulation, while being accurate enough from an experimental point of view, with a F 1 score equals to 0.90, and a R 2 score equals to 0.96 for the learnings validation.This paves the way towards a powerful tool to drastically reduce the utilization of computational resources while running mechanistic simulations of battery manufacturing electrodes.

Introduction

2In a modern world where Artificial Intelligence (AI) and Machine Mearning (ML) applications are blooming [1,2], one may think that the use of more traditional mechanistic models based on mathematical descriptions of physical processes, is becoming obsolete.However, this is not true since mechanistic models still represent nowadays unavoidable tools to support the analysis of complex systems.In contrast to empirical models (and per se ML approaches) which study the real world to elaborate a theory, mechanistic models are based on a theory to predict the real-world behavior.Models of that kind are omnipresent in numerous domains such as medicine [3], battery manufacturing [4,5], nanotechnologies [6], biology [7,8], or in environmental sciences [9].The significant progress in computational hardware achieved in the last decades boosted the emergence of a massive amount of academic and commercial software [10,11], allowing to create and solve the equations behind mechanistic models describing systems with increasing complexity [12,13].This is the case in a plethora of scales, e.g.materials properties from their electronic structure [14] or the dynamics of colliding galaxies from gravitational forces [15] and gas hydrodynamics [16].Furthermore, the capability of a mechanistic model to simulate the system behavior by precisely controlling the hypothesis of work, makes possible to perform on-demand computer experiments to evaluate the impact of different assumptions on the results.The latter makes this type of models particularly suitable to support analysis of experimental data in both fundamental and applied research activities.Despite the continuous improvement in the numerical methods used to closely match the experimental context of interest with high-fidelity data, computations are usually time and resources consuming.The overall time and mandatory resources required to recover the complete simulation process determine the computational cost of the corresponding simulation, and varies as a function of the specific model utilized.A high computational cost narrows the number of possible parameter sets for testing new conditions [17], restraining the use of mechanistic models in a high-throughput way [18,19,20,21].

3However, Machine Learning (ML) techniques can be combined with mechanistic models to reduce their computational cost.ML techniques are very popular nowadays to support researchers to move away from pure trial-and-error approaches in experimental contexts, to facilitate properties calculations and to ease the parameterization of mechanistic models [22,23].For instance, Wang et.al. applied different ML algorithms to analyze molecular dynamics simulations [24], whereas Adam et.al. combined neural networks with physics-based models to improve the accuracy of lithographic process modeling [25].From an industrial perspective, Maleh et.al. studied the use of ML techniques for Internet of Things (IoT) intrusion detection in aerospace cyber-physical systems [26], and Tuncali et.al. evaluated cyber-physical systems with ML in the context of autonomous driving systems [27].In contrast to usual data analysis techniques for multivariate datasets, Functional Data Analysis (FDA) that processes time series, can also be connected with ML techniques, but for the forecasting or prognostic of time-series variables [28].Therefore, such a combination can constitute a straightforward solution for dealing with wavering data from mechanistic models as part of the computational cost reduction [29], for example, workflows dedicated to their parameters optimization.

4One of these contexts is process engineering and the particular case of manufacturing process of lithium ion batteries (LIBs) [30], taken here as an example for the demonstration of our approach.This process encompasses multiple steps and parameters which are interlinked [31,32].Such steps concern the slurry preparation, its coating and drying, the calendering of the resulting electrodes, the cell assembly, the electrolyte infiltration and the formation of the solid electrolyte interphase [33,34,35,36].This complex process has been historically simulated using empirical models with parameters fitted to experimental trends or by using mechanistic models based for instance on the Continuum Fluid Dynamics (CFD) approach [37].In the recent years, ML algorithms started to emerge in this field, illustrating the powerful capabilities of these techniques to unravel interdependencies between manufacturing parameters and electrode properties [34,38,39].Furthermore, mechanistic models allowing to predict the electrode microstructure in 3D, as a function of the manufacturing parameters started also to emerge [40,41].Those 3D mechanistic models account by the explicit spatial location and trajectory of active material (AM) and carbon-binder domain (CBD) phases (Figure 1A) [42,43].As an example for the slurry and the coating/drying, these models are supported on the Coarse-Grained Molecular Dynamics (CGMD) approach accounting for attractive and repulsive forces between the considered particles [5].In contrast to such a support, the calendering accounts the Discrete Element Method (DEM) [4], whereas the Lattice Boltzmann Method is used for the electrolyte infiltration modeling.These models have a significant computational cost, but still they need to be run in order to generate high fidelity data (data that generally agrees with the experimental one) for derivation of surrogate models and optimization loops [44].It requires mechanistic models' validation by comparison with experimental observables.One of these observables is the slurry viscosity as a function of the applied shear rate.The electrode coating quality strongly depends on this rheological property.In the mechanistic model, once the slurry microstructure is predicted, non-equilibrium molecular dynamics (NEMD) simulations are performed to calculate the shear-viscosity curve (γ-η curve).This curve is calculated point by point, i.e. a shear-rate is applied through the deformation of the simulated slurry box and a viscosity value is retrieved (see details in Supporting Information).Each calculation must to be run for a time long enough to be confident of having reached a stable η value, usually leading to overall high computational costs.

5In this work, we tackled the issue of computational cost reduction of 3D-resolved mechanistic models, through the use of a functional data-driven framework for fast predictions of their simulation results.Briefly, this consists at running the first numerical steps (i.e.time frames) of the mechanistic simulation, to retrieve early results, and then bypass the full simulation process by predicting its results.More precisely, the aforementioned framework proposes first a screening step, whose main goal is to identify running simulations of interest from an experimental perspective, e.g.expected to give results in agreement with an experimental target value (viscosity for a given shear rate in the application case used here as an illustration).Second, it proposes a forecasting step to quickly predict their results, considering only the previously filtered simulations.Both steps couple two algorithms: one based on Functional Principal Component Analysis (FPCA) achieving a compression of time series in a low dimensional space (i.e.dimensionality reduction), and another one based on K-Nearest-Neighbors (KNN) performing the predictive task.We applied this framework for in silico slurry modeling based on NEMD (see details in the Supporting Information) after accumulating simulations over three different LIB electrode chemistries [45].We tracked the evolution of the calculated viscosity values (η) along the simulation process to determine the time series.Despite the illustration here for LIB electrode slurries, the proposed framework can be applied to other fields where mechanistic models generate time series and can trigger on significant computational cost diminution for faster optimization process of the mechanistic model parameters to match experimental observables.

62 Time series processing 2.1 Functional Data Analysis NEMD calculations of electrode slurry viscosities generate discretized values at each numerical step (i.e.time frame) along the calculation process.Those steps are independent from the allocated resources used, and produce a list of numerical values to constitute a curve as a function of time.Such a curve is the descriptor of one simulation, and an appropriate data treatment of this requires to fix the number of time frames for the definition of the corresponding functional space I [46].The functional form of the cure is written

7as opposed to a collection of functional variables associated to one simulation, written as

8Functional Data Analysis (FDA) properly carries out those types of variables by defining highly regular data over the space I through smoothing techniques.FDA as shown to be very relevant approach in numerous contexts, as for instance in clinical studies [47], sport performance analysis [48], or materials discovery [49,50].Within this study, we applied a Functional Principal Component Analysis (FPCA) on time series as a tool to achieve their data compression, i.e. dimensionality reduction, for further predictive tasks.In particular, FPCA balances between the deep of the compression and the resulting variability, to obtain a meaningful low dimensional representation of time series [51,52].Such a data processing is already well known within the usual Principal Component Analysis (PCA) [53], but here it is extended to the functional form of time series.

9FPCA requires a smoothing technique to reconstruct a set of discrete values from time series (Eq.1), over the functional space.The latter space is characterized by a set of basis functions, that enables a basic decomposition of time series in a finite dimensional space [54].Let's consider time series like written in (1), and a set of basic functions φ = {φ 1 , φ 2 , ..., φ p } all defined on I with p in IN.X is given by

10where the set c = {c 1 , c 2 , ..., c p } is the vector of basis coefficients, which describes X by a finite number of values.

11The most common solution for the basis decomposition is to use a B-Spline family [55].The associated methodology consists at interpolating time series with a family of polynomial functions (basic functions), which are sufficient differentiable in discrete knots.Considering I = [I 0 , I 1 ] with I 0 = t 0 < t 1 < ... < t p = I 1 , each polynomial is defined in sub-intervals of I, expressed by (t i ) (i≤p) values.The latter polynomials are positive on at the most p sub-intervals, and their degree is equal to 3 in this study.

12Based on the expression in (3), FPCA can estimate M eigenfunctions (ψ i ) (i≤M ) associated to M eigenvalues (ν i ) (i≤M ) , and finally M scores (ρ i ) (i≤M ) representing the projection of time series along new axis, also called functional principal components.In particular, M is very limited compared to p, since the FPCA must keep as much variability (variance) as possible from the initial time series in a short amount functional principal components, and illustrates the concept of dimensionality reduction.Regarding the usual PCA [53,56], the covariance matrix denoting correlations between random variables is replaced by a covariance operator χ, due to the functional form of time series.It allows the assessment of the eigenvalues associated to the eigenfunctions (extension of the Hilbert-Schmidt theorem [57]) of χ, according to its approximation based on the above basis decomposition.From the linear algebra, the resulting FPCA is expressed by X following the Karhunen-Loève decomposition [58]

13The extension of the Singular Values Decomposition (SVD) [53] to functional forms for time series explicits a straightforward relationship between ψ m and ν m for all m, being

14In our study, we applied the same basis decomposition, i.e. basis family, for the smoothing of each time series (X j ) j≤N and eigenfunctions ψ j (t) = p i=1 b i,j × φ i (t) j ≤ M .As a result, (3) becomes matrix-wise

15with C and Φ, the matrix of basis coefficients and the vector of basis functions respectively.

16Accordingly to previous expressions, the initial problem (5) can be shaped as the following product of matrices to link any couple of eigenfunction and eigenvalue [51] 1

17where W is included in IR p×p , containing the pairwise scalar products of basis functions ([< φ i , φ j > 2 ]) (p) .b is the vector of coefficients from the basis decomposition of ψ.

18We denote a = W 1/2 b to simplify the equation above, allowing to write

19Such a final equation relates an eigenproblem that is common for a SVD in an usual PCA, where the eigenvalues are associated to the matrix 1 [53,56].Therefore, we obtain a, then calculate b to find any (ψ i ) (i≤M ) , and lastly

20At the end of the FPCA, the resulting scores are sufficient to describe each time series in a discret manner, to considerably reduce the number of values.This benefits to further supervised ML implementations of our framework for predictive tasks.The main advantages concern the possibility to decrease the training time due to a narrowed number of possible variables combinations, but also to avoid an overfitting during the training step [59,60].The latter mentioned fitting usually happens when the feature space becomes increasingly sparse with a high number of parameters (i.e.inputs), because ML models can be very sensitive to a short set of parameters [61].Therefore, the application of dimensionality reduction for time series helps in that sense, to represent a meaningful data processing for defining inputs of ML models.

Physical relevance from an experimental perspective

21In our framework, we coupled such a FPCA with a ML algorithm performing two different predictive tasks, being the two pillars of our study.The first one concerns an early identification of running simulations of physical relevance from an experimental perspective, commonly called supervised classification in the ML terminology.In other words, it means that the framework achieves a screening of mechanistic simulations in the very first numerical steps, by predicting if such a simulation will be ending with relevant results for further experimental comparisons.In our context of slurry modeling on NEMD, there is a physical relevance when the results associated to a simulation (i.e.slurry viscosity) are similar to experimental target values.At the end, the prediction provided by the framework concludes on the relevance of each running simulation to let it continue.It represents an automatized "go" or "no go"decision through the analysis of how a simulation behaves.

22In terms of data processing, each simulation is labeled by a binary value representing the output of the supervised classification.This output depends on the final behavior of the simulation like Figure 2A displays.Indeed, we used the average of the numerical values resulting from the last 1000 time frames to consider the result of a simulation.In contrast to a simulation with a high result that suggests to stop its process, a low result recommends to let the simulation running, because of the agreement of the value with the experimental one.As a consequence, we defined a threshold to assess the label, distinguishing high and low results.Figure 2B displays the distribution of the average slurry viscosity, i.e. simulations result, that are available in our study.In accordance with an experimental perspectives and the same Figure 2B, we empirically set the threshold at 50 P a.s.

(B)

23Time frames (Pa.s) (A) Figure 2 : (A) : Slurry mesostructure evolution and associated viscosity (η) during the non-equilibrium molecular dynamics (NEMD) simulation utilized to assess the slurry viscosity at a given shear-rate (γ) [5].The last 1000 viscosity values from a single simulation are used as a vector, to calculate an average value (µ) and a standard deviation (σ).These latter values enable to color-code the slurry viscosity evolution within a box, where the two limits are the average plus minor the standard deviation (µ +/σ).(B) : Empirical distribution of the average slurry viscosity value (η) associated to the mechanistic simulations carried out in this study.This show the heterogeneous distribution of represented values.

K-Nearest-Neighbors

24This screening step (classification) within the aforementioned framework is done using a K-Neareast-Neighbors (KNN) classification [62].One basis of the algorithm is the memorization of distances between data from the features space.The latter of which is defined by the functional principal components from the FPCA, enhancing calculations of sparse distances between time series (inputs) to make it a meaningful choice for our study [63].The KNN algorithm lies on the choice of k neighbors and a distance metric to evaluate pairwise distances between input data, to then attribute a prediction (output) for a new unseen input data, based on the outputs of its k nearest neighbors [64].Moreover, a right choice of k is crucial to take into account a suitable number of neighbors when predicting the output.This affects the predictive capabilities of the KNN.In this direction, the algorithm is straightforward and can be summarized as it follows i Choose the number of neighbors k;

25ii Calculate the distance between data considering a specific metric;

26iii Get the k nearest neighbors for a new data we want to predict; iv Assign the associated output by a majority vote (classification), or by an average value (regression), for the outputs of its k nearest neighbors.

27Section S2 in the Supporting Information provides a graphical interpretation of the KNN algorithm for the case of classification and regression.From the perspectives of the framework, the chosen number of time frames to determine the time series in the screening step must be low, reflecting the efficiency to predict a further physical relevance of a running simulation within the early numerical steps.In the meantime, this enables to stop quickly a running simulation if the latter is predicted as a case without agreement with experimental values.It is particularly relevant for freeing up computational resources and launching another simulation with new operating conditions.This is discussed below by comparing the predictive capabilities of the KNN classification as a function of the number of time frames for time series definition.

Fast predictions from mechanistic simulations

28The second pillar of the aforesaid framework concerns the fast prediction of the results, only for mechanistic simulations that have been previously considered of physical relevance from an experimental perspective.In this context, the results represent the informations we can extract from the last numerical steps of the simulation.As Figure 2A shows, it is the average value (µ) and the standard deviation (σ) from the vector formed by the numerical values of slurry viscosities within the last 1000 time frames.These results provide not only the final average viscosity of the associated simulation, but also how the latter behaves.To achieve this forecasting step, we also couple a FPCA with a KNN algorithm, but in the context of a supervised regression for the latter algorithm with here two outputs, i.e. µ-σ and µ+σ.

29Nevertheless, to still tackle the issue of high computational cost of the mechanistic simulation process, we used another number of time frames to define time series for the dimensionality reduction (FPCA).In practice, a simulation is run to be confident of having reaching a stable value to define its final result (Figure 4).This suggests that by recovering the numerical values within a large number of time frames, we may expect the KNN regression to have predictions very closed to the simulation result.In the meantime, this action does not reduce the computational cost since the simulation runs for a large number of time frames.As a consequence, the forecasting step balances between the number of time frames to use for the definition of time series, and the corresponding computational cost to fast predict the simulation result, with high predictive capabilities for the KNN.As we did for the screening step, we compared the predictive capabilities of the KNN regression for different number of time frames to evaluate the best compromise.The results are discussed below.

30Figure 4 : Examples of electrode slurry viscosity calculations with two different behaviors.In contrast to the simulation color-coded in red, the blue one is considered with physical relevance from an experimental perspective.The threshold for the screening step is highlighted by the grey horizontal line at 50 P a.s.

Results and Discussion

31Datasets Time series were extracted from NEMD simulations to capture the rheological behavior of LIB slurries (viscosity vs. shear-rate).Simulations were launched using LAMMPS software [10].In total, we executed 2172 simulations coming from the modeling of three different slurries: 1773 from Nickel-Manganese-Cobalt (NMC) slurries, 183 from graphite and 216 from Lithium-Iron-Phosphate (LFP).We notice that the type of chemistry does not determine an input value for the KNN algorithm, since only the corresponding rheological behavior was used for our data processing.Moreover, our code under LAMMPS was executed using the MatriCS HPC platform from Université de Picardie Jules Verne (Amiens, France) [65].In total, the number of time frames to reach stable viscosity values (η) was between 1450 and 1800, with an average number equals to 1734.In the screening step, all executed simulations complete a functional dataset to train and test our KNN classification.The training dataset contained 80 % of simulations randomly picked up from the functional dataset, and the testing dataset contained the remaining 20 %.In the forecasting step, only simulations labeled with physical relevance were used to form another functional dataset to train and test our KNN regression, whose size is equal to 1927 simulations.

Time frames selection

32We chose the number of time frames to set each time series according to Figure 5, which displays the trends for the predictive capabilities, i.e. validation metrics, as a function of the number of time frames to set time series for the screening and forecasting step.The same Figure 5 reflects the best compromise between the maximization of the validation metrics and the maximization of the computational efficiency, inversely proportional to the computational cost.In our context, the higher the time to predict the simulation results, the lower the computational efficiency.More precisely, we calculated a numerical mean of the validation metric per number of time frames, by renewing a training/testing dataset 20 times.It is particularly interesting to avoid a calculation of the validation metrics biased by a one single random split of the data into the training and testing datasets.The selected validation metrics are detailed in the methods section below.score as a function of the number of time frames.The latter number define the time series needed for the FPCA within the forecasting step of the framework.(C) : Illustration of the compromise foreseen, between the selected number of time frames and the corresponding computational efficiency to calculate the simulation results.The green trend illustrates the results from (A) and (B).At the end, the best compromise is located for a number of time frames from where the validation metrics are not significantly increasing in order to narrow the computational cost.

33We retained a number of time frames equals to 100 for the screening step, whereas the number for the forecasting step was equal to 150.Indeed, Figure 5A and Figure 5B capture increasing trends of validation metrics when incrementing the number of time frames, while starting to stagnate from those two chosen numbers.At the end, the corresponding validation metrics were in average equal to 0.84 and 0.90 for the Recall, F 1 score (KNN classification), and equal to 0.97 and 0.96 for the R 2 score of the two respective outputs (KNN regression).Figure 6 displays regression plots related to the chosen KNN regression, for the comparisons of predicted values as a function of their corresponding simulation results (µ +/σ).This visualization illustrates how predictions are close with real simulation results.

34In terms of computational cost reduction, the framework enables to use time series defined over 100 and 150 time frames to accurately predict meaningful results from a running simulation.By considering the average number of time frames for all available simulations detailed above, we elaborated a framework efficient to determine the slurry viscosity 11 times faster.In the meantime, the same framework determines the physical relevance of a simulation here 17 times faster.Those results illustrate a drastic reduction of the time required to recover the simulation results, and also to provide quick information on how a given simulation behaves.This is essential to discard running simulations without physical relevance from an experimental perspective, and then avoid the analysis on simulation results that can not be consistent with an experimental comparison.Moreover, the fast prediction of simulation results (slurry viscosity) enables to allocate free available resources on a HPC platform for another simulation to fast study new operating conditions.In our context of slurry modeling, and especially of battery manufacturing, such advantages to fast predict simulation results, facilitate the seek of the best parameter set among extensive possibilities, to trigger further and faster optimization processes of mechanistic model parameters.

Conclusions

35In this study, we proposed a functional data-driven framework for fast predictions of mechanistic simulations results, from the very first numerical iterations solving the underlying physical equations.We demonstrated this data-driven approach for the case of the calculations of the viscosities versus applied shear rate for lithium ion battery electrode slurries, with different active material chemistries.Such calculations are supported on Non-Equilibrium Molecular Dynamics and are usually computational expensive.The aforementioned framework quickly determined slurries viscosities within the forecasting step, leading to a computational cost reduction by a factor 11. Besides, such a framework enabled to predict the relevance of a mechanistic simulations from an experimental perspective, here 17 times faster within the screening step.In terms of predictive capabilities, the KNN classification reached a F 1 score equals to 0.90, whereas the KNN regression achieved a R 2 score equals to 0.96.Those validation metrics were considered as reliable from an experimental point to analyze viscosities.In particular, the results in this work presents the capabilities to treat mechanistic simulations as time-series, for the application of FDA techniques.In this way, it serves to support different supervised ML algorithms to accurately analyze the rheology of electrode slurries.In addition, the proposed framework can be transfered to any other field where mechanistic models generate time series, to figure out drastic decrease of corresponding computational costs for quicker parameters optimization processes to design better physics-based models.

Validation metrics

36We evaluated the KNN classification and regression by using two different metrics on the testing datasets.The F 1 score [66] and especially the corresponding Recall score, were used to validate the KNN classification, whereas we assessed the goodness of fitting for the KNN regression with the R 2 score [67].The first mentioned metric adjusted the Precision and Recall (9) to increase the capabilities of a binary classifier to face the issue of wrong predictions.In our context, this is especially relevant with an unbalanced number between mechanistic simulations which will give a correct result and the ones which will not within the dataset.As an example, we considered to minimize the error from the KNN classification to forecast a running simulation with physical relevance, though its real output is without interest

Figure 1 :

37Figure 1 : Schematic of a lithium ion battery (LIB) electrode manufacturing process by using mechanistic modeling.Our methodology is illustrated with three different electrode slurry chemistries: Nickel Manganese Cobalt Oxyde (NMC-111), Graphite and Lithium-Iron-Phosphate (LFP).

Figure 3 :

38Figure 3 : Schematic representation of the functional framework with the different steps, to fast predict the mechanistic simulation results.IR N and IR M characterize the definition spaces of time series, with N and M (N ≤ M ) the number of numerical values already generated by the simulation.Such a framework illustrates how a running simulation is handled along its process within early numerical steps, to predict its results and narrow its computational cost.

Figure 5 :

39Figure 5 : (A) : Evolution of the average Recall and F 1 score as a function of the number of time frames.The latter number define the time series needed for the FPCA within the screening step of the framework.The black slight bar represents the deviation around the mean value of the validation metric.(B) : Evolution of the average R 2score as a function of the number of time frames.The latter number define the time series needed for the FPCA within the forecasting step of the framework.(C) : Illustration of the compromise foreseen, between the selected number of time frames and the corresponding computational efficiency to calculate the simulation results.The green trend illustrates the results from (A) and (B).At the end, the best compromise is located for a number of time frames from where the validation metrics are not significantly increasing in order to narrow the computational cost.

Figure 6 :

40Figure6: Regression plots to evaluate the predictive capabilities of the KNN regression selected in the data-driven framework, using the testing dataset.The two plots compared the predicted outcomes by the regression as function of the real outcomes from NEMD simulations.The plot of the left corresponds to the output µ − σ whereas the one of the right corresponds to the output µ + σ.For each case, the R 2 score was rounded with two significant digits.

Table 3 :

41Hyperparameters tuning from the cross validation, for the KNN classification and regression.Others KNN hyperparameters are set with initial values proposed by the function.the Institut Universitaire de France for the support.F.C. acknowledges the European Union's Horizon 2020 research, an innovation program under grant agreement No. 957189 (BIG MAP).We acknowledge Daphne Boursier at LRCS for the proofreading of the article and useful comments.

참고문헌 52건

  1. Residual lifetime prediction for lithium-ion battery based on functional principal component analysis and Bayesian approach Energy · Elsevier BV · 2015 10.1016/j.energy.2015.07.022
  2. Exploring Overfitting in Genetic Programming Lecture notes in computer science · Springer Science+Business Media · 2004 10.1007/978-3-540-24621-3_22
  3. Introduction to High Performance Computing for Scientists and Engineers CRC Press eBooks · Informa · 2010 10.1201/ebk1439811924
  4. Computer Models of Colliding Galaxies Physics Today · AIP Publishing · 1993 10.1063/1.881376
  5. Predicting effective viscosity of magnetite ore slurries by using artificial neural network Powder Technology · Elsevier BV · 2011 10.1016/j.powtec.2011.12.058
  6. The relationship between Recall and Precision Journal of the American Society for Information Science · Wiley · 1994 10.1002/(sici)1097-4571(199401)45:1<12::aid-asi2>3.0.co;2-l
  7. Physical model for the spectroscopic analysis of cortical intrinsic optical signals Physics in Medicine and Biology · IOP Publishing · 2000 10.1088/0031-9155/45/12/317
  8. Industrial clusters, shared resources and firm performance Entrepreneurship and Regional Development · Taylor & Francis · 2011 10.1080/08985626.2011.591841
  9. Cramér–Karhunen–Loève representation and harmonic principal component analysis of functional time series Stochastic Processes and their Applications · Elsevier BV · 2013 10.1016/j.spa.2013.03.015
  10. Software components for parallel multiscale simulation: an example with LAMMPS Engineering With Computers · Springer Science+Business Media · 2009 10.1007/s00366-009-0156-z
  11. Lattice Gas Models for 3D Hydrodynamics EPL (Europhysics Letters) · Institute of Physics · 1986 10.1209/0295-5075/2/4/006
  12. Estimation by the nearest neighbor rule IEEE Transactions on Information Theory · Institute of Electrical and Electronics Engineers · 1968 10.1109/tit.1968.1054098
  13. Prediction of ambient light scattering using a physical model responsive to relative humidity: Validation with measurements from detroit Atmospheric Environment (1967) · Elsevier BV · 1985 10.1016/0004-6981(85)90046-0
  14. Parameter Space Compression Underlies Emergent Theories and Predictive Models Science · American Association for the Advancement of Science · 2013 10.1126/science.1238723
  15. On calculating with B-splines Journal of Approximation Theory · Elsevier BV · 1972 10.1016/0021-9045(72)90080-9
  16. Electronic Structure Methods for Predicting the Properties of Materials: Grids in Space physica status solidi (b) · Wiley · 2000 10.1002/(sici)1521-3951(200001)217:1<173::aid-pssb173>3.0.co;2-z
  17. Low computational cost CFD analysis of thermoacoustic oscillations Applied Thermal Engineering · Elsevier BV · 2009 10.1016/j.applthermaleng.2009.10.017
  18. One-dimensional statistical parametric mapping in Python Computer Methods in Biomechanics & Biomedical Engineering · Taylor & Francis · 2011 10.1080/10255842.2010.527837
  19. Functional Data Analysis of Running Kinematics in Chronic Achilles Tendon Injury Medicine & Science in Sports & Exercise · Lippincott Williams & Wilkins · 2008 10.1249/mss.0b013e31816c4807
  20. Nearest neighbor pattern classification IEEE Transactions on Information Theory · Institute of Electrical and Electronics Engineers · 1967 10.1109/tit.1967.1053964
  21. A Review of Computer Simulations in Teacher Education Journal of Educational Technology Systems · SAGE Publishing · 2014 10.2190/et.43.1.b
  22. A cross-validation scheme for machine learning algorithms in shotgun proteomics BMC Bioinformatics · BioMed Central · 2012 10.1186/1471-2105-13-s16-s3
  23. Functional data analysis for density functions by transformation to a Hilbert space The Annals of Statistics · Institute of Mathematical Statistics · 2015 10.1214/15-aos1363
  24. Multivariate Functional Principal Component Analysis for Data Observed on Different (Dimensional) Domains Journal of the American Statistical Association · 2017 10.1080/01621459.2016.1273115
  25. chrF: character n-gram F-score for automatic MT evaluation 2015 10.18653/v1/w15-3049
  26. Stability and dynamics of membrane-spanning DNA nanopores Nature Communications · Nature Portfolio · 2017 10.1038/ncomms14784
  27. Prognostics of Lithium ion battery using functional principal component analysis 2017 10.1109/icphm.2017.7998299
  28. Simulating Process-Product Interdependencies in Battery Production Systems Procedia CIRP · Elsevier BV · 2018 10.1016/j.procir.2018.03.056
  29. Numerical simulation of the behavior of lithium-ion battery electrodes during the calendaring process via the discrete element method Powder Technology · Elsevier BV · 2019 10.1016/j.powtec.2019.03.020
  30. An Overview of Overfitting and its Solutions Journal of Physics Conference Series · IOP Publishing · 2019 10.1088/1742-6596/1168/2/022022
  31. Compact physical model for simulation of thermal networks Energy · Elsevier BV · 2019 10.1016/j.energy.2019.03.064
  32. Using machine learning in the physical modeling of lithographic processes 2019 10.1117/12.2519848
  33. Toward Data‐Driven Applications in Lithium‐Ion Battery Cell Manufacturing Energy Technology · Wiley · 2019 10.1002/ente.201900136
  34. Machine Learning Techniques for IoT Intrusions Detection in Aerospace Cyber-Physical Systems Studies in computational intelligence · Springer Nature · 2019 10.1007/978-3-030-20212-5_11
  35. Simulation-based Adversarial Test Generation for Autonomous Vehicles with Machine Learning Components 2022 IEEE Intelligent Vehicles Symposium (IV) · 2018 10.1109/ivs.2018.8500421
  36. Lithium ion battery electrodes predicted from manufacturing simulations: Assessing the impact of the carbon-binder spatial location on the electrochemical performance Journal of Power Sources · Elsevier BV · 2019 10.1016/j.jpowsour.2019.227285
  37. Artificial Intelligence Investigation of NMC Cathode Manufacturing Parameters Interdependencies Batteries & Supercaps · Wiley · 2019 10.1002/batt.201900135
  38. 4D-resolved physical model for Electrochemical Impedance Spectroscopy of Li(Ni1-x-yMnxCoy)O2-based cathodes in symmetric cells: Consequences in tortuosity calculations Journal of Power Sources · Elsevier BV · 2020 10.1016/j.jpowsour.2020.227871
  39. Mesoscale Effects in the Extraction of the Solid-State Lithium Diffusion Coefficient Values of Battery Active Materials: Physical Insights from 3D Modeling The Journal of Physical Chemistry Letters · American Chemical Society · 2020 10.1021/acs.jpclett.0c00517
  40. Kernel-Based Machine Learning for Efficient Simulations of Molecular Liquids Journal of Chemical Theory and Computation · American Chemical Society · 2020 10.1021/acs.jctc.9b01256
  41. Accelerated Optimization Methods for Force‐Field Parametrization in Battery Electrode Manufacturing Modeling Batteries & Supercaps · Wiley · 2020 10.1002/batt.202000049
  42. On hyperparameter optimization of machine learning algorithms: Theory and practice Neurocomputing · Elsevier BV · 2020 10.1016/j.neucom.2020.07.061
  43. Data-driven assessment of electrode calendering process by combining experimental results, in silico mesostructures generation and machine learning Journal of Power Sources · Elsevier BV · 2020 10.1016/j.jpowsour.2020.229103
  44. Investigating electrode calendering and its impact on electrochemical performance by means of a new discrete element method model: Towards a digital twin of Li-Ion battery manufacturing Journal of Power Sources · Elsevier BV · 2020 10.1016/j.jpowsour.2020.229320
  45. Battery production design using multi-output machine learning models Energy storage materials · Elsevier BV · 2021 10.1016/j.ensm.2021.03.002
  46. Martini 3: a general purpose force field for coarse-grained molecular dynamics Nature Methods · Nature Portfolio · 2021 10.1038/s41592-021-01098-3
  47. Heterogeneous Solid‐Electrolyte Interphase in Graphite Electrodes Assessed by 4D‐Resolved Computational Simulations Batteries & Supercaps · Wiley · 2021 10.1002/batt.202100030
  48. On application of machine learning method for history matching and forecasting of times series data from hydrocarbon recovery process using water flooding Petroleum Science and Technology · Taylor & Francis · 2021 10.1080/10916466.2021.1918712
  49. Methods and Models of Resource Allocation in Load Balancing Clusters Lecture notes in networks and systems · Springer International Publishing · 2021 10.1007/978-3-030-77442-4_47
  50. From Materials to Cell: State-of-the-Art and Prospective Technologies for Lithium-Ion Battery Electrode Processing Chemical Reviews · American Chemical Society · 2021 10.1021/acs.chemrev.1c00565
  51. Rechargeable Batteries of the Future—The State of the Art from a BATTERY 2030+ Perspective Advanced Energy Materials · Wiley · 2021 10.1002/aenm.202102904
  52. Real-Time Biomechanical Simulation of Volumetric Brain Deformation for Image Guided Neurosurgery 2000 10.1109/sc.2000.10043