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

Optimal Endurance Race Strategies for a Fully Electric Race Car Under Thermal Constraints

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (3) 자동차 인테리어 소재(4) 카시트 모듈

기본 정보

저자
  1. Jorn van Kampen — Department of Mechanical Engineering, Control Systems Technology Section, Eindhoven University of Technology (TU/e), Eindhoven, The Netherlands
  2. Thomas Herrmann — Institute of Automotive Technology, Department of Mechanical Engineering, Technical University of Munich (TUM), Munich, Germany|||Department of Mechanical Engineering, Institute of Automotive Technology, Technical University of Munich (TUM), Munich, Germany
  3. Théo Hofman — Department of Mechanical Engineering, Control Systems Technology Section, Eindhoven University of Technology (TU/e), Eindhoven, The Netherlands
  4. Mauro Salazar — Department of Mechanical Engineering, Control Systems Technology Section, Eindhoven University of Technology (TU/e), Eindhoven, The Netherlands
DOI
10.1109/tcst.2023.3340793
저널
IEEE Transactions on Control Systems Technology
발행년도
2023
발행기관
Institute of Electrical and Electronics Engineers
피인용수
4
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.1109/tcst.2023.3340793
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4390120100

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (4) 카시트 모듈
R&D 측면
분석·모델링
확신도
0.70
근거 용어
electric race car, thermal management, battery energy management, vehicle dynamics, powertrain components
판단 근거
본 논문은 전기차의 주행 거리 극대화를 위한 열 관리 및 에너지 관리 최적화 전략을 다루고 있습니다. 이는 코오롱인더스트리의 직접적인 제품 연구는 아니나, 모빌리티 소재(시트, 카시트 등) 및 컴파운드 분야에서 차량의 열적/동적 특성을 고려한 시스템 설계 및 소재 성능 평가 모델링에 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
전기차의 열 관리 시스템(Thermal Management) 및 배터리 운용 조건에 따른 차량 내 부품(인테리어 소재, 컴파운드 부품 등)의 내구성과 열적 신뢰성을 예측하는 시뮬레이션 모델링에 활용 가능합니다.
평가 입력
본문 90,591자 중 30,032자 발췌

초록

This article presents a bi-level optimization framework to compute the offline maximum-distance race strategies for a fully electric endurance race car, whilst accounting for the low-level vehicle dynamics and the thermal limitations of the powertrain components. Thereby, the lower level computes the minimum-stint-time for a given charge time and stint length, whilst the upper level leverages that information to jointly optimize the stint length, charge time, and number of pit stops, in order to maximize the driven distance in the course of a fixed-time endurance race. Specifically, we first extend a convex lap time optimization framework to capture low-level vehicle dynamics and thermal models and use it to create a map linking the charge time and stint length to the achievable stint time. Second, we leverage the map to frame the maximum-race-distance problem as a mixed-integer second-order conic program that can be efficiently solved in a few seconds to the global optimum with off-the-shelf optimization algorithms. Finally, we showcase our framework for a simulated 6h race around the Zandvoort circuit. Our results show that the optimal race strategy can involve partially charging the battery, and that, compared to the case where the stints are optimized for a fixed number of pit stops, jointly optimizing the stints and number of pit stops can significantly increase the driven distance and hence race performance by several laps.

본문 90,591자

본문 펼치기
## Optimal Endurance Race Strategies for a Fully Electric Race Car Under Thermal Constraints Jorn van Kampen, Thomas Herrmann, Theo Hofman, and Mauro Salazar _Abstract_ — This article presents a bi-level optimization framework to compute the offline maximum-distance race strategies for a fully electric endurance race car, whilst accounting for the low-level vehicle dynamics and the thermal limitations of the powertrain components. Thereby, the lower level computes the minimum-stint-time for a given charge time and stint length, whilst the upper level leverages that information to jointly optimize the stint length, charge time, and number of pit stops, in order to maximize the driven distance in the course of a fixed-time endurance race. Specifically, we first extend a convex lap time optimization framework to capture low-level vehicle dynamics and thermal models and use it to create a map linking the charge time and stint length to the achievable stint time. Second, we leverage the map to frame the maximumrace-distance problem as a mixed-integer second-order conic program that can be efficiently solved in a few seconds to the global optimum with off-the-shelf optimization algorithms. Finally, we showcase our framework for a simulated 6 h race around the Zandvoort circuit. Our results show that the optimal race strategy can involve partially charging the battery, and that, compared to the case where the stints are optimized for a fixed number of pit stops, jointly optimizing the stints and number of pit stops can significantly increase the driven distance and hence race performance by several laps. _Index_ _Terms_ — Electric vehicles, endurance racing, optimal control, optimization, race strategy. I. INTRODUCTION HE electrification of race cars has been increasing in popularity over the last years, due to the advent of # T hybrid electric Formula 1 cars and Le Mans Hypercars, and battery electric vehicles in Formula E. In a setting where every millisecond counts, it is of paramount importance to make efficient use of the energy stored on-board via optimized energy management strategy (EMS), whilst respecting the thermal limits of the powertrain components. This problem is even more apparent for fully electric race cars, such as the Manuscript received 6 August 2023; accepted 7 November 2023. This work was supported in part by the NEON Research Project [Crossover Program which is (partly) financed by the Dutch Research Council (NWO)] under Grant 17628. Recommended by Associate Editor E. Hellström. _(Corresponding_ _author:_ _Jorn_ _van_ _Kampen.)_ Jorn van Kampen, Theo Hofman, and Mauro Salazar are with the Control Systems Technology Section, Department of Mechanical Engineering, Eindhoven University of Technology (TU/e), 5600 MB Eindhoven, The Netherlands (e-mail: j.h.e.v.kampen@tue.nl; t.hofman@tue.nl; m.r.u.salazar@tue.nl). Thomas Herrmann is with the Institute of Automotive Technology, Department of Mechanical Engineering, Technical University of Munich (TUM), 80333 Munich, Germany (e-mail: thomas.herrmann@tum.de). Color versions of one or more figures in this article are available at https://doi.org/10.1109/TCST.2023.3340793. Digital Object Identifier 10.1109/TCST.2023.3340793 Fig. 1. InMotion’s fully electric endurance race car [1]. Fig. 2. Schematic overview of the electric endurance race car powertrain with the electrical connections highlighted in orange and cooling in blue. The battery is actively cooled by a refrigerant system, whereas the electric machine (EM) is cooled by a conventional radiator system. vehicle shown in Fig. 1, where the available on-board energy is relatively small, compared to conventional race cars. Whereas fuel is the main energy source in conventional race cars, fully electric race cars rely on a less energy-dense battery that is typically integrated within the powertrain according to Fig. 2. In this context, the necessity of recharging the battery in the course of the race further complicates the problem, requiring race engineers to strike the best tradeoff between reducing energy consumptions and pit stops at the cost of lap time, or driving faster with more pit stops, whilst avoiding damage to the powertrain components by staying within the thermal limits. This conflict is particularly imminent in endurance racing, where the objective is to maximize the driven distance in a fixed amount of time, which can range up to 24 h [2]. In this setting, the car has to be strategically recharged during pit stops in order to maintain a competitive performance and maximize the distance driven. This calls for algorithms to compute the maximum-distance race strategies that provide the number of pit stops during the race, the number of laps driven per stint (referred to as stint lengths), and the charge time (which is directly correlated with charge energy), © 2023 The Authors. This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4.0/ whilst accounting for the optimal in-stint strategy in terms of powertrain operation (PO). Thereby, the PO accounts for the thermal management of the powertrain components and for the battery energy management. Against this backdrop, this article presents a bi-level optimization framework to compute the maximum-distance race strategies with global optimality guarantees. _A._ _Related_ _Literature_ This work pertains to two main research streams: single-lap optimization of the EMSs jointly with the vehicle trajectory or for a given vehicle trajectory, and full-race optimization via simulations. Several authors have optimized the minimum-lap-time racing line for a single lap using both direct and indirect optimization methods [3], [4], [5], [6], [7], [8], [9], [10], [11]. As opposed to these qualifying scenarios, racing scenarios are often additionally constrained by energy availability from either the fuel tank or the battery. To approach these racing conditions, some of these single-lap studies included a maximum energy consumption per lap [12], [13]. Similar approaches extend the minimum-lap-time problems to minimum-race-time problems. They consider temperature dynamics and optimize for multiple consecutive race laps to enable a variable amount of energy consumed per lap, yet formulate the optimization problem in the space domain for an a priori known number of laps [14], [15]. Finally, considering the racing line to be fixed, multilap EMSs are optimized, leveraging nonlinear optimization techniques [16] or artificial neural networks [17]. However, these papers lack global optimality guarantees. Against this backdrop, assuming the racing line to be available in the form of a maximum speed profile, convex optimization has been successfully leveraged to compute the globally optimal EMSs for hybrid and fully electric race vehicles [18], [19], also including gear shift strategies [20], different transmission technologies [21], and thermal limitations [22]. Yet these methods are either focused on single-lap problems, not capturing pit stops or recharging processes, or they lack global optimality guarantees due to the use of iterative algorithms. The second relevant research stream involves race simulations, in which entire races are optimized on a per lap basis [23], [24]. However, these studies mainly focus on optimal tire strategies by modeling their degradation as a lap time increase and do not capture the PO during a lap. In conclusion, to the best of our knowledge, there are no methods specifically focusing on race strategies in endurance scenarios by which the single-stint operational strategies are jointly optimized together with the high-level stint planning and accounting for the thermal limits of the powertrain components. _B._ _Statement_ _of_ _Contributions_ This article presents a bi-level mixed-integer convex optimization framework to efficiently compute the globally optimal maximum-distance endurance race strategies and Fig. 3. Block diagram overview of the general approach to optimizing the race strategy. The low-level framework provides the state trajectories and minimum stint time for several combinations of stint length and charge time. The high-level framework optimizes the race strategy for a given race time, using the stint time data. the corresponding PO in the individual stints, disregarding dynamic events such as overtaking maneuvers, safety car situations, and weather changes. In order to optimize the strategy over the complete race duration, we decompose an entire endurance race into separate stints and pit stops. Our low-level algorithm computes the optimal stint time for a given number of laps and the level of recharged battery energy. Subsequently, we fit the relationship between the stint length, the charged energy, and the achievable stint time as a second-order conic constraint, which we leverage in the high-level algorithm. Thereby, we frame the maximum-distance race problem as a mixed-integer second-order conic program, which jointly optimizes the stint length, the charge time, and the number of pit stops. The resulting problem can be rapidly solved with offthe-shelf numerical solvers with global optimality guarantees. This procedure is schematically visualized as a block diagram, shown in Fig. 3. A preliminary version of this article was accepted for presentation at the 2022 European Control Conference, and selected for direct publication in a special issue of the European Journal of Control [25]. Whilst our previous study mainly focused on energy management, we now aim to more accurately represent an endurance racing scenario by accounting for the temperature dynamics of the powertrain components and for the vehicle dynamics. To this end, we include a more accurate battery loss model that captures the dependence on its energy and temperature and identify a method to model the battery and electric motor (EM) temperature dynamics in a convex form. Moreover, we directly include the vehicle dynamics in the low-level control problem by devising a convex framework in the form of a single-track model (shown in Fig. 4), so that we can better estimate the vehicle capabilities and no longer rely on a precomputed maximum speed profile. This way, the velocity of the vehicle is directly constrained in the optimization problem via the maximum tire forces. To account for these extensions, we reformulate the high-level control problem by decomposing the race into stints followed by pit stops, instead of stints being preceded by pit stops, and Fig. 4. Top and side view of the single-track vehicle model. The forces acting on the vehicle are shown in red and the velocity vectors are shown in green. The CoG is shown in both figures, whereas the CoP is only shown in the side view. The arrows indicate positive directions, angles, and forces. we now separately optimize the last stint. Finally, we showcase our framework on the Zandvoort circuit for the vehicle shown in Fig. 1, with the corresponding powertrain architecture shown in Fig. 2. _C._ _Organization_ The remainder of this article is structured as follows. Section II presents the minimum-stint-time control problem, after which Section III frames the maximum-race-distance control problem. We discuss some of the limitations of our work in Section IV and showcase our framework for a 6 h race in Section V. Finally, Section VI draws the conclusions and provides an outlook on future research. II. LOW-LEVEL STINT OPTIMIZATION This section illustrates the minimum-stint-time control problem in the space domain since minimizing the stint time given a fixed distance represents the dual problem of maximizing distance within a fixed time. We leverage an existing convex framework [26], reformulated to a single-track model without steering and side-slip angles, as we do not consider torquevectoring, and extend it to allow multilap optimization, whilst including the EM and battery temperature dynamics. From the time-optimal control problem, we obtain the minimum stint time for a given stint length and charge time (which is directly related to available battery energy). Fig. 5 shows a schematic representation of the powertrain topology of the electric race car presented in Fig. 2. The EM propels both of the rear wheels through a fixed final drive (FD), while receiving energy from the battery pack via the inverter. As with most electric vehicles, the EM can also operate as a generator, thus we account for a bi-directional energy flow between the battery and the wheels. In addition, we consider auxiliary components that are powered from the main battery, such as pumps and compressors for the cooling system, as a uni-directional energy flow. In reality, the driver controls the EM torque and the brake force through the accelerator and brake pedal, respectively, and as such we define the mechanical EM power _P_ m and mechanical brake power _P_ brake as the input variables. As state variables, we choose the battery energy _E_ b, battery temperature _ϑ_ b, Fig. 5. Schematic layout of the electric race car powertrain topology consisting of a battery (BAT), inverter (INV), EM, and FD. The arrows indicate positive power flows of the auxiliary power _P_ aux, the electrical inverter power _P_ dc, the electrical EM input power _P_ ac and mechanical output power _P_ m, and the propulsion power _P_ p. The vehicle is rear-wheel driven, with mechanical brakes on each wheel. EM temperature _ϑ_ m, and the kinetic energy of the vehicle _E_ kin. The remaining energy flows between the powertrain components are the propulsion power _P_ p, electrical EM power _P_ ac, electrical inverter power _P_ dc, and auxiliary supply _P_ aux. Since we formulate the control problem in the space domain, we ultimately define the model in terms of forces rather than power. Hence, we divide power by the vehicle velocity, since the space-derivative of energy is defined with respect to the vehicle. _A._ _Objective_ _and_ _Longitudinal_ _Dynamics_ In racing, the objective is to minimize the lap times over the entire race. Since we only consider a stint in the low-level control problem, the objective is to minimize the stint time _t_ stint, which is defined as min _t_ stint = min - _S_ stint 0 <u>d</u> _t_ d _s_ <sup>_(s)_</sup> <sup>d</sup> <sup>_s_</sup> (1) where _S_ stint is the stint length in terms of distance and d _t/_ d _s(s)_ is the lethargy, which is the inverse of the vehicle velocity _v(s)_ ≥ _v_ min, with _v_ min being a positive velocity close to standstill. To implement lethargy as a convex constraint, we define <u>d</u> _t_ <u>1</u> (2) d _s_ <sup>_(s)_</sup> <sup>≥</sup> _v(s)_ which is a convex relaxation that holds with equality in case of an optimal solution [18]. In this study, we limit ourselves to nontorque-vectoring powertrain topologies and thereby only include the longitudinal vehicle dynamics with the use of a single-track model that captures the front and rear axle individually, as shown in Fig. 4. The single-track model was found to provide the best tradeoff between model complexity and accuracy for race strategy optimization purposes, and has been frequently applied in minimum lap time studies [10]. The longitudinal force balance is given by <u>d</u> d _s_ <sup>_E_</sup> <sup>kin</sup> <sup>_(s)_</sup> <sup>=</sup> <sup>_F_</sup> <sup>x</sup> <sup>_,_</sup> <sup>F</sup> <sup>_(s)_</sup> <sup>+</sup> <sup>_F_</sup> <sup>x</sup> <sup>_,_</sup> <sup>R</sup> <sup>_(s)_</sup> <sup>−</sup> <sup>_F_</sup> <sup>drag</sup> <sup>_(s)_</sup> <sup>−</sup> <sup>_m_</sup> <sup>·</sup> <sup>_g_</sup> <sup>· sin</sup> <sup>_(θ(s))_</sup> (3) where _F_ x _,i_ _(s)_ is the longitudinal force per axle with _i_ ∈[F _,_ R] denoting the front and rear axle, respectively, _F_ drag _(s)_ is the aerodynamic drag force, _m_ is the total mass of the vehicle, _g_ is the gravitational constant, and _θ(s)_ is the inclination of the track along the racing line. Hereby we assume a track with a fixed racing line, and known altitude and banking profiles. The aerodynamic drag force is given by _F_ drag _(s)_ = <sup>_c_</sup> <sup><u>d</u></sup> <sup>·</sup> <sup>_A_</sup> <sup><u>f</u></sup> <sup>·</sup> <sup>_ρ_</sup> - _E_ kin _(s)_ (4) _m_ where _c_ d is the drag coefficient, _A_ f is the frontal area of the vehicle, and _ρ_ is the air density. The longitudinal axle forces are defined as _F_ x _,i_ _(s)_ = _F_ p _,i_ _(s)_ - _c_ r · _F_ z _,i_ _(s)_ - _F_ brake _,i_ _(s)_ (5) where _F_ p _,i_ _(s)_ is the propulsion force per axle, _c_ r is the rolling resistance coefficient, _F_ z _,i_ _(s)_ represents the vertical axle force, and _F_ brake _,i_ _(s)_ is the force from the mechanical brakes per axle. For nondriven wheels we set _F_ p _,i_ _(s)_ = 0, whereas for driven wheels we write (5) as two inequality constraints to capture the final drive losses through _F_ x _,i_ _(s)_ ≤ _F_ m _(s)_ - _η_ fd − _c_ r · _F_ z _,i_ _(s)_ - _F_ brake _,i_ _(s)_ (6) where _h_ G is the height of the CoG with respect to the ground, _h_ P is the height of the center of pressure (CoP) with respect to the ground and _l_ GP is the horizontal distance from the CoG to the CoP. The longitudinal and lateral forces are bounded by their respective friction circles per axle, which are defined by the convex set written as - _F_ <u>y</u> _<u>,i</u>_ _(s)_ _µ_ y _,i_ �2 ≤ _F_ z _,i_ _(s)_ <sup>2</sup> (13) - _F_ <u>x</u> _<u>,i</u>_ _<u>(s)</u>_ _µ_ x _,i_ �2 + _F_ x _,i_ _(s)_ ≤ _F_ m _(s)_ - <sup><u>1</u></sup> _η_ fd - _c_ r · _F_ z _,i_ _(s)_ - _F_ brake _,i_ _(s)_ (7) where _µ_ x _,i_ and _µ_ y _,i_, both assumed constant, represent the longitudinal and lateral tire friction coefficients, respectively. Although the constraint function is not convex, it specifies a convex set, which is shown in the Appendix. The majority of racing vehicles are equipped with mechanical brakes that provide a fixed brake force ratio between the front and rear wheels. Therefore, we define a relation between the front and rear brake force as _F_ brake _,_ R _(s)_ - _δ_ brake = _F_ brake _,_ F _(s)_ - _(_ 1 − _δ_ brake _)_ (14) where _δ_ brake represents the brake balance with respect to the front, which is assumed to remain constant during the race. Since we are interested in finding the optimal powertrain operation, we decouple the mechanical brakes and the regenerative braking from the EM. In practice, this can be regarded as a separate driver input for regenerative braking, but the exact implementation is beyond the scope of this work. The relation between the kinetic energy and velocity of the vehicle is defined by a convex relaxation as _E_ kin _(s)_ ≥ <sup><u>1</u></sup> (15) 2 <sup>·</sup> <sup>_m_</sup> <sup>·</sup> <sup>_v_</sup> <sup>2</sup> <sup>_(s)._</sup> In contrast to single-lap scenarios, a stint is represented by the vehicle starting and stopping at the pit box with a certain number of flying laps in between. However, since we are working in the space domain, the lethargy would diverge to infinity for zero velocity. To solve this issue, we define a minimal velocity _v_ min close to a standstill and enforce this value to the initial and final velocity with _E_ kin _(_ 0 _)_ = _E_ kin _(S_ stint _)_ = 2 <sup><u>1</u></sup> <sup>·</sup> <sup>_m_</sup> <sup>·</sup> <sup>_v_</sup> min <sup>2</sup> <sup>_._</sup> (16) Finally, the vehicle should adhere to a strict speed limit, of which the exact value is track-dependent when driving through the pit lane. Therefore, we define an upper bound _v_ pit _,_ max on the vehicle velocity when the vehicle is exiting or entering the pit as _E_ kin _(s)_ ≤ <sup><u>1</u></sup> pit _,_ max ∀ _s_ ∈ _S_ pit (17) 2 <sup>·</sup> <sup>_m_</sup> <sup>·</sup> <sup>_v_</sup> <sup>2</sup> where _S_ pit is the set of distance-based positions that are part of the pit lane. _B._ _Electric_ _Machine_ This section derives a convex representation of the operating limits and power losses of the EM. Moreover, we derive the thermal dynamics of the EM and compare the model against real-world test data. where _F_ m _(s)_ is the mechanical output force from the EM and _η_ fd is the efficiency of the final drive, assumed constant. Due to the objective (1), in case of traction, (6) will hold with equality, whilst in the case of regenerative braking, (7) will hold with equality, thus capturing the bi-directional power flow. The lateral force balance is defined as 2 _E_ kin _(s)_ - _ζ(s)_ = _F_ y _,_ F _(s)_ + _F_ y _,_ R _(s)_ + _m_ - _g_ - sin _(φ(s))_ (8) where _κ(s)_ is the precomputed curvature of the optimal racing line around the track, assumed to be fixed, _F_ y _,i_ _(s)_ represents the lateral force per axle and _φ(s)_ is the banking of the track along the racing line. The vertical force balance consists of the static load and the aerodynamic downforce (see Fig. 4) as _F_ z _,_ F _(s)_ + _F_ z _,_ R _(s)_ = _m_ - _g_ - cos _(θ(s))_ - cos _(φ(s))_ + _F_ down _(s)_ (9) where _F_ z _,i_ _(s)_ is the vertical force per axle and _F_ down _(s)_ is the aerodynamic downforce given by _F_ down _(s)_ = <sup>_c_</sup> <sup><u>l</u></sup> <sup>·</sup> <sup>_A_</sup> <sup><u>f</u></sup> <sup>·</sup> <sup>_ρ_</sup> - _E_ kin _(s)_ (10) _m_ where _c_ l is the lift coefficient. We consider steady-state cornering only, thereby assuming a yaw moment equilibrium given by _F_ y _,_ F _(s)_ - _l_ F = _F_ y _,_ R _(s)_ - _l_ R (11) where _li_ represents the horizontal distance from the respective axle to the center of gravity (CoG). The longitudinal load transfer is determined through the pitch moment equilibrium about the orthogonal projection of the CoG on the road plane, which is defined by <u>d</u> d _s_ <sup>_E_</sup> <sup>kin</sup> <sup>_(s)_</sup> <sup>·</sup> <sup>_h_</sup> <sup>G</sup> <sup>=</sup> <sup>_F_</sup> <sup>z</sup> <sup>_,_</sup> <sup>R</sup> <sup>_(s)_</sup> <sup>·</sup> <sup>_l_</sup> <sup>R −</sup> <sup>_F_</sup> <sup>z</sup> <sup>_,_</sup> <sup>F</sup> <sup>_(s)_</sup> <sup>·</sup> <sup>_l_</sup> <sup>F −</sup> <sup>_m_</sup> - _g_ - sin _(θ(s))_ - _h_ G - _F_ drag _(s)_ - _h_ P − _F_ down _(s)_ - _l_ GP (12) Fig. 6. Speed- and torque-dependent model of the EM. The normalized root-mean-square error (RMSE) of the model is 1.49% with respect to the maximum motor input force _F_ ac. In general, we can distinguish between maximum torque and maximum power operating region for an EM. Translating this to constraints in the space domain results in a lower and upper bound on the mechanical output force of the EM for the maximum torque region as substitute the loss model, relax it, and rewrite it to a relaxation describing a convex set as _(F_ ac _(s)_ - _F_ m _(s))_ - _v(s)_ ≥ _y_ m <sup>⊤</sup> _,_ l <sup>_(s)Q_</sup> <sup>m</sup> <sup>_,_</sup> <sup>l</sup> <sup>_y_</sup> <sup>m</sup> <sup>_,_</sup> <sup>l</sup> <sup>_(s)_</sup> (23) where _y_ m _,_ l _(s)_ = [1 _v(s)_ _F_ m _(s)_ ] <sup>⊤</sup> . The convexity of this constraint is shown in the Appendix by writing it as a second-order conic constraint. For the cooling circuit of the EM, we consider a conventional setup using liquid cooling and radiators, as commonly applied in motorsport. The losses are assumed to be converted to heat, thereby changing the EM temperature according to the first-order temperature ordinary differential equation (ODE) given by _C_ m · <sup><u>d</u></sup> <sup>_ϑ_</sup> <sup><u>m</u></sup> (24) d _t_ <sup>_(s)_</sup> <sup>=</sup> <sup>_P_</sup> <sup>m</sup> <sup>_,_</sup> <sup>l</sup> <sup>_(s)_</sup> <sup>−</sup> <sup>_P_</sup> <sup>m</sup> <sup>_,_</sup> <sup>c</sup> <sup>_(s)_</sup> where _C_ m is the total lumped thermal capacity of the EM, _ϑ_ m _(s)_ is the temperature of the EM (defined at the windings), _P_ m _,_ l _(s)_ are the EM power losses and _P_ m _,_ c _(s)_ ≥ 0 represents the power outflow to the cooling liquid as - - _λ_ m (25) _P_ m _,_ c _(s)_ = - _ϑ_ m _(s)_ - _ϑ_ m _,_ c _,_ <sup>_T_</sup> <sup><u>m</u></sup> <sup>_<u>,</u>_</sup> <sup><u>max</u></sup> <sup>·</sup> <sup>_γ_</sup> <sup><u>fd</u></sup> _r_ w _F_ m _(s)_ ∈ �− <sup>_T_</sup> <sup><u>m</u></sup> <sup>_<u>,</u>_</sup> <sup><u>max</u></sup> <sup>·</sup> <sup>_γ_</sup> <sup><u>fd</u></sup> _r_ w (18) where _T_ m _,_ max is the maximum torque the EM can deliver, _γ_ fd is the final drive ratio, and _r_ w is the radius of the rear wheels. Note that we include the final drive ratio, as we define the space-derivatives with respect to the vehicle reference frame. Similarly, the mechanical output force of the EM within the maximum power region is bounded as d <sup><u>d</u></sup> _s_ <sup>_t_</sup> <sup>_(s)_</sup> where _ϑ_ m _,_ c represents the temperature of the cooling liquid and _λ_ m is the thermal conductivity between the EM and the cooling liquid, where we assume both parameters to be constant. In reality, the coolant temperature may change depending on the performance of the cooling system. Yet in high-level motorsports, this change in coolant temperature is relatively small compared to the change in EM temperature and therefore we deem the modeling of the underlying cooling system beyond the scope of this article. Rewriting (24) to space domain results in _C_ m · <sup><u>d</u></sup> <sup>_ϑ_</sup> <sup><u>m</u></sup> (26) d _s_ <sup>_(s)_</sup> <sup>=</sup> <sup>_F_</sup> <sup>m</sup> <sup>_,_</sup> <sup>l</sup> <sup>_(s)_</sup> <sup>−</sup> <sup>_F_</sup> <sup>m</sup> <sup>_,_</sup> <sup>c</sup> <sup>_(s)_</sup> where _F_ m _,_ c _(s)_ ≥ 0 is the force-equivalence of the EM cooling power. This EM cooling force is ultimately obtained by rewriting (25) to forces using a convex relaxation and linear equality constraint. To obtain a convex representation, we approximate the EM temperature as _ϑ_ m _(s)_ = _x_ m <sup>⊤</sup> _,ϑ_ <sup>_(s)Q_</sup> <sup>m</sup> <sup>_,ϑ_</sup> <sup>_x_</sup> <sup>m</sup> <sup>_,ϑ_</sup> <sup>_(s)_</sup> <sup>+</sup> <sup>_ϑ_</sup> <sup>m</sup> <sup>_,_</sup> <sup>0</sup> (27) where _x_ m _,ϑ_ _(s)_ = [1 _ϑ_ m _(s)_ ] <sup>⊤</sup>, _ϑ_ m _,_ 0 is an offset required to obtain positive values and _Q_ m _,ϑ_ ∈ S <sup>2</sup> - <sup>is</sup> <sup>a</sup> <sup>negative</sup> <sup>semidef-</sup> inite matrix of coefficients, obtained through semidefinite programming. The semidefinite fit of the temperature together with the relative error is shown in Fig. 7. We select a negative semidefinite matrix since we require an upper bound on the EM temperature. Translating (25) to forces and substituting the offset of (27) results in (19) _F_ m _(s)_ ∈ �− _P_ m _,_ max · d <sup><u>d</u></sup> _s_ <sup>_t_</sup> d <sup><u>d</u></sup> _s_ <sup>_t_</sup> <sup>_(s), P_</sup> <sup>m</sup> <sup>_,_</sup> <sup>max ·</sup> d <sup><u>d</u></sup> _s_ <sup>_t_</sup> where _P_ m _,_ max is the maximum power the EM can deliver. We model the EM _force_ losses _F_ m _,_ l _(s)_ rather than the power losses as a function of the vehicle velocity and force of the EM. We calculate the force loss data points, denoted with _(_ ˆ _.)_, from the EM power losses as _F_ ˆ m _,_ l = _P_ ˆ <u>m</u> _<u>,</u>_ <u>l</u> - _γ_ <u>fd</u> _ω_ ˆ m · _r_ w _._ (20) In general, an EM efficiency map shows large losses at low rotational velocities. Hence, we want to include a term in our losses fit that is inversely proportional to the vehicle velocity. To ensure convexity, we model the EM losses as _F_ m _,_ l _(s)_ = _x_ m <sup>⊤</sup> _,_ l <sup>_(s)Q_</sup> <sup>m</sup> <sup>_,_</sup> <sup>l</sup> <sup>_x_</sup> <sup>m</sup> <sup>_,_</sup> <sup>l</sup> <sup>_(s)_</sup> (21) where _x_ m _,_ l _(s)_ = [ _(_ 1 _/_ <sup>√</sup> _<u>v(s)) (v(s))</u>_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _(F_ m _(s)/(v(s))_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _)_ ] <sup>⊤</sup> and _Q_ m _,_ l ∈ S <sup>3</sup> + <sup>is</sup> <sup>a</sup> <sup>symmetric</sup> <sup>positive</sup> <sup>semidefinite</sup> <sup>matrix</sup> <sup>of</sup> coefficients, whose values are determined through semidefinite programming. Fig. 6 shows the EM input force as a function of the EM output force and vehicle speed for the convex model and for the reference data. To implement the losses in a convex manner, we take the relation of the electrical EM input force _F_ ac _(s)_ to the mechanical output force as _F_ ac _(s)_ = _F_ m _(s)_ + _F_ m _,_ l _(s)_ (22) where _F_ m _,_ c _(s)_ is an intermediate variable used to obtain a convex formulation through _F_ m _,_ c _(s)_ - _v(s)_ ≤ _x_ m <sup>⊤</sup> _,ϑ_ <sup>_(s)Q_</sup> <sup>m</sup> <sup>_,ϑ_</sup> <sup>_x_</sup> <sup>m</sup> <sup>_,ϑ_</sup> <sup>_(s)_</sup> (29) - _ϑ_ m _,_ 0 − _ϑ_ m _,_ c - d <sup><u>d</u></sup> _s_ <sup>_t_</sup> <sup>_(s)_</sup> - _λ_ m (28) _F_ m _,_ c _(s)_ = <u>�</u> _F_ m _,_ c _(s)_ + combination is designed such that the EM is thermally limiting. We apply the general quadratic power loss model of the form _P_ dc _(s)_ = _α_ inv · _P_ ac <sup>2</sup> <sup>_(s)_</sup> <sup>+</sup> <sup>_P_</sup> <sup>ac</sup> <sup>_(s)_</sup> (33) where _α_ inv ≥ 0 is an efficiency parameter, subject to identification. Converting this constraint to forces, rewriting and relaxing results in _(F_ dc _(s)_ - _F_ ac _(s))_ - <sup><u>d</u></sup> <sup>_t_</sup> d _s_ ac <sup>2</sup> <sup>_(s)_</sup> (34) d <sup><u>d</u></sup> _s_ <sup>_t_</sup> <sup>_(s)_</sup> <sup>≥</sup> <sup>_α_</sup> <sup>inv ·</sup> <sup>_F_</sup> ac <sup>2</sup> Fig. 7. Semidefinite fit of the EM temperature together with the relative error. The normalized RMSE is 0.15% with respect to the maximum temperature. Fig. 8. Comparison between the thermal model and one of the vehicle telemetry data samples. In total, three datasets were used to fit the model parameters, of which the average normalized RMSE was 4.12% with respect to the maximum temperature of each dataset. which can be written as a second-order conic constraint (see Appendix). Since the cooling circuit consists of liquid coolant flowing through the EM to a set of radiators, the coolant temperature cannot exceed the EM temperature, resulting in _F_ m _,_ c _(s)_ ≥ 0 _._ (30) To obtain the thermal parameters of the EM, we apply the convex loss- and cooling model to a combination of datasets recorded from vehicle telemetry. Fig. 8 shows a comparison between the EM temperature from one of the datasets and the thermal model. To prevent the EM from overheating, we define an upper bound on the temperature through _ϑ_ m _(s)_ ≤ _ϑ_ m _,_ max (31) where _ϑ_ m _,_ max is the maximum temperature of the EM. Finally, we specify an initial value for the EM temperature as _ϑ_ m _(_ 0 _)_ = _ϑ_ m _,_ init (32) where _ϑ_ m _,_ init is the initial value for the temperature and is calculated during preprocessing using a lookup table that has the charge time as an input. _C._ _Inverter_ In this section, we derive a quadratic loss model for the inverter losses. As opposed to the EM, we do not model the inverter temperature, since we assume that the motor-inverter where _F_ dc _(s)_ is the force equivalent to the electrical inverter power. The convexity of this constraint is shown in the Appendix by writing it as a second-order conic constraint. _D._ _Battery_ This section derives a model for the battery efficiency and the power-split between the electrical inverter power and the auxiliary component power. The latter can be observed from Fig. 5 and is written as _P_ b _(s)_ = _P_ dc _(s)_ + _P_ aux (35) where _P_ b _(s)_ is the battery power at the terminals. Here, the auxiliary component supply is assumed to be constant and uni-directional, while the other powers are bi-directional. Converting (35) to forces results in _F_ b _(s)_ = _F_ dc _(s)_ + _P_ aux · <sup><u>d</u></sup> <sup>_t_</sup> (36) d _s_ <sup>_(s)_</sup> where _F_ b _(s)_ is the force equivalent of the battery power at the terminals. The battery efficiency is mostly determined by its internal resistance _R_ 0 and open-circuit voltage _V_ oc. We derive the battery losses _P_ b _,_ l _(E_ b _, ϑ_ b _, P_ i _)_ from a quasistatic zero-order Thévenin equivalent circuit model [27, Chapter 4.5], whereby we only consider the open-circuit voltage and internal resistance. The battery losses are given by <u>1</u> _P_ b _,_ l _(E_ b _, ϑ_ b _, P_ i _)_ = _P_ sc _(E_ b _, ϑ_ b _)_ <sup>·</sup> <sup>_P_</sup> i <sup>2</sup> <sup>_(s)_</sup> (37) where _P_ sc _(E_ b _, ϑ_ b _)_ = _(V_ oc <sup>2</sup> <sup>_(E_</sup> <sup>b</sup> <sup>_)/R_</sup> <sup>0</sup> <sup>_(E_</sup> <sup>b</sup> <sup>_, ϑ_</sup> <sup>b</sup> <sup>_))_</sup> <sup>is</sup> <sup>the</sup> <sup>short-</sup> circuit power [28]. In reality, both the internal resistance and open-circuit voltage are a function of the battery temperature and energy. Since the battery reaches its thermal limit at the end of the charging process and has to be cooled during driving, it is operated at a relatively large temperature window. Therefore, the heat generation of the battery due to losses can vary significantly during driving. However, since the influence of the battery temperature on the open-circuit voltage is rather small (less than 0 _._ 25% according to manufacturer datasheets) within the operating window in racing scenarios, we neglect the dependency of the open-circuit voltage on temperature [29], [30]. To capture the impact of temperature on the internal resistance, we apply a correction factor inversely proportional to the battery temperature temperature [31], [32] to obtain _P_ sc _(E_ b _, ϑ_ b _)_ = <sup>_V_</sup> _R_ <u>oc</u> <sup>2</sup> 0 _ϑ_ ref <sup>_V_</sup> _R_ <u>oc</u> <sup>2</sup> 0 _(_ <sup>_<u>(</u>_</sup> _E_ <sup>_E_</sup> b <sup><u>b</u></sup> _)_ <sup>_<u>)</u>_</sup> <sup>·</sup> <sup>_ϑ_</sup> _ϑ_ <sup><u>b</u></sup> ref <sup>_<u>(s)</u>_</sup> (38) Fig. 9. Temperature- and energy-dependent battery model compared to the calculated short-circuit power using manufacturer datasheets. The normalized RMSE of the model is 2.23% with respect to the maximum short-circuit power. where _ϑ_ ref represents the reference temperature at which the battery data are measured. Similar to the thermal EM model, we fit the short-circuit power in a convex manner through _P_ sc _(s)_ = _x_ b <sup>⊤</sup> _,_ l <sup>_(s)Q_</sup> <sup>b</sup> <sup>_,_</sup> <sup>l</sup> <sup>_x_</sup> <sup>b</sup> <sup>_,_</sup> <sup>l</sup> <sup>_(s)_</sup> <sup>+</sup> <sup>_P_</sup> <sup>sc</sup> <sup>_,_</sup> <sup>0</sup> (39) where _x_ b _,_ l _(s)_ = [1 _E_ b _(s)_ _ϑ_ b _(s)_ ] <sup>⊤</sup>, _P_ sc _,_ 0 is an offset required to obtain positive values and _Q_ b _,_ l ∈ S <sup>2</sup> - <sup>is</sup> <sup>a</sup> <sup>negative</sup> semidefinite matrix of coefficients, identified through semidefinite programming. Again, we select a negative semidefinite matrix, since it is optimal to maximize the short-circuit force, and thereby require an upper bound. The temperature- and energy-dependent model of the short-circuit power is shown in Fig. 9. Translating (38) to forces and substituting the offset of (39) results in _F_ sc _(s)_ = _F_ sc _(s)_ + _P_ sc _,_ 0 · <sup><u>d</u></sup> <sup>_t_</sup> (40) d _s_ <sup>_(s)_</sup> where _F_ sc _(s)_ is the short-circuit force and _F_ sc _(s)_ is an intermediate variable used to obtain a convex formulation through _F_ sc _(s)_ - _v(s)_ ≤ _x_ b <sup>⊤</sup> _,_ l <sup>_(s)Q_</sup> <sup>b</sup> <sup>_,_</sup> <sup>l</sup> <sup>_x_</sup> <sup>b</sup> <sup>_,_</sup> <sup>l</sup> <sup>_(s)._</sup> (41) To obtain the battery losses during discharging _F_ b _,_ l _(s)_, we translate (37) to forces and relax it, which results in _F_ b _,_ l _(s)_ - _F_ sc _(s)_ ≥ _F_ i <sup>2</sup> <sup>_(s)_</sup> (42) where _F_ i _(s)_ is the internal battery force, which ultimately dictates a change in battery energy. To prevent the battery losses and short-circuit force from cooling the battery, we explicitly define _F_ b _,_ l _(s)_ ≥ 0 (43) _F_ sc _(s)_ ≥ 0 _._ (44) In general, the heat generation of a Li-ion battery is different between charging and discharging conditions. As the direction of power flow frequently changes during a lap, it is important to capture the additional heat generation during negative power flow. To capture this behavior, we add an additional term to the battery losses to represent distinct heat generation during charging, compared to discharging. This means that we effectively have a different battery efficiency during charging and discharging [27]. Since this term should only be present during negative power flow, we implement a set of inequality constraints similar to the final drive losses as _F_ i _(s)_ ≥ _F_ b _(s)_ + _F_ b _,_ l _(s)_ (45) _F_ i _(s)_ ≥ _(_ 1 − _α_ ch _)_ - _F_ b _(s)_ + _F_ b _,_ l _(s)_ (46) where _F_ b _(s)_ is the battery force at the terminals and _α_ ch is a coefficient that represents the distinct charging losses. Note that _α_ ch ≥ 0 results in higher losses during charging, compared to discharging, whereas _α_ ch ≤ 0 results in higher losses during discharging, compared to charging. In energy-limited scenarios, (45) will hold with equality during discharging, whereas (46) will hold with equality during charging. In contrast to the EM cooling, where the difference between the EM temperature and the ambient temperature (in the order of 100 ◦C) is sufficient to apply radiators, the difference between the battery temperature and the ambient air is significantly lower (in the order of 25 <sup>◦</sup> C). Therefore, it is common to apply a refrigerant circuit instead of radiators to cool the battery during fast-charging pit stops and driving, which allows the coolant temperature to drop below ambient level. Again, all losses are assumed to be converted to heat, thereby changing the battery temperature according to the first-order temperature ODE given by _C_ b · <sup><u>d</u></sup> <sup>_ϑ_</sup> <sup><u>b</u></sup> (47) d _t_ <sup>_(s)_</sup> <sup>=</sup> <sup>_P_</sup> <sup>b</sup> <sup>_,_</sup> <sup>l</sup> <sup>_(s)_</sup> <sup>−</sup> <sup>_P_</sup> <sup>b</sup> <sup>_,_</sup> <sup>c</sup> <sup>_(s)_</sup> where _C_ b is the total lumped thermal capacity of the battery, _ϑ_ b _(s)_ is the temperature of the battery and _P_ b _,_ c _(s)_ ≥ 0 represents the power outflow from the battery cells to the cooling liquid. Since we consider a battery cooling circuit where the coolant temperature can be actively controlled, the cooling power is free within the bounds defined as 0 ≤ _P_ b _,_ c _(s)_ ≤ - _ϑ_ b _(s)_ - _ϑ_ b _,_ c - - _λ_ b (48) where _ϑ_ b _,_ c represents the lowest achievable temperature of the cooling liquid and _λ_ b is the thermal conductivity between the battery cells and the cooling liquid, where again we assume both parameters to be constant. Rewriting (47) to space domain results in _C_ b · <sup><u>d</u></sup> <sup>_ϑ_</sup> <sup><u>b</u></sup> (49) d _s_ <sup>_(s)_</sup> <sup>=</sup> <sup>_F_</sup> <sup>i</sup> <sup>_(s)_</sup> <sup>−</sup> <sup>_F_</sup> <sup>b</sup> <sup>_(s)_</sup> <sup>−</sup> <sup>_F_</sup> <sup>b</sup> <sup>_,_</sup> <sup>c</sup> <sup>_(s)_</sup> where _F_ b _,_ c _(s)_ ≥ 0 is the force-equivalence of the battery cooling power. Note that we explicitly use the difference between the internal battery force and the battery force at the terminals to include the additional charging losses. Similarly as with the EM cooling, we approximate the battery temperature as _ϑ_ b _(s)_ = _x_ b <sup>⊤</sup> _,ϑ_ <sup>_(s)Q_</sup> <sup>b</sup> <sup>_,ϑ_</sup> <sup>_x_</sup> <sup>b</sup> <sup>_,ϑ_</sup> <sup>_(s)_</sup> <sup>+</sup> <sup>_ϑ_</sup> <sup>b</sup> <sup>_,_</sup> <sup>0</sup> (50) where _x_ b _,ϑ_ _(s)_ = [1 _ϑ_ b _(s)_ ] <sup>⊤</sup>, _ϑ_ b _,_ 0 is an offset required to obtain positive values and _Q_ b _,ϑ_ ∈ S <sup>2</sup> - <sup>is a negative semidefinite matrix</sup> of coefficients, obtained through semidefinite programming. The semidefinite fit of the battery temperature is similar to Fig. 7, except that the normalized RMSE is reduced to 0 _._ 034% Fig. 10. Comparison between the thermal model and three datasets, of which two represent a dynamic discharge (violet and green) and one represents a constant current charge profile followed by a cooldown period (orange). The average normalized RMSE is 0.87% with respect to the maximum temperature of each dataset. Both the modeled and the measured temperatures were obtained with the corresponding battery power profiles shown in the lower plot. due to the smaller temperature window. Translating (48) to forces and substituting the offset of (50) results in temperature is the main limitation. Hence, we enforce the initial battery temperature to be at the upper bound through _ϑ_ b _(_ 0 _)_ = _ϑ_ b _,_ max _._ (55) Finally, we specify a terminal value for the battery temperature as _ϑ_ b _(S_ stint _)_ ≤ _ϑ_ b _,_ N (56) where _ϑ_ b _,_ N is the terminal value for the temperature and is calculated during preprocessing using a lookup table having the charge time as an input. The energy consumption of the battery is modeled as <u>d</u> d _s_ <sup>_E_</sup> <sup>b</sup> <sup>_(s)_</sup> <sup>= −</sup> <sup>_F_</sup> <sup>i</sup> <sup>_(s)_</sup> (57) and we constrain the battery energy as _E_ b _,_ min ≤ _E_ b _(s)_ ≤ _E_ b _,_ max (58) where _E_ b _,_ min and _E_ b _,_ max correspond to the battery energy at the lower and upper state of energy (SoE) bound, respectively. Since the voltage of the battery increases with the battery energy, it is optimal to operate the battery at higher energy levels. Therefore, we set the initial battery energy to the upper bound and constrain the terminal battery energy according to the amount of energy charged after driving as _E_ b _(_ 0 _)_ = _E_ b _,_ 0 (59) _E_ b _(S_ stint _)_ ≥ _E_ b _,_ 0 − _E_ b _,_ ch (60) where _E_ b _,_ 0 is the initial battery energy and _E_ b _,_ ch is the energy the battery receives during charging. In this way, the battery is guaranteed to be charged back to the upper energy bound in energy-limited scenarios. To calculate the battery energy during charging, we leverage a lookup table with input charge time _t_ charge and output _E_ b _,_ ch for a given charging current profile during preprocessing. _E._ _Low-Level_ _Optimization_ _Problem_ This section presents the minimum-stint-time control problem of the electric race car. Given a predefined stint length and charge time, we formulate the control problem using the state variables _x_ = _(E_ kin _, E_ b _, ϑ_ b _, ϑ_ m _)_ and the control variables _u_ = _(F_ m _, F_ brake _,_ F _, F_ brake _,_ R _)_ as follows. _Problem_ _1_ _(Minimum-Stint-Time_ _Control_ _Strategy):_ The minimum-stint-time control strategies are the solution of - _ϑ_ b _,_ 0 − _ϑ_ b _,_ c - d <sup><u>d</u></sup> _s_ <sup>_t_</sup> <sup>_(s)_</sup> - _λ_ b (51) _F_ b _,_ c _(s)_ = <u>�</u> _F_ b _,_ c _(s)_ + where _F_ b _,_ c _(s)_ is an intermediate variable used to obtain a convex formulation (see Appendix) through _F_ b _,_ c _(s)_ - _v(s)_ ≤ _x_ b <sup>⊤</sup> _,ϑ_ <sup>_(s)Q_</sup> <sup>b</sup> <sup>_,ϑ_</sup> <sup>_x_</sup> <sup>b</sup> <sup>_,ϑ_</sup> <sup>_(s)._</sup> (52) As the coolant temperature cannot exceed the battery temperature, we define _F_ b _,_ c _(s)_ ≥ 0 _._ (53) To obtain the thermal parameters of the battery, we apply the convex loss and cooling model to a combination of datasets recorded from vehicle telemetry. Fig. 10 shows a comparison between the battery temperature from various datasets and the thermal model, demonstrating that our model can accurately capture dynamic discharging as well as charging profiles. To ensure safe operation of the battery, we define an upper bound on the temperature through _ϑ_ b _(s)_ ≤ _ϑ_ b _,_ max (54) where _ϑ_ b _,_ max is the maximum temperature of the battery. Due to the relatively long charge time, compared to the refueling time of a conventional race car, it is essential to minimize the charge time. Therefore, we assume that the battery temperature reaches the upper limit at the end of charging since the s.t. _(_ 2 _)_ - _(_ 19 _), (_ 23 _), (_ 26 _), (_ 28 _)_ - _(_ 32 _), (_ 34 _)_ _(_ 36 _), (_ 40 _)_ - _(_ 46 _), (_ 49 _), (_ 51 _)_ - _(_ 60 _)._ Since the feasible domain and the cost function are convex, the low-level control problem is fully convex, and therefore we can compute a globally optimal solution with standard nonlinear programming methods. min - _S_ stint 0 <u>d</u> _t_ d _s_ <sup>_(s)_</sup> <sup>d</sup> <sup>_s_</sup> III. HIGH-LEVEL RACE OPTIMIZATION In this section, we present the high-level maximum-racedistance control problem. First, we formulate the maximumrace-distance control problem that optimizes the stint length and charge time for a predefined number of pit stops. Second, we model the minimum stint time by leveraging the low-level control problem and optimizing for various combinations of stint length and initial battery energy, as was shown in Fig. 3. Finally, we extend the maximum-race-distance control problem to allow joint optimization of the stint length, charge time, and number of pit stops. _A._ _Mixed-Integer_ _Control_ _Problem_ We define the high-level control problem for a predefined number of pit stops in _stint_ _domain_ so that we have a fixed and finite optimization horizon. Here, each index in the optimization variables represents a stint. The goal is then to maximize the driven distance as the sum of all completed laps during the stints as _n_ stops max _S_ race = max _k_ =0 _S_ lap · _N_ laps _(k)_ (61) where _S_ race is the total race distance, _n_ stops is the predefined number of pit stops, _N_ laps _(k)_ ∈ N _,_ ∀ _k_ ∈[0 _, . . .,_ _n_ stops - 1] is the stint length and N the set of natural numbers, and _S_ lap is the length of one lap. Since the vehicle starts and stops at the pit box, the stint length should be an integer number of laps. As it is unlikely that the vehicle is exactly at the finish line when the race time limit is reached, we allow the final stint length to be a noninteger number of laps. This way, we have _n_ stops + 1 stints for _n_ stops pit stops, and thus we have _n_ stops integer stint lengths and one final noninteger stint length. The race can be divided into the car driving a stint and the car recharging the battery during pit-stops. The total elapsed time _t_ tot _(k)_ is then updated after every pit stop by adding both the time to complete the stint _t_ stint _(k)_ ≥ 0 and the time spent on charging _t_ charge _(k)_ ≥ 0 according to _t_ tot _(k_ + 1 _)_ = _t_ tot _(k)_ + _t_ stint _(k)_ + _t_ charge _(k)_ ∀ _k_ ∈ �0 _, n_ stops − 1� _._ (62) Since we do not have a pit stop after the final stint, the elapsed time after the final stint is defined as - + _t_ stint - _n_ stops - _._ (63) Fig. 11. Fit of optimization results for a combination of stint lengths and charge times. The normalized RMSE of the fit is 2.2% with respect to the maximum stint time. thermally limited during charging, which allows us to precalculate the maximum terminal battery temperature for the prior stint through backward integration of the battery temperature dynamics during charging. Thereby, we uniquely base the terminal battery temperature on the charge time, without being influenced by other stints. Finally, we assume that the EM temperature reaches the upper limit at the end of driving and assume that the charge times across consecutive stints remain constant. This allows us to calculate the EM temperature at the beginning of the stint by integrating the EM temperature dynamics during charging. This way, we uniquely define the initial EM temperature on the charge time. To ensure that the battery is not overcharged, we apply an upper bound on the charge time through _t_ charge _(k)_ ≤ _t_ charge _,_ max (66) where _t_ charge _,_ max is the maximum charge time corresponding to charging the battery from the lower to the upper energy level. Finally, the time to complete the stint is obtained by solving the low-level control problem, which we explain in Section III-B. _B._ _Stint_ _Time_ _Model_ In this section, we derive a method for modeling the stint time as a function of the stint length and charge time during the pit stop prior to the stint. We solve the low-level control Problem 1 for a combination of stint lengths and charge times to obtain the respective achievable minimum stint time. In such a manner, we can create the lookup table with stint time as a function of stint length and charge time shown in Fig. 11. Thereby, the charge time and terminal battery energy are linked through a predefined charging profile, see Section II-D, whereas the terminal battery temperature and initial EM temperature are calculated during preprocessing based on the charge time solely, see Section II-B and II-D. As the stint time increases for larger stint lengths and shorter charge times, similar to the EM loss fit in Section II-B above, we approximate the low-level optimization results via the continuous function _t_ stint _(k)_ = _x_ s <sup>⊤</sup> <sup>_(k)Q_</sup> <sup>s</sup> <sup>_x_</sup> <sup>s</sup> <sup>_(k)_</sup> (67) _t_ tot - _n_ stops + 1� = _t_ tot� _n_ stops Moreover, we define the elapsed time counter to start at the beginning of the race, and the elapsed time after the final stint should not exceed the total race time limit _t_ race, resulting in _t_ tot _(_ 0 _)_ = 0 (64) _t_ tot - _n_ stops + 1� ≤ _t_ race _._ (65) We then decompose the total race into blocks consisting of the vehicle first driving a stint followed by a pit stop in which the battery is charged. Assuming that a stint is always energy-limited, the charge time uniquely defines the terminal battery energy for the prior stint and is not influenced by other stints. Furthermore, we assume that the battery is Fig. 12. Fit of the final stint times for a range of stint lengths. The normalized RMSE of the fit is 0.60% with respect to the maximum stint time. where _M_ ≫ _t_ stint _,_ max. This way, we obtain the original constraint if _b_ pit _(k)_ = 1 and we obtain a negative lower bound when _b_ pit _(k)_ = 0. By defining _t_ stint _(k)_ ≥ 0 (73) _t_ charge _(k)_ ≥ 0 (74) the _k_ th stint time and charge time will be pushed to zero, hence skipping the stint. We convert (72) to a cone as _M_ - �1 − _b_ pit _(k)_ - + _t_ stint _(k)_ + _t_ charge _(k)_ _._ (75) ����2 2 · _z_ s _(k)_ ���� _M_ - �1 − _b_ pit _(k)_ - + _t_ stint �1 − _b_ pit _(k)_ - + _t_ stint _(k)_ - _t_ charge _(k)_ where _x_ s _(k)_ = [ _(_ 1 _/(t_ charge _(k))_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _)_ _(t_ charge _(k))_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> ≥ _(N_ laps _(k)/(t_ charge _(k))_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _)_ ] <sup>⊤</sup> and _Q_ s ∈ S <sup>3</sup> + _(N_ laps _(k)/(t_ charge _(k))_ <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _)_ ] <sup>⊤</sup> and _Q_ s ∈ S <sup>3</sup> + <sup>is</sup> <sup>a</sup> <sup>symmetric</sup> positive semidefinite matrix of coefficients. The result of the fit is shown in Fig. 11. For a convex implementation, we relax and rewrite (67) to _t_ stint _(k)_ - _t_ charge _(k)_ ≥ _y_ s _(k)_ <sup>⊤</sup> _Q_ s _y_ s _(k)_ (68) where _y_ s _(k)_ = [1 _t_ charge _(k)_ _N_ laps _(k)_ ] <sup>⊤</sup>, and convert this relaxation to a conic constraint [33] as Hence, whenever a stint is skipped, the corresponding stint time and charge time will be zero if an optimal solution is obtained. To prevent the stint length from diverging to infinity whenever the stint is actually skipped, i.e., _b_ pit _(k)_ = 0, we define an upper bound on stint length as _N_ laps _(k)_ ≤ _N_ laps _,_ max · _b_ pit _(k)_ (76) where _N_ laps _,_ max is the maximum stint length that was used to obtain the lookup table. This will ensure _N_ laps _(k)_ = 0 whenever _b_ pit _(k)_ = 0. Since the final stint is not constrained by a lower terminal battery temperature and can deplete the battery without spending time on charging afterward, the final stint has to be part of the optimal race strategy. We ensure this by writing _t_ stint _(k)_ + _t_ charge _(k)_ ≥ 2 · _z_ s _(k)_ (69) ���� _t_ stint _(k)_ - _t_ charge _(k)_ ����2 where _z_ s = _L_ s _y_ s _(k)_ with _L_ s being the Cholesky factorization of _Q_ s [33]. Since it is optimal to minimize stint time, this constraint will hold with equality at the optimum. The final stint of the race is not followed by a pit stop in which the battery is charged, which means that the battery can be fully depleted and there is no margin needed in the battery temperature. Therefore, we separately model the final stint by solving the low-level control Problem 1 for a range of stint lengths, with a fixed charge time _t_ charge _(n_ stops _)_ = _t_ charge _,_ max and terminal battery temperature _ϑ_ b _,_ N = _ϑ_ b _,_ max. With the charge time being fixed, we can then model the final stint time by a quadratic function with the stint length as _b_ pit _(k_ + 1 _)_ ≥ _b_ pit _(k)_ ∀ _k_ ∈ �0 _, n_ stops − 1� _._ (77) Suppose we set the length of the variables to _N_ and that _x_ stints and stops are skipped. Then, the first _x_ entries in _b_ pit will be zero and the last _N_ - _x_ entries will be one. In this way, the final stint is always taken and the search space for the solver is reduced. _D._ _High-Level_ _Optimization_ _Problem_ This section presents the maximum-race-distance control problem of the electric race car. Given a predefined race time, we formulate the control problem using the state variables _x_ = _(t_ tot _)_ and the control variables _u_ = _(t_ charge _, N_ laps _, b_ pit _)_ as follows. _Problem_ _2_ _(Maximum-Race-Distance_ _Strategies):_ The maximum-race-distance strategies are the solution of - ≥ _D_ s <sup>⊤</sup> _,_ f <sup>_x_</sup> <sup>s</sup> <sup>_,_</sup> <sup>f</sup> (70) _t_ stint - _n_ stops where _D_ s _,_ f is a vector of coefficients and _x_ s _,_ f = [ _N_ laps <sup>2</sup> <sup>_(n_</sup> <sup>stops</sup> <sup>_)_</sup> <sup>_N_</sup> <sup>laps</sup> <sup>_(n_</sup> <sup>stops</sup> <sup>_)_</sup> <sup>1]⊤.</sup> <sup>Fig.</sup> <sup>12</sup> <sup>shows</sup> <sup>the</sup> <sup>quadratic</sup> <sup>fit</sup> of the final stint time model. _C._ _Optimal_ _Pit_ _Stop_ _Strategy_ In Sections III-A and III-B, we introduced the objective and constraints for the high-level control problem when optimizing the race strategy for a predefined number of pit stops. In this section, we apply some modifications in order to jointly optimize the stint lengths, charge times, and number of pit stops, thereby removing the need to search over a large space of predefined number of pit stops. We define a binary variable _b_ pit _(k)_ that indicates whether pit stop and stint _k_ is taken or skipped as max _n_ stops _k_ =0 _S_ lap · _N_ laps _(k)_ _b_ pit _(k)_ = - 0 _,_ if stint and stop skipped (71) 1 _,_ if stint and stop taken and include it in (67) via the big-M formulation [34] _t_ stint _(k)_ ≥ _x_ s _(k)_ <sup>⊤</sup> _Q_ s _x_ s _(k)_ - _M_ �1 − _b_ pit _(k)_ - (72) s.t. _(_ 62 _)_ - _(_ 66 _), (_ 70 _), (_ 73 _)_ - _(_ 77 _)._ Since Problem 2 can be solved with mixed-integer secondorder conic programming solvers, we can guarantee global optimality upon convergence [35], [36]. IV. DISCUSSION A few comments are in order. First, we assume that endurance racing tires do not degrade significantly within a single stint, considering that the vehicle is operated less at the grip limits and the stints are relatively short, compared to conventional endurance race cars. The tires can be changed every stint without additional time loss in the pit lane since the charging time is much longer than the tire change time. Furthermore, we assume that the tires are operated at their average operating temperature. Therefore, we disregard the influence of tire wear and tire temperature on the available grip level. Yet the high-level control problem can be readily extended to capture these dynamics if the lookup table is devised accounting for tire degradation. Second, we assume that the time gained from starting the race from the grid compared to the pit lane is negligible in a full endurance race. Hence, we do not separately optimize the first stint. Third, when the battery temperature is not an active constraint, the battery cooling relaxes in order to maximize the battery efficiency. Yet this can be interpreted as the battery coolant temperature is controlled by the refrigerant cooling system, which allows reduced cooling power, assuming that the system can cope with the requested coolant temperature changes. Fourth, in scenarios where the battery or EM temperature is very limiting and the lower battery energy limit is not reached, it may occur that (2) relaxes due to the positive contribution of a higher lethargy in (28), (40), and (51). In these cases, the solution will not reflect reality anymore and it should be disregarded. Yet from a high-level perspective, these solutions cannot be part of the optimal race strategy, since charging the battery more than needed is suboptimal. In fact, these situations were not found to be part of the optimal strategies in this study, as shown in Section V below. If a stint with a relaxed lethargy is not part of the optimal race strategy, it is guaranteed that the physically correct solution of the same stint will not be part of the optimal strategy either, since it is always worse or equal, compared to the convex solution. Fifth, we assume a fixed value for the terminal EM temperature when precalculating the bound on the initial EM temperature. However, it can occur that this value is not reached, e.g., in scenarios where the EM temperature is not an active constraint. In these situations, the temperature trajectories might not reflect reality, yet this does not affect the resulting solution, as there are no other states that depend on the EM temperature. Finally, we disregarded dynamic events, such as competitor interaction. Therefore, the results represent the theoretical optimal race strategy, which can be regarded as an upper bound on what is achievable in practice. The methods could be modified and applied online to account for such events, but this is beyond the current scope. V. RESULTS This section presents numerical results for both the lowand high-level control problems. We base our use case on the driven electric endurance race car of InMotion [1], shown in Fig. 1, performing an 11-lap stint at the Zandvoort circuit for the low-level control problem and a 6 h race at the same circuit for the high-level control problem. First, we discuss the numerical solutions for both control problems. Second, we validate the high-level control problem by comparing the optimal race strategy against fixed-pit-stop-number strategies and compare the results to the expected optimal combinations of stint length and charge time. Although the model is capable Fig. 13. Velocity, EM power, and battery SoE trajectories per lap for an 11-lap stint. The battery energy is an active constraint, thus the stint is energy-limited. The EM power shows a gradual decrease at high velocities, thus indicating energy management. The zoomed-in view window corresponds to the final 500 m of the stint. of capturing the inclination and banking of the track, the results were generated for a flat track, since there is no open-access data of the Zandvoort circuit. For the discretization of the model, we apply the trapezoidal method with a fixed step size of _�s_ = 4 m. We parse the low-level control problem with CasADi [37] and solve it using IPOPT [38] combined with the MA57 linear solver [39], whilst we parse the high-level control problem with YALMIP [40] and solve it using MOSEK [41]. We perform the numerical optimization on an Intel Core i7-4710MQ 2.5 GHz processor and 8 GB of RAM. Thereby, the computation time for solving the low-level problem was about 0.68 s of parsing and 61 s of solving, whereas the high-level problem needed 0.21 s of parsing and 4.5 s of solving. _A._ _Low-Level_ _Optimization_ In this section, we compute the optimal trajectories for a stint of 11 laps around the Zandvoort circuit. We set the terminal battery capacity to the energy level corresponding to a 5 min charge time using constant current charging, which means that the battery is partially charged. The total stint time is about 1126 s with an average flying lap time of 101 s (not counting the first and last lap). The velocity profile together with the EM power and SoE per lap is shown in Fig. 13. Furthermore, the total stint velocity profile together with the powertrain losses, SoE, battery temperature, and EM temperature is shown in Fig. 14. First, we observe that the velocity profiles of the first four consecutive laps are slightly different, which is due to the EM temperature being an active constraint. Since the EM temperature starts below the limit, the velocity in the first laps is the highest and decreases as the EM temperature reaches the upper limit. In this scenario, the terminal battery temperature is not an active constraint, since the battery temperature is kept at the maximum level during the first half of the stint by reducing the cooling power, thereby increasing the battery Fig. 14. Velocity, powertrain losses, battery SoE, battery temperature, and EM temperature trajectories for an 11-lap stint. The battery energy is an active constraint, thus the stint is energy-limited and energy management is needed. Furthermore, the maximum EM temperature is reached multiple times throughout the stint. Therefore, the velocity profile decreases when the maximum EM temperature is reached. efficiency. In the second half of the stint, the battery temperature decreases gradually by applying maximum cooling to reach the required terminal value. If the terminal battery temperature were an active constraint, we would observe a gradual decrease in temperature over the entire stint, as shown in the Appendix for illustration purposes. Second, the EM power decreases gradually before the vehicle reaches a corner and regenerative braking is applied. However, both the power during traction as well as the regenerative braking power decrease when the EM temperature limit is reached. In general, the velocity profile shows smooth behavior (i.e., the acceleration of the vehicle is within a relatively small value range), which is typical for energy-limited scenarios [12], [14], [15], since regenerative braking is used instead of the mechanical brakes to reduce the velocity before cornering. Third, we observe that the battery energy exceeds the terminal value before the end of the stint. Since the battery is partially charged in this scenario, the absolute lower energy limit is not reached. With the use of regenerative braking, the battery energy then reaches the terminal value exactly at the end of the stint, indicating an energy-limited scenario. Finally, Fig. 15 shows the normalized lateral and longitudinal forces per axle, along with the maximum grip limit defined by the friction coefficient. Since the vehicle in this study is rear-wheel driven ( _F_ p _,_ F = 0), the front axle only provides negative forces in the longitudinal direction. It can be noticed that the data points do not show the typical diamond-like pattern for the front axle forces that is expected in racing scenarios [42]. This Fig. 15. Friction circles per axle showing the normalized longitudinal and lateral forces. The vehicle is rear-wheel driven and braking is done mostly using the EM. Therefore, the front axle (left) mostly generates lateral forces, whereas the rear axle (right) shows more combined forces. is because the mechanical brakes are only used during pit entry at the end of the stint and because the vehicle applies regenerative braking to slow down for cornering. Moreover, both the front and rear axles are operated at the lateral grip limit in corners, indicating that the acceleration throughout the corners is maximized. _B._ _High-Level_ _Optimization_ This section presents the optimal race strategy in terms of the number of pit stops, stint length, and charge time, and we compare it against the strategies optimized for a fixed number of pit stops. We select a 6 h race, yet longer races can be solved as well with our approach, considering the very low computational times needed by our high-level framework to converge. To link the terminal battery energy _E_ b _(S_ stint _)_ to the charge time _t_ charge, we apply constant current charging, which is in line with the implementation on the actual vehicle. Furthermore, we calculate the terminal battery temperature _ϑ_ b _,_ N using the losses that correspond to the constant current profile and obtain the initial EM temperature _ϑ_ m _,_ init by applying maximum cooling power, for the given charge time. Fig. 16 shows the evolution of the completed laps as a function of time for various fixed pit stop strategies. We observe that the optimal strategy of 14 stops results in the largest amount of completed laps, thereby confirming that it is indeed optimal in terms of number of pit stops. The difference in covered race length between the optimal and fixed-pit-stop-number strategies can exceed multiple laps and hence significantly affect the final race outcome in terms of finishing position, highlighting the importance of jointly optimizing the number of pit stops. Furthermore, we compare the optimal race strategy against a strategy that repeats the global optimal stint of 11 laps and 4.7 min charging, until the race ends. Although the stints used in this strategy are globally optimal from a stint perspective, it does not cover the largest distance within the 6 h time window, which makes the strategy suboptimal from a race perspective. This is because a pure repetition of the optimal stint does not perfectly fit within the 6 h race. Instead, it is beneficial to slightly deviate from the optimal stint, so that the stints fit better within the race, as done by the optimal race strategy. This shows that the optimal race strategy is not necessarily the same as the Fig. 16. Evolution of the completed laps as a function of time for the optimal strategy (black) and the strategies optimized for a fixed number of pit stops. The dashed data show a repetition strategy of the global optimal stint and the dash-dotted data show a baseline strategy. The zoomed-in view window corresponds to the final 2 min of the race and illustrates the difference in race distance between the optimized strategies, showing that jointly optimizing the number of stints can significantly outperform other strategies by multiple laps. optimal stint, thereby highlighting the importance of jointly optimizing the stint lengths, charge times, and number of pit stops. Finally, to show the importance of the bi-level approach, we compare the optimal strategy against a baseline _flat-out_ strategy whereby no energy management is applied to limit energy consumption, but the EMs are operated at maximum power whenever possible. This results in 6 lap stints and a total race distance of 132 laps, whilst the globally optimal solution is about 170 laps. Hence, the optimal solution is about 29% better compared to the baseline, even though the baseline was computed without thermal limits. Fig. 17 shows the individual stints in terms of length and charge time, together with the relaxed noninteger solution. We can conclude that a constant stint length over the race is optimal since all stints in the relaxed solutions are equal, the only exception being the last stints. In this use case, the optimal integer solution consists of the stint lengths that minimize the difference to the relaxed solution, namely, of a stint length between 10 and 11 laps together with a charge time of about 4.7 min and 14 pit stops in total. For the vehicle considered in this study, the 8 stop strategy is the fastest strategy that involves fully charging the battery. However, this strategy is 0.6 laps behind on the optimal race strategy, thereby showing that fully charging the battery can be suboptimal. This is explained by the constant current charging, which effectively reduces the average charging power for longer charge times due to the battery voltage decreasing for lower energy levels. With a different charging profile, such as constant power charging, a different optimal race strategy will be obtained. However, it is beyond the scope of this article to optimize the charging profile. Moreover, reducing the charge time results in shorter stints, thereby increasing the number of pit stops needed, as indicated by the results. This then results in more time lost in the pit lane due to the speed limit. Thus, there is a clear tradeoff in determining the optimal charge The globally optimal stint should maximize the average stint velocity since that maximizes the driven distance per unit of time, also accounting for the charge time after the stint. We can calculate the average stint velocity for various combinations of stint length and charge time using the Fig. 17. Optimal race strategy (black) in terms of stint length, charge, and stint time with _t_ charge _,_ max = 7 _._ 5 min. For comparison, we show other optimal fixed pit stop strategies together with the relaxed solution in gray. Stint length, charge, and stint time are related and the optimal integer solution minimizes the differences from the relaxed solution. time. When we also consider thermally-limited scenarios, this tradeoff becomes even more complex. In these cases, a shorter charge time is expected to be in favor, since this increases the terminal battery temperature. Although a longer charge time reduces the initial EM temperature, we observed that this had a relatively small impact on the stint time. In fact, it has been observed that in longer stints the EM was operated relatively more at the thermal limit compared to shorter stints, thereby disfavoring longer charge times. Finally, we observe that there is a considerable decrease in race distance when an increasing stint length cannot be compensated by an increase in charge time, as illustrated by the difference between the 7- and 8-stop strategies. From the aforementioned observations, we conclude that the stint length, stint time, and charge time are closely related in the case of an optimal solution. _C._ _Validation_ In this section, we validate the correctness of the model by showing that the lethargy constraint holds equality for various stints that were presented in the previous section. Furthermore, we validate the convex models by implementing the optimal inputs into a nonlinear simulator and compare the drift in battery energy. Finally, we validate the numerical combinations of stint length and charge time for the various strategies. For the latter, we calculate the average stint velocity _~~v~~_ stint _(k)_ for every strategy as _S_ <u>stint</u> _<u>(k)</u>_ _~~v~~_ stint _(k)_ = ∀ _k_ ∈ _t_ charge _(k)_ + _t_ stint _(k)_ �0 _, n_ stops − 1� _._ (78) Fig. 18. Average stint velocity for a combination of stint lengths and charge times together with the optimal combinations and actual numerical solutions. The optimal combinations of stint length and charge time show a clear (linear) correlation, to which the numerical solutions are aligned. stint time map. To validate the correctness of the optimized strategies, we calculate the optimal charge time that maximizes the average stint velocity, for every possible stint length. These are referred to as the optimal combinations of charge times and stint length. The optimized strategies should align with these theoretical optimal combinations when looking from a stint perspective. However, small deviations might be observed, since the strategies are optimized from a race perspective. Fig. 18 shows the average stint velocity together with the theoretical optimal combinations. These optimal combinations indicate an almost linear relation between charge time and stint length until the maximum charge time is reached. The most noticeable exception is the single-lap stint, which has a relatively higher optimal charge time. This is because a single-lap stint does not include a flying lap, where the vehicle starts the lap with a high initial velocity. Thus, the vehicle requires more energy in the first lap to accelerate toward the optimal velocity, which explains the longer charge time for a single-lap stint. The globally optimal stint with the highest average stint velocity consists of 11 laps and 4.7 min charging, which is the exact same combination that we obtained as the optimal strategy in the previous section. Furthermore, we observe that the average stint velocity decreases in sensitivity around the optimal combinations for increasing stint length and charge time. When the maximum charge time is reached, the average stint velocity diminishes considerably for increasing stint lengths. Thereby, increasing the stint length beyond 18 laps quickly becomes less favorable, since it cannot be compensated by an increase in charge time. This explains why the 7 stop strategy is significantly worse than the others. Finally, we note that the numerical solutions are in line with the theoretically optimal combinations, thereby validating their correctness. The outliers not aligning with the optimal combinations, e.g., at 16.8 laps and 7.5 min charging, correspond to the last stints, for which the charge time is not part of the race and thus the calculation of the stint velocity in (78) is not valid. To validate the convex loss models for the EM and battery, we calculate the battery energy trajectory by applying the optimal input trajectories to nonlinear models and compare Fig. 19. Battery energy calculated through the nonlinear and convex models, using the optimized inputs for the globally optimal stint of 11 laps and 4.7 min charging. The small drift in battery energy between the nonlinear and convex models indicates that the convex models accurately capture the dynamics of the powertrain components. Fig. 20. Validation of the lethargy constraint for the mode of the stints obtained from the high-level optimization. All data points align with the constraint (within the solver tolerance), indicating that the lethargy constraint holds with equality. the result to the trajectory obtained from the optimization. Fig. 19 shows both battery energy trajectories for the globally optimal stint of 11 laps with 4.7 min charging. From this figure, we observe small deviations, with a total drift of -1.78 % with respect to the nonlinear models, thereby indicating that the convex models accurately capture the dynamics of the powertrain components. Finally, we verify that all relaxed constraints hold with equality. As noted previously, it can occur that the lethargy constraint does not hold with equality in thermally-limited scenarios. Therefore, we explicitly show this constraint for the most frequently used stints per pit stop strategy that were obtained in the previous section. Fig. 20 shows that all data points align with the constraint, thereby indicating that the lethargy constraint holds with equality for all optimal stints. VI. CONCLUSION In this article, we studied the maximum-distance endurance racing problem for electric race cars, explicitly accounting for temperature and vehicle dynamics. To this end, we devised a convex bi-level optimization framework that can efficiently compute the optimal race strategy (in terms of stint lengths, charge times, and pit stops), jointly with the in-stint PO strategy. Our results showed that accounting for the temperature dynamics of the powertrain components is extremely important in an endurance racing scenario and that both the in-stint PO and the high-level race strategy were affected by it. From a stint perspective, there is a clear correlation between optimal stint length and charge time, which corresponds to the maximization of the average stint velocity. In contrast to our preliminary results [25], fully charging the battery proved to be suboptimal for this case study, because increasing the Fig. 21. Velocity, powertrain losses, battery SoE, battery temperature, and EM temperature trajectories for an 11-lap stint. The terminal battery temperature is an active constraint, which results in a gradual decrease in battery temperature throughout the stint to allow for some margin in temperature for the consecutive charging session. battery operating window results in a lower average charge power and stricter battery temperature limitations. Moreover, the results suggest avoiding the usage of mechanical friction brakes, which indicates the paramount importance of efficient energy management for electric race cars. In fact, this highlights the shortcomings and need for improvement of current battery technologies, compared to hybrid-electric vehicles in racing scenarios. Finally, we highlighted the importance of optimizing both levels by showing that a repetition of the optimal stint does not result in an optimal race. This work opens the field for the following possible extensions. First, we are interested in the impact of tire degradation and temperature on the achievable stint time and the resulting race strategies, since this yields an apparent tradeoff with energy management. Second, we want to extend the usage of the framework to an investigation of the optimal transmission technology and powertrain architecture. Finally, we would like to leverage the computational efficiency of the framework for an online implementation both in the vehicle, as well as in the pit lane. APPENDIX In Section II-E, we frequently used the following relaxations _x_ - _y_ ≥ _z_ <sup>⊤</sup> _z_ (79) which defines a convex set. To prove convexity, we can rewrite this constraint to a convex second-order conic constraint as (80) ����2 which can be solved with global optimality guarantees [33]. Since (79) is mathematically equivalent to (80), both optimization problems will converge to the same KKT points, thereby guaranteeing global optimality. Another type of constraint that was used in Section II-E for the friction circles is _x_ <sup>2</sup> + _y_ <sup>2</sup> ≤ _z_ <sup>2</sup> _._ (81) This constraint can be directly translated to a convex second-order conic constraint _x_ ≤ _z_ (82) ���� _y_ ����2 thereby proving that (81) defines a convex set. In Section V-A, we mentioned that an active terminal battery temperature constraint results in a gradual decrease in battery temperature over the entire stint. Fig. 21 again shows an 11 lap stint, but with increased thermal resistance for the battery, thereby resulting in an active battery temperature constraint. Comparing this figure to Fig. 14, we can clearly see the difference in battery temperature trajectories. Whereas the battery temperature was kept close to the maximum before to maximize the efficiency, the temperature is now gradually decreasing to reach the required terminal value. ACKNOWLEDGMENT The authors thank Dr. I. New for proofreading this article, and N. Schoenmakers for the photograph of the car shown in Fig. 1. REFERENCES [1] InMotion. (2023). _InMotion_ _Fully_ _Electric_ _LMP3_ _Car_ . [Online]. Avail able: https://www.inmotion.tue.nl/en/about-us/cars/revolution [2] FIA. (2021). _2021_ _FIA_ _World_ _Endurance_ _Championship:_ _Sport-_ _ing_ _Regulations_ . [Online]. Available: https://www.fia.com/sites/default/ files/2021_wec_sporting_regulations_-_wmsc161220-clean_1.pdf [3] R. Lot and S. Evangelou, “Lap time optimization of a sports series hybrid electric vehicle,” in _Proc._ _World_ _Congr._ _Eng._, 2013, pp. 1–12. [4] T. Sedlacek, D. Odenthal, and D. Wollherr, “Minimum-time optimal control for battery electric vehicles with four wheel-independent drives considering electrical overloading,” _Vehicle_ _Syst._ _Dyn._, vol. 60, no. 2, pp. 491–515, Feb. 2022. [5] D. Casanova, “On minimum time vehicle manoeuvring: The theoretical optimal lap,” Ph.D. dissertation, School Eng., Cranfield Univ., Cranfield, U.K., 2000. [6] G. Perantoni and D. J. N. Limebeer, “Optimal control for a formula one car with variable parameters,” _Vehicle_ _Syst._ _Dyn._, vol. 52, no. 5, pp. 653–678, May 2014. [7] F. Christ, A. Wischnewski, A. Heilmeier, and B. Lohmann, “Time optimal trajectory planning for a race car considering variable tyre-road friction coefficients,” _Vehicle_ _Syst._ _Dyn._, vol. 59, no. 4, pp. 588–612, Apr. 2021. [8] N. Dal Bianco, R. Lot, and M. Gadola, “Minimum time optimal control simulation of a GP2 race car,” _Proc._ _Inst._ _Mech._ _Eng.,_ _D,_ _J._ _Automobile_ _Eng._, vol. 232, no. 9, pp. 1180–1195, Aug. 2018. [9] A. Heilmeier, A. Wischnewski, L. Hermansdorfer, J. Betz, M. Lienkamp, and B. Lohmann, “Minimum curvature trajectory planning and control for an autonomous race car,” _Vehicle_ _Syst._ _Dyn._, vol. 58, no. 10, pp. 1497–1527, Oct. 2020. [10] M. Massaro and D. J. N. Limebeer, “Minimum-lap-time optimisation and simulation,” _Vehicle_ _Syst._ _Dyn._, vol. 59, no. 7, pp. 1069–1113, Jul. 2021. [11] A. J. Tremlett and D. J. N. Limebeer, “Optimal tyre usage for a formula one car,” _Vehicle_ _Syst._ _Dyn._, vol. 54, no. 10, pp. 1448–1473, Oct. 2016. [12] T. Herrmann, F. Christ, J. Betz, and M. Lienkamp, “Energy management strategy for an autonomous electric racecar using optimal control,” in _Proc._ _IEEE_ _Intell._ _Transp._ _Syst._ _Conf._ _(ITSC)_, Oct. 2019, pp. 720–725. _x_ + _y_ ≥ 2 · _z_ ���� _x_ - _y_ [13] D. J. N. Limebeer, G. Perantoni, and A. V. Rao, “Optimal control of formula one car energy recovery systems,” _Int. J. Control_, vol. 87, no. 10, pp. 2065–2080, 2014. [14] T. Herrmann, F. Passigato, J. Betz, and M. Lienkamp, “Minimum race time planning-strategy for an autonomous electric racecar,” in _Proc._ _IEEE_ _23rd_ _Int._ _Conf._ _Intell._ _Transp._ _Syst._ _(ITSC)_, Sep. 2020, pp. 1–6. [15] X. Liu, A. Fotouhi, and D. J. Auger, “Optimal energy management for formula-E cars with regulatory limits and thermal constraints,” _Appl._ _Energy_, vol. 279, Dec. 2020, Art. no. 115805. [16] T. Herrmann, F. Sauerbeck, M. Bayerlein, J. Betz, and M. Lienkamp, “Optimization-based real-time-capable energy strategy for autonomous electric race cars,” _SAE_ _Int._ _J._ _Connected_ _Automated_ _Vehicles_, vol. 5, no. 1, pp. 45–59, Jan. 2022. [17] X. Liu and A. Fotouhi, “Formula-E race strategy development using artificial neural networks and Monte Carlo tree search,” _Neural Comput._ _Appl._, vol. 32, no. 18, pp. 15191–15207, Sep. 2020. [18] S. Ebbesen, M. Salazar, P. Elbert, C. Bussi, and C. H. Onder, “Time optimal control strategies for a hybrid electric race car,” _IEEE_ _Trans._ _Control_ _Syst._ _Technol._, vol. 26, no. 1, pp. 233–247, Jan. 2018. [19] M. Salazar, P. Elbert, S. Ebbesen, C. Bussi, and C. H. Onder, “Time optimal control policy for a hybrid electric race car,” _IEEE_ _Trans._ _Control_ _Syst._ _Technol._, vol. 25, no. 6, pp. 1921–1934, Nov. 2017. [20] P. Duhr, G. Christodoulou, C. Balerna, M. Salazar, A. Cerofolini, and C. H. Onder, “Time-optimal gearshift and energy management strategies for a hybrid electric race car,” _Appl._ _Energy_, vol. 282, Jan. 2021, Art. no. 115980. [21] O. Borsboom, C. A. Fahdzyana, T. Hofman, and M. Salazar, “A convex optimization framework for minimum lap time design and control of electric race cars,” _IEEE_ _Trans._ _Veh._ _Technol._, vol. 70, no. 9, pp. 8478–8489, Sep. 2021. [22] A. Locatello, M. Konda, O. Borsboom, T. Hofman, and M. Salazar, “Time-optimal control of electric race cars under thermal constraints,” in _Proc._ _Eur._ _Control_ _Conf._ _(ECC)_, Jun. 2021, pp. 905–912. [23] A. Heilmeier, M. Graf, and M. Lienkamp, “A race simulation for strategy decisions in circuit motorsports,” in _Proc._ _21st_ _Int._ _Conf._ _Intell._ _Transp._ _Syst._ _(ITSC)_, Nov. 2018, pp. 1–11. [24] W. J. West and D. J. N. Limebeer, “Optimal tyre management for a high-performance race car,” _Vehicle_ _Syst._ _Dyn._, vol. 60, no. 1, pp. 1–19, Jan. 2022. [25] J. van Kampen, T. Herrmann, and M. Salazar, “Maximum-distance race strategies for a fully electric endurance race car,” _Eur. J. Control_, vol. 68, Nov. 2022, Art. no. 100679. [26] S. Broere, J. Van Kampen, and M. Salazar, “Minimum-lap-time control strategies for all-wheel drive electric race cars via convex optimization,” in _Proc._ _Eur._ _Control_ _Conf._ _(ECC)_, Jul. 2022, pp. 1204–1211. [27] L. Guzzella and A. Sciarretta, _Vehicle_ _Propulsion_ _Systems:_ _Introduction_ _to Modeling and Optimization_, 2nd ed. Berlin, Germany: Springer, 2007. [28] O. Borsboom, C. A. Fahdzyana, and M. Salazar, “Time-optimal control strategies for electric race cars with different transmission technologies,” in _Proc._ _IEEE_ _Vehicle_ _Power_ _Propuls._ _Conf._ _(VPPC)_, Nov. 2020, pp. 296–300. [29] R. Zhang et al., “A study on the open circuit voltage and state of charge characterization of high capacity lithium-ion battery under different temperature,” _Energies_, vol. 11, no. 9, p. 2408, Sep. 2018. [30] A. Farmann and D. U. Sauer, “A study on the dependency of the open circuit voltage on temperature and actual aging state of lithium-ion batteries,” _J._ _Power_ _Sources_, vol. 347, pp. 1–13, Apr. 2017. [31] D. M. Rosewater, D. A. Copp, T. A. Nguyen, R. H. Byrne, and S. Santoso, “Battery energy storage models for optimal control,” _IEEE_ _Access_, vol. 7, pp. 178357–178391, 2019. [32] A. Łebkowski, “Temperature, overcharge and short-circuit studies of batteries used in electric vehicles,” _Przegld_ _Elektrotechniczny_, vol. 1, no. 5, pp. 69–75, May 2017. [33] S. Boyd and L. Vandenberghe, _Convex_ _Optimization_ . Cambridge, U.K.: Cambridge Univ. Press, 2004. [34] A. Richards and J. How, “Mixed-integer programming for control,” in _Proc._ _Amer._ _Control_ _Conf._, 2005, pp. 2676–2683. [35] J. Lee and S. Leyffer, _Mixed_ _Integer_ _Nonlinear_ _Programming_ . Cham, Switzerland: Springer-Verlag, 2012. [36] P. Belotti, C. Kirches, S. Leyffer, J. Linderoth, J. Luedtke, and A. Mahajan, “Mixed-integer nonlinear optimization,” _Acta_ _Numerica_, vol. 22, pp. 1–131, May 2013. [37] J. A. E. Andersson, J. Gillis, G. Horn, J. B. Rawlings, and M. Diehl, “CasADi: A software framework for nonlinear optimization and optimal control,” _Math._ _Program._ _Comput._, vol. 11, no. 1, pp. 1–36, Mar. 2019. [38] A. Wächter and L. T. Biegler, “On the implementation of an interior point filter line-search algorithm for large-scale nonlinear programming,” _Math._ _Program._, vol. 106, no. 1, pp. 25–57, Mar. 2006. [39] HSL. _A_ _Collection_ _of_ _Fortran_ _Codes_ _for_ _Large_ _Scale_ _Scien-_ _tific_ _Computation_ . Accessed: Nov. 3, 2021. [Online]. Available: http://www.hsl.rl.ac.uk [40] J. Lofberg, “YALMIP: A toolbox for modeling and optimization in MATLAB,” in _Proc._ _IEEE_ _Int._ _Conf._ _Robot._ _Autom._, Jan. 2004, pp. 284–289. [41] (2017). _MOSEK_ _Optimization_ _Software_ . [Online]. Available: https: //mosek.com/ [42] S. Lovato and M. Massaro, “A three-dimensional free-trajectory quasi steady-state optimal-control method for minimum-lap-time of race vehicles,” _Vehicle_ _Syst._ _Dyn._, vol. 60, no. 5, pp. 1512–1530, May 2022. Jorn van Kampen received the B.Sc. (Hons.) and M.Sc. (cum laude) degrees in automotive technology from the Eindhoven University of Technology (TU/e), Eindhoven, The Netherlands, in 2018 and 2022, respectively, where he is currently pursuing the Ph.D. degree with the Control Systems Technology Section. His main research interests include electric race vehicles and optimization methods for powertrain design and control. Mr. van Kampen was granted the Best Student Paper Award at the 2022 European Control Conference and the master’s thesis received the 2022 Tata Steel Graduation Award for Mechanical Engineering and Material Science. Thomas Herrmann received the B.Sc. and M.Sc. degrees in mechanical engineering from the Technical University of Munich (TUM), Munich, Germany, in 2016 and 2018, respectively, and the Ph.D. degree from the Institute of Automotive Technology, TUM, in 2022. His research interests include optimal control in the field of trajectory planning for autonomous vehicles and the efficient incorporation of electric powertrain behavior within these optimization problems. Dr. Herrmann was granted the Best Student Paper Award at the 2022 European Control Conference. Theo Hofman was born in Utrecht, The Netherlands, in 1976. He received the M.Sc. (Hons.) and Ph.D. degrees in mechanical engineering from the Eindhoven University of Technology, Eindhoven, The Netherlands, in 1999 and 2007, respectively. From 1999 to 2003, he was a Researcher and a Project Manager with the Research and Development Department, Thales-Cryogenics B.V., Eindhoven. From 2003 to 2007, he was a Scientific Researcher with Drivetrain Innovations B.V., Eindhoven. Since 2010, he has been an Associate Professor with the Control Systems Technology Group. His research interests include system design optimization methods for complex dynamical engineering systems and discrete topology design using computational design synthesis. Mauro Salazar received the Ph.D. degree in mechanical engineering from ETH Zürich, Zürich, Switzerland, in 2019. He is currently an Assistant Professor with the Control Systems Technology Section, Eindhoven University of Technology (TU/e), Eindhoven, The Netherlands, and co-affiliated with the Eindhoven AI Systems Institute (EAISI). Before joining TU/e, he was a Post-Doctoral Scholar with the Autonomous Systems Laboratory, Stanford University, Stanford, CA, USA. His research interests include optimization models and methods for cyber-socio-technical systems design and control, with a strong focus on sustainable mobility. Dr. Salazar’s master’s and Ph.D. thesis were recognized with the ETH Medal and his papers were granted the Best Student Paper Awards at the 2018 Intelligent Transportation Systems Conference and at the 2022 European Control Conference.

섹션 본문 162문단 · 64,690자

(제목 없음)

1This paper presents a bi-level optimization framework to compute the offline maximum-distance race strategies for a fully electric endurance race car, whilst accounting for the low-level vehicle dynamics and the thermal limitations of the powertrain components.Thereby, the lower level computes the minimum-stint-time for a given charge time and stint length, whilst the upper level leverages that information to jointly optimize the stint length, charge time and number of pit stops, in order to maximize the driven distance in the course of a fixed-time endurance race.Specifically, we first extend a convex lap time optimization framework to capture low-level vehicle dynamics and thermal models, and use it to create a map linking the charge time and stint length to the achievable stint time.Second, we leverage the map to frame the maximum-racedistance problem as a mixed-integer second order conic program that can be efficiently solved in a few seconds to the global optimum with off-the-shelf optimization algorithms.Finally, we showcase our framework for a simulated 6 h race around the Zandvoort circuit.Our results show that the optimal race strategy can involve partially charging the battery, and that, compared to the case where the stints are optimized for a fixed number of pit stops, jointly optimizing the stints and number of pit stops can significantly increase the driven distance and hence race performance by several laps.

I. INTRODUCTION

2T HE ELECTRIFICATION of race cars has been increasing in popularity over the last years, owing to the advent of hybrid electric Formula 1 cars and Le Mans Hypercars, and battery electric vehicles in Formula E. In a setting where every millisecond counts, it is of paramount importance to make efficient use of the energy stored on-board via optimized energy management strategy (EMS), whilst respecting the thermal limits of the powertrain components.This problem is even more apparent for fully electric race cars, such as the vehicle shown in Fig. 1, where the available on-board energy is relatively small, compared to conventional race cars.Whereas fuel is the main energy source in conventional race cars, fully Date of submission November 22, 2023.Jorn van Kampen, Theo Hofman and Mauro Salazar are with the Control Systems Technology section, Department of Mechanical Engineering, Eindhoven University of Technology (TU/e), Eindhoven, 5600 MB, The Netherlands.E-mails: {j.h.e.v.kampen,t.hofman,m.r.u.salazar}@tue.nlThomas Herrmann is with the Institute of Automotive Technology, Department of Mechanical Engineering, Technical University of Munich (TUM).E-mail: thomas.herrmann@tum.deFig. 2. Schematic overview of the electric endurance race car powertrain with the electrical connections highlighted in orange and cooling in blue.The battery is actively cooled by a refrigerant system, whereas the electric machine (EM) is cooled by a conventional radiator system.electric race cars rely on a less energy-dense battery that is typically integrated within the powertrain according to Fig. 2.

3In this context, the necessity of recharging the battery in the course of the race further complicates the problem, requiring race engineers to strike the best trade-off between reducing energy consumptions and pit stops at the cost of lap time, or driving faster with more pit stops, whilst avoiding damage to the powertrain components by staying within the thermal limits.This conflict is particularly imminent in endurance racing, where the objective is to maximize the driven distance in a fixed amount of time, which can range up to 24 h [2].In this setting, the car has to be strategically recharged during pit stops in order to maintain a competitive performance and maximize the distance driven.This calls for algorithms to compute the maximum-distance race strategies that provide the number of pit stops during the race, the number of laps driven per stint (referred to as stint lengths) and the charge time (which is directly correlated with charge energy), whilst accounting for the optimal in-stint strategy in terms of powertrain operation (PO).Thereby, the PO accounts for the thermal management of the powertrain components and for the battery energy management.Against this backdrop, this paper presents a bi-level optimization framework to compute the maximum-distance race strategies with global optimality guarantees.

4Related Literature: This work pertains to two main research streams: single-lap optimization of the EMSs jointly with the vehicle trajectory or for a given vehicle trajectory, and full-race optimization via simulations.

5Several authors have optimized the minimum-lap-time racing line for a single lap using both direct and indirect optimization methods [3]- [11].As opposed to these qualifying scenarios, racing scenarios are often additionally constrained by energy availability from either the fuel tank or the battery.To approach these racing conditions, some of these single lap studies included a maximum energy consumption per lap [12], [13].Similar approaches extend the minimum-laptime problems to minimum-race-time problems.They consider temperature dynamics, and optimize for multiple consecutive race laps to enable a variable amount of energy consumed per lap, yet formulate the optimization problem in space domain for an a priori known number of laps [14], [15].Finally, considering the racing line to be fixed, multi-lap EMSs are optimized, leveraging nonlinear optimization techniques [16] or artificial neural networks [17].However, these papers lack global optimality guarantees.

6Against this backdrop, assuming the racing line to be available in the form of a maximum speed profile, convex optimization has been successfully leveraged to compute the globally optimal EMSs for hybrid and fully electric race vehicles [18], [19], also including gear shift strategies [20], different transmission technologies [21] and thermal limitations [22].Yet these methods are either focused on singlelap problems, not capturing pit stops or recharging processes, or they lack global optimality guarantees due to the use of iterative algorithms.

7The second relevant research stream involves race simulations, in which entire races are optimized on a per lap basis [23], [24].However, these studies mainly focus on optimal tire strategies by modeling their degradation as a lap time increase and do not capture the PO during a lap.

8In conclusion, to the best of the authors' knowledge, there are no methods specifically focusing on race strategies in endurance scenarios by which the single-stint operational strategies are jointly optimized together with the high-level stint planning and accounting for the thermal limits of the powertrain components.

9Statement of Contributions: This paper presents a bi-level mixed-integer convex optimization framework to efficiently compute the globally optimal maximum-distance endurance race strategies and the corresponding PO in the individual stints, disregarding dynamic events such as overtaking maneuvers, safety car situations and weather changes.In order to optimize the strategy over the complete race duration, we decompose an entire endurance race into separate stints and pit stops.Our low-level algorithm computes the optimal stint time for a given number of laps and level of recharged battery energy.Subsequently, we fit the relationship between the stint length, the charged energy, and the achievable stint time as a second-order conic constraint, which we leverage in the high-level algorithm.Thereby we frame the maximumdistance race problem as a mixed-integer second-order conic program, which jointly optimizes the stint length, the charge time and the number of pit stops.The resulting problem can be rapidly solved with off-the-shelf numerical solvers with global optimality guarantees.This procedure is schematically visualized as a block diagram, shown in Fig. 3.

10A preliminary version of this paper was accepted for presentation at the 2022 European Control Conference, and selected for direct publication in a special issue of the European Journal of Control [25].Whilst our previous study mainly focused on energy management, we now aim to more accurately represent an endurance racing scenario by accounting for the temperature dynamics of the powertrain components and for the vehicle dynamics.To this end, we include a more accurate battery loss model that captures the dependence on its energy and temperature, and identify a method to model the battery and electric motor (EM) temperature dynamics in a convex form.Moreover, we directly include the vehicle dynamics in the low-level control problem by devising a convex framework in the form of a single-track model (shown in Fig. 4), so that we can better estimate the vehicle capabilities and no longer rely on a pre-computed maximum speed profile.This way, the velocity of the vehicle is directly constrained in the optimization problem via the maximum tire forces.To account for these extensions, we reformulate the high-level control problem by decomposing the race into stints followed by pit stops, instead of stints being preceded by pit stops and we now separately optimize the last stint.Finally, we showcase our framework on the Zandvoort circuit for the vehicle shown in Fig. 1, with the corresponding powertrain architecture shown in Fig. 2.

11Organization: The remainder of this paper is structured as follows: Section II presents the minimum-stint-time control problem, after which Section III frames the maximum-race- distance control problem.We discuss some of the limitations of our work in Section IV and showcase our framework for a 6 h race in Section V. Finally, Section VI draws the conclusions and provides an outlook on future research.

II. LOW-LEVEL STINT OPTIMIZATION

12This section illustrates the minimum-stint-time control problem in space domain, since minimizing the stint time given a fixed distance represents the dual problem of maximizing distance within a fixed time.We leverage an existing convex framework [26], reformulated to a single-track model without steering and side-slip angles, as we do not consider torquevectoring, and extend it to allow multi-lap optimization, whilst including the EM and battery temperature dynamics.From the time-optimal control problem, we obtain the minimum stint time for a given stint length and charge time (which is directly related to available battery energy).

13Fig. 5 shows a schematic representation of the powertrain topology of the electric race car presented in Fig. 2. The EM propels both of the rear wheels through a fixed final drive (FD), while receiving energy from the battery pack via the inverter.As with most electric vehicles, the EM can also operate as a generator, thus we account for a bi-directional energy flow between the battery and the wheels.In addition, we consider auxiliary components that are powered from the main battery, such as pumps and compressors for the cooling system, as a uni-directional energy flow.

14In reality, the driver controls the EM torque and the brake force through the accelerator and brake pedal, respectively, and as such we define the mechanical EM power P m and mechanical brake power P brake as the input variables.As state variables, we choose the battery energy E b , battery temperature ϑ b , EM temperature ϑ m and the kinetic energy of the vehicle E kin .The remaining energy flows between the powertrain components are the propulsion power P p , electrical EM power P ac , electrical inverter power P dc and auxiliary supply P aux .Since we formulate the control problem in space domain, we ultimately define the model in terms of forces rather than power.Hence, we divide power by the vehicle velocity, since the space-derivative of energy is defined with respect to the vehicle.

A. Objective and Longitudinal Dynamics

15In racing, the objective is to minimize the lap times over the entire race.Since we only consider a stint in the low-level control problem, the objective is to minimize the stint time t stint , which is defined as

16where S stint is the stint length in terms of distance and dt ds (s) is the lethargy, which is the inverse of the vehicle velocity v(s) ≥ v min , with v min being a positive velocity close to standstill.To implement the lethargy as a convex constraint, we define

17which is a convex relaxation that holds with equality in case of an optimal solution [18].In this study, we limit ourselves to non-torque-vectoring powertrain topologies and thereby only include the longitudinal vehicle dynamics with the use of a single-track model that captures the front and rear axle individually, as shown in Fig. 4. The single-track model was found to provide the best trade-off between model complexity and accuracy for race strategy optimization purposes, and has been frequently applied in minimum lap time studies [10].The longitudinal force balance is given by

18where F x,i (s) is the longitudinal force per axle with i ∈ [F, R] denoting the front and rear axle, respectively, F drag (s) is the aerodynamic drag force, m is the total mass of the vehicle, g is the gravitational constant and θ(s) is the inclination of the track along the racing line.Hereby we assume a track with a fixed racing line, and known altitude and banking profiles.

19The aerodynamic drag force is given by

20where c d is the drag coefficient, A f is the frontal area of the vehicle and ρ is the air density The longitudinal axle forces are defined as

21where F p,i (s) is the propulsion force per axle, c r is the rolling resistance coefficient, F z,i (s) represents the vertical axle force and F brake,i (s) is the force from the mechanical brakes per axle.For non-driven wheels we set F p,i (s) = 0, whereas for driven wheels we write (5) as two inequality constraints to capture the final drive losses through

22where F m (s) is the mechanical output force from the EM and η fd is the efficiency of the final drive, assumed constant.Due to the objective (1), in case of traction, (6) will hold with equality, whilst in the case of regenerative braking, (7) will hold with equality, thus capturing the bi-directional power flow.The lateral force balance is defined as

23where κ(s) is the pre-computed curvature of the optimal racing line around the track, assumed to be fixed, F y,i (s) represents the lateral force per axle and ϕ(s) is the banking of the track along the racing line.

24The vertical force balance consists of the static load and the aerodynamic downforce (cf.Fig. 4) as

25where F z,i (s) is the vertical force per axle and F down (s) is the aerodynamic downforce given by

26where c l is the lift coefficient.We consider steady-state cornering only, thereby assuming a yaw moment equilibrium given by

27where l i represents the horizontal distance from the respective axle to the center of gravity (CoG).

28The longitudinal load transfer is determined through the pitch moment equilibrium about the orthogonal projection of the CoG on the road plane, which is defined by

29where h G is the height of the CoG with respect to the ground, h P is the height of the center of pressure (CoP) with respect to the ground and l GP is the horizontal distance from the CoG to the CoP.The longitudinal and lateral forces are bounded by their respective friction circles per axle, which are defined by the convex set written as

30where µ x,i and µ y,i , both assumed constant, represent the longitudinal and lateral tire friction coefficients, respectively.Although the constraint function is not convex, it specifies a convex set, which is shown in the Appendix.The majority of racing vehicles are equipped with mechanical brakes that provide a fixed brake force ratio between the front and rear wheels.Therefore, we define a relation between the front and rear brake force as

31where δ brake represents the brake balance with respect to the front, which is assumed to remain constant during the race.Since we are interested in finding the optimal powertrain operation, we decouple the mechanical brakes and the regenerative braking from the EM.In practice, this can be regarded as a separate driver input for regenerative braking, but the exact implementation is beyond the scope of this work.

32The relation between the kinetic energy and velocity of the vehicle is defined by a convex relaxation as

33In contrast to single-lap scenarios, a stint is represented by the vehicle starting and stopping at the pit box with a certain number of flying laps in between.However, since we are working in space domain, the lethargy would diverge to infinity for zero velocity.To solve this issue, we define a minimal velocity v min close to standstill and enforce this value to the initial and final velocity with

34Finally, the vehicle should adhere to a strict speed limit, of which the exact value is track-dependent, when driving through the pit lane.Therefore, we define an upper bound v pit,max on the vehicle velocity when the vehicle is exiting or entering the pit as

35where S pit is the set of distance-based positions that are part of the pit lane.

B. Electric Machine

36This section derives a convex representation of the operating limits and power losses of the EM.Moreover, we derive the thermal dynamics of the EM and compare the model against real-world test data.

37In general, we can distinguish between a maximum torque and maximum power operating region for an EM.Translating this to constraints in space domain results in a lower and upper bound on the mechanical output force of the EM for the maximum torque region as

38where T m,max is the maximum torque the EM can deliver, γ fd is the final drive ratio and r w is the radius of the rear wheels.Note that we include the final drive ratio, as we define the space-derivatives with respect to the vehicle reference frame.

39Similarly, the mechanical output force of the EM within the maximum power region is bounded as

40where P m,max is the maximum power the EM can deliver.We model the EM force losses F m,l (s) rather than the power losses as a function of the vehicle velocity and force of the EM.We calculate the force loss data points, denoted with (.), from the EM power losses as

41In general, an EM efficiency map shows large losses at low rotational velocities.Hence, we want to include a term in our losses fit that is inversely proportional to the vehicle velocity.

42To ensure convexity, we model the EM losses as

43where

44+ is a symmetric positive semi-definite matrix of coefficients, whose values are determined through semi-definite programming.Fig. 6 shows the EM input force as a function of the EM output force and vehicle speed for the convex model and for the reference data.To implement the losses in a convex manner, we take the relation of the electrical EM input force F ac (s) to the mechanical output force as

45substitute the loss model, relax it and rewrite to a relaxation describing a convex set as

46where

47⊤ .The convexity of this constraint is shown in the Appendix by writing it as a secondorder conic constraint.

48For the cooling circuit of the EM, we consider a conventional setup using liquid cooling and radiators, as commonly applied in motorsport.The losses are assumed to be converted to heat, thereby changing the EM temperature according to the first-order temperature ordinary differential equation (ODE) given by

49where C m is the total lumped thermal capacity of the EM, ϑ m (s) is the temperature of the EM (defined at the windings), P m,l (s) are the EM power losses and P m,c (s) ≥ 0 represents the power outflow to the cooling liquid as

50where ϑ m,c represents the temperature of the cooling liquid and λ m is the thermal conductivity between the EM and the cooling liquid, where we assume both parameters to be constant.In reality, the coolant temperature may change depending on the performance of the cooling system.Yet in high-level motorsports, this change in coolant temperature is relatively small compared to the change in EM temperature and therefore we deem the modeling of the underlying cooling system beyond the scope of this paper.Rewriting (24) to space domain results in

51where F m,c (s) ≥ 0 is the force-equivalence of the EM cooling power.This EM cooling force is ultimately obtained by rewriting (25) to forces using a convex relaxation and linear equality constraint.To obtain a convex representation, we approximate the EM temperature as

52where

53− is a negative semidefinite matrix of coefficients, obtained through semi-definite programming.The semi-definite fit of the temperature together with the relative error is shown in Fig. 7.We select a negative semi-definite matrix, since we require an upper bound on the EM temperature.Translating (25) to forces and substituting the offset of ( 27) results in

54where F m,c (s) is an intermediate variable used to obtain a convex formulation through

55which can be written as a second-order conic constraint (see Appendix).Since the cooling circuit consists of liquid coolant flowing through the EM to a set of radiators, the coolant temperature cannot exceed the EM temperature, resulting in To obtain the thermal parameters of the EM, we apply the convex loss-and cooling model to a combination of data sets recorded from vehicle telemetry.Fig. 8 shows a comparison between the EM temperature from one of the data sets and the thermal model.

56To prevent the EM from overheating, we define an upper bound on the temperature through

57where ϑ m,max is the maximum temperature of the EM.Lastly, we specify an initial value for the EM temperature as

58where ϑ m,init is the initial value for the temperature and is calculated during pre-processing using a lookup table that has the charge time as an input.

C. Inverter

59In this section, we derive a quadratic loss model for the inverter losses.As opposed to the EM, we do not model the inverter temperature, since we assume that the motorinverter combination is designed such that the EM is thermally limiting.We apply the general quadratic power loss model of the form

60where α inv ≥ 0 is an efficiency parameter, subject to identification.Converting this constraint to forces, rewriting and relaxing results in

61where F dc (s) is the force equivalent to the electrical inverter power.The convexity of this constraint is shown in the Appendix by writing it as a second-order conic constraint.

D. Battery

62This section derives a model for the battery efficiency and the power-split between the electrical inverter power and the auxiliary component power.The latter can be observed from Fig. 5 and is written as

63where P b (s) is the battery power at the terminals.Here, the auxiliary component supply is assumed to be constant and uni-directional, while the other powers are bi-directional.Converting (35) to forces results in

64where F b (s) is the force equivalent of the battery power at the terminals.The battery efficiency is mostly determined by its internal resistance R 0 and open-circuit voltage V oc .We derive the battery losses P b,l (E b , ϑ b , P i ) from a quasistatic zero-order Thévenin equivalent circuit model [27, Chapter 4.5], whereby we only consider the open-circuit voltage and internal resistance.The battery losses are given by

65where

66is the short-circuit power [28].In reality, both the internal resistance and opencircuit voltage are a function of the battery temperature and energy.Since the battery reaches its thermal limit at the end of the charging process and has to be cooled during driving, it is operated at a relatively large temperature window.Therefore, the heat generation of the battery due to losses can vary significantly during driving.However, since the influence of the battery temperature on the open-circuit voltage is rather small (less than 0.25% according to manufacturer datasheets) within the operating window in racing scenarios, we neglect the dependency of the open-circuit voltage on temperature [29], [30].To capture the impact of temperature on the internal resistance, we apply a correction factor inversely proportional to the battery temperature temperature [31], [32] to obtain

67where ϑ ref represents the reference temperature at which the battery data are measured.Similarly to the thermal EM model, we fit the short-circuit power in a convex manner through

68where

69− is a negative semidefinite matrix of coefficients, identified through semi-definite programming.Again, we select a negative semi-definite matrix, since it is optimal to maximize the short-circuit force, and thereby require an upper bound.The temperature-and energydependent model of the short-circuit power is shown in Fig. 9. Translating (38) to forces and substituting the offset of (39) results in

70where F sc (s) is the short-circuit force and F sc (s) is an intermediate variable used to obtain a convex formulation through

71To obtain the battery losses during discharging F b,l (s), we translate (37) to forces and relax it, which results in where F i (s) is the internal battery force, which ultimately dictates a change in battery energy.To prevent the battery losses and short-circuit force from cooling the battery, we explicitly define

72In general, the heat generation of a Li-ion battery is different between charging and discharging conditions.As the direction of power flow frequently changes during a lap, it is important to capture the additional heat generation during negative power flow.To capture this behavior, we add an additional term to the battery losses to represent distinct heat generation during charging, compared to discharging.This means that we effectively have a different battery efficiency during charging and discharging [27].Since this term should only be present during negative power flow, we implement a set of inequality constraints similar to the final drive losses as

73where F b (s) is the battery force at the terminals and α ch is a coefficient that represents the distinct charging losses.Note that α ch ≥ 0 results in higher losses during charging, compared to discharging, whereas α ch ≤ 0 results in higher losses during discharging, compared to charging.In energy-limited scenarios, (45) will hold with equality during discharging, whereas (46) will hold with equality during charging.

74In contrast to the EM cooling, where the difference between the EM temperature and the ambient temperature (in the order of 100 • C) is sufficient to apply radiators, the difference between the battery temperature and the ambient air is significantly lower (in the order of 25 • C).Therefore, it is common to apply a refrigerant circuit instead of radiators to cool the battery during fast-charging pit stops and driving, which allows the coolant temperature to drop below ambient level.Again, all losses are assumed to be converted to heat, thereby changing the battery temperature according to the first-order temperature ODE given by

75where C b is the total lumped thermal capacity of the battery, ϑ b (s) is the temperature of the battery and P b,c (s) ≥ 0 represents the power outflow from the battery cells to the cooling liquid.Since we consider a battery cooling circuit where the coolant temperature can be actively controlled, the cooling power is free within the bounds defined as

76where ϑ b,c represents the lowest achievable temperature of the cooling liquid and λ b is the thermal conductivity between the battery cells and the cooling liquid, where again we assume both parameters to be constant.Rewriting (47) to space domain results in

77where F b,c (s) ≥ 0 is the force-equivalence of the battery cooling power.Note that we explicitly use the difference between the internal battery force and the battery force at the terminals to include the additional charging losses.Similarly as with the EM cooling, we approximate the battery temperature as

78where

79− is a negative semidefinite matrix of coefficients, obtained through semi-definite programming.The semi-definite fit of the battery temperature is similar to Fig. 7, except that the normalized RMSE is reduced to 0.034% due to the smaller temperature window.Translating (48) to forces and substituting the offset of (50) results in

80where F b,c (s) is an intermediate variable used to obtain a convex formulation (see Appendix) through

81As the coolant temperature cannot exceed the battery temperature, we define

82To obtain the thermal parameters of the battery, we apply the convex loss-and cooling model to a combination of data sets recorded from vehicle telemetry.Fig. 10 shows a comparison between the battery temperature from various data sets and the thermal model, demonstrating that our model can accurately capture dynamic discharging as well as charging profiles.

83To ensure safe operation of the battery, we define an upper bound on the temperature through

84where ϑ b,max is the maximum temperature of the battery.Due to the relatively long charge time, compared to the refueling time of a conventional race car, it is essential to minimize the charge time.Therefore, we assume that the battery temperature reaches the upper limit at the end of charging, since the temperature is the main limitation.Hence, we enforce the initial battery temperature to be at the upper bound through

85Lastly, we specify a terminal value for the battery temperature as

86where ϑ b,N is the terminal value for the temperature and is calculated during pre-processing using a lookup table having the charge time as an input.

87The energy consumption of the battery is modeled as

88and we constrain the battery energy as

89where E b,min and E b,max correspond to the battery energy at the lower and upper state of energy (SoE) bound, respectively.Since the voltage of the battery increases with the battery energy, it is optimal to operate the battery at higher energy levels.Therefore, we set the initial battery energy to the upper bound and constrain the terminal battery energy according to the amount of energy charged after driving as

90where E b,0 is the initial battery energy and E b,ch is the energy the battery receives during charging.In this way, the battery is guaranteed to be charged back to the upper energy bound in energy-limited scenarios.To calculate the battery energy during charging, we leverage a lookup table with input charge time t charge and output E b,ch for a given charging current profile during pre-processing.

E. Low-level Optimization Problem

91This section presents the minimum-stint-time control problem of the electric race car.Given a predefined stint length and charge time we formulate the control problem using the state variables x = (E kin , E b , ϑ b , ϑ m ) and the control variables u = (F m , F brake,F , F brake,R ) as follows: 19), ( 23), ( 26), ( 28) − (32), ( 34), ( 36), ( 40) − (46), ( 49), (51) − (60).

92Since the feasible domain and the cost function are convex, the low-level control problem is fully convex and therefore we can compute a globally optimal solution with standard nonlinear programming methods.

III. HIGH-LEVEL RACE OPTIMIZATION

93In this section, we present the high-level maximum-racedistance control problem.First, we formulate the maximumrace-distance control problem that optimizes the stint length and charge time for a pre-defined number of pit stops.Second, we model the minimum stint time by leveraging the lowlevel control problem and optimizing for various combinations of stint length and initial battery energy, as was shown in Fig. 3. Finally, we extend the maximum-race-distance control problem to allow joint optimization of the stint length, charge time, and number of pit stops.

A. Mixed-integer Control Problem

94We define the high-level control problem for a pre-defined number of pit stops in stint domain, so that we have a fixed and finite optimization horizon.Here, each index in the optimization variables represents a stint.The goal is then to maximize the driven distance as the sum of all completed laps during the stints as

95where S race is the total race distance, n stops is the pre-defined number of pit stops,

96is the stint length and N the set of natural numbers, and S lap is the length of one lap.Since the vehicle starts and stops at the pit box, the stint length should be an integer number of laps.

97As it is unlikely that the vehicle is exactly at the finish line when the race time limit is reached, we allow the final stint length to be a non-integer number of laps.This way, we have n stops + 1 stints for n stops pit stops and thus we have n stops integer stint lengths and one final non-integer stint length.The race can be divided into the car driving a stint and the car recharging the battery during pit-stops.The total elapsed time t tot (k) is then updated after every pit stop by adding both the time to complete the stint t stint (k) ≥ 0 and the time spent on charging t charge (k) ≥ 0 according to

98Since we do not have a pit stop after the final stint, the elapsed time after the final stint is defined as

99Moreover, we define the elapsed time counter to start at the beginning of the race and the elapsed time after the final stint should not exceed the total race time limit t race , resulting in

100We then decompose the total race into blocks consisting of the vehicle first driving a stint followed by a pit stop in which the battery is charged.Assuming that a stint is always energy-limited, the charge time uniquely defines the terminal battery energy for the prior stint and is not influenced by other stints.Furthermore, we assume that the battery is thermally-limited during charging, which allows us to precalculate the maximum terminal battery temperature for the prior stint through backwards integration of the battery temperature dynamics during charging.Thereby, we uniquely base the terminal battery temperature on the charge time, without being influenced by other stints.Lastly, we assume that the EM temperature reaches the upper limit at the end of driving and assume that the charge times across consecutive stints remains constant.This allows us to calculate the EM temperature at the beginning of the stint by integrating the EM temperature dynamics during charging.This way, we uniquely define the initial EM temperature on the charge time.

101To ensure that the battery is not overcharged, we apply an upper bound on the charge time through

102where t charge,max is the maximum charge time corresponding to charging the battery from the lower to the upper energy level.Finally, the time to complete the stint is obtained by solving the low-level control problem, which we explain in the subsequent section.

B. Stint Time Model

103In this section, we derive a method for modeling the stint time as a function of the stint length and charge time during the pit stop prior to the stint.We solve the low-level control Problem 1 for a combination of stint lengths and charge times to obtain the respective achievable minimum stint time.

104In such manner, we can create the lookup table with stint time as a function of stint length and charge time shown in Fig. 11.Thereby, the charge time and terminal battery energy are linked through a pre-defined charging profile, cf.Section II-D, whereas the terminal battery temperature and initial EM temperature are calculated during pre-processing based on the charge time solely, cf.Section II-B, II-D.As the stint time increases for larger stint lengths and shorter charge times, similar to the EM loss fit in Section II-B above, we approximate the low-level optimization results via the continuous function

105where

106+ is a symmetric positive semi-definite matrix of coefficients.The result of the fit is shown in Fig. 11.For a convex implementation, we relax and rewrite (67) to

107where

108⊤ , and convert this relaxation to a conic constraint [33] as

109where z s = L s y s (k) with L s being the Cholesky factorization of Q s [33].Since it is optimal to minimize stint time, this constraint will hold with equality at the optimum.The final stint of the race is not followed by a pit stop in which the battery is charged, which means that the battery can be fully depleted and there is no margin needed in the battery temperature.Therefore, we separately model the final stint by solving the low-level control Problem 1 for a range of stint lengths, with a fixed charge time t charge (n stops ) = t charge,max and terminal battery temperature ϑ b,N = ϑ b,max .With the charge time being fixed, we can then model the final stint time by a quadratic function with the stint length as

110where D s,f is a vector of coefficients and x s,f = [N 2 laps (n stops ) N laps (n stops ) 1] ⊤ .Fig. 12 shows the quadratic fit of the final stint time model.

C. Optimal Pit Stop Strategy

111In the previous sections, we introduced the objective and constraints for the high-level control problem when optimizing the race strategy for a pre-defined number of pit stops.In this section, we apply some modifications in order to jointly optimize the stint lengths, charge times and number of pit stops, thereby removing the need to search over a large space of pre-defined number of pit stops.

112We define a binary variable b pit (k) that indicates whether pit stop and stint k is taken or skipped as b pit (k) = 0, if stint and stop skipped 1, if stint and stop taken,

113and include it in (67) via the big-M formulation [34]

114where M ≫ t stint,max .This way, we obtain the original constraint if b pit (k) = 1 and we obtain a negative lower bound when b pit (k) = 0.By defining

115the k-th stint time and charge time will be pushed to zero, hence skipping the stint.We convert (72) to a cone as

116Hence, whenever a stint is skipped, the corresponding stint time and charge time will be zero if an optimal solution is obtained.To prevent the stint length from diverging to infinity whenever the stint is actually skipped, i.e., b pit (k) = 0, we define an upper bound on stint length as

117where N laps,max is the maximum stint length that was used to obtain the lookup table.This will ensure N laps (k) = 0 whenever b pit (k) = 0. Since the final stint is not constrained by a lower terminal battery temperature and can deplete the battery without spending time on charging afterwards, the final stint has to be part of the optimal race strategy.We ensure this by writing

118Suppose we set the length of the variables to N and that x stints and stops are skipped.Then the first x entries in b pit will be zero and the last N − x entries will be one.In this way, the final stint is always taken and the search space for the solver is reduced.

D. High-level Optimization Problem

119This section presents the maximum-race-distance control problem of the electric race car.Given a predefined race time we formulate the control problem using the state variables x = (t tot ) and the control variables u = (t charge , N laps , b pit ) as follows:

120Problem 2 (Maximum-race-distance Strategies).The maximum-race-distance strategies are the solution of Since Problem 2 can be solved with mixed-integer secondorder conic programming solvers, we can guarantee global optimality upon convergence [35], [36].

IV. DISCUSSION

121A few comments are in order.First, we assume that endurance racing tires do not degrade significantly within a single stint, considering that the vehicle is operated less at the grip limits and the stints are relatively short, compared to conventional endurance race cars.The tires can be changed every stint without additional time loss in the pit lane, since the charging time is much longer than the tire change time.Furthermore, we assume that the tires are operated at their average operating temperature.Therefore, we disregard the influence of tire wear and tire temperature on the available grip level.Yet the high-level control problem can be readily extended to capture these dynamics if the lookup table is devised accounting for tire degradation.Second, we assume that the time gained from starting the race from the grid compared to the pit lane is negligible on a full endurance race.Hence, we do not separately optimize the first stint.Third, when the battery temperature is not an active constraint, the battery cooling relaxes in order to maximize the battery efficiency.Yet this can be interpreted as the battery coolant temperature being controlled by the refrigerant cooling system, which allows reduced cooling power, assuming that the system can cope with the requested coolant temperature changes.Fourth, in scenarios where the battery or EM temperature is very limiting and the lower battery energy limit is not reached, it may occur that (2) relaxes due to the positive contribution of a higher lethargy in (28), (40) and (51).In these cases, the solution will not reflect reality anymore and it should be disregarded.Yet, from a high-level perspective, these solutions cannot be part of the optimal race strategy, since charging the battery more than needed is sub-optimal.In fact, these situations were not found to be part of the optimal strategies in this study, as shown in Section V below.If a stint with a relaxed lethargy is not part of the optimal race strategy, it is guaranteed that the physically correct solution of the same stint will not be part of the optimal strategy either, since it is always worse or equal, compared to the convex solution.Fifth, we assume a fixed value for the terminal EM temperature when pre-calculating the bound on the initial EM temperature.However, it can occur that this value is not reached, e.g., in scenarios where the EM temperature is not an active constraint.In these situations, the temperature trajectories might not reflect reality, yet this does not affect the resulting solution, as there are no other states that depend on the EM temperature.Finally, we disregarded dynamic events, such as competitor interaction.Therefore, the results represent the theoretical optimal race strategy, which can be regarded as an upper bound on what is achievable in practice.The methods could be modified and applied online to account for such events, but this is beyond the current scope.

V. RESULTS

122This section presents numerical results for both the lowand high-level control problem.We base our use case on the driven electric endurance race car of InMotion [1], shown in Fig. 1, performing an 11 lap stint at the Zandvoort circuit for the low-level control problem and a 6 h race at the same circuit for the high-level control problem.First, we discuss the numerical solutions for both control problems.Second, we validate the high-level control problem by comparing the optimal race strategy against fixed-pit-stop-number strategies and compare the results to the expected optimal combinations of stint length and charge time.Although the model is capable of capturing inclination and banking of the track, the results were generated for a flat track, since there is no open-access data of the Zandvoort circuit.

123For the discretization of the model, we apply the trapezoidal method with a fixed step-size of ∆s = 4 m.We parse the low-level control problem with CasADi [37] and solve it using IPOPT [38] combined with the MA57 linear solver [39], whilst we parse the high-level control problem with YALMIP [40] and solve it using MOSEK [41].We perform the numerical optimization on an Intel Core i7-4710MQ 2.5 GHz processor and 8 GB of RAM.Thereby, the computation time for solving the low-level problem was about 0.68 s of parsing and 61 s of solving, whereas the high-level problem needed 0.21 s of parsing and 4.5 s of solving.

A. Low-level Optimization

124In this section, we compute the optimal trajectories for a stint of 11 laps around the Zandvoort circuit.We set the terminal battery capacity to the energy level corresponding to a 5 min charge time using constant current charging, which means that the battery is partially charged.The total stint time is about 1126 s with an average flying lap time of 101 s (not counting the first and last lap).

125The velocity profile together with the EM power and SoE per lap is shown in Fig. 13.Furthermore, the total stint velocity profile together with the powertrain losses, SoE, battery temperature and EM temperature is shown in Fig. 14.

126First, we observe that the velocity profiles of the first four consecutive laps are slightly different, which is due to the 14.Velocity, powertrain losses, battery SoE, battery temperature and EM temperature trajectories for an 11 lap stint.The battery energy is an active constraint, thus the stint is energy-limited and energy management is needed.Furthermore, the maximum EM temperature is reached multiple times throughout the stint.Therefore, the velocity profile decreases when the maximum EM temperature is reached.

127EM temperature being an active constraint.Since the EM temperature starts below the limit, the velocity in the first laps is the highest and decreases as the EM temperature reaches the upper limit.In this scenario, the terminal battery temperature is not an active constraint, since the battery temperature is kept at the maximum level during the first half of the stint by reducing the cooling power, thereby increasing the battery efficiency.In the second half of the stint, the battery temperature decreases gradually by applying maximum cooling to reach the required terminal value.If the terminal battery temperature were an active constraint, we would observe a gradual decrease in temperature over the entire stint, as shown in the Appendix for illustration purposes.Second, the EM power decreases gradually before the vehicle reaches a corner and regenerative braking is applied.However, both the power during traction as well as the regenerative braking power decrease when the EM temperature limit is reached.In general, the velocity profile shows smooth behavior (i.e., the acceleration of the vehicle is within a relatively small value range), which is typical for energy-limited scenarios [12], [14], [15], since regenerative braking is used instead of the mechanical brakes to reduce the velocity before cornering.Third, we observe that the battery energy exceeds the terminal value before the end of the stint.Since the battery is partially charged in this scenario, the absolute lower energy limit is not reached.With the use of regenerative braking, the battery energy then reaches the terminal value exactly at the end of the stint, indicating an energy-limited scenario.Finally, Fig. 15 shows the normalized lateral and longitudinal forces per axle, along with the maximum grip limit defined by the friction coefficient.Since the vehicle in this study is rear-wheel driven (F p,F = 0), the front axle only provides negative forces in the longitudinal direction.It can be noticed that the data points do not show the typical diamond-like pattern for the front axle forces that is expected in racing scenarios [42].This is because the mechanical brakes are only used during pit entry at the end of the stint and because the vehicle applies regenerative braking to slow down for cornering.Moreover, both the front and rear axles are operated at the lateral grip limit in corners, indicating that the acceleration throughout the corners is maximized.

B. High-level Optimization

128This section presents the optimal race strategy in terms of number of pit stops, stint length and charge time, and we compare it against the strategies optimized for a fixed number of pit stops.We select a 6 h race, yet longer races can be solved as well with our approach, considering the very low computational times needed by our high-level framework to converge.To link the terminal battery energy E b (S stint ) to the charge time t charge , we apply constant current charging, which is in line with the implementation on the actual vehicle.Furthermore, we calculate the terminal battery temperature ϑ b,N using the losses that correspond to the constant current profile and obtain the initial EM temperature ϑ m,init by applying maximum cooling power, for the given charge time.Fig. 16 shows the evolution of the completed laps as a function of time for various fixed pit stop strategies.We observe that the optimal strategy of 14 stops results in the largest amount of completed laps, thereby confirming that it is indeed optimal in terms of number of pit stops.The difference in covered race length between the optimal and fixed-pit-stop-number strategies can exceed multiple laps and hence significantly affect the final race outcome in terms of finishing position, highlighting the importance of jointly optimizing the number of pit stops.Furthermore, we compare the optimal race strategy against a strategy that repeats the global optimal stint of 11 laps and 4.7 min charging, until the race ends.Although the stints used in this strategy are globally optimal from a stint perspective, it does not cover the largest distance within the 6 h time window, which makes the strategy sub-optimal from a race perspective.This is because a pure repetition of the optimal stint does not perfectly fit within the 6 h race.Instead, it is beneficial to slightly deviate from the optimal stint, so that the stints fit better within the race, as done by the optimal race strategy.This shows that the optimal race strategy is not necessarily the same as the optimal stint, thereby highlighting the importance of jointly optimizing the stint lengths, charge times and number of pit stops.Lastly, to show the importance of the bi-level approach, we compare the optimal strategy against a baseline flat-out strategy whereby no energy management is applied to limit energy consumption, but the EMs are rather operated at maximum power whenever possible.This results in 6 lap stints and a total race distance of 132 laps, whilst the globally optimal solution is about 170 laps.Hence, the optimal solution is about 29% better compared to the baseline, even though the baseline was computed without thermal limits.Fig. 17 shows the individual stints in terms of length and charge time, together with the relaxed non-integer solution.We can conclude that a constant stint length over the race is optimal, since all stints in the relaxed solutions are equal, the only exception being the last stints.In this use case, the optimal integer solution consists of the stint lengths that minimize the difference to the relaxed solution, namely, of a stint length between 10 and 11 laps together with a charge time of about 4.7 min and 14 pit stops in total.For the vehicle considered in this study, the 8 stop strategy is the fastest strategy that involves fully charging the battery.However, this strategy is 0.6 laps behind on the optimal race strategy, thereby showing that fully charging the battery can be suboptimal.This is explained by the constant current charging, which effectively reduces the average charging power for longer charge times due to the battery voltage decreasing for lower energy levels.With a different charging profile, such as constant power charging, a different optimal race strategy will be obtained.However, it is beyond the scope of this paper to optimize the charging profile.Moreover, reducing the charge time results in shorter stints, thereby increasing the number of pit stops needed, as indicated by the results.This then results in more time lost in the pit lane due to the speed limit.Thus Fig. 18.The average stint velocity for a combination of stint lengths and charge times together with the optimal combinations and actual numerical solutions.The optimal combinations of stint length and charge time show a clear (linear) correlation, to which the numerical solutions are aligned.

129there is a clear trade-off in determining the optimal charge time.When we also consider thermally-limited scenarios, this trade-off becomes even more complex.In these cases, a shorter charge time is expected to be in favor, since this increases the terminal battery temperature.Although a longer charge time reduces the initial EM temperature, we observed that this had a relatively small impact on the stint time.In fact, it has been observed that in longer stints the EM was operated relatively more at the thermal limit compared to shorter stints, thereby disfavoring longer charge times.Lastly, we observe that there is a considerable decrease in race distance when an increasing stint length cannot be compensated by an increase in charge time, as illustrated by the difference between the 7 and 8 stop strategies.From the aforementioned observations, we conclude that the stint length, stint time and charge time are closely related in the case of an optimal solution.

C. Validation

130In this section, we validate the correctness of the model by showing that the lethargy constraint holds with equality for various stints that were presented in the previous section.Furthermore, we validate the convex models by implementing the optimal inputs into a non-linear simulator and compare the drift in battery energy.Finally, we validate the numerical combinations of stint length and charge time for the various strategies.For the latter, we calculate the average stint velocity v stint (k) for every strategy as

131The globally optimal stint should maximize the average stint velocity, since that maximizes the driven distance per unit of time, also accounting for the charge time after the stint.We can calculate the average stint velocity for various combinations of stint length and charge time using the stint time map.To validate the correctness of the optimized strategies, we calculate the optimal charge time that maximizes Fig. 19.Battery energy calculated through the non-linear and convex models, using the optimized inputs for the globally optimal stint of 11 laps and 4.7 min charging.The small drift in battery energy between the nonlinear and convex models indicate that the convex models accurately capture the dynamics of the powertrain components.

132the average stint velocity, for every possible stint length.These are referred to as the optimal combinations of charge times and stint length.The optimized strategies should align with these theoretical optimal combinations when looking from a stint perspective.However, small deviations might be observed, since the strategies are optimized from a race perspective.Fig. 18 shows the average stint velocity together with the theoretical optimal combinations.These optimal combinations indicate an almost linear relation between charge time and stint length until the maximum charge time is reached.The most noticeable exception is the single-lap stint, which has a relatively higher optimal charge time.This is because a single-lap stint does not include a flying lap, where the vehicle starts the lap with a high initial velocity.Thus, the vehicle requires more energy in the first lap to accelerate towards the optimal velocity, which explains the longer charge time for a single-lap stint.The globally optimal stint with the highest average stint velocity consists of 11 laps and 4.7 min charging, which is the exact same combination that we obtained as the optimal strategy in the previous section.Furthermore, we observe that the average stint velocity decreases in sensitivity around the optimal combinations for increasing stint length and charge time.When the maximum charge time is reached, the average stint velocity diminishes considerably for increasing stint lengths.Thereby, increasing the stint length beyond 18 laps quickly becomes less favorable, since it cannot be compensated by an increase in charge time.This explains why the 7 stop strategy is significantly worse than the others.Finally, we note that the numerical solutions are in line with the theoretically optimal combinations, thereby validating their correctness.The outliers not aligning with the optimal combinations, e.g., at 16.8 laps and 7.5 min charging, correspond to the last stints, for which the charge time is not part of the race and thus the calculation of the stint velocity in (78) is not valid.

133To validate the convex loss models for the EM and battery, we calculate the battery energy trajectory by applying the optimal input trajectories to non-linear models and compare the result to the trajectory obtained from the optimization.Fig. 19 shows both battery energy trajectories for the globally optimal stint of 11 laps with 4.7 min charging.From this figure, we observe small deviations, with a total drift of -1.78 % Validation of the lethargy constraint for the mode of the stints obtained from the high-level optimization.All data points align with the constraint (within the solver tolerance), indicating that the lethargy constraint holds with equality.

134with respect to the non-linear models, thereby indicating that the convex models accurately capture the dynamics of the powertrain components.

135Finally, we verify that all relaxed constraints hold with equality.As noted previously, it can occur that the lethargy constraint does not hold with equality in thermally-limited scenarios.Therefore, we explicitly show this constraint for the most frequently used stints per pit stop strategy that were obtained in the previous section.Fig. 20 shows that all data points align with the constraint, thereby indicating that the lethargy constraint holds with equality for all optimal stints.

VI. CONCLUSION

136In this paper, we studied the maximum-distance endurance racing problem for electric race cars, explicitly accounting for temperature and vehicle dynamics.To this end, we devised a convex bi-level optimization framework that can efficiently compute the optimal race strategy (in terms of stint lengths, charge times and pit stops), jointly with the in-stint PO strategy.

137Our results showed that accounting for the temperature dynamics of the powertrain components is extremely important in an endurance racing scenario and that both the in-stint PO and the high-level race strategy were affected by it.From a stint perspective, there is a clear correlation between optimal stint length and charge time, which corresponds to the maximization of the average stint velocity.In contrast to our preliminary results [25], fully charging the battery proved to be sub-optimal for this case study, because increasing the battery operating window results in a lower average charge power and stricter battery temperature limitations.Moreover, the results suggest to avoid the usage of the mechanical friction brakes, which indicates the paramount importance of efficient energy management for electric race cars.In fact, this highlights the shortcomings and need for improvement of current battery technologies, compared to hybrid-electric vehicles in racing scenarios.Finally, we highlighted the importance of optimizing both levels by showing that a repetition of the optimal stint does not result in an optimal race.This work opens the field for the following possible extensions: First, we are interested in the impact of tire degradation and temperature on the achievable stint time and the resulting race strategies, since this yields an apparent trade-off with energy management.Second, we want to extend the usage of the framework to an investigation of the optimal transmission technology and powertrain architecture.Finally, we would like to leverage the computational efficiency of the framework for an online implementation both in the vehicle, as well as in the pit lane.

APPENDIX

138In Section II-E, we frequently used the following relaxations

139which defines a convex set.To prove convexity, we can rewrite this constraint to a convex second-order conic constraint as

140which can be solved with global optimality guarantees [33].Since (79) is mathematically equivalent to (80), both optimization problems will converge to the same KKT points, thereby guaranteeing global optimality.Another type of constraint that was used in Section II-E for the friction circles is

141(81)

142This constraint can be directly translated to a convex secondorder conic constraint

143thereby proving that (81) defines a convex set.In Section V-A we mentioned that an active terminal battery temperature constraint results in a gradual decrease in battery temperature over the entire stint.Fig. 21 again shows an 11 lap stint, but with an increased thermal resistance for the battery, thereby resulting in an active battery temperature constraint.Comparing this figure to Fig. 14, we can clearly see the difference in battery temperature trajectories.Whereas the battery temperature was kept close to the maximum before to maximize the efficiency, the temperature is now gradually decreasing to reach the required terminal value.

Fig. 1 .

144Fig. 1.InMotion's fully electric endurance race car [1].

Fig. 4 .Fig. 5 .

145Fig. 4. Top and side view of the single-track vehicle model.The forces acting on the vehicle are shown in red and the velocity vectors are shown in green.The center of gravity (CoG) is shown in both figures, whereas the center of pressure is only shown in the side view.The arrows indicate positive directions, angles or forces.

Fig. 6 .

146Fig. 6.A speed-and torque-dependent model of the EM.The normalized root-mean-square error (RMSE) of the model is 1.49% w.r.t. the maximum motor input force Fac.

Fig. 7 .

147Fig. 7. Semi-definite fit of the EM temperature together with the relative error.The normalized RMSE is 0.15% w.r.t. the maximum temperature.

Fig. 8 .

148Fig. 8.Comparison between the thermal model and one of the vehicle telemetry data samples.In total, three data sets were used to fit the model parameters, of which the average normalized RMSE was 4.12% w.r.t. the maximum temperature of each data set.

Fig. 9 .

149Fig.9.A temperature-and energy-dependent battery model compared to the calculated short-circuit power using manufacturer datasheets.The normalized RMSE of the model is 2.23% w.r.t. the maximum short-circuit power.

Fig. 10 .

150Fig.10.Comparison between the thermal model and three data sets, of which two represent a dynamic discharge (violet and green) and one represents a constant current charge profile followed by a cooldown period (orange).The average normalized RMSE is 0.87% w.r.t. the maximum temperature of each data set.Both the modeled and the measured temperatures were obtained with the corresponding battery power profiles shown in the lower plot.

Problem 1 (

151Minimum-stint-time Control Strategy).The minimum-stint-time control strategies are the solution of min S stint 0 dt ds (s) ds, s.t.(2) − (

Fig. 11 .

152Fig. 11.Fit of optimization results for a combination of stint lengths and charge times.The normalized RMSE of the fit is 2.2% w.r.t. the maximum stint time.

Fig. 12 .

153Fig.12.Fit of the final stint times for a range of stint lengths.The normalized RMSE of the fit is 0.60% w.r.t. the maximum stint time.

max n stops k=0 S

154lap • N laps (k), s.t.(62) − (66), (70), (73) − (77).

Fig. 13 .

155Fig.13.Velocity, EM power and battery SoE trajectories per lap for an 11 lap stint.The battery energy is an active constraint, thus the stint is energy-limited.The EM power shows a gradual decrease at high velocities, thus indicating energy management.The zoom window corresponds to the final 500 m of the stint.

Fig.

156Fig.14.Velocity, powertrain losses, battery SoE, battery temperature and EM temperature trajectories for an 11 lap stint.The battery energy is an active constraint, thus the stint is energy-limited and energy management is needed.Furthermore, the maximum EM temperature is reached multiple times throughout the stint.Therefore, the velocity profile decreases when the maximum EM temperature is reached.

Fig. 15 .

157Fig. 15.The friction circles per axle showing the normalized longitudinal and lateral forces.The vehicle is rear-wheel driven and braking is done mostly using the EM.Therefore, the front axle (left figure) mostly generates lateral forces, whereas the rear axle (right figure) shows more combined forces.

Fig. 20 .

158Fig.20.Validation of the lethargy constraint for the mode of the stints obtained from the high-level optimization.All data points align with the constraint (within the solver tolerance), indicating that the lethargy constraint holds with equality.

Fig. 21 .

159Fig.21.Velocity, powertrain losses, battery SoE, battery temperature and EM temperature trajectories for an 11 lap stint.The terminal battery temperature is an active constraint, which results in a gradual decrease in battery temperature throughout the stint to allow for some margin in temperature for the consecutive charging session.

160Fig.3.Block diagram overview of the general approach to optimize the race strategy.The low-level framework provides the state trajectories and minimum stint time for several combinations of stint length and charge time.The high-level framework optimizes the race strategy for a given race time, using the stint time data.

161Evolution of the completed laps as a function of time for the optimal strategy (black) and the strategies optimized for a fixed number of pit stops.The dashed data show a repetition strategy of the global optimal stint and the data show a baseline strategy.The zoom window corresponds to the final 2 min of the race and illustrates the difference in race distance between the optimized strategies, showing that jointly optimizing the number of stints can significantly outperform other strategies by multiple laps.

162Fig.17.Optimal race strategy (black) in terms of stint length, charge time and stint time with t charge,max = 7.5 min.For comparison, we show other optimal fixed pit stops strategies together with the relaxed solution in gray.Stint length, charge-and stint time are related and the optimal integer solution minimizes the differences to the relaxed solution.

참고문헌 37건

  1. Mixed Integer Nonlinear Programming ˜The œIMA volumes in mathematics and its applications · Institute of Electrical and Electronics Engineers · 2011 10.1007/978-1-4614-1927-3
  2. On minimum time vehicle manoeuvring: the theoretical optimal lap 2000
  3. Vehicle Propulsion Systems: Introduction to Modeling and Optimization 2007
  4. Optimal control for a Formula One car with variable parameters Vehicle System Dynamics · Taylor & Francis · 2014 10.1080/00423114.2014.889315
  5. Optimal control of Formula One car energy recovery systems International Journal of Control · Taylor & Francis · 2014 10.1080/00207179.2014.900705
  6. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming Mathematical Programming · Springer Science+Business Media · 2005 10.1007/s10107-004-0559-y
  7. Mixed-integer nonlinear optimization Acta Numerica · Cambridge University Press · 2013 10.1017/s0962492913000032
  8. Mixed-integer programming for control 2005 10.1109/acc.2005.1470372
  9. Optimal tyre usage for a Formula One car Vehicle System Dynamics · Taylor & Francis · 2016 10.1080/00423114.2016.1213861
  10. YALMIP : a toolbox for modeling and optimization in MATLAB 2005 10.1109/cacsd.2004.1393890
  11. Time-optimal Control Policy for a Hybrid Electric Race Car IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcst.2016.2642830
  12. A study on the dependency of the open-circuit voltage on temperature and actual aging state of lithium-ion batteries Journal of Power Sources · Elsevier BV · 2017 10.1016/j.jpowsour.2017.01.098
  13. Time-optimal Control Strategies for a Hybrid Electric Race Car IEEE Transactions on Control Systems Technology · Institute of Electrical and Electronics Engineers · 2017 10.1109/tcst.2017.2661824
  14. Temperature, Overcharge and Short-Circuit Studies of Batteries used in Electric Vehicles PRZEGLĄD ELEKTROTECHNICZNY · Stowarzyszenie Elektryków Polskich · 2017 10.15199/48.2017.05.13
  15. Minimum time optimal control simulation of a GP2 race car Proceedings of the Institution of Mechanical Engineers Part D Journal of Automobile Engineering · SAGE Publishing · 2017 10.1177/0954407017728158
  16. CasADi: a software framework for nonlinear optimization and optimal control Mathematical Programming Computation · Springer Science+Business Media · 2018 10.1007/s12532-018-0139-4
  17. A Study on the Open Circuit Voltage and State of Charge Characterization of High Capacity Lithium-Ion Battery Under Different Temperature Energies · Multidisciplinary Digital Publishing Institute · 2018 10.3390/en11092408
  18. A Race Simulation for Strategy Decisions in Circuit Motorsports 2018 10.1109/itsc.2018.8570012
  19. Minimum curvature trajectory planning and control for an autonomous race car Vehicle System Dynamics · Taylor & Francis · 2019 10.1080/00423114.2019.1631455
  20. Energy Management Strategy for an Autonomous Electric Racecar using Optimal Control 2019 10.1109/itsc.2019.8917154
  21. Battery Energy Storage Models for Optimal Control IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2957698
  22. Time-optimal trajectory planning for a race car considering variable tyre-road friction coefficients Vehicle System Dynamics · Taylor & Francis · 2019 10.1080/00423114.2019.1704804
  23. Formula-E race strategy development using artificial neural networks and Monte Carlo tree search Neural Computing and Applications · Springer Science+Business Media · 2020 10.1007/s00521-020-04871-1
  24. Minimum Race-Time Planning-Strategy for an Autonomous Electric Racecar 2020 10.1109/itsc45102.2020.9294681
  25. Optimal tyre management for a high-performance race car Vehicle System Dynamics · Taylor & Francis · 2020 10.1080/00423114.2020.1802047
  26. Optimal energy management for formula-E cars with regulatory limits and thermal constraints Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115805
  27. Minimum-time optimal control for battery electric vehicles with four wheel-independent drives considering electrical overloading Vehicle System Dynamics · Taylor & Francis · 2020 10.1080/00423114.2020.1823004
  28. A Convex Optimization Framework for Minimum Lap Time Design and Control of Electric Race Cars IEEE Transactions on Vehicular Technology · Institute of Electrical and Electronics Engineers · 2021 10.1109/tvt.2021.3093164
  29. Time-optimal gearshift and energy management strategies for a hybrid electric race car Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115980
  30. Time-optimal Control Strategies for Electric Race Cars with Different Transmission Technologies 2021 IEEE Vehicle Power and Propulsion Conference (VPPC) · 2020 10.1109/vppc49601.2020.9330828
  31. A three-dimensional free-trajectory quasi-steady-state optimal-control method for minimum-lap-time of race vehicles Vehicle System Dynamics · Taylor & Francis · 2021 10.1080/00423114.2021.1878242
  32. Time-optimal Control of Electric Race Cars under Thermal Constraints 2022 European Control Conference (ECC) · 2021 10.23919/ecc54610.2021.9654968
  33. Minimum-lap-time optimisation and simulation Vehicle System Dynamics · Taylor & Francis · 2021 10.1080/00423114.2021.1910718
  34. Minimum-lap-time Control Strategies for All-wheel Drive Electric Race Cars via Convex Optimization 2022 European Control Conference (ECC) · 2022 10.23919/ecc55457.2022.9838115
  35. Maximum-distance race strategies for a fully electric endurance race car European Journal of Control · Elsevier BV · 2022 10.1016/j.ejcon.2022.100679
  36. Optimization-Based Real-Time-Capable Energy Strategy for Autonomous Electric Race Cars SAE International Journal of Connected and Automated Vehicles · 2022 10.4271/12-05-01-0005
  37. Convex Optimization 2004 10.1017/cbo9780511804441