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

Relaxation Parameter Optimization in Electrical-to-Mechanical Co-Simulation Based on Time Windowing WR Technique

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

기본 정보

저자
  1. Md Moktarul Alam — École Supérieure d’Électronique de l’Ouest (ESEO), Angers, France
  2. Richard Perdriau — École Supérieure d’Électronique de l’Ouest (ESEO), Angers, France
  3. Mohamed Ramdani — École Supérieure d’Électronique de l’Ouest (ESEO), Angers, France
  4. Mohsen Koohestani — École Supérieure d’Électronique de l’Ouest (ESEO), Angers, France
DOI
10.1109/access.2025.3567752
저널
IEEE Access
발행년도
2025
발행기관
Institute of Electrical and Electronics Engineers
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2025.3567752
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4410152871

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(3) 자동차 인테리어 소재, (4) 카시트 모듈
R&D 측면
분석·모델링
확신도
0.70
근거 용어
electrical-to-mechanical co-simulation, genetic algorithm, parameter optimization, buck converter, DC motor
판단 근거
본 논문은 전기 시스템(Buck converter)과 기계 시스템(DC motor) 간의 공동 시뮬레이션(Co-simulation) 정확도를 높이기 위한 최적화 알고리즘을 다룹니다. 이는 전기차(EV) 파워트레인 및 모빌리티 시스템의 효율적 설계 및 해석 기법에 해당합니다.
R&D 활용 포인트
전기차용 컴파운드 및 모빌리티 부품 설계 시, 전기적 구동부와 기계적 구조물 간의 동적 상호작용을 정밀하게 예측하는 시뮬레이션 모델링 기술로 활용 가능합니다.
평가 입력
본문 52,266자 중 30,032자 발췌

초록

International audience

본문 52,266자

본문 펼치기
Received 9 April 2025, accepted 4 May 2025, date of publication 7 May 2025, date of current version 14 May 2025. _Digital Object Identifier 10.1109/ACCESS.2025.3567752_ # Relaxation Parameter Optimization in Electrical-to-Mechanical Co-Simulation Based on Time Windowing WR Technique MD MOKTARUL ALAM 1,2, (Student Member, IEEE), RICHARD PERDRIAU 1,3, (Senior Member, IEEE), MOHAMMED RAMDANI 1,3, (Senior Member, IEEE), AND MOHSEN KOOHESTANI 1,3, (Senior Member, IEEE) 1École Supérieure d’Électronique de l’Ouest (ESEO), 49107 Angers, France 2Institut National des Sciences Appliquées, University of Rennes, 35708 Rennes, France 3Institut d’Electronique et des Technologies du numéRique (IETR), 35042 Rennes, France Corresponding author: Md Moktarul Alam (mdmoktarul.alam@eseo.fr) This work was supported by French National Research Agency (ANR): Electromagnetic Compatibility Co-Simulation of Complex Electrical Systems (ECOCES Project) under Grant ANR-19-CE05-0016-05. ABSTRACT This paper presents an innovative approach to enhancing the time windowing waveform relaxation (WR) technique in electrical-to-mechanical co-simulation by optimizing relaxation parameters for improved performance. An analytical model is introduced to determine the optimal number of time windows, considering the circuit’s dynamic characteristics. Additionally, a genetic algorithm ( _GA_ ) is applied to refine relaxation parameters (e.g., impedance values), effectively addressing challenges posed by nonlinear device behaviors and improving the accuracy of co-simulation results. In the case study, it is crucial to emphasize that the full system simulation is used exclusively for retrospective validation of the co-simulation, without incorporating its results as inputs or convergence criteria. The proposed method significantly reduces the average error between co-simulation results and the full system output voltage, decreasing it from -2.8 dB to less than −26.2 dB. This demonstrates improved alignment and faster convergence compared to using the WR method. The validation of _GA_ method is then applied to the co-simulation of an electrical (buck converter) and mechanical (DC motor) system, with results compared against the full system. The WR method exhibited significantly lower power efficiency (57.4%) compared to the full system (81.4%), rendering it insufficient. Time windowing WR enhanced power efficiency through simulation segmentation, reaching 74.6%, though it still fell short of the full system. The most advanced approach, time windowing WR with _GA_ optimization, dynamically adjusted relaxation parameters, resulting in a power efficiency of 80.8%, nearly matching the 81.4% recorded in the single-kernel simulation. These findings underscore the effectiveness of integrating time segmentation with adaptive optimization to enhance simulation performance. INDEX TERMS Co-simulation, genetic algorithm, parameter optimization, time windowing technique, waveform relaxation. The associate editor coordinating the review of this manuscript and approving it for publication was Sotirios Goudos . I. INTRODUCTION Dynamic analyses are essential for the protection and control of electric power systems. Traditionally, these studies have been applied in fields such as communications, medical electronics, appliance control, and transportation [1]. However, the inclusion of nonlinear components adds complexity. Consequently, modeling and simulation become vital for integrating these intricate system components [2]. It is also crucial to assess electromagnetic disturbance levels during the design phase and continuously refine predictive models. Despite advancements in system-oriented modeling and increased computational power, direct simulations using current tools face challenges due to multiscale issues, high costs, and limited model availability, particularly in the automotive sector. This sector still relies heavily on simulations for complex embedded systems [3], [4], [5]. To address the complexity of modern circuit architectures, numerical simulators must support co-simulation which integrates subsystems with distinct dynamics within a unified framework. Co-simulation is especially effective in complex electrical systems, where varying dynamics can be managed more efficiently by adjusting numerical techniques [6], [7]. It is crucial for maintaining a balance between speed, accuracy, and the diverse requirements of modern design systems (e.g., scalability, accessibility, crossplatform compatibility, maintainability) [3]. Consequently, the waveform relaxation (WR) method offers an alternative by selecting time steps based on the fastest variable’s rate of change in conventional simulators, while also highlighting the trade-offs inherent in different simulation methodologies [8]. However, the convergence rate can be sluggish and often requires numerous iterations. The traditional WR method struggles with systems that have strong couplings between subsystems, as tightly linked components may need frequent updates to achieve convergence. To address that, time windowing acceleration is used as an adaptive iterative technique applied in the WR approach [9], [10], [11]. Although determining the optimal segment size remains challenging, time windowing segments are also used to reduce unnecessary computational overhead [12], [13]. An optimization algorithm can be employed to refine the relaxation parameters of subsystems, leading to optimal circuit co-simulation performance [14], [15]. This was achieved using optimization methods such as the genetic algorithm ( _GA_ ), bayesian algorithm ( _BA_ ), differential evolution algorithm ( _DEA_ ), and geometry algorithm ( _GeA_ ). However, _GA_ is the most prominent and easiest approach for parameter optimization in simulated power systems due to its adaptability, global search capability, and efficiency in handling complex, multi-dimensional problems [11], [16], [17], [18], [19], [20], [21], [22], [23]. All the above methods except _GA_ were previously implemented in [24], [25], and [26]. What makes the _GA_ method more suitable for the intended application is the following: - _GA_ stands out for its robustness and adaptability in co-simulation-based parameter optimization. Unlike _BA_ optimization, which can struggle with complex or noisy systems, and _DEA_ and _GeA_ which are limited in dynamic and high-dimensional contexts, _GA_ offers a reliable global search capability that is well-suited to the non-linear, multi-modal nature of co-simulation environments. - _GA_ is well-suited for co-simulation environments due to its ability to handle noise and stochastic behavior without relying on precise models, making it ideal for complex systems. In contrast, _BA_ optimization struggles with discontinuities and randomness, while _DEA_ is limited by its reliance on static data and inability to manage dynamic simulations. _GeA_, dependent on predefined heuristics, also faces challenges in flexible, unpredictable co-simulation scenarios. - _GA_ is computationally intensive but highly parallelizable, making it ideal for distributed co-simulation. _BA_ optimization is efficient in low dimensions but becomes costly in higher dimensions. _DEA_ is light on computation but does not scale well for iterative simulations or fine-tuned parameter optimization. _GeA_ works well for low-dimensional problems but struggles with scalability and adaptability in complex, highdimensional tasks. This paper introduces a novel optimization methodology for the time windowing WR technique in electrical-tomechanical co-simulation. The key contributions are as follows: - A GA is employed to optimize relaxation parameters (e.g., impedance values) in the WR technique. This method addresses nonlinear behavior and significantly improves convergence between subsystems and the full system, reducing the discrepancy. - By combining time windowing with optimized parameters, the proposed method leads to achieve faster and more accurate convergence in source-to-source circuit co-simulation. - The approach is validated through full system outputs comparing co-simulation results with two or more kernel simulations, demonstrating significant improvements in accuracy and convergence efficiency. These advancements position the proposed methodology as a robust tool for co-simulation of complex systems with nonlinear components (e.g., diodes), effectively addressing challenges such as computational overhead, slow convergence, and tightly coupled system dynamics. The paper is organized as follows: Section II explains the structure of the time windowing WR technique and determines the optimal number of time windows using an analytical model. Section III describes the co-simulation method for source-to-source circuits, where the number of time windows in the time windowing WR technique is determined analytically and compared to the full system. Section IV outlines the optimization method for determining the optimum values of relaxation parameters. Section V presents a case study applying the time windowing technique with optimized parameter values in source-to-source co-simulation, with results compared to the full system. Section VI details the implementation of the _GA_ in the time windowing WR technique for electrical-to-mechanical cosimulation. Finally, Section VII concludes the paper. II. STRUCTURE OF TIME WINDOWING WR CO-SIMULATION METHOD Ordinary and partial differential equations (ODEs and PDEs) can be solved iteratively using the WR method, which involves discretization, initial guesses, subsystem decomposition, iterative relaxation, convergence checking, and final solution assembly [11], [21]. Solutions are updated at each time step until convergence is achieved. The WR method is applied to solve electric circuits, with the solution’s convergence depending on the structure of the subsystems. The convergence error is calculated by simulating each subsystem independently, exchanging interface waveforms at the end of the simulation period [27]. Additionally, time windowing divides simulation time into distinct windows, directing computing resources to active windows, thereby improving simulation accuracy and efficiency. Properly initializing circuit parameters according to the circuit’s properties promotes rapid convergence. Fig. 1 integrates WR, relaxation parameter optimization, and time windowing technique to iteratively solve and optimize complex systems, such as electrical circuits. The WR process divides the system into subsystems, which are solved separately until convergence is achieved. Initially, one subsystem is initialized with an input _Xk_ <sup>_i_</sup> <sup>in</sup> <sup>the</sup> <sup>current</sup> iteration _i_, and its output _Xk_ <sup>_i_</sup> <sup>+1</sup> is recorded. This output is then used as the input for another subsystem, which computes its response _Yk_ <sup>_i_</sup> <sup>+1</sup>, also recorded. Convergence is checked the difference _�X_ =| _Xk_ <sup>_i_</sup> <sup>+1</sup> - _Xk_ <sup>_i_</sup> <sup>|.</sup> <sup>If</sup> <sup>_�X_</sup> <sup>is</sup> <sup>less</sup> <sup>than</sup> <sup>a</sup> <sup>predefined</sup> _k_ <sup>_i_</sup> <sup>+1</sup> - _Xk_ <sup>_i_</sup> difference _�X_ =| _Xk_ <sup>_i_</sup> <sup>+1</sup> - _Xk_ <sup>_i_</sup> <sup>|.</sup> <sup>If</sup> <sup>_�X_</sup> <sup>is</sup> <sup>less</sup> <sup>than</sup> <sup>a</sup> <sup>predefined</sup> threshold, the process is considered converged. Otherwise, the time windowing technique enhances simulation accuracy by incorporating time-dependent methods. The concept of the optimal number of time windows, _Wf_, is derived from the theory of multiresolution analysis using wavelets [28], [29]. This analytical model of this number of time windows is determined based on the window signal function _f_ ( _T_ ) and the window size function _W_ ( _T_ ). At the initial step ( _k_ 0 = 1), time dependent variables are initialized with _IL_ = 0 and _Vc_ = 0. Circuit parameters are then expressed as functions of _T_, such as _f_ ( _T_ ) = _Vine_ <sup>−</sup> <sup>_g_</sup> <sup>(</sup> <sup>_A_</sup> <sup>)</sup> _T_, and a window size _W_ ( _T_ ) = _Vine_ <sup>−</sup> <sup>_knT_</sup> . The parameter function _g_ ( _A_ ) is established based on the circuit’s output results and the subsystem interface variables _Xn_ and _Yn_ . An analytical model for determining the optimal number of time windows, _Wf_, is derived by integrating _f_ ( _T_ ) and _W_ ( _T_ ), as shown in equation (1) [30]. A final convergence check ensures that the simulation results meet the desired accuracy. If the criteria are satisfied, the process ends; otherwise, adjustments are made, and the procedure is repeated to refine the results. _Wf_ = ( _ceil_ )( _Vine_ <sup>−</sup> <sup>_Vout_</sup> <sup>×(</sup> <sup>_ln_</sup> <sup>(</sup> <sup>_X_</sup> <sup>0</sup> <sup>_/Y_</sup> <sup>0)+1)×</sup> <sup>_knT_</sup> ) (1) The co-simulation results are compared with those of the full system in Sect. III. It is of paramount importance FIGURE 1. Co-simulation methodology developed in the current study using the optimal number of time windows and _GA_ optimization in the time windowing WR method. to note that the full system simulation is used solely to assess the validity of the co-simulation a posteriori, without incorporating any of its results as inputs for the co-simulation or as convergence criteria. If a difference is still observed, the relaxation parameters are updated using a _GA_ optimization method. The minimum value of the objective function ( _OF_ ) obtained through this optimization provides the optimum relaxation parameter values. These values are then applied as relaxation parameters in the subsystems and used in the time windowing WR method. As a result, the accuracy is further enhanced by utilizing optimum relaxation parameter values, determined through a _GA_, in the time windowing WR method for co-simulation. III. ANALYSIS OF THE TIME WINDOWING WR CO-SIMULATION The source-to-source circuit (buck converter) in Fig. 2(a) consists of a switching transistor, an inductor, a capacitor FIGURE 2. (a) Simulink model of the source-to-source operation, illustrating the splitting of the system into (b) subsystem 1 (source) and (c) subsystem 2 (source). and diodes. In a buck converter, all parameters are calculated using the buck converter equations [31], [32]. Using an input voltage of 4 _V_, the simulation runs for 0.05 _s_ with an output voltage of 2.4 _V_ . Next, as shown in Figs. 2(b) and 2(c) is split into two subsystems: subsystem 1 (source) and subsystem 2 (source). In both subsystems, the relaxation parameter is incorporated along with the behavioral controller. The relaxation values for each subsystem are calculated using Kirchhoff’s Voltage Law ( _KVL_ ) and Kirchhoff’s Current Law ( _KCL_ ). These relaxation values are then incorporated into each subsystem, and the WR method is applied to facilitate data interfacing between subsystems. The overall procedure is organized and executed using MATLAB <sup>®</sup> Simulink <sup>®</sup> software. The entire WR method used to obtain the simulation results is run on a laptop with an Intel <sup>®</sup> Core <sup>TM</sup> i7-10850H CPU at 2.70 GHz, 32 GB of RAM, running Microsoft Windows 11 64 bits. The system simulation utilized 18% of the available memory, which increased to 38% during co-simulation. The WR approach, as shown in Figs. 2(b) and 2(c), uses _X_ (the output voltage of subsystem 2) and _Y_ (the initial value for the voltage controller) as interface variables to assess convergence. This process continues until system convergence is achieved. If convergence is not reached, the time windowing strategy is applied, with initial values for inductor current ( _IL_ ) and capacitor voltage ( _VC_ ) serving as interface variables. The optimal number of time windows is FIGURE 3. Comparison between the full system and co-simulation using (a) the initial number of time windows in WR and (b) extracted from the analytical model of the time window. determined based on the system’s nonlinear behavior, with the converged values of _IL_ and _VC_ from one window used as initial conditions for the next, ensuring an accurate system response across multiple number of time windows. The number of time windows is determined using Equation (1), with the values of _X_ 0 and _Y_ 0 taken from the WR method, resulting in a value of 6. This number of time windows is then applied in the time windowing WR technique. The co-simulation results are subsequently compared with the full system simulation results, as shown in Fig. 3. Fig. 3(a) presents the comparison using WR method, while Fig. 3(b) shows the comparison with the optimal number of time window 6, as determined from equation (1). Fig. 3(a) illustrates that while convergence is achieved at the final point of the simulation, a difference of up to 40% is observed at the initial and middle points compared to the full system. Additionally, the co-simulation result does not align with the trend of the full system simulation and diverges from it. After applying the optimal number of time window in the time windowing WR technique, the co-simulation results are compared with the full system in Fig. 3(b). This comparison shows that while the co-simulation output follows the same trend as the full simulation, a difference of up to 15% persists due to the relaxation parameters calculated using the _KVL_ and _KCL_ methods. Note that the relaxation parameters calculated using _KVL_ and _KCL_ are based on linear approximations, which may not fully capture the system’s complexity. In contrast, co-simulation models incorporate nonlinearities and dynamic interactions between components, such as the behavior of diodes and transistors, resulting in differences in the relaxation parameters. Additionally, cosimulation accounts for the coupling and feedback between subsystems, further contributing to discrepancies between the parameters calculated by _KVL_ and _KCL_ and those used in cosimulation. The optimum relaxation parameter is required to ensure that the co-simulation accurately reflects the behavior of the full system. By accurately capturing the system’s nonlinearities, dynamic interactions, and coupling effects, the co-simulation will yield results that closely match the real-world performance of the full system, enhancing the reliability and validity of the simulation. The next section discusses optimization techniques to address this challenge. IV. PROPOSED OPTIMIZATION OF WAVEFORM PARAMETERS The integration of the time windowing WR technique with the conventional optimization process, as shown in Fig. 4, enhances the optimization of the relaxation parameters. The _GA_ is used to determine the optimum relaxation parameters in the time windowing WR method due to its ability to optimize complex, nonlinear, and multidimensional problems. It handles multiple parameters simultaneously, improving overall simulation performance. The global search capability of the _GA_ helps avoid local optima, ensuring the optimal solution for the relaxation parameters. Its adaptability to complex systems allows it to adjust to varying circuit configurations and nonlinear behaviors. Additionally, _GA_ improve efficiency in parameter tuning, reducing the need for exhaustive manual tuning by converging to the optimal solution over multiple generations [11], [33], [34], [35]. The _GA_ method starts by evaluating the _OF_ values at the initial vertices, ranking these _n_ + 1 points from best (smallest _OF_ ) to worst (largest _OF_ ). This forms a triangular simplex for a two-variable optimization problem, as illustrated in Fig. 4. In this simplex, one vertex ( _H_ ) corresponds to the highest _OF_ value, one vertex ( _L_ ) to the lowest, and one vertex ( _M_ ) holds an intermediate value. In degenerate cases, where _M_ and _L_ have the same value, it is arbitrary and labeled _M_ or _L_ [11], [33]. FIGURE 4. The objective function values ( _OF_ ) of the simplex vertices determine the basic optimisation strategy used in numerous _GA_ operations, where _OF(L)_ _<_ _OF_ ( _M_ ) _<_ _OF(H)_ . (a) Reflection: shifting the least favourable vertex ( _H_ ) towards the minimum point ( _L_ ).(b) Expansion: executing if _OF(R)_ _<_ _OF(L)_ .(c) Outside contraction: if _OF(L)_ _<_ _OF_ ( _R_ ) _<_ _OF(M)_ .(d) Inside contraction: if _OF(R)_ _>_ _OF(M)_ .(e) Shrinking: carried out in the case where _OF_ ( _OC_ or _IC_ ) _>_ _OF(H)_ . Fig. 4(a) illustrates how the _GA_ algorithm eliminates the vertex with the largest _OF_ by reflecting it over the midpoint of the other two vertices to reduce the value. The _OF_ at the reflected point ( _R_ ) is then evaluated. If the new vertex ( _R_ ) has a smaller _OF_ than the current best vertex ( _L_ ), the _GA_ algorithm recognizes the direction as promising and expands by multiplying the reflected length by a factor _α_ _>_ 1, as shown in Fig. 4(b). The factor _α_ acts as a scaling factor, controlling the rate of change applied to the solution during mutation or crossover operations [11]. If the _OF_ at _R_ falls between _L_ and _M_, an external contraction is performed, as shown in Fig. 4(c), by multiplying the reflected length by a factor _β_ _<_ 1. The factor _β_ controls the influence each parent has in creating offspring, especially in parent selection or crossover operations. In certain crossover methods (e.g., linear crossover), _β_ scales of two parents FIGURE 5. _GA_ based variation of the _OF_ to optimize parameter values. are combined. Fig. 4(d) illustrates the need for a more significant internal contraction when _R_ ’s _OF_ is greater than _M_ [36]. If the value at the contracted point ( _IC_ or _OC_ ) is smaller than at the worst point ( _H_ ), the dimensions of the _GA_ simplex are reduced. As shown in Fig. 4(e), this is done by shrinking the simplex lengths by a factor _γ_ _<_ 1 towards the smallest point ( _L_ ). The factor _γ_ serves as a selection pressure in algorithms, controlling the preference for better individuals over worse ones during the selection process, thereby influencing the rate of convergence towards an optimal solution. By replacing the ‘centroid’ of the _n_ - 1 smallest-valued vertices with the ‘midpoint’ of the two smallest-valued vertices, this process can be extended to any simplex dimension _n_ . V. CO-SIMULATION RESULTS FOR THE PROPOSED OPTIMIZATION OF TIME WINDOWING WR This section presents and analyzes the results of the co-simulation using the proposed genetic optimization method to determine the optimum relaxation parameter values, replacing those initially obtained using the _KVL_ and _KCL_ methods. The _OF_ values of 1.2 and 2.8, obtained from the _GA_ optimization method, are illustrated in Fig.5 and detailed in Table1, which presents their optimum and average values. The updated relaxation parameter values from Table 1 are applied in Figs. 2(a) and 2(b). These optimized relaxation values are then used in the time windowing WR technique to refine the process, significantly improving both the accuracy and efficiency of the co-simulation compared to full system simulation. _V_ <sup>_i_</sup> <sup>+1</sup> _<u>co</u>_ - _<u>simulation</u>_ _Vfullsystem_ <sup>_i_</sup> <sup>+1</sup> | (2) _Error_ = 20 _log_ | _<u>fullsystem</u>_ <sup>_i_</sup> <sup>+1</sup> <sup>−</sup> <sup>_V_</sup> _<u>co</u>_ <sup>_i_</sup> <sup>+</sup> - <sup>1</sup> FIGURE 6. Comparison of relative error between full system and co-simulation using WR, time windowing WR, time windowing WR with average values and _GA_ optimized time windowing WR. current controller, while the third parameter, _R_, is assigned to subsystem 2, connected to the voltage controller. The comparison in Fig. 6, using (2), shows that the WR method results in an average error of −2.8 dB. After applying the time windowing method, the average error improves to less than −14.8 dB. The _GA_ optimization method generates a new vector of optimized relaxation parameters ( _R_ <sup>′</sup>, _L_ <sup>′</sup>, and _C_ <sup>′</sup> ). The stopping criterion for the _GA_ is set to a convergence threshold of 0.001, based on the circuit characteristics [22], [27] in the _OF_ . It takes approximately 120 minutes to reach the minimum _OF_ value, which defines the optimum relaxation parameter values: _R_ <sup>′</sup> = 9.9 _�_, _L_ <sup>′</sup> = 1.5 mH, and _C_ <sup>′</sup> = 12 _µF_ . These optimized values are then applied to subsystem 1 and subsystem 2, replacing the previous relaxation values. TABLE 1. The initial parameter estimations for the simplex algorithm and the associated optimization outcomes. Fig. 7(a) compares the co-simulation and the full system using the average relaxation parameter values from Guess 1 in Table 1: _Ravg_ = 10 _�_, _Lavg_ = 1 mH and _Cavg_ = 10 _µF_, within the time-windowing WR technique, where the _OF_ value is 2.8. These results can be compared to Fig. 3 where the initial _KVL_ and _KCL_ values were used. In this case, Fig. 6 shows that the average error in output results between the co-simulation and the full system is approximately −22.6 dB. It is noted that using a relaxation parameter corresponding to an objective function value of 2.8 reduces the difference from −16.8 dB to −22.6 dB through the time windowing technique. This highlights the crucial role _fullsystem_ The initial relaxation parameter values, calculated using the _KVL_ and _KCL_ methods and listed in Table 1, are used in the genetic optimization method. The first two parameters, _L_ and _C_, are assigned to subsystem 1, connected to the electrical and mechanical subsystems. The converter-to-DC motor circuit, shown in Fig. 8(a), includes a switching transistor, an inductor, a capacitor, diodes, and a voltage controller. The equivalent of DC motor is represented by equations (3) and (4). In these equations, ( _i_ + 1) denotes the iteration number, and _k_ represents the optimal number of time windows. _V_ ( _T_ ) = _L_ ( <sup>_<u>di</u>_</sup> _dT_ _k_ + _R_ ( _T_ ) + _keωk_ <sup>_i_</sup> <sup>+1</sup> <sup>_i_</sup> <sup>+1</sup> _k_ <sup>_i_</sup> <sup>+1</sup> ( _T_ ) (3) <sup>_<u>di</u>_</sup> _k_ _dT_ <sup>)</sup> <sup>_i_</sup> <sup>+1</sup> FIGURE 7. Comparison of the full system and co-simulation output voltages using time windowing WR technique: (a) average relaxation values and (b) relaxation values proposed by genetic optimization method. of accurate relaxation parameter values in minimizing the difference. The elapsed times shown in Table 1 represent the duration required by the optimization algorithm, when applied within the time windowing WR method, to reach the best solution for each set of parameters. Generally, the closer the _initial guess_ to the optimal solution, the shorter the optimization time, with the optimal guess resulting in the fastest convergence. The algorithm converges to the same final values regardless of the initial guess. Therefore, the primary consideration for the cost function is the elapsed time, as the resulting waveform remains unchanged. Notably, the elapsed time using the optimal parameters in the time windowing WR method is 29.8 _s_, which is nearly identical to the 29.4 _s_ observed for the full system. This demonstrates that co-simulation using time windowing WR with _GA_ optimized parameters achieves comparable performance to the full system in terms of computational efficiency and accuracy. A comparison between the full system and the co-simulation using the time windowing WR method with the proposed genetic optimization method for relaxation parameter values is shown in Fig. 7(b). As shown in Fig. 5, the last three _OF_ values are nearly identical. The _GA_ yields an optimal _OF_ value of 1.2, determining the optimized relaxation parameter values listed in Table 1. These values are then applied in the time windowing WR technique and the resulting co-simulation output is compared with the full system. The full system simulation takes 15 _s_, while the co-simulation converges after 12 iterations with an elapsed time of 17 _s_, representing an 11.8% increase. Nonetheless, the co-simulation output closely matches the full system, with a average error of less than -26.2 dB. This significant reduction in discrepancy highlights that the optimization of relaxation parameters in the time windowing WR technique effectively represents the full system with high accuracy. It demonstrates that applying the _GA_ for parameter tuning within this method leads to more precise and reliable co-simulation results. VI. VALIDATION OF THE PROPOSED OPTIMIZATION FOR ELECTRICAL-TO-MECHANICAL CO-SIMULATION For the proof-of-concept, the _GA_ optimization approach is applied to enhance the co-simulation between the _<u>dωdT</u>_ <u>(</u> _<u>T</u>_ <u>)</u> represents the angular acceleration ( _rad/s_ <sup>2</sup> ), _B_ is the viscous damping coefficient ( _Nms/rad_ ), _Tq_ is the torque constant ( _Nm/A_ ), and _i_ ( _T_ ) is the armature current ( _A_ ). In this setup, the subsystems operate on different kernels: subsystem 1 represents the electrical circuit (a buck converter), while subsystem 2 corresponds to the mechanical equivalent circuit of a DC motor, based on Equations (3) and (4), specifically the _DC-Micromotors_ _1218.SXR_ model from MATLAB <sup>®</sup> [37]. An input DC voltage of 15 _V_ is applied, which is sufficient to start the motor within a total simulation time of 1 _s_ . In subsystem 1, the parameters of the buck converter are determined using its governing equations [38], whereas in subsystem 2, the parameter values are calculated based on the equations governing the behavior of the DC motor [39], [40]. In both subsystems, the orange color highlights the parameter initialization and relaxation parameters, which are integrated alongside the behavioral controller. The relaxation values for each subsystem are computed using _KVL_ and _KCL_ . These computed relaxation values are then embedded into their respective subsystems. Finally, the WR method is applied to facilitate seamless data exchange and interaction between the two subsystems. In Figs. 8(b) and 8(c), the WR algorithm is applied, demonstrating the interaction between the subsystems. In subsystem 1, the internal parameters of the inductor and capacitor are initialized with values _IL_ 1 and _X_, respectively. The output _X_ from subsystem 1 is used as the input to subsystem 2. A relaxation parameter, _R_ 1 and _L_ 1 is introduced in subsystem 1, with calculated values of 12 _�_ and 32 _µH_, respectively. Similarly, in subsystem 2, the inductor and the integration of motor speed are initialized with _IL_ 2 and _Speed_ . The relaxation parameter _R_ 2 connected to the current controller in subsystem 2, provides feedback to Subsystem 1, represented as _Y_ . The convergence error is depend on the boundary condition of subsystem 1 and subsystem 2. The convergence error is calculated based on [30], which depends where _V_ ( _t_ ) is the input voltage supplied to the DC motor, _L_ is the inductance of the motor armature, and _dT_ <sup>_<u>di</u>_</sup> <sup>represents the</sup> rate of change of current ( _A/s_ ), indicating whether the current in the motor armature circuit is increasing or decreasing. _R_ is the resistance of the motor armature ( _�_ ), _ke_ is the back EMF constant ( _Vs/rad_ ), and _ω_ ( _T_ ) is the angular velocity of the motor’s rotor (rad/s). _J_ ( <sup>_<u>dω</u>_</sup> <sup><u>(</u></sup> <sup>_<u>T</u>_</sup> <sup><u>)</u></sup> <sup>_i_</sup> _k_ <sup>+1</sup> + _Bωk_ <sup>_i_</sup> <sup>+1</sup> <sup>_i_</sup> _k_ <sup>+1</sup> (4) <sup>_ω_</sup> _dT_ <sup><u>(</u></sup> <sup>_<u>T</u>_</sup> <sup><u>)</u></sup> ) <sup>_i_</sup> _k_ <sup>+1</sup> _k_ <sup>_i_</sup> <sup>+1</sup> ( _T_ ) = _Tqi_ ( _T_ ) <sup>_i_</sup> _k_ <sup>+1</sup> _J_ is the moment of inertia of the motor’s rotor ( _kgm_ <sup>2</sup> ), _<u>dω</u>_ <u>(</u> _<u>T</u>_ <u>)</u> FIGURE 8. (a) Simulink model of the electrical-to-mechanical operation, illustrating the splitting of the system into (b) subsystem 1 (buck converter) and (c) subsystem 2 (DC motor). on the boundary conditions of each subsystem. At each iteration, it is updated and advances to the next iteration until the convergence criteria are met. Time windowing WR, applied using equation (1), determines the number of time windows, segmenting the simulation into smaller intervals. Following this, the converter and DC motor powers are compared, with the results shown in Fig. 9. To improve both error reduction and efficiency between the converter and the DC motor, the _GA_ optimization method is applied to determine the optimized values of the relaxation parameters, as shown in the Table 2. In Table 2, the initial relaxation parameter values, calculated using the _KVL_ and _KCL_ methods, are utilized in the _GA_ optimization method. Subsystem 1, connected to the voltage controller, is assigned the parameters _R_ 1 and _L_ 1, while subsystem 2, connected to the current controller is assigned _R_ 2. The genetic optimization method generates a new set of optimized relaxation parameters ( _R_ 1 <sup>′</sup>, _L_ 1 <sup>′</sup>, and _R_ 2 <sup>′</sup> ), with the stopping criterion defined by a convergence threshold based on circuit characteristics (e.g., 10% [22], [27]). After approximately 4 hours of optimization in MATLAB using the _GA_ method, the optimum _OF_ value of 2.2 is achieved, yielding the optimized relaxation parameters: _R_ 1 <sup>′</sup> = 18 _�_, _L_ 1 <sup>′</sup> = 368 _µ_ H, and _R_ 2 <sup>′</sup> = 1.28 _�_ . These values are then applied to subsystem 1 and subsystem 2, replacing the initial relaxation parameters. Their effectiveness is validated using the time windowing WR method, as shown in Fig. 9 and Fig. 10. Fig. 9 illustrates the comparison of relative error between the full system mechanical power and the co-simulation mechanical power, calculated using the formula in equation 2 TABLE 2. Optimization of relaxation parameters using _GA_ for electrical-to-mechanical co-simulation. FIGURE 9. Comparison of relative mechanical power error between full system and co-simulation using WR, time windowing WR and _GA_ optimized time windowing WR. FIGURE 10. Comparison of power efficiency between full system and co-simulation using WR, time windowing WR and _GA_ optimized time windowing WR. (using 10 _log_ instead of 20 _log_ ). Initially, the WR method models the interaction between the converter and the DC motor, resulting in an average error of approximately −3.4 _dB_ after 28 iterations, with a CPU elapsed time of 38 _s_ . This error reflects the inherent power mismatch between the two systems under standard conditions. Subsequently, applying the time windowing WR method with six optimal time windows reduces an average error to around −9.6 _dB_ after 42 iterations and a CPU elapsed time of 30 _s_ . This improvement demonstrates that dividing the simulation into smaller time segments enhances the accuracy of power calculations. Finally, applying the same number of time windows in the WR time windowing with the _GA_ method to adjust the relaxation parameters achieves a significant reduction in average error between the electrical and mechanical powers to approximately −17.6 _dB_, highlighting the effectiveness of _GA_ -based optimization in fine-tuning system parameters for improved precision and efficiency. In Fig. 10, the WR method, which divides the system into subsystems and iteratively solves them, stabilizes over time to a much lower power efficiency (57.4 %) compared to the full system (81.4 %) and, therefore, is not satisfactory at all. Time windowing WR improves this by using equation (1) to determine the optimal six time windows, breaking the simulation into smaller segments, but remains also rather unfaithful to the full system simulation, with 74.6 % computed power efficiency. The most advanced method, time windowing WR with _GA_ optimization, quickly and consistently reaches a sensible power efficiency figure by dynamically optimizing relaxation parameters, minimizing error propagation, and ensuring smoother transitions. Importantly, _GA_ optimization in the time windowing WR technique estimates power efficiency to 80.8 %, to be compared with the 81.4 % computed with the single-kernel simulation. Even if these results are specific to the considered scenario, they underscores the effectiveness of combining time segmentation with adaptive optimization to enhance simulation performance. The proposed optimization method can be applied to enhance the overall efficiency of an electric vehicle (EV) powertrain. By optimizing converter parameters and motor control strategies under varying load and speed conditions, the system can significantly improve energy utilization and extend battery life. Given the dynamic constraints and nonlinear nature of such systems, they are well-suited for heuristic-based optimization approaches. VII. CONCLUSION This research highlights the significant advancements made in electrical-to-mechanical co-simulation through the optimization of the WR time windowing methodology. By addressing the challenges of nonlinear behavior and disturbances inherent in power electronic systems, the study demonstrates the effectiveness of an analytical model to optimize the number of time windows, thus improving simulation accuracy and performance. During the implementation in buck converter co-simulation, a 4 _V_ input voltage was applied, resulting in a 2.4 _V_ output in both simulation and co-simulation modes. It is important to highlight that the full system simulation is solely used for retrospective validation of the co-simulation, with no results being used as inputs or convergence criteria. When using the initial number of time windows, a comparison between WR results and full-system simulations revealed an average error of up to -2.8 dB. This error was then reduced to −16.8 dB after optimizing the number of time windows using the developed analytical model. To further minimize the gap, a _GA_ was employed to optimize relaxation parameters, ultimately reducing the average error to less than -26.2 dB. To validate the _GA_ optimization, the time windowing WR method was applied to the co-simulation between the electrical (buck converter) and mechanical (DC motor) systems, using an input voltage of 15 _V_, which was sufficient to start the motor within a total simulation time of 1 _s_ . The WR method resulted in significantly lower power efficiency (57.4%) compared to the full system (81.4%), rendering it insufficient. Time windowing WR improved this by segmenting the simulation, achieving a power efficiency of 74.6%, though it still lagged behind the full system. The most advanced approach, time windowing WR with _GA_ optimization, dynamically adjusted relaxation parameters to achieve a power efficiency of 80.8%, closely approaching the 81.4% observed in the single-kernel simulation. These findings highlighted the effectiveness of combining time segmentation with adaptive optimization to enhance simulation performance. ACKNOWLEDGMENT Special thanks to Prof. P. Besnier (HDR, Directeur de Recherche, CNRS) INSA, Rennes, for his guidance and expertise in contributing to this article. REFERENCES [1] J. G. Kassakian, D. J. Perreault, G. C. Verghese, and M. F. Schlecht, _Principles of Power Electronics_ . Cambridge, U.K.: Cambridge Univ. Press, 2023. [2] A. Bhargava, D. Pommerenke, K. Kam, X. Chang, F. Centola, C.-W. Lam, and R. Steinfeld, ‘‘EMI prediction in switched power supplies by full-wave and non-linear circuit co-simulation,’’ in _Proc._ _IEEE_ _Int._ _Symp. Electromagn. Compat._, Aug. 2009, pp. 41–46. [3] A. M. Gole, S. Filizadeh, and P. L. Wilson, ‘‘Inclusion of robustness into design using optimization-enabled transient simulation,’’ _IEEE Trans._ _Power Del._, vol. 20, no. 3, pp. 1991–1997, Jul. 2005. [4] M. Segura, T. Poggi, and R. Barcena, ‘‘A generic interface for X-in the-Loop simulations based on distributed co-simulation protocol,’’ _IEEE_ _Access_, vol. 11, pp. 5578–5595, 2023. [5] Y. Liu, R. Huang, W. Du, A. Singhal, and Z. Huang, ‘‘Highly-scalable transmission and distribution dynamic co-simulation with 10,000+ gridfollowing and grid-forming inverters,’’ _IEEE_ _Trans._ _Power_ _Del._, vol. 39, no. 1, pp. 578–590, Feb. 2024. [6] S. Sicklinger, V. Belsky, B. E. Engelmann, H. Elmqvist, H. Olsson, R. Wüchner, and K. Bletzinger, ‘‘Interface Jacobian-based Co-simulation,’’ _Int. J. Numer. Methods Eng._, vol. 98, no. 6, pp. 418–444, Mar. 2014. [7] C. Lohmann, J. Dünnebacke, and S. Turek, ‘‘Fourier analysis of a time-simultaneous two-grid algorithm using a damped Jacobi waveform relaxation smoother for the one-dimensional heat equation,’’ _J._ _Numer._ _Math._, vol. 30, no. 3, pp. 173–207, Sep. 2022. [8] B. Rüth, B. Uekermann, M. Mehl, P. Birken, A. Monge, and H.-J. Bungartz, ‘‘Quasi-Newton waveform iteration for partitioned surfacecoupled multiphysics applications,’’ _Int. J. Numer. Methods Eng._, vol. 122, no. 19, pp. 5236–5257, Oct. 2021. [9] J. A. White, A. Sangiovanni-Vincentelli, F. Odeh, and A. Ruehli, ‘‘Wave form relaxation: Theory and practice,’’ Electron. Res. Lab., Berkeley, CA, USA, Tech. Rep., 1985. [10] T. Wack, A. Schröder, and G. Deerberg, ‘‘Towards the stability of wave form relaxation in distributed process Co-simulation,’’ _Chem._ _Ingenieur_ _Technik_, vol. 94, no. 10, pp. 1426–1437, Oct. 2022. [11] M. M. Goulkhah, ‘‘Waveform relaxation based hardware-in-the-loop simulation,’’ Ph.D. Dissertation, Dept. of Elect. and Comp. Eng., Univ. Manitoba, Winnipeg, MB, Canada, 2014. [12] M. A. Mamun, S. Paudyal, and S. Kamalasadan, ‘‘Computationally efficient dynamic simulation of integrated transmission and distribution systems,’’ _IEEE_ _Trans._ _Power_ _Syst._, vol. 39, no. 3, pp. 4865–4880, May 2024. [13] T. Zhang, H. Bao, P. Gu, D. Ding, D. H. Werner, and R. Chen, ‘‘An arbitrary high-order DGTD method with local time-stepping for nonlinear field-circuit cosimulation,’’ _IEEE Trans. Antennas Propag._, vol. 70, no. 1, pp. 526–535, Jan. 2022. [14] H. H. Zhang, P. P. Wang, L. J. Jiang, W. E. I. Sha, M. S. Tong, Y. Liu, W. J. Wu, and G. M. Shi, ‘‘Parallel higher order DGTD and FETD for transient electromagnetic-circuital-thermal co-simulation,’’ _IEEE_ _Trans._ _Microw. Theory Techn._, vol. 70, no. 6, pp. 2935–2947, Jun. 2022. [15] F. Plumier, P. Aristidou, C. Geuzaine, and T. Van Cutsem, ‘‘Co-simulation of electromagnetic transients and phasor models: A relaxation approach,’’ _IEEE_ _Trans._ _Power_ _Del._, vol. 31, no. 5, pp. 2360–2369, Oct. 2016. [16] Y. Yang, Y. Ge, Z. J. Wang, and Y. Kang, ‘‘An automated electro-thermal-mechanical co-simulation methodology based on PSpice-MATLAB-COMSOL for SiC power module design,’’ in _Proc._ _IEEE_ _Workshop_ _Wide_ _Bandgap_ _Power_ _Devices_ _Appl._ _Asia_, Aug. 2021, pp. 499–503. [17] C. Wang, Y. Lian, H. Ling, H. Pan, and Y. Zhang, ‘‘Multiphysics field co-simulation research based on electric drive system for a specific type of car,’’ _Automot._ _Innov._, vol. 2, no. 3, pp. 223–230, Sep. 2019. [18] J. Zheng, Z. Zhao, Y. Zeng, S. Ji, and L. Yuan, ‘‘An event-driven parallel acceleration real-time simulation for power electronic systems without simulation distortion in circuit partitioning,’’ _IEEE_ _Trans._ _Power_ _Electron._, vol. 37, no. 12, pp. 15626–15640, Dec. 2022. [19] M. Benedikt and E. Drenth, ‘‘Relaxing stiff system integration by smoothing techniques for non-iterative co-simulation,’’ in _Proc._ _IUTAM_ _Symp._ _Solver-Coupling_ _Co-Simul._, Darmstadt, Germany. Cham, Switzerland: Springer, Sep. 2019, pp. 1–25. [20] W. Ahmed, S. Hussain, A. M. Khan, and R. Ali, ‘‘Analysis of efficient FPGA based pid controller for DC–DC buck boost converter using hardware co-simulation setup,’’ _Sukkur_ _IBA_ _J._ _Emerg._ _Technol._, vol. 4, no. 2, pp. 33–39, Nov. 2021. [21] M. K. Al-Nussairi and R. Bayindir, ‘‘Co-simulation of fuzzy logic control for a DC–DC buck converter in cascade system,’’ in _Artificial_ _Intelligence_ _and_ _Evolutionary_ _Computations_ _in_ _Engineering_ _Systems_ . Cham, Switzerland: Springer, 2020, pp. 561–569. [22] A. B. Diallo, C. Vollaire, A. Breard, M. Bensetti, and L. Pichon, ‘‘Co-simulation of circuit/circuit type solvers for EMC applications using a new relaxation method,’’ in _Proc._ _Int._ _Symp._ _Electromagn._ _Compat._, Sep. 2022, pp. 366–371. [23] R. Acharya, F. A. Mohiyaddin, A. Potocnik, K. De Greve, B. Gov oreanu, I. P. Radu, G. Gielen, and F. Catthoor, ‘‘Circuit models for the co-simulation of superconducting quantum computing systems,’’ in _Proc._ _Design,_ _Autom._ _Test_ _Eur._ _Conf._ _Exhib._ _(DATE)_, Feb. 2021, pp. 968–973. [24] H. M. Torun, M. Swaminathan, A. Kavungal Davis, and M. L. F. Bellaredj, ‘‘A global Bayesian optimization algorithm and its application to integrated system design,’’ _IEEE Trans. Very Large Scale Integr. (VLSI) Syst._, vol. 26, no. 4, pp. 792–802, Apr. 2018. [25] R. Wagle, L. N. H. Pham, G. Tricarico, P. Sharma, J. L. Rueda, and F. Gonzalez-Longatt, ‘‘Co-simulation-based optimal reactive power control in smart distribution network,’’ _Electr. Eng._, vol. 106, no. 3, pp. 2391–2405, Jun. 2024. [26] E. O. Inci, W. Desmet, and J. Croes, ‘‘System-level co-simulation of mechatronic systems for design space exploration,’’ KU Leuven, Belgium, Tech. Rep., 2023. [27] M. M. Alam, M. Koohestani, M. Ramdani, and R. Perdriau, ‘‘Circuit-to Circuit cosimulation for closed-loop electrical systems using waveform relaxation,’’ _IEEE Trans. Power Electron._, vol. 40, no. 6, pp. 8553–8565, Jun. 2025. [28] S. G. Mallat, ‘‘A theory for multiresolution signal decomposition: The wavelet representation,’’ _IEEE Trans. Pattern Anal. Mach. Intell._, vol. 11, no. 7, pp. 674–693, Jul. 1989. [29] J. R. Hartman, ‘‘Networked control system co-simulation for co-design: Theory and experiments,’’ Cleveland, OH, USA, Tech. Rep., 2004. [30] M. M. Alam, M. Koohestani, M. Ramdani, and R. Perdriau, ‘‘Optimization using time windowing technique for closed loop circuit co-simulation using wr method,’’ _IEEE Open J. Ind. Appl._, 2025. [31] D. Schelle and J. Castorena, ‘‘Buck-converter design demystified,’’ _Power_ _Electron. Technol._, vol. 2006, pp. 1–6, Jun. 2006. [32] P. Cheng, M. Vasic, O. García, J. Á. Oliver, P. Alou, and J. A. Cobos, ‘‘Minimum time control for multiphase buck converter: Analysis and application,’’ _IEEE_ _Trans._ _Power_ _Electron._, vol. 29, no. 2, pp. 958–967, Feb. 2014. [33] Y. Li, H. Hu, and Q. Wang, ‘‘Non-dominated sorting genetic algorithm II (NSGA2)-based parameter optimization of the MSMGWB model used in remote infrared sensing prediction for hot combustion gas plume,’’ _Remote_ _Sens._, vol. 16, no. 17, p. 3116, Aug. 2024. [34] A. Konak, D. W. Coit, and A. E. Smith, ‘‘Multi-objective optimization using genetic algorithms: A tutorial,’’ _Rel._ _Eng._ _Syst._ _Saf._, vol. 91, no. 9, pp. 992–1007, Sep. 2006. [35] T. Hamiti, C. Gerada, and M. Rottach, ‘‘Weight optimisation of a surface mount permanent magnet synchronous motor using genetic algorithms and a combined electromagnetic-thermal co-simulation environment,’’ in _Proc._ _IEEE_ _Energy_ _Convers._ _Congr._ _Expo._, Sep. 2011, pp. 1536–1540. [36] D. F. Cook, C. T. Ragsdale, and R. L. Major, ‘‘Combining a neural network with a genetic algorithm for process parameter optimization,’’ _Eng._ _Appl._ _Artif._ _Intell._, vol. 13, no. 4, pp. 391–396, Aug. 2000. [37] K. Ghlam and M. Oukli, ‘‘Performance analysis of rotary electromagnetic micromotors across different size and weight scales,’’ _J._ _Européen_ _des_ _Syst._ _Autom._, vol. 56, no. 3, pp. 459–463, Jun. 2023. [38] R. Kaur and N. Kaur, ‘‘Mathematical modelling of buck converter,’’ _Int._ _J. Recent Innov. Trends Comput. Commun._, vol. 2, no. 5, pp. 1226–1229, 2014. [39] J. Yao, Z. Jiao, and D. Ma, ‘‘Adaptive robust control of DC motors with extended state observer,’’ _IEEE Trans. Ind. Electron._, vol. 61, no. 7, pp. 3630–3637, Jul. 2014. [40] W. P. Aung, ‘‘Analysis on modeling and simulink of DC motor and its driving system used for wheeled mobile robot,’’ _World_ _Acad._ _Sci.,_ _Eng._ _Technol._, vol. 1, no. 8, pp. 1141–1148, Aug. 2007. MD MOKTARUL ALAM (Student Member, IEEE) received the B.Sc. degree in electrical and electronic engineering in Bangladesh, in 2016, and the master’s degree in electronic engineering from International Islamic University, Malaysia, in 2019. He is currently pursuing the Doctor of Philosophy degree with INSA, Rennes. From 2017 to 2019, he was a Research Assistant and a Teaching Assistant with International Islamic University. He is a Research Assistant with the Faculty of Electronic Engineering, ESEO, Angers, France. He is involved in Electromagnetic Compatibility Research Projects. His main research interests include the domain of propagation, antenna, EMC, and co-simulation. He also has good research experience in the area of propagation, electromagnetic, and antennas. He has published several research papers in national/international journals and conferences. RICHARD PERDRIAU (Senior Member, IEEE) was born in Angers, France, in 1971. He received the Engineering degree in electronics and computer science from ESEO, Angers, in 1992, the Ph.D. degree in applied sciences from the Université Catholique de Louvain, Louvain-laNeuve, Belgium, in 2004, and the Habilitation à diriger des recherches’’ (Accreditation degree) from the Université de Rennes 1, France, in 2012. From 1992 to 2012, he was an Assistant, then Associate Professor with ESEO in the fields of microelectronics and embedded systems. In 2013, he was promoted to a Full Professor. His research interests include EMC of integrated circuits, mixed-signal hardware description languages, and integrated circuit design. He is an Active Member of IEC SC47A. He served as the Vice-Chair and the Technical Program Co-Chair for EMC Europe 2017. Moreover, he is the Technical Program Chair of EMC Europe 2025. He is the current Secretary of the IEEE France Section. MOHAMMED RAMDANI (Senior Member, IEEE) was born in Oujda, Morocco. He received the Ph.D. degree in microelectronics from the Université Paul Sabatier, Toulouse, France, in 1989, and the ‘‘Habilitation à diriger des recherches’’ (Accreditation degree) from Université de Rennes 1, France, in 2004. He is currently a Professor with ESEO, an engineering school located in Angers, France. His research focuses on the electromagnetic compatibility (EMC) of integrated circuits and integrated circuit design. He has contributed extensively to the field, authoring several book chapters on EMC of ICs and publishing numerous peer-reviewed scientific articles. Prof. Ramdani is an Active Member of the International Steering Committee (ISC) of EMC Europe. He also served as the General Chair for EMC Europe 2017, which took place in Angers. MOHSEN KOOHESTANI (Senior Member, IEEE) received the joint Ph.D. degree (Hons.) in electromagnetics from the École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland, and the Universidade de Lisboa (ULISBOA), Lisbon, Portugal, in 2014, and the Higher Doctorate degree (H.D.R.) from the Université de Rennes, Rennes, France, in 2023. From 2014 to 2018, he was a Senior Research Fellow with the Institut d’Electronique et des Technologies du numéRique (IETR), Université de Rennes 1. Since 2018, he has been an Associate Professor with the École Supérieure d’Électronique de l’Ouest (ESEO), Angers, France, where he was promoted to a Full Professor, in 2024. He is currently an Associate Researcher with IETR, UMR CNRS 6164. He has authored over 80 peer-reviewed scientific articles. His main research interests include the domain of antennas, microwaves, EMC, and biomedical engineering. Prof. Koohestani is an Official Member of AFNOR, the IEC Standardization Working Group (WG2 and WG9), in the SC47A French Subcommittee on EMC for integrated circuits.

섹션 본문 51문단 · 34,956자

(제목 없음)

1This paper presents an innovative approach to enhancing the time windowing waveform relaxation (WR) technique in electrical-to-mechanical co-simulation by optimizing relaxation parameters for improved performance.An analytical model is introduced to determine the optimal number of time windows, considering the circuit's dynamic characteristics.Additionally, a genetic algorithm (GA) is applied to refine relaxation parameters (e.g., impedance values), effectively addressing challenges posed by nonlinear device behaviors and improving the accuracy of co-simulation results.In the case study, it is crucial to emphasize that the full system simulation is used exclusively for retrospective validation of the co-simulation, without incorporating its results as inputs or convergence criteria.The proposed method significantly reduces the average error between co-simulation results and the full system output voltage, decreasing it from -2.8 dB to less than −26.2 dB.This demonstrates improved alignment and faster convergence compared to using the WR method.The validation of GA method is then applied to the co-simulation of an electrical (buck converter) and mechanical (DC motor) system, with results compared against the full system.The WR method exhibited significantly lower power efficiency (57.4%) compared to the full system (81.4%),rendering it insufficient.Time windowing WR enhanced power efficiency through simulation segmentation, reaching 74.6%, though it still fell short of the full system.The most advanced approach, time windowing WR with GA optimization, dynamically adjusted relaxation parameters, resulting in a power efficiency of 80.8%, nearly matching the 81.4% recorded in the single-kernel simulation.These findings underscore the effectiveness of integrating time segmentation with adaptive optimization to enhance simulation performance.INDEX TERMS Co-simulation, genetic algorithm, parameter optimization, time windowing technique, waveform relaxation.

I. INTRODUCTION

2Dynamic analyses are essential for the protection and control of electric power systems.Traditionally, these studies have been applied in fields such as communications, medical electronics, appliance control, and transportation [1].However, the inclusion of nonlinear components adds complexity.Consequently, modeling and simulation become vital for integrating these intricate system components [2].It is also crucial to assess electromagnetic disturbance levels during the design phase and continuously refine predictive models.Despite advancements in system-oriented modeling and increased computational power, direct simulations using current tools face challenges due to multiscale issues, high costs, and limited model availability, particularly in the automotive sector.This sector still relies heavily on simulations for complex embedded systems [3], [4], [5].

3To address the complexity of modern circuit architectures, numerical simulators must support co-simulation which integrates subsystems with distinct dynamics within a unified framework.Co-simulation is especially effective in complex electrical systems, where varying dynamics can be managed more efficiently by adjusting numerical techniques [6], [7].It is crucial for maintaining a balance between speed, accuracy, and the diverse requirements of modern design systems (e.g., scalability, accessibility, crossplatform compatibility, maintainability) [3].Consequently, the waveform relaxation (WR) method offers an alternative by selecting time steps based on the fastest variable's rate of change in conventional simulators, while also highlighting the trade-offs inherent in different simulation methodologies [8].However, the convergence rate can be sluggish and often requires numerous iterations.The traditional WR method struggles with systems that have strong couplings between subsystems, as tightly linked components may need frequent updates to achieve convergence.To address that, time windowing acceleration is used as an adaptive iterative technique applied in the WR approach [9], [10], [11].Although determining the optimal segment size remains challenging, time windowing segments are also used to reduce unnecessary computational overhead [12], [13].An optimization algorithm can be employed to refine the relaxation parameters of subsystems, leading to optimal circuit co-simulation performance [14], [15].This was achieved using optimization methods such as the genetic algorithm (GA), bayesian algorithm (BA), differential evolution algorithm (DEA), and geometry algorithm (GeA).However, GA is the most prominent and easiest approach for parameter optimization in simulated power systems due to its adaptability, global search capability, and efficiency in handling complex, multi-dimensional problems [11], [16], [17], [18], [19], [20], [21], [22], [23].

4All the above methods except GA were previously implemented in [24], [25], and [26].What makes the GA method more suitable for the intended application is the following:

5• GA stands out for its robustness and adaptability in co-simulation-based parameter optimization.Unlike BA optimization, which can struggle with complex or noisy systems, and DEA and GeA which are limited in dynamic and high-dimensional contexts, GA offers a reliable global search capability that is well-suited to the non-linear, multi-modal nature of co-simulation environments.

6• GA is well-suited for co-simulation environments due to its ability to handle noise and stochastic behavior without relying on precise models, making it ideal for complex systems.In contrast, BA optimization struggles with discontinuities and randomness, while DEA is limited by its reliance on static data and inability to manage dynamic simulations.GeA, dependent on predefined heuristics, also faces challenges in flexible, unpredictable co-simulation scenarios.

7• GA is computationally intensive but highly parallelizable, making it ideal for distributed co-simulation.

8BA optimization is efficient in low dimensions but becomes costly in higher dimensions.DEA is light on computation but does not scale well for iterative simulations or fine-tuned parameter optimization.GeA works well for low-dimensional problems but struggles with scalability and adaptability in complex, highdimensional tasks.This paper introduces a novel optimization methodology for the time windowing WR technique in electrical-tomechanical co-simulation.The key contributions are as follows:

9• A GA is employed to optimize relaxation parameters (e.g., impedance values) in the WR technique.This method addresses nonlinear behavior and significantly improves convergence between subsystems and the full system, reducing the discrepancy.

10• By combining time windowing with optimized parameters, the proposed method leads to achieve faster and more accurate convergence in source-to-source circuit co-simulation.

11• The approach is validated through full system outputs comparing co-simulation results with two or more kernel simulations, demonstrating significant improvements in accuracy and convergence efficiency.These advancements position the proposed methodology as a robust tool for co-simulation of complex systems with nonlinear components (e.g., diodes), effectively addressing challenges such as computational overhead, slow convergence, and tightly coupled system dynamics.

12The paper is organized as follows: Section II explains the structure of the time windowing WR technique and determines the optimal number of time windows using an analytical model.Section III describes the co-simulation method for source-to-source circuits, where the number of time windows in the time windowing WR technique is determined analytically and compared to the full system.Section IV outlines the optimization method for determining the optimum values of relaxation parameters.Section V presents a case study applying the time windowing technique with optimized parameter values in source-to-source co-simulation, with results compared to the full system.Section VI details the implementation of the GA in the time 80776 VOLUME 13, 2025 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

13windowing WR technique for electrical-to-mechanical cosimulation.Finally, Section VII concludes the paper.

II. STRUCTURE OF TIME WINDOWING WR CO-SIMULATION METHOD

14Ordinary and partial differential equations (ODEs and PDEs) can be solved iteratively using the WR method, which involves discretization, initial guesses, subsystem decomposition, iterative relaxation, convergence checking, and final solution assembly [11], [21].Solutions are updated at each time step until convergence is achieved.The WR method is applied to solve electric circuits, with the solution's convergence depending on the structure of the subsystems.The convergence error is calculated by simulating each subsystem independently, exchanging interface waveforms at the end of the simulation period [27].Additionally, time windowing divides simulation time into distinct windows, directing computing resources to active windows, thereby improving simulation accuracy and efficiency.Properly initializing circuit parameters according to the circuit's properties promotes rapid convergence.

15Fig. 1 integrates WR, relaxation parameter optimization, and time windowing technique to iteratively solve and optimize complex systems, such as electrical circuits.The WR process divides the system into subsystems, which are solved separately until convergence is achieved.Initially, one subsystem is initialized with an input X i k in the current iteration i, and its output X i+1 k is recorded.This output is then used as the input for another subsystem, which computes its response Y i+1 k , also recorded.Convergence is checked the difference X =|X i+1 k -X i k |.If X is less than a predefined threshold, the process is considered converged.Otherwise, the time windowing technique enhances simulation accuracy by incorporating time-dependent methods.The concept of the optimal number of time windows, W f , is derived from the theory of multiresolution analysis using wavelets [28], [29].This analytical model of this number of time windows is determined based on the window signal function f (T ) and the window size function W (T ).At the initial step (k 0 = 1), time dependent variables are initialized with I L = 0 and V c = 0. Circuit parameters are then expressed as functions of T , such as f (T ) = V in e −g(A) T , and a window size W (T ) = V in e −k n T .The parameter function g(A) is established based on the circuit's output results and the subsystem interface variables X n and Y n .An analytical model for determining the optimal number of time windows, W f , is derived by integrating f (T ) and W (T ), as shown in equation (1) [30].A final convergence check ensures that the simulation results meet the desired accuracy.If the criteria are satisfied, the process ends; otherwise, adjustments are made, and the procedure is repeated to refine the results.

16The co-simulation results are compared with those of the full system in Sect.III.It is of paramount importance FIGURE 1. Co-simulation methodology developed in the current study using the optimal number of time windows and GA optimization in the time windowing WR method.

17to note that the full system simulation is used solely to assess the validity of the co-simulation a posteriori, without incorporating any of its results as inputs for the co-simulation or as convergence criteria.If a difference is still observed, the relaxation parameters are updated using a GA optimization method.The minimum value of the objective function (OF) obtained through this optimization provides the optimum relaxation parameter values.These values are then applied as relaxation parameters in the subsystems and used in the time windowing WR method.As a result, the accuracy is further enhanced by utilizing optimum relaxation parameter values, determined through a GA, in the time windowing WR method for co-simulation.

III. ANALYSIS OF THE TIME WINDOWING WR CO-SIMULATION

18The source-to-source circuit (buck converter) in Fig. 2(a) consists of a switching transistor, an inductor, a capacitor and diodes.In a buck converter, all parameters are calculated using the buck converter equations [31], [32].Using an input voltage of 4 V , the simulation runs for 0.05 s with an output voltage of 2.4 V .Next, as shown in Figs.2(b) and 2(c) is split into two subsystems: subsystem 1 (source) and subsystem 2 (source).In both subsystems, the relaxation parameter is incorporated along with the behavioral controller.The relaxation values for each subsystem are calculated using Kirchhoff's Voltage Law (KVL) and Kirchhoff's Current Law (KCL).These relaxation values are then incorporated into each subsystem, and the WR method is applied to facilitate data interfacing between subsystems.The overall procedure is organized and executed using MATLAB ® Simulink ® software.The entire WR method used to obtain the simulation results is run on a laptop with an Intel ® Core TM i7-10850H CPU at 2.70 GHz, 32 GB of RAM, running Microsoft Windows 11 64 bits.The system simulation utilized 18% of the available memory, which increased to 38% during co-simulation.

19The WR approach, as shown in Figs.2(b) and 2(c), uses X (the output voltage of subsystem 2) and Y (the initial value for the voltage controller) as interface variables to assess convergence.This process continues until system convergence is achieved.If convergence is not reached, the time windowing strategy is applied, with initial values for inductor current (I L ) and capacitor voltage (V C ) serving as interface variables.The optimal number of time windows is determined based on the system's nonlinear behavior, with the converged values of I L and V C from one window used as initial conditions for the next, ensuring an accurate system response across multiple number of time windows.

20The number of time windows is determined using Equation (1), with the values of X 0 and Y 0 taken from the WR method, resulting in a value of 6.This number of time windows is then applied in the time windowing WR technique.The co-simulation results are subsequently compared with the full system simulation results, as shown in Fig. 3. Fig. 3(a) presents the comparison using WR method, while Fig. 3(b) shows the comparison with the optimal number of time window 6, as determined from equation (1).Fig. 3(a) illustrates that while convergence is achieved at the final point of the simulation, a difference of up to 40% is observed at the initial and middle points compared to the full system.Additionally, the co-simulation result does not align with the trend of the full system simulation and diverges from it.After applying the optimal number of time window in the time windowing WR technique, the co-simulation results are compared with the full system in Fig. 3(b).This comparison shows that while the co-simulation output follows the same trend as the full simulation, a difference of up to 15% persists due to the relaxation parameters calculated using the KVL and KCL methods.Note that the relaxation parameters calculated using KVL and KCL are based on linear approximations, which may not fully capture the system's complexity.In contrast, co-simulation models incorporate nonlinearities and dynamic interactions between components, such as the behavior of diodes and transistors, resulting in differences in the relaxation parameters.Additionally, cosimulation accounts for the coupling and feedback between subsystems, further contributing to discrepancies between the parameters calculated by KVL and KCL and those used in cosimulation.The optimum relaxation parameter is required to ensure that the co-simulation accurately reflects the behavior of the full system.By accurately capturing the system's nonlinearities, dynamic interactions, and coupling effects, the co-simulation will yield results that closely match the real-world performance of the full system, enhancing the reliability and validity of the simulation.The next section discusses optimization techniques to address this challenge.

IV. PROPOSED OPTIMIZATION OF WAVEFORM PARAMETERS

21The integration of the time windowing WR technique with the conventional optimization process, as shown in Fig. 4, enhances the optimization of the relaxation parameters.The GA is used to determine the optimum relaxation parameters in the time windowing WR method due to its ability to optimize complex, nonlinear, and multidimensional problems.It handles multiple parameters simultaneously, improving overall simulation performance.The global search capability of the GA helps avoid local optima, ensuring the optimal solution for the relaxation parameters.Its adaptability to complex systems allows it to adjust to varying circuit configurations and nonlinear behaviors.Additionally, GA improve efficiency in parameter tuning, reducing the need for exhaustive manual tuning by converging to the optimal solution over multiple generations [11], [33], [34], [35].

22The GA method starts by evaluating the OF values at the initial vertices, ranking these n + 1 points from best (smallest OF) to worst (largest OF).This forms a triangular simplex for a two-variable optimization problem, as illustrated in Fig. 4. In this simplex, one vertex (H ) corresponds to the highest OF value, one vertex (L) to the lowest, and one vertex (M ) holds an intermediate value.In degenerate cases, where M and L have the same value, it is arbitrary and labeled M or L [11], [33].Fig. 4(a) illustrates how the GA algorithm eliminates the vertex with the largest OF by reflecting it over the midpoint of the other two vertices to reduce the value.The OF at the reflected point (R) is then evaluated.If the new vertex (R) has a smaller OF than the current best vertex (L), the GA algorithm recognizes the direction as promising and expands by multiplying the reflected length by a factor α > 1, as shown in Fig. 4(b).The factor α acts as a scaling factor, controlling the rate of change applied to the solution during mutation or crossover operations [11].

23If the OF at R falls between L and M , an external contraction is performed, as shown in Fig. 4(c), by multiplying the reflected length by a factor β < 1.The factor β controls the influence each parent has in creating offspring, especially in parent selection or crossover operations.In certain crossover methods (e.g., linear crossover), β scales of two parents are combined.Fig. 4(d) illustrates the need for a more significant internal contraction when R's OF is greater than M [36].

24If the value at the contracted point (IC or OC) is smaller than at the worst point (H ), the dimensions of the GA simplex are reduced.As shown in Fig. 4(e), this is done by shrinking the simplex lengths by a factor γ < 1 towards the smallest point (L).The factor γ serves as a selection pressure in algorithms, controlling the preference for better individuals over worse ones during the selection process, thereby influencing the rate of convergence towards an optimal solution.By replacing the 'centroid' of the n − 1 smallest-valued vertices with the 'midpoint' of the two smallest-valued vertices, this process can be extended to any simplex dimension n.

V. CO-SIMULATION RESULTS FOR THE PROPOSED OPTIMIZATION OF TIME WINDOWING WR

25This section presents and analyzes the results of the co-simulation using the proposed genetic optimization method to determine the optimum relaxation parameter values, replacing those initially obtained using the KVL and KCL methods.The OF values of 1.2 and 2.8, obtained from the GA optimization method, are illustrated in Fig. 5 and detailed in Table1, which presents their optimum and average values.The updated relaxation parameter values from Table 1 are applied in Figs.2(a) and 2(b).These optimized relaxation values are then used in the time windowing WR technique to refine the process, significantly improving both the accuracy and efficiency of the co-simulation compared to full system simulation.

26The initial relaxation parameter values, calculated using the KVL and KCL methods and listed in Table 1, are used in the genetic optimization method.The first two parameters, L and C, are assigned to subsystem 1, connected to the current controller, while the third parameter, R, is assigned to subsystem 2, connected to the voltage controller.The comparison in Fig. 6, using ( 2), shows that the WR method results in an average error of −2.8 dB.After applying the time windowing method, the average error improves to less than −14.8 dB.The GA optimization method generates a new vector of optimized relaxation parameters (R ′ , L ′ , and C ′ ).The stopping criterion for the GA is set to a convergence threshold of 0.001, based on the circuit characteristics [22], [27] in the OF.It takes approximately 120 minutes to reach the minimum OF value, which defines the optimum relaxation parameter values: R ′ = 9.9 , L ′ = 1.5 mH, and C ′ = 12 µF.These optimized values are then applied to subsystem 1 and subsystem 2, replacing the previous relaxation values.Fig. 7(a) compares the co-simulation and the full system using the average relaxation parameter values from Guess 1 in Table 1: R avg = 10 , L avg = 1 mH and C avg = 10 µF, within the time-windowing WR technique, where the OF value is 2.8.These results can be compared to Fig. 3 where the initial KVL and KCL values were used.In this case, Fig. 6 shows that the average error in output results between the co-simulation and the full system is approximately −22.6 dB.It is noted that using a relaxation parameter corresponding to an objective function value of 2.8 reduces the difference from −16.8 dB to −22.6 dB through the time windowing technique.This highlights the crucial role of accurate relaxation parameter values in minimizing difference.

27The elapsed times shown in Table 1 represent the duration required by the optimization algorithm, when applied within the time windowing WR method, to reach the best solution for each set of parameters.Generally, the closer the initial guess to the optimal solution, the shorter the optimization time, with the optimal guess resulting in the fastest convergence.The algorithm converges to the same final values regardless of the initial guess.Therefore, the primary consideration for the cost function is the elapsed time, as the resulting waveform remains unchanged.Notably, the elapsed time using the optimal parameters in the time windowing WR method is 29.8 s, which is nearly identical to the 29.4 s observed for the full system.This demonstrates that co-simulation using time windowing WR with GA optimized parameters achieves comparable performance to the full system in terms of computational efficiency and accuracy.

28A comparison between the full system and the co-simulation using the time windowing WR method with the proposed genetic optimization method for relaxation parameter values is shown in Fig. 7(b).As shown in Fig. 5, the last three OF values are nearly identical.The GA yields an optimal OF value of 1.2, determining the optimized relaxation parameter values listed in Table 1.These values are then applied in the time windowing WR technique and the resulting co-simulation output is compared with the full system.The full system simulation takes 15 s, while the co-simulation converges after 12 iterations with an elapsed time of 17 s, representing an 11.8% increase.Nonetheless, the co-simulation output closely matches the full system, with a average error of less than -26.2 dB.This significant reduction in discrepancy highlights that the optimization of relaxation parameters in the time windowing WR technique effectively represents the full system with high accuracy.It demonstrates that applying the GA for tuning within this method leads to more precise and reliable co-simulation results.

VI. VALIDATION OF THE PROPOSED OPTIMIZATION FOR ELECTRICAL-TO-MECHANICAL CO-SIMULATION

29For the proof-of-concept, the GA optimization approach is applied to enhance the co-simulation between the electrical and mechanical subsystems.The converter-to-DC motor circuit, shown in Fig. 8(a), includes a switching transistor, an inductor, a capacitor, diodes, and a voltage controller.The equivalent of DC motor is represented by equations ( 3) and (4).In these equations, (i + 1) denotes the iteration number, and k represents the optimal number of time windows.

30where V (t) is the input voltage supplied to the DC motor, L is the inductance of the motor armature, and di dT represents the rate of change of current (A/s), indicating whether the current in the motor armature circuit is increasing or decreasing.R is the resistance of the motor armature ( ), k e is the back EMF constant (Vs/rad), and ω(T ) is the angular velocity of the motor's rotor (rad/s).

31J is the moment of inertia of the motor's rotor (kgm 2 ),

32dT represents the angular acceleration (rad/s 2 ), B is the viscous damping coefficient (Nms/rad), T q is the torque constant ( Nm/A), and i(T ) is the armature current (A).

33In this setup, the subsystems operate on different kernels: subsystem 1 represents the electrical circuit (a buck converter), while subsystem 2 corresponds to the mechanical equivalent circuit of a DC motor, based on Equations ( 3) and ( 4), specifically the DC-Micromotors 1218.SXR model from MATLAB ® [37].An input DC voltage of 15 V is applied, which is sufficient to start the motor within a total simulation time of 1 s.In subsystem 1, the parameters of the buck converter are determined using its governing equations [38], whereas in subsystem 2, the parameter values are calculated based on the equations governing the behavior of the DC motor [39], [40].In both subsystems, the orange color highlights the parameter initialization and relaxation parameters, which are integrated alongside the behavioral controller.The relaxation values for each subsystem are computed using KVL and KCL.These computed relaxation values are then embedded into their respective subsystems.Finally, the WR method is applied to facilitate seamless data exchange and interaction between the two subsystems.

34In Figs.8(b) and 8(c), the WR algorithm is applied, demonstrating the interaction between the subsystems.In subsystem 1, the internal parameters of the inductor and capacitor are initialized with values IL1 and X , respectively.The output X from subsystem 1 is used as the input to subsystem 2. A relaxation parameter, R1 and L1 is introduced in subsystem 1, with calculated values of 12 and 32 µH , respectively.Similarly, in subsystem 2, the inductor and the integration of motor speed are initialized with IL2 and Speed.The relaxation parameter R2 connected to the current controller in subsystem 2, provides feedback to Subsystem 1, represented as Y .The convergence error is depend on the boundary condition of subsystem 1 and subsystem 2. The convergence error is calculated based on [30], which depends on the boundary conditions of each subsystem.At each iteration, it is updated and advances to the next iteration until the convergence criteria are met.

35Time windowing WR, applied using equation ( 1), determines the number of time windows, segmenting the simulation into smaller intervals.Following this, the converter and DC motor powers are compared, with the results shown in Fig. 9.To improve both error reduction and efficiency between the converter and the DC motor, the GA optimization method is applied to determine the optimized values of the relaxation parameters, as shown in the Table 2.

36In Table 2, the initial relaxation parameter values, calculated using the KVL and KCL methods, are utilized in the GA optimization method.Subsystem 1, connected to the voltage controller, is assigned the parameters R1 and L1, while subsystem 2, connected to the current controller is assigned R2.The genetic optimization method generates a new set of optimized relaxation parameters (R1 ′ , L1 ′ , and R2 ′ ), with the stopping criterion defined by a convergence threshold based on circuit characteristics (e.g., 10% [22], [27]).

37After approximately 4 hours of optimization in MATLAB using the GA method, the optimum OF value of 2.2 is achieved, yielding the optimized relaxation parameters: R1 ′ = 18 , L1 ′ = 368 µH, and R2 ′ = 1.28 .These values are then applied to subsystem 1 and subsystem 2, replacing the initial relaxation parameters.Their effectiveness is validated using the time windowing WR method, as shown in Fig. 9 and Fig. 10.Fig. 9 illustrates the comparison of relative error between the full system mechanical power and the co-simulation mechanical power, calculated using the formula in equation 2 (using 10log instead of 20log).Initially, the WR method models the interaction between the converter and the DC motor, resulting in an average error of approximately −3.4 dB after 28 iterations, with a CPU elapsed time of 38 s.This error reflects the inherent power mismatch between the two systems under standard conditions.Subsequently, applying the time windowing WR method with six optimal time windows reduces an average error to around −9.6 dB after 42 iterations and a CPU elapsed time of 30 s.This improvement demonstrates that dividing the simulation into smaller time segments enhances the accuracy of power calculations.Finally, applying the same number of time windows in the WR time windowing with the GA method to adjust the relaxation parameters achieves a significant reduction in average error between the electrical and mechanical powers to approximately −17.6 dB, highlighting the effectiveness of GA-based optimization in fine-tuning system parameters for improved precision and efficiency.

38In Fig. 10, the WR method, which divides the system into subsystems and iteratively solves them, stabilizes over time to a much lower power efficiency (57.4 %) compared to the full system (81.4%) and, therefore, is not satisfactory at all.Time windowing WR improves this by using equation ( 1) to determine the optimal six time windows, breaking the simulation into smaller segments, but remains also rather unfaithful to the full system simulation, with 74.6 % computed power efficiency.The most advanced method, time windowing WR with GA optimization, quickly and consistently reaches a sensible power efficiency figure by dynamically optimizing relaxation parameters, minimizing error propagation, and ensuring smoother transitions.Importantly, GA optimization in the time windowing WR technique estimates power efficiency to 80.8 %, to be compared with the 81.4 % computed with the single-kernel simulation.Even if these results are specific to the considered scenario, they underscores the effectiveness of combining time segmentation with adaptive optimization to enhance simulation performance.

39The proposed optimization method can be applied to enhance the overall efficiency of an electric vehicle (EV) powertrain.By optimizing converter parameters and motor control strategies under varying load and speed conditions, the system can significantly improve energy utilization and extend battery life.Given the dynamic constraints and nonlinear nature of such systems, they are well-suited for heuristic-based optimization approaches.

VII. CONCLUSION

40This research highlights the significant advancements made in electrical-to-mechanical co-simulation through the optimization of the WR time windowing methodology.By addressing the challenges of nonlinear behavior and disturbances inherent in power electronic systems, the study demonstrates the effectiveness of an analytical model to optimize the number of time windows, thus improving simulation accuracy and performance.During the implementation in buck converter co-simulation, a 4 V input voltage was applied, resulting in a 2.4 V output in both simulation and co-simulation modes.It is important to highlight that the full system simulation is solely used for retrospective validation of the co-simulation, with no results being used as inputs or convergence criteria.When using the initial number of time windows, a comparison between WR results and full-system simulations revealed an average error of up to -2.8 dB.This error was then reduced to −16.8 dB after optimizing the number of time windows using the developed analytical model.To further minimize the gap, a GA was employed to optimize relaxation parameters, ultimately reducing the average error to less than -26.2 dB.To validate the GA optimization, the time windowing WR method was applied to the co-simulation between the electrical (buck converter) and mechanical (DC motor) systems, using an input voltage of 15 V , which was sufficient to start the motor within a total simulation time of 1 s.The WR method resulted in significantly lower power efficiency (57.4%) compared to the full system (81.4%),rendering it insufficient.Time windowing WR improved this by segmenting the simulation, achieving a power efficiency of 74.6%, though it still lagged behind the full system.The most advanced approach, time windowing WR with GA optimization, dynamically adjusted relaxation parameters to achieve a power efficiency of 80.8%, closely approaching the 81.4% observed in the single-kernel simulation.These findings highlighted the effectiveness of combining time segmentation with adaptive optimization to enhance simulation performance.

FIGURE 2 .

41FIGURE 2. (a) Simulink model of the source-to-source operation, illustrating the splitting of the system into (b) subsystem 1 (source) and (c) subsystem 2 (source).

FIGURE 3 .

42FIGURE 3. Comparison between the full system and co-simulation using (a) the initial number of time windows in WR and (b) extracted from the analytical model of the time window.

FIGURE

43FIGUREThe objective function values of the simplex vertices determine the basic optimisation strategy used in numerous GA operations, where OF(L)< OF (M) <OF(H).(a) Reflection: shifting the least favourable vertex (H) towards the minimum point (L).(b)Expansion: executing if OF(R)<OF(L).(c)Outside contraction: if OF(L)< OF (R) <OF(M).(d)Inside contraction: if OF(R)>OF(M).(e)Shrinking: carried out in the case where OF(OC or IC)> OF(H).

FIGURE 5 .

44FIGURE 5. GA based variation of the OF to optimize parameter values.

FIGURE 6 .

45FIGURE 6.Comparison of relative error between full system and co-simulation using WR, time windowing WR, time windowing WR with average values and GA optimized time windowing WR.

FIGURE 7 .

46FIGURE 7. Comparison of the full system and co-simulation output voltages using time windowing WR technique: (a) average relaxation values and (b) relaxation values proposed by genetic optimization method.

FIGURE 8 .

47FIGURE 8. (a) Simulink model of the electrical-to-mechanical operation, illustrating the splitting of the system into (b) subsystem 1 (buck converter) and (c) subsystem 2 (DC motor).

FIGURE 9 .

48FIGURE 9.Comparison of relative mechanical power error between full system and co-simulation using WR, time windowing WR and GA optimized time windowing WR.

FIGURE 10 .

49FIGURE 10.Comparison of power efficiency between full system and co-simulation using WR, time windowing WR and GA optimized time windowing WR.

TABLE 1 .

50The initial parameter estimations for the simplex algorithm and the associated optimization outcomes.

TABLE 2 .

51Optimization of relaxation parameters using GA for electrical-to-mechanical co-simulation.

참고문헌 34건

  1. Principles of Power Electronics 2023 10.1017/9781009023894
  2. EMI prediction in switched power supplies by full-wave and non-linear circuit co-simulation IEEE International Symposium on Electromagnetic Compatibility · 2009 10.1109/isemc.2009.5284589
  3. Inclusion of Robustness Into Design Using Optimization-Enabled Transient Simulation IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2005 10.1109/tpwrd.2005.848722
  4. A Generic Interface for x-in-the-Loop Simulations Based on Distributed Co-Simulation Protocol IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3237075
  5. Highly-Scalable Transmission and Distribution Dynamic Co-Simulation With 10,000+ Grid-Following and Grid-Forming Inverters IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2023 10.1109/tpwrd.2023.3302303
  6. Interface Jacobian‐based Co‐Simulation International Journal for Numerical Methods in Engineering · Wiley · 2014 10.1002/nme.4637
  7. Fourier analysis of a time-simultaneous two-grid algorithm using a damped Jacobi waveform relaxation smoother for the one-dimensional heat equation Journal of Numerical Mathematics · De Gruyter · 2022 10.1515/jnma-2021-0045
  8. Quasi‐Newton waveform iteration for partitioned surface‐coupled multiphysics applications International Journal for Numerical Methods in Engineering · Wiley · 2020 10.1002/nme.6443
  9. Waveform Relaxation Kluwer international series in engineering and computer science · Springer Nature · 1987 10.1007/978-1-4613-2271-9_4
  10. Towards the Stability of Waveform Relaxation in Distributed Process Co‐Simulation Chemie Ingenieur Technik · Wiley · 2022 10.1002/cite.202200026
  11. Computationally Efficient Dynamic Simulation of Integrated Transmission and Distribution Systems IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2023 10.1109/tpwrs.2023.3325773
  12. An Arbitrary High-Order DGTD Method With Local Time-Stepping for Nonlinear Field-Circuit Cosimulation IEEE Transactions on Antennas and Propagation · IEEE Antennas & Propagation Society · 2021 10.1109/tap.2021.3098609
  13. Parallel Higher Order DGTD and FETD for Transient Electromagnetic-Circuital-Thermal Co-Simulation IEEE Transactions on Microwave Theory and Techniques · IEEE Microwave Theory and Techniques Society · 2022 10.1109/tmtt.2022.3164703
  14. Co-Simulation of Electromagnetic Transients and Phasor Models: A Relaxation Approach IEEE Transactions on Power Delivery · Institute of Electrical and Electronics Engineers · 2016 10.1109/tpwrd.2016.2537927
  15. An Automated Electro-Thermal-Mechanical Co-Simulation Methodology Based on PSpice-MATLAB-COMSOL for SiC Power Module Design 2021 IEEE Workshop on Wide Bandgap Power Devices and Applications in Asia (WiPDA Asia) · 2021 10.1109/wipdaasia51810.2021.9656074
  16. Multiphysics Field Co-simulation Research Based on Electric Drive System for a Specific Type of Car Automotive Innovation · Springer Nature · 2019 10.1007/s42154-019-00067-z
  17. An Event-Driven Parallel Acceleration Real-Time Simulation for Power Electronic Systems Without Simulation Distortion in Circuit Partitioning IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2022 10.1109/tpel.2022.3191877
  18. Relaxing Stiff System Integration by Smoothing Techniques for Non-iterative Co-simulation IUTAM bookseries · Springer Science+Business Media · 2019 10.1007/978-3-030-14883-6_1
  19. Analysis of Efficient FPGA Based Pid Controller For Dc-Dc Buck Boost Converter Using Hardware Co-Simulation Setup Sukkur IBA Journal of Emerging Technologies · Sukkur IBA University · 2021 10.30537/sjet.v4i2.722
  20. Co-simulation of Fuzzy Logic Control for a DC–DC Buck Converter in Cascade System Advances in intelligent systems and computing · Springer Nature · 2020 10.1007/978-981-15-0199-9_48
  21. Co-simulation of Circuit/Circuit type Solvers for EMC Applications Using a New Relaxation Method 2022 International Symposium on Electromagnetic Compatibility – EMC Europe · 2022 10.1109/emceurope51680.2022.9901244
  22. Circuit models for the co-simulation of superconducting quantum computing systems Design, Automation &amp; Test in Europe Conference &amp; Exhibition (DATE), 2015 · 2021 10.23919/date51398.2021.9474086
  23. A Global Bayesian Optimization Algorithm and Its Application to Integrated System Design IEEE Transactions on Very Large Scale Integration (VLSI) Systems · Institute of Electrical and Electronics Engineers · 2018 10.1109/tvlsi.2017.2784783
  24. Co-simulation-based optimal reactive power control in smart distribution network Electrical Engineering · Springer Science+Business Media · 2023 10.1007/s00202-023-02078-w
  25. Circuit-to-Circuit Cosimulation for Closed-Loop Electrical Systems Using Waveform Relaxation IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2025 10.1109/tpel.2025.3541430
  26. A theory for multiresolution signal decomposition: the wavelet representation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1989 10.1109/34.192463
  27. Networked control system co-simulation for co-design 2004 10.1109/acc.2003.1244047
  28. Minimum Time Control for Multiphase Buck Converter: Analysis and Application IEEE Transactions on Power Electronics · Institute of Electrical and Electronics Engineers · 2013 10.1109/tpel.2013.2256798
  29. Non-Dominated Sorting Genetic Algorithm II (NSGA2)-Based Parameter Optimization of the MSMGWB Model Used in Remote Infrared Sensing Prediction for Hot Combustion Gas Plume Remote Sensing · Multidisciplinary Digital Publishing Institute · 2024 10.3390/rs16173116
  30. Multi-objective optimization using genetic algorithms: A tutorial Reliability Engineering & System Safety · Elsevier BV · 2006 10.1016/j.ress.2005.11.018
  31. Weight optimisation of a surface mount permanent magnet synchronous motor using genetic algorithms and a combined electromagnetic-thermal co-simulation environment 2011 10.1109/ecce.2011.6063964
  32. Combining a neural network with a genetic algorithm for process parameter optimization Engineering Applications of Artificial Intelligence · Elsevier BV · 2000 10.1016/s0952-1976(00)00021-x
  33. Performance Analysis of Rotary Electromagnetic Micromotors Across Different Size and Weight Scales Journal Européen des Systèmes Automatisés · International Information and Engineering Technology Association · 2023 10.18280/jesa.560313
  34. Adaptive Robust Control of DC Motors With Extended State Observer IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2013 10.1109/tie.2013.2281165