Skip to Content
EnergiesEnergies
  • Article
  • Open Access

2 December 2026

33 Pages

Data-Driven Temperature Prediction of a Ship Battery Thermal Management System with Hybrid Cooling

,
,
,
and
1
Ocean College, Jiangsu University of Science and Technology, Zhenjiang 212100, China
2
Jiangsu Ship and Ocean Engineering Design and Research Institute, Zhenjiang 212100, China
3
Suzhou Institute of Technology, Jiangsu University of Science and Technology, Suzhou 215699, China
4
College of Automation, Jiangsu University of Science and Technology, Zhenjiang 212100, China
Energies2026, 19(23), 5849;https://doi.org/10.3390/en19235849 
(registering DOI)
This article belongs to the Section F5: Artificial Intelligence and Smart Energy

Abstract

Battery-powered ships have become mainstream for newly built green vessels, and battery thermal management directly affects their safety. Compared with electric vehicles, marine battery systems are larger and contain more cells; conventional electro-thermal models struggle to balance accuracy and speed, and data-driven surrogate models for such hybrid-cooled systems remain scarce. For a 20 ft container-type ship power supply with hybrid thermal management, an AMESim–Simulink co-simulation platform was constructed. Batch simulation yielded 12,173 samples; after Latin hypercube sampling, 7000 were split into training, validation and test sets approximately at a 7:2:1 ratio. Starting from a two-layer long short-term memory (LSTM) network, six surrogate models were developed through Bayesian hyperparameter optimization, substitution with gated recurrent units (GRUs), separated cell and coolant prediction, and feature enhancement. The final model adopts a separated structure with current-squared, accumulated-charge and thermal-inertia features, achieving cell, coolant and overall RMSEs of 0.3511, 0.1390 and 0.3423 °C and MAEs of 0.1365, 0.0998 and 0.1344 °C. The final model is optimal in precision, R2 and robustness, and near-optimal in generalization and error consistency, with acceptable parameter cost. The method rapidly and accurately predicts cell and coolant temperatures, supporting the design and real-time optimization of battery thermal management.

1. Introduction

Driven by the global trend toward shipping decarbonization, battery-powered ships have become the mainstream choice for newly built green vessels in inland and coastal waters because of their zero emissions, low noise, high energy efficiency and technological maturity [1,2]. Taking the Yangtze River Delta region of China as an example, pilot routes, river–sea intermodal transport and port tugboats are being promoted and applied from multiple perspectives [3].
Compared with electric vehicles, ship battery systems are larger in scale, have higher capacity and more cells, and face harsher environmental and operating conditions [4]. If battery heat cannot be dissipated effectively, the cell temperature will exceed the ideal operating range and the temperature difference between cells will increase, accelerating battery aging, shortening the remaining service life and even inducing thermal runaway in severe cases [5]. Therefore, building an accurate and efficient simulation model of the marine battery system is a key technology supporting the design and optimization of thermal management strategies.
We take a typical 20 ft container-type ship power supply as an example. These ships usually contain three or four battery cabinets and up to thousands of cells in total [6]—the number of cells onboard an electric ship may exceed ten thousand [7]. The thermal management of such systems usually adopts composite forms such as air cooling, air cooling plus air conditioning, or air cooling plus liquid cooling, and the cooling demand keeps growing as the system capacity increases. However, when conventional electro-thermal coupled models are extended to the system scale, the computational burden increases sharply and real-time simulation becomes difficult, while studies on electro-thermal coupled modeling and surrogate models for large-scale battery packs remain limited [8,9,10]. There is also a practical lesson: one battery-powered ship had to replace some rapidly aged battery modules after only 18 months of operation, which was suspected to be caused by the numerous high-current impact conditions and harsher ambient conditions in marine scenarios. In other words, directly transplanting vehicle thermal management approaches can hardly satisfy the dual requirements of real-time performance and reliability in marine scenarios.
At the cell level, conventional modeling methods mainly include empirical models [11,12,13], electrochemical models [14,15,16] and equivalent circuit models (ECMs) [17,18,19]. Empirical models have few parameters and are fast to compute, but rely heavily on engineering experience and can hardly adapt to complex dynamic conditions. Electrochemical models provide high accuracy, but contain numerous differential equations and are too time-consuming for real-time applications. ECMs approximately simulate the electrochemical reaction process with resistors and capacitors; however, their parameter identification requires complete battery testing experiments, and their accuracy decreases significantly when the actual operating conditions deviate from the test conditions.
Early mathematical models of battery heat generation are mostly of the empirical type, whose advantages and limitations have been discussed above. Reduced-order models, although computationally efficient, do not leave the categories of the electrochemical models and the ECMs: they apply order reduction to the same sets of governing equations and therefore inherit the limitations of these two categories—the reduced equations still need to be solved online, and the accuracy depends on the construction of the reduced basis and on the covered operating conditions. For instance, Ref. [15] applies a reduced-order mechanism model to the online safe charging control of energy storage batteries, which shows that this class of methods can work online under given operating conditions but remains constrained by the model structure and the parameter identification.
At the system level, the core difficulty of multi-scale modeling lies in coupling models at different scales [20]: the single-cell scaling-up method cannot provide cell-level temperature results [21], while methods such as the mean-difference model [22,23,24] still require simultaneous calculation of multiple cell-level models, so the computational cost increases with the system scale. By contrast, a machine-learning-based surrogate model can skip the complex multi-level topology inside the battery system and directly learn the mapping between operating parameters and cell temperature at the system level; moreover, its offline-training and online-deployment mode ensures that the inference speed is not constrained by the time-consuming training stage [25].
Compared with the above models, the surrogate model requires neither a prescribed functional form of the heat generation or heat transfer, nor the solving of any physical equation online; a single training covers the designed parameter space, and an arbitrary combination within this space can be evaluated directly without rebuilding the model.
Existing surrogate modeling studies mostly target electric vehicles or energy storage power stations [26,27], whereas systematic case studies of surrogate models for a large-capacity marine battery system combined with a hybrid thermal management system coupled with a shipboard heat-pump air conditioner remain scarce. Marine scenarios are distinctive in that the system is larger, the cooling configuration is more complex and the operating conditions are harsher, and the optimization of thermal management strategies imposes explicit requirements on simulation speed [28]. Therefore, building a temperature prediction surrogate model that balances accuracy and speed for this case has clear engineering value and research necessity.
To this end, this paper takes a 20 ft container-type ship power supply equipped with a hybrid thermal management system (air cooling, liquid cooling and a heat-pump air-conditioning system) as the case and constructs an AMESim–Simulink co-simulation platform together with a data-driven temperature prediction surrogate model. The main work is as follows:
(1)
Based on the existing literature [29], the shipboard heat-pump air-conditioning system is coupled to the internal liquid-cooling loop of the container-type power supply through a plate heat exchanger, thereby constructing a co-simulation platform of the hybrid thermal management system. The two-phase-flow circulation inside the heat-pump air-conditioning subsystem is simplified by an ideal heat-transfer unit, which greatly improves the simulation speed while maintaining accuracy and supports the batch acquisition of sample data.
(2)
According to experience-based design rules, simulation samples are generated in batch through the co-simulation platform; after data preprocessing and stratified sampling, 7000 samples are obtained and divided at a ratio of 7:2:1, providing training data with identical distribution, no overlap and no information leakage for the surrogate model.
(3)
Starting from a two-layer LSTM baseline, six model versions, M1–M6, are constructed through Bayesian hyperparameter optimization, substitution with GRU, separation of cell and coolant temperature prediction, and feature enhancement. The proposed M6 achieves cell and overall RMSEs of 0.3511 °C and 0.3423 °C on the test set and outperforms the other models in precision, R2 and temperature fluctuation robustness, and is second only to M5 in generalization, providing model support for the optimization of thermal management strategies in this case.
The remainder of this paper is organized as follows. Section 2 introduces the research methods, including the modeling of the hybrid thermal management system and co-simulation, the acquisition of simulation data and the construction of the sample sets, and the construction of the temperature prediction surrogate model. Section 3 presents the experimental results. Section 4 analyzes and discusses the results. Section 5 concludes the paper.

2. Materials and Methods

2.1. Modeling of the Hybrid Thermal Management System and Co-Simulation

We take a 20 ft standard container-type power supply as an example, which usually contains three or four battery cabinets. Each cabinet integrates one battery cluster, which contains several interconnected battery modules, and each module contains several cells connected in parallel or in series. In the most common ship power systems equipped with a DC grid, the battery cluster is the smallest unit connected to the DC bus.
The battery thermal management system is integrated inside the container, and its cooling forms are usually air cooling, air cooling plus air conditioning, or a composite scheme of air cooling plus liquid cooling. Because the internal space of the container is limited, the actual cooling scheme needs to be customized according to the battery capacity and the ship requirements. As the capacity of marine battery systems and individual cells continues to grow, the heat generation and the cooling demand of the battery system also increase.
The existing mature cooling schemes have the following limitations:
(1)
Low efficiency is an inherent defect of air cooling. Under high-current conditions, air cooling alone cannot meet the cooling demand of the battery.
(2)
Because the container-type power supply must meet ventilation requirements, its built-in air conditioner not only removes the battery heat but also cools the environment outside the container because the space is not fully enclosed, resulting in wasted electricity and increased energy consumption.
(3)
Liquid cooling usually adopts indirect-contact cooling, whose efficiency is directly affected by the coolant temperature. Although fresh water or seawater is currently allowed to replace the circulating coolant in some regions, the prospects for this low-cost alternative for cooling the coolant are unclear as electric ships are gradually promoted and environmental regulations become stricter.
Therefore, referring to the multi-energy coordinated utilization of cooling, heating, electricity and gas on large cruise ships, this paper proposes a conceptual scheme: a standardized external interface is added to the liquid-cooling loop of the container-type power supply so that the loop can be extended to the heat-pump air-conditioning system. A plate heat exchanger is used for indirect-contact heat exchange between the coolant in the liquid-cooling loop and the two-phase flow in the heat-pump air conditioner. The pump inside the ship cabin draws the coolant from the storage tank, cools it through the plate heat exchanger, and delivers it to the external main pipe of the liquid-cooling loop. Through the external interface on the container-type power supply, the coolant flows through the valves and manifold valves to the liquid-cooling plates at the bottom of each battery module, and is then collected back into the main pipe and flows to the storage tank in the ship cabin.
Based on the literature [29], this paper constructs a simulation model of the marine battery system and its thermal management device. As shown in Figure 1, to reduce the modeling difficulty, adjacent cells are merged into equivalent cells, and each battery module contains four equivalent cells. Therefore, one battery cabinet in the figure contains four series-connected battery modules and integrates a hybrid thermal management device consisting of air cooling, liquid cooling and the heat-pump air-conditioning system.
Figure 1. AMESim model of the marine battery pack and its thermal management system.
Since this paper only considers the cooling mode for now, the plate heat exchanger acts as the evaporator. Figure A1 shows the complete simulation system model before simplification. In Figure 1, the complete topology of the simplified model is shown, in which the heat-pump air-conditioning subsystem is replaced by an ideal heat-transfer unit; the unit receives the heat absorption power signal, which is randomly generated according to the rules in Section 2.2 during the batch generation of samples. The AMESim model communicates with Simulink through the built-in co-simulation function, and a model as shown in Figure A2 is constructed in Simulink to realize the co-simulation. The AMESim model adjusts the operating parameters according to the thermal management strategy, thereby changing the operating state of the battery system, while the thermal management device controller model in Simulink regulates the thermal management strategy according to the real-time battery state and the predetermined objectives.
In the marine field, the engineering application maturity of power battery systems is far lower than that in the electric vehicle and energy storage power station fields, and is still in the early exploration stage. Marine power battery systems are usually arranged as independent battery compartments or container-type power supplies: small-capacity battery packs can use air cooling only, while large-capacity battery packs usually have built-in air conditioning or adopt a composite scheme of air cooling and liquid cooling. Limited by technical maturity, cost and safety considerations, cooling devices such as phase-change materials and heat pipes are still at the laboratory stage and have not been truly commercialized in the marine field. However, for the hybrid thermal management device containing air cooling, liquid cooling and the heat-pump air conditioner in this paper, it is neither necessary nor appropriate to directly apply it in practice before the necessary steps of analysis, simulation and prototyping are completed. Therefore, it should be noted that the training data in this paper come entirely from the constructed co-simulation platform.
In the conceptual scheme proposed above, the reference prototype of the selected cell is the LF280 (3.2 V, 280 Ah) cell produced by EVE Energy Co., Ltd., Huizhou, China, whose electrochemical system is lithium iron phosphate (LFP). Figure 2a illustrates the geometric dimensions of the cell, and the corresponding geometric parameters are listed in Table 1. Since the product datasheet listed in Table 2 provides no image other than the simplified geometry sketch, Figure 2b uses a promotional picture from the company’s official website for display purposes only. Figure 2c, also from the company’s official website, shows the internal layout of the container-type power supply, which follows the common practice in marine applications.
Figure 2. Schematic diagram of the cell and battery system reference prototype (a) Cell geometry (b) Cell appearance (c) Battery system layout.
Table 1. Geometric dimension parameters of the cell.
Table 2. Nominal technical parameters of the cell.
As listed in Table 2, the maximum charging and discharging current specified in the cell datasheet is 1C. According to engineering experience, the battery system in practical scenarios is expected to operate at a long-term current rate not exceeding 0.5C and a short-term rate not exceeding 1C. Considering the current trend toward larger cell capacities and the increasing power ratings of electric ships, however, the upper limit of the current rate is extended to 2C in this study.
According to the specifications of the prototype marine battery system, the battery module in this paper adopts a 16S1P configuration: 16 cells are connected in series and arranged in two parallel rows (8 cells per row). The module-level thermal management is provided by two parts, namely, the air cooling of the front-panel fan and the liquid cooling of the external liquid-cooling plate at the bottom of the module. In the simulation model, to reduce the modeling difficulty, adjacent cells are merged into equivalent cells, so that each module consists of four equivalent cells, each corresponding to four series-connected cells, while the above two module-level cooling forms are retained. Four modules are connected in series within a battery cabinet, which constitutes one battery cluster.
Since the system-level simulation software AMESim cannot reproduce the spatial layout inside the physical prototype, the geometric parameters of the module are estimated on the basis of the cell geometric parameters given in Table 1, and the corresponding settings are completed in AMESim. The key points of the battery module design are listed in Table 3.
Table 3. Operating conditions of battery modules in the conceptual scheme.
The corresponding settings of the cell submodel in AMESim are shown in Figure A3: the charge/discharge ohmic resistance modeling and the charge transfer modeling (RC) are enabled, the heat flow is calculated as R·I2, and the remaining options, including the Faradaic efficiency, the entropic coefficient, hysteresis, diffusion, aging and thermal runaway, are disabled in the present study.
Compared with the platform in [29], in which the coolant of the liquid-cooling loop is not cooled by a cold source outside the subsystem, the main difference of the simplified model shown in Figure 1 is that the coolant is cooled through the plate heat exchanger, which strengthens the heat dissipation of the thermal management device.
Before the surrogate model was trained, the simulation results were examined. Figure A5 in the appendix shows, for a 7200 s, 1C full charge–discharge cycle at an ambient temperature of 25 °C, the temperatures of the four equivalent cells in module #1 (a), the current rate and SOC of the battery cluster (b), the five air-cooling fan mass flow rates (c), the five valve openings (d), the pump control signal and motor speed (e), and the heat absorption power of the plate heat exchanger (f). These curves serve as the input source and the training target of the surrogate model.

2.2. Simulation Data Preprocessing and Dataset Construction

The purpose of building this simulation model is to provide sufficient training samples. Actual operating data of battery systems usually cannot cover the complete operating range. Due to commercial interests and other factors, public datasets are mostly from laboratory conditions, with limited quantity and scale. Therefore, as reported in the literature, researchers in multiple fields have used simulation data or hybrid data instead of real data [30,31,32].
The construction of the data-driven surrogate model requires sufficiently abundant samples. The input features and output labels of the surrogate model are listed in Table 4.
Table 4. Input features and output labels of the surrogate model.
However, a large number of input features will lead to a very large sample set. More importantly, AMESim may suffer from lag, stalling or crashes under certain thermal management strategies. Moreover, the causes of simulation failure are difficult to attribute to specific parameters and operating conditions. Therefore, this paper designs the following rules based on experience:
Taking China as an example, the main application area of battery-powered ships is the Yangtze River Delta region. Therefore, the initial ambient temperature is designed as 5 discrete levels of 20, 25, 30, 35 and 40 °C with an interval of 5 °C.
Since the air-cooling subsystem has the lowest probability of causing simulation failure, the five mass flow rate signals are randomly generated as fixed values.
Simulation failure is highly likely when the pump control signal and the openings of the main-line and branch-line valves are close to zero. Therefore, these six signals are locked in the range [0.2, 1]. Specifically, the pump control signal is first randomly generated in the range. Then, the main-line valve opening signal is randomly generated within ±0.2 of the pump control signal. Finally, the branch-line valve opening signals are randomly generated within ±0.2 of the main-line signal. These six signals are also set as fixed values.
Since the necessity of the heat-pump air-conditioning system for battery cooling differs with ambient temperature, different power upper limits are set for the heat absorption power signal of the plate heat exchanger according to temperature. The fixed heat absorption power signal is randomly generated in the interval from 0 to the upper limit.
The current rate signals are divided into two groups: static signals and dynamic signals. For the static group, 1000 samples are generated for each of 0.5C, 1C and 2C without violating the above four rules. Considering that the current rate signal is dynamic in real scenarios, and the corresponding cell heat generation process can usually complete the simulation successfully, time-series current rate signals are randomly generated for each sample within different upper and lower limits. The maximum dynamic current rate does not exceed 2C. For the dynamic group, 10,000 samples are generated without violating the above four rules. During simulation, charging and discharging follow the rules of initial 100% SOC, full discharge and full charge. A positive current rate represents discharge, and a negative current rate represents charge.
After batch simulation and removal of failed samples, 12,173 usable samples are obtained from 13,000 simulation attempts. Each input feature and output label in a sample contains 14,401 data points, including the initial state, with a simulation step of 1 s, i.e., a time-series of 14,400 s. After testing the training time and computational cost of different training and validation set scales with a standard LSTM, 7000 samples are selected for subsequent work. To avoid the deterioration of the operating-condition uniformity that a purely random draw may cause, the 7000 samples are drawn from the 12,173 usable samples by Latin hypercube sampling: the operating-condition space is stratified by the initial ambient temperature (five discrete levels) and by the type and magnitude of the current rate, the strata are mutually non-overlapping, and one value is randomly drawn within each stratum and mapped to the feasible samples, so that each sample is selected at most once. In this way, every stratification dimension is covered with equal probability, and the marginal distribution of the 7000-sample set in each dimension remains approximately consistent with that of the 12,173-sample set. The 7000 samples are then divided into training, validation and test sets at an approximate 7:2:1 ratio by stratified sampling based on the initial ambient temperature and the mean current rate signal, while keeping the proportion of initial ambient temperature levels basically consistent among the three sample sets, so that the three sets have consistent operating-condition distributions, no overlapping samples and no information leakage.
Before the surrogate model was constructed, the credibility of the simulation platform was examined from two aspects. On the one hand, the model inputs originate from a commercial cell (the EVE LF280 prismatic cell described in Section 2.1) and from the architecture commonly adopted for container-type marine power supplies; all components are standard AMESim library submodels, and the compilation required before running guarantees the closure of the energy-flow loops and the consistency of the physical quantities and units. On the other hand, the simulated responses were examined before machine learning was applied, as shown in Figure A5. It should be noted that the platform has not yet been calibrated or validated against experimental data; the parameter re-calibration and validation with physical test data, which do not require any change to the system architecture, are planned for the deployment stage. Until then, the conclusions of this paper are confined to the simulated operating envelope.

2.3. Construction of the Temperature Prediction Surrogate Model

Usually, electric ships are equipped with an energy management system. According to the actual operating state of each shipboard device, navigation tasks and control commands, this system optimizes and allocates the operating parameters of each battery cluster, such as connection to or disconnection from the DC bus and current rate, to improve the energy efficiency and cruising range of the ship. Regardless of whether a battery cluster is connected to or disconnected from the DC bus, it is necessary to keep the power battery system within a reasonable temperature range and to moderately reduce the temperature differences between battery clusters, battery modules and individual cells.
Therefore, to support the optimization of thermal management strategies, this paper constructs a data-driven surrogate model for rapidly predicting cell temperatures across scales from the cell level to the system level. The construction and improvement pipeline of the surrogate model is shown in Figure 3, in which the version name of the model after each single-step improvement is annotated.
Figure 3. Improvement pipeline of the surrogate model.
First, since the battery temperature signal is a typical time-series signal, a standard two-layer LSTM is selected as the baseline model for building the surrogate model. As shown in Table 4, the surrogate model can predict the cell temperatures and the coolant temperature at the tank outlet in real time according to the environment, the battery state and the operating parameters of the thermal management strategy.
The output of the LSTM is determined by the cell state ct with memory capability and the hidden state ht. Specifically, ct and ht are updated through the forget gate ft, the input gate it, the candidate cell state c ~ t and the output gate ot. The input it at each time step t(1 ≤ t ≤ n) is concatenated with the hidden state of the previous time step and fed into the network to calculate the output of the next time step. The core recurrence equations are as follows:
f t = σ ( W f [ x t , h t − 1 ] + b f )
i t = σ ( W i [ x t , h t − 1 ] + b i )
c ~ t = tanh ( W c [ x t , h t − 1 ] + b c )
o t = σ ( W o [ x t , h t − 1 ] + b o )
c t = c t − 1 ⊙ f t + i t ⊙ c ~ t
h t = tanh ( c t ) ⊙ o t
where xt is the input at time step t; tanh is the hyperbolic tangent function; σ is the sigmoid activation function; W and b are the weight matrices and bias vectors, which are the learnable parameters of the network, and their subscripts denote the corresponding units; ⊙ denotes element-wise multiplication; and ct is the updated cell state.
Then, to improve the comprehensive performance of the surrogate model, a standard two-layer GRU is also adopted as a baseline model. Compared with LSTM, GRU adopts a simpler unit structure containing only the update gate zt and the reset gate rt, without an independent cell state. The core equations are as follows:
z t = σ ( W z ⋅ x t + U z ⋅ h t − 1 )
r t = σ ( W r ⋅ x t + U r ⋅ h t − 1 )
h ^ t = tanh ( W h ⋅ x t + U h ⋅ ( r t ⊙ h t − 1 ) )
h t = ( 1 − z t ) ⊙ h t − 1 + z t ⊙ h ~ t
where h ~ is the candidate hidden state; ht is the updated hidden state; σ is the sigmoid activation function; W and b are the weight matrices and bias vectors, which are the learnable parameters of the network, and their subscripts denote the corresponding units.
The recurrent neural network (RNN) family is adopted because the battery temperature responds to the current excitation with evident lag and accumulation, which are exactly the temporal dependencies that recurrent architectures are designed to capture; the LSTM and the GRU are selected as two representative structures of this family. Other conventional machine learning models are not adopted here because, for the 14,401-step-long sequences, they would require handcrafted fixed-length window statistics, which limit the temporal resolution and the representation of the accumulated heat information.
Then, because the performance of neural network models is sensitive to hyperparameters, Bayesian optimization is used to optimize the hyperparameters of the surrogate model. The Bayesian optimization settings in this paper are as follows:
  • The probabilistic surrogate model uses Gaussian process regression.
  • The acquisition function uses expected-improvement-plus (EI+).
  • The objective function is the average MSE of the training set over the latest 5 epochs.
  • In each iteration, the hyperparameter combination that maximizes the acquisition function is selected for one evaluation. After the evaluation result updates the probabilistic surrogate model, the next iteration proceeds until the stopping condition is reached.
  • The search ranges and step sizes of the hyperparameters to be optimized are shown in Table A1.
  • The validation set is used only for early stopping during training.
  • The warm-start parameters and the optimized results are shown in Table A2.
Only M1 uses the default hyperparameters before optimization, while all the subsequent models from M2 onward use the optimized scheme.
Then, the prediction of cell temperature and coolant temperature is separated into two sub-models:
  • Cell temperature prediction sub-model: The input is the 17 input features of the original samples, and the output is 16 cell temperatures.
  • Coolant temperature prediction sub-model: The input is also the 17 input features, and the output is 1 coolant temperature.
The rationale behind the separation operation lies in the fact that simultaneous prediction of two types of temperatures entails the following drawbacks:
Ignoring heat exchange with the external environment, the cell temperature change mainly originates from the heat generated by internal electrochemical reactions and the heat dissipation of the thermal management system, while the coolant temperature change is simultaneously affected by the heat exchange between the coolant, the cells and the plate heat exchanger. Using one surrogate model to simultaneously predict two types of temperatures with obviously different physical and response characteristics may cause their prediction accuracies to constrain each other.
Considering the actual number of battery clusters in marine scenarios, predicting the coolant temperature for each battery cluster would inevitably waste computational resources and require additional and necessary result fusion operations.
Except for the difference in output labels, the network structures of the two sub-models are identical. Compared with the joint architecture of M3, the total parameter count of the decoupled architecture of M4 inevitably increases significantly. However, in actual scenarios, usually only one coolant temperature prediction model is needed. Therefore, the cost of the increased parameter count is acceptable, as detailed in the Section 3. Since the focus of this paper is on cell temperature, the trained coolant temperature prediction sub-model of M4 is reused in subsequent work. Therefore, in the Section 3, the coolant prediction models/results of M4 to M6 are identical.
Finally, feature enhancement is performed on the surrogate model. The main heat source of the cell is the heat generated by internal electrochemical reactions. Its heat generation power can be approximately calculated as follows:
P = I 2 R
where I is the current through the cell and R is the cell internal resistance including ohmic resistance and polarization resistance.
According to Equation (11), the heat generation power is determined by the current and the internal resistance, and the internal resistance further depends on the SOC and the temperature. Among the quantities directly measurable in a real system, namely the voltage, the current and the cell surface temperature, only the current directly determines the heat generation; therefore, the feature enhancement is constructed from the current signal alone. The SOC is already one of the inputs (No. 16 in Table 4), although it is estimated by the battery management system rather than directly measured, so its influence is available to the network; the internal resistance, the electrochemical processes and the internal temperature distribution cannot be measured directly and are therefore not used as explicit inputs—their effects are learned implicitly by the surrogate model from the SOC, the ambient temperature and the recurrent history. It should also be noted that AMESim is a system-level simulation software rather than a three-dimensional CFD tool: the cell temperature in this model is equivalent to the cell surface temperature, and the internal temperature distribution is not resolved.
In the original input features, the current rate signal may not directly reflect the instantaneous heat generation power. Therefore, in addition to the current-squared signal f1(t), the accumulated charge f2(t) and the thermal-inertia factor f3(t) are also introduced as new features:
f 1 ( t ) = I 2 ( t )
f 2 ( t ) = 1 3600 ⋅ ∑ k = 1 t I ( k ) ⋅ Δ t
f 3 ( t ) = E ( t ) = α ⋅ ∑ k = 2 t ( 1 − α ) t − k I ( k ) + ( 1 − α ) t − 1 I ( 1 )
where Δt denotes a brief time interval and is held constant at a value of 1, while E(t) signifies the exponentially decayed cumulative sum of historical current signals; α represents the decay factor, which is set to 0.2.
The three features are all constructed from the current signal. With the nominal capacity Qn = 280 Ah, 1C corresponds to 280 A; since the inputs are normalized before being fed into the model, the two representations are numerically equivalent. The current-squared feature f1(t) is proportional to the instantaneous Joule heat generation power according to Equation (11), and the square operation removes the influence of the current direction. Because the cell temperature rise depends on the accumulation of the heat generation over time, which an instantaneous feature cannot provide, the direction-independent accumulated charge—the time integral of the current magnitude—is introduced as the second feature f2(t): as the heat generation is independent of the current direction, a signed integral would return to zero after a complete charge–discharge cycle, so the magnitude must be used. With Δt = 1 s, the factor 1/3600 in Equation (13) converts seconds into hours, so f2(t) is expressed in ampere-hours (Ah) and increases monotonically, reflecting the accumulated thermal history. The third feature f3(t) is the exponentially weighted moving average of the signed current, which provides a smoothed representation of the recent current excitation; the sign is retained because the direction-independent information has already been provided by f1(t) and f2(t). Before normalization, the units of f1(t), f2(t) and f3(t) are A2, Ah and A, respectively; f1(t) and f2(t) are standardized by the training-set mean and standard deviation, and f3(t) is scaled to [0, 1] by the training-set minimum and maximum.
The three features yield seven non-empty combinations in total. The ablation study detailed in Section 3.2 quantifies the contribution of each feature and supports the selection of M5 (f1(t) alone) and M6 (all three features) in the improvement pipeline.

3. Results

3.1. Training Setup

To effectively compare model performance, each model version has one improvement relative to its previous version:
  • M1-LSTM: Standard two-layer LSTM.
  • M2-LSTM: Improved hyperparameters of M1.
  • M3-GRU: M2 with GRU.
  • M4-Sep: Separated cell and coolant temperature prediction.
  • M5-SepI2: New input feature f1(t).
  • M6-SepI2QE: New input features f1(t), f2(t), and f3(t).
By strictly controlling a single variable, the performance differences between models can be attributed to their single-step improvements, ensuring the validity of the analysis conclusions. During training, all models use exactly the same training, validation and test sets, with no overlap between sample sets. All normalized statistics such as MSE are calculated only on the training set and applied to the validation and test sets. The test set is isolated from training, hyperparameter selection and early stopping, and is used only for final evaluation to avoid data leakage.
During training, the validation set is used for early stopping, and the model with the best validation loss is output. Since this work is at the early research stage, the early-stopping patience is set higher than the maximum number of training epochs to fully examine the convergence potential of each model. The training parameters of each model are shown in Table A3, and all models use the same random seed to eliminate the influence of random initialization differences.
As shown in Figure 4, M1, M3 and M6 are used as representatives to illustrate the network structure differences between model versions. It should be emphasized that the coolant temperature prediction model of M6 is inherited from M4, and no new input feature is added at its input.
Figure 4. Network structures of M1, M3 and M6.

3.2. Prediction Results

To investigate the effectiveness of the proposed surrogate modeling methods for the marine battery system, the error metrics of different models are compared on the test set.
Figure 5 shows the training processes of M1 and M6. Because the training loss is extremely high in the early stage, the vertical-axis range of the main plot is fixed to [0, 0.5] to display the curve details more clearly. Since the validation frequency is set to 77, the validation loss curve is smoother than the training loss curve. To quantify the computational advantage of the surrogate model, the inference time is measured under the hardware configuration used in this study: an AMD Ryzen 7 5800 CPU (eight cores, 16 threads, 3.40 GHz), 48 GB of RAM and an NVIDIA GeForce RTX 3060 GPU (12 GB), running 64-bit Windows with MATLAB 2024b and AMESim 2404. In the test stage, processing 1400 samples (each containing 14,401 steps, i.e., a 14,400 s operating scenario) took about 12 min in total, i.e., about 0.5 s per sample, which corresponds to a real-time factor on the order of 104; this time includes the data organization overhead of the test procedure, so the pure forward inference is even faster. For comparison, a single 7200 s, 1C full charge–discharge cycle took about 754 s on the original co-simulation platform with the two-phase-flow heat-pump subsystem (Figure A1) and about 247 s after the heat-pump subsystem was replaced by the ideal heat-transfer unit (Figure 1). Even accounting for the scenario duration, the speed-up of the surrogate model relative to the original co-simulation is between two and three orders of magnitude. These runtimes are approximate because the durations of repeated AMESim and MATLAB runs are not exactly reproducible. In addition, even the simplified AMESim model cannot complete every scenario within the designed operating range successfully, whereas the surrogate model only needs its prediction accuracy to be verified. Considering both speed and the success rate, the surrogate model is adopted as the platform for the subsequent thermal management strategy optimization.
Figure 5. Learning curves of M1 and M6.
To quantify the individual contributions of the three new features, all seven non-empty combinations of f1(t), f2(t) and f3(t) were trained and evaluated with random seeds 1~4, following exactly the same training, validation and test procedure as M1–M6. Since the seven variants share the same coolant temperature prediction sub-model, only the cell-side metrics are compared, and all metrics are computed on the test set; the seed-averaged results are listed in Table A4. Among the single-feature variants, f2(t) alone gives the lowest cell RMSE (0.3825 °C) and the second-lowest cell MAE (0.1499 °C), and the three single-feature variants show no substantial difference in R2. All three two-feature combinations outperform every single-feature variant in RMSE, and their MAE is generally lower, while R2 does not improve substantially, indicating that the three features are complementary rather than interchangeable. The combination of all three features achieves the lowest cell RMSE (0.3622 °C) and the highest R2 (0.9974), with the MAE (0.1394 °C) essentially tied with the best two-feature combination (0.1392 °C). Taking M5 (f1(t) alone) as the reference, M6 reduces the cell RMSE and MAE by 6.21% and 6.69%, respectively. Removing f1(t), f2(t) or f3(t) from M6 degrades the cell RMSE by 4.72%, 4.53% and 4.00%, respectively, and changes the cell MAE by 11.41%, 2.37% and −0.14%, respectively. Although f3(t) alone slightly degrades the model, its necessity is demonstrated by its combination with f1(t) and f2(t). Therefore, the combination of f1(t) + f2(t) + f3(t) is adopted as M6. This also explains why M5 (f1(t) alone) and M6 (all three features) are the two versions retained in the improvement pipeline: f1(t) is the feature directly motivated by the heat generation formula, Equation (11), and the three-feature combination is the one with the best overall accuracy among the seven combinations.
In Figure 6, each model corresponds to six bars: the three on the left correspond to the left vertical axis, and the other three to the right vertical axis. The heights on the left axis represent the mean of RMSE and MAE, and the heights on the right axis represent the normalized MSE. The detailed error data of the six models are listed in Table 5, whose last two rows give the number and proportion of abnormal samples with cell temperature prediction errors above 5 °C.
Figure 6. Prediction error and generalization performance of the models.
Table 5. Overall error levels of the six models.
In Figure 7, to show the performance improvement and the computational cost of each model, the relationships between the cell temperature error, coolant temperature error and overall error and the corresponding model parameter count are depicted.
Figure 7. Relationship between parameter count and prediction error (a) cell temperature MAE (b) coolant temperature MAE (c) overall MAE (d) cell temperature RMSE (e) coolant temperature RMSE (f) overall RMSE (g) parameter count vs. clusters (h) ratio of separated to joint parameters.
Table 6 lists the error consistency of the temperature prediction of each model across the cells within each module. The detailed error data at the cell and module levels are provided in Table A5, Table A6, Table A7 and Table A8. RSD is the relative standard deviation, and its calculation method is
RSD = std RMSE 1 , … , RMSE 4 mean RMSE 1 , … , RMSE 4
where the subscript is the relative cell number within a module, with four cells in each module.
Table 6. Error consistency level of each model at the module level.
Since the purpose of building the surrogate model is to provide modeling support for future thermal management strategy optimization, the temperature fluctuation level on the test set is further examined. The fluctuation level is measured as follows:
A fixed-length window is used to extract the actual curve of a sample, and the window is moved at a fixed interval. The detrended standard deviation Sstd and the zero-crossing rate Ffrq are calculated for each window. The detrended standard deviation is calculated by fitting a curve with least squares within the window, computing the residuals, and then taking their standard deviation:
x ^ t = a ⋅ t + b
r t = x t − x ^ t
S std = 1 W − 1 ⋅ ∑ t = 1 W r t 2
To assign the periods with frequent temperature rises and falls to higher fluctuation zones, the zero-crossing rate within the window is calculated as
F frq = 1 W − 1 ∑ t = 1 W − 1 1 , if r t ⋅ r t + 1 ≤ 0
When the combined fluctuation index FI is calculated by weighted summation after normalization, since the periods with frequent temperature changes are of greater concern, the weight coefficients of the detrended standard deviation and the zero-crossing rate are set to 0.35 and 0.65, respectively.
FI = α 1 ⋅ S std + α 2 ⋅ F frq
At this point, the sample length is 14,401, corresponding to a time range of 0 to 14,400 s. The window length is 500 and the moving step is 300. For each window, the combined fluctuation index is calculated according to Equations (16)–(20). The fluctuation indices of all windows for each of the 16 cells in a sample are then accumulated to form the cumulative fluctuation index (cumulative FI) of that cell, which measures the overall fluctuation intensity of the cell temperature curve throughout the sample. It should be noted that the 16 cells in each sample participate in the fluctuation evaluation separately.
In Figure A4, four example samples at different cumulative FI levels are provided, with periods of different temperature fluctuation intensity marked in different colors. For the decile analysis, all cell samples are ranked by their cumulative FI and divided into ten deciles from the lowest (decile 1) to the highest (decile 10) fluctuation level. Within each decile, the prediction errors (mean of RMSE and MAE) of every model are computed and compared, so that the per-decile error levels quantify how the prediction accuracy of each model responds to temperature fluctuations of increasing intensity. As shown in Figure 8, the reduction of the mean RMSE/MAE of M6 relative to M1 in each decile is presented, and the detailed per-decile results of all six models are listed in Table A9.
Figure 8. Relative reduction of the mean error of M6 compared with M1 across ten FI deciles.
In Figure 9, four cell samples where M6 outperforms M1 and four where M6 is inferior are randomly selected. The odd rows show the true and predicted temperature curves, with the titles indicating the sample number and cell number; the even rows show the prediction errors of the corresponding positions above, with the titles indicating the initial ambient temperature and the current rate range. Limited by the paper length, no excessive presentation is made in the manuscript.
Figure 9. Predicted temperature and error curves of the typical advantage and disadvantage samples of M6 (a) Temperature prediction comparison (b) Temperature prediction comparison (c) Temperature prediction comparison (d) Temperature prediction comparison (e) Prediction error S693 C4 (f) Prediction error S269 C13 (g) Prediction error S365 C8 (h) Prediction error S266 C1 (i) Temperature prediction comparison (j) Temperature prediction comparison (k) Temperature prediction comparison (l) Temperature prediction comparison (m) Prediction error S639 C3 (n) Prediction error S624 C12 (o) Prediction error S267 C2 (p) Prediction error S388 C11.
Meanwhile, to fully present the prediction results of M6, Figure 10 shows the predicted temperature curves of the cells and the coolant. In Figure 10, each row of curves corresponds to the cells of one module, and within a module a smaller cell number indicates a position closer to the module front-panel fan. In this sample, the temperature trends of all cells are consistent; however, the temperature curves across the cells of a module show an overall upward shift as the distance from the front panel increases. This indicates that, although the thermal management strategy of this sample can effectively confine the cell temperature to within [15, 30] °C, the thermal management strategy still needs to be adjusted so as to minimize the temperature difference among the cells within the battery cluster.
Figure 10. Predicted temperature curves of the cells and the coolant for the typical sample (a) M1 vs. M6 prediction for C1 (b) M1 vs. M6 prediction for C2 (c) M1 vs. M6 prediction for C3 (d) M1 vs. M6 prediction for C4 (e) M1 vs. M6 prediction for C5 (f) M1 vs. M6 prediction for C6 (g) M1 vs. M6 prediction for C7 (h) M1 vs. M6 prediction for C8 (i) M1 vs. M6 prediction for C9 (j) M1 vs. M6 prediction for C10 (k) M1 vs. M6 prediction for C11 (l) M1 vs. M6 prediction for C12 (m) M1 vs. M6 prediction for C13 (n) M1 vs. M6 prediction for C14 (o) M1 vs. M6 prediction for C15 (p) M1 vs. M6 prediction for C16 (q) M1 vs. M6 prediction of coolant.

4. Discussion

From the learning curves in Figure 5, the position of the best validation point indicates that, compared with the baseline model M1, the final version of the surrogate model, M6, achieves a markedly improved accuracy. Nevertheless, it is still necessary to further verify the model performance on the test set. To comprehensively compare the performance of all model versions and verify the effectiveness of the performance improvement, this paper conducts the comparison from six dimensions: precision, R2, parameter count, generalization ability, error consistency and temperature fluctuation robustness.
As shown in Figure 6, compared with the baseline model M1, the cell, coolant and overall errors of M6 are all markedly reduced. From the error levels of the coolant sub-model from M4 to M6, the separation of the two temperature prediction tasks can effectively improve the coolant prediction accuracy. Combined with the variation trend of the cell temperature error from M5 to M6, the reduction of the error of M6 is clearly caused by the feature enhancement. According to the single-step improvement principle, adding f2(t) and f3(t) on the basis of f1(t), i.e., M6, can further improve the prediction accuracy.
As shown in Table 5, the R2 values of all models for the cell, coolant and overall predictions are all above 0.99, indicating that the trends of the predicted curves and the true curves are highly consistent. Therefore, even though the cell and overall R2 values of M6 (0.9975 and 0.9977) are higher than those of the other models and its coolant R2 (0.9996) is tied for the highest, it is still necessary to examine the model performance from other perspectives.
Since there is currently no gold standard for evaluating the generalization ability of models, this paper uses the losses of the models on the training, validation and test sets as indicators. As shown in Figure 6, the train–validation gaps of M5 and M6 are clearly smaller than those of the other models: the normalized gap |1 − val/train| is 0.0492 for M5, the smallest among the six models, and 0.0568 for M6, only 0.0076 higher, so the two models can be empirically considered to have better generalization ability. Moreover, the test loss of M6 (0.00245) is the lowest among all models, 16% lower than that of M5 (0.00292), confirming that its accuracy on unseen data is well maintained. Therefore, the generalization of M6 is considered excellent and only marginally inferior to that of M5, which adds a single feature f1(t).
From M1 to M6, the change in model accuracy is accompanied by a change in the parameter count. As shown in Figure 7a–f, M6 is more accurate than the other models in terms of RMSE and MAE, but its parameter count is also the highest. The parameter counts of M4, M5 and M6 are 241,377, 241,713 and 242,385, respectively. This indicates that even merely adding input features increases the parameter count, although the increase is far smaller than the effect of the separation operation. At this point, the balance between the accuracy gain and the doubled parameter cost needs to be considered. As mentioned above, the battery cluster is the smallest unit connected to the DC bus. In actual scenarios, limited by the energy density of cells and the capacity of battery clusters, the number of clusters connected to the bus is usually at least four to eight. Figure 7g shows the influence of the increasing number of connected clusters on the parameter counts of the joint architecture M3 and the separated architecture M6. Combined with Figure 7h, the higher the number of connected clusters, the closer the two parameter counts become. In other words, the larger the scale of the marine power battery system, the more acceptable the cost of the separation operation.
In this paper, the error consistency of a model is defined as the RSD, which characterizes the uniformity of the error levels among the cells within a module. RSD differs from the precision metrics (RMSE and MAE) reported in Section 3.2: RMSE and MAE measure the magnitude of the deviation between the predicted and the reference temperatures, pooled over all cells and all samples, whereas RSD measures how unevenly the prediction errors are distributed among the four cells of a module and is largely independent of the error magnitude. This distinction matters when the surrogate model is used to compare thermal management strategies: an unevenly distributed error could introduce a spurious cell-to-cell difference and bias the assessment of error consistency, which is why error consistency is reported as a dimension separate from precision.
As shown in Table 6, in terms of the mean RSD over the four modules, M6 (0.4102) is not the best but is second only to M4 (0.4047), and is slightly better than M5 (0.4164) and better than M3 (0.4355). From the change from M4 to M5, the improvement brought by adding features mainly lies in accuracy and R2, while its effect on error consistency is negative. Nevertheless, M6 still achieves a clear improvement over the baseline model M1 (0.5294). Although the RSD of M6 is slightly higher than that of M4, this paper considers the gap perceptible but not severe. According to the convention in marine scenarios, the temperature difference between cells in operation is not allowed to exceed 5 °C; it should be noted that this limit applies to the physical cell-to-cell temperature difference, which is evaluated directly from the simulated temperatures and is determined by the thermal management strategy rather than by the model. As for the prediction errors, even in the worst case, their dispersion among the cells is less than 0.5 °C, which indicates that the model would not introduce a spurious cell-to-cell difference of practical significance. Therefore, the error consistency of M6 is considered acceptable.
As shown in Figure 8 and Table A9, the mean FI error of M6 is lower than that of M1 in every decile, with reductions ranging from 29.6% (decile 6) to 48.8% (decile 1), i.e., approximately 30%–49% across the ten deciles. The results of all six models in each decile are listed in Table A9. M6 achieves the lowest FI error in seven of the ten deciles; in the low-fluctuation deciles 3–5, M3 is marginally lower. However, the FI error of M3 grows substantially with the fluctuation level, so the decile-averaged FI error of M6 (0.1378) is the lowest among the six models, 8.7% below the second-lowest value of M3 (0.1509), and the decile span of M6 (0.1006–0.1715) is the smallest among the six models. This indicates that, under the current temperature fluctuation evaluation scheme, the performance of M6 is least affected by the temperature fluctuation in the recent period, i.e., it has the best temperature fluctuation robustness. However, the limitation of this evaluation method is that the calculation and division of the FI are clearly affected by the window length, the moving step and the weight coefficients, so the reference value of the conclusion in this dimension is limited.
The reliability of the surrogate model under extreme operating conditions is supported by three aspects of the test data: the high current rates, including the static 0.5C, 1C and 2C scenarios and the dynamic scenarios with an upper limit of 2C (Section 2.2); the five ambient temperature levels, whose proportions are kept consistent across the training, validation and test sets by stratified sampling; and the rapid temperature variations, for which the FI decile analysis (Table A9 and Figure 8) shows that M6 maintains the lowest error among the six models in the highest-fluctuation deciles. The test-set metrics reported above therefore include the performance of the model under these extreme operating conditions.
In summary, a radar chart can be drawn as shown in Figure 11, and the six dimensions are quantified as follows:
Figure 11. Performance radar of the six models.
  • Precision: The mean of the overall RMSE and the overall MAE on the test set, i.e., (Overall RMSE + Overall MAE)/2; smaller is better.
  • R2: The overall coefficient of determination on the test set; larger is better.
  • Parameter count: The total number of trainable parameters of the model for one connected battery cluster; smaller is better.
  • Generalization: The normalized gap between the validation and training losses, |1 − val/train|; smaller is better.
  • Error consistency: The mean RSD of the cell prediction errors over the four modules; smaller is better. The RSD measures how unevenly the errors are distributed among the four cells of a module rather than how large they are.
  • Temperature fluctuation robustness: The decile-averaged FI error; smaller is better.
The raw values of the six models in each dimension are provided in Table A10 and Table A11; each dimension is normalized to a 0–1 score, where 0 and 1 correspond to the worst and best models among the six, respectively, so that a larger score always indicates better performance. Clearly, M6 is optimal in three dimensions—precision (0.2383, score 1.000), R2 (0.9977, score 1.000) and robustness (0.1378, score 1.000)—and ranks second in the other two evaluation dimensions, being only marginally behind M5 in generalization (0.0568 vs. 0.0492, scores 0.9873 vs. 1.000) and slightly behind M4 in error consistency (0.4102 vs. 0.4047, scores 0.9554 vs. 1.000). Its parameter count (242,385, score 0) is regarded as an acceptable trade-off because, as discussed above, the parameter advantage of the joint architecture diminishes as the number of connected battery clusters increases in practical scenarios. Therefore, this paper selects the improved surrogate model M6 as the model support for subsequent research.
The operating envelope of the surrogate model is defined by the designed conditions: an ambient temperature of 20–40 °C (five discrete levels), a current rate not exceeding 2C in magnitude (0.5C, 1C and 2C for the static group, random profiles with an upper limit of 2C for the dynamic group), an SOC covering the full 100%–0%–100% cycle, and the 13 cooling operating parameters within the ranges and rules given in Section 2.2. Within this envelope, the test set consists of about 700 samples whose parameter combinations are all different from those in the training set, because the 13 cooling parameters and the dynamic current profiles are generated continuously and randomly; in other words, different current profiles, ambient temperature levels and cooling conditions have been tested in combination. Beyond this envelope, such as current rates higher than 2C, ambient temperatures outside 20–40 °C or varying with time, cell aging and different cell chemistries, the model has not been validated, and no claim is made about its accuracy; these aspects will be investigated in future work by extending the simulated operating conditions.

5. Conclusions

Taking a 20 ft standard container-type ship power supply equipped with a hybrid thermal management system as an example, this paper builds an AMESim–Simulink co-simulation platform and provides a data-driven surrogate model construction method. The main work and conclusions are as follows:
(1)
Based on the existing literature [29], the shipboard heat-pump air-conditioning system is connected to the internal liquid-cooling loop of the container-type power supply through a plate heat exchanger and external pipes, thereby constructing a co-simulation platform of the hybrid thermal management system integrating air cooling, liquid cooling and heat-pump air conditioning. The two-phase-flow circulation inside the heat-pump air-conditioning subsystem is simplified by an ideal heat-transfer unit. While maintaining simulation accuracy, the model running speed is greatly improved, which supports the batch acquisition of sample data.
(2)
According to experience-based design rules, a large number of diverse samples are obtained in batch through the co-simulation platform. After data preprocessing, Latin hypercube sampling and proportional division, training, validation and test sets with moderate scale, good quality and compliance with requirements are obtained. The data cleaning, selection and acquisition processes ensure that the three sample sets have identical distribution, no overlap and no data leakage.
(3)
Based on the standard two-layer LSTM, a baseline model of the temperature prediction surrogate model is constructed. Through hyperparameter optimization, replacement of the underlying model, separation of temperature prediction tasks and feature enhancement, six model versions from M1 to M6 are constructed. The model performance is comprehensively compared on the test set from six dimensions: precision, R2, parameter count, error consistency, generalization performance and temperature fluctuation robustness.
(4)
On the test set, M6 achieves the best accuracy among the six models for both cell and overall temperature prediction: RMSEs of 0.3511 and 0.3423 °C, MAEs of 0.1365 and 0.1344 °C, and R2 values of 0.9975 and 0.9977 for the cell and overall predictions, respectively. The coolant metrics (RMSE 0.1390 °C, MAE 0.0998 °C, R2 0.9996) tie for the best with M4 and M5, because the coolant temperature sub-model trained in M4 is reused. M6 also shows generalization ability second only to M5 and the lowest decile-averaged FI error (0.1378) among the six models, indicating the strongest temperature fluctuation robustness. Its performance in the remaining two dimensions is acceptable: the parameter count of the separated architecture becomes comparable to that of the joint architecture as the number of connected battery clusters increases in practical scenarios, and although the module-level RSD of M6 is not the best (second only to M4), this RSD measures the dispersion of the prediction errors among the cells rather than the physical temperature non-uniformity; the dispersion of the prediction errors remains below 0.5 °C, which is far smaller than the 5 °C limit that marine practice imposes on the cell-to-cell temperature difference.
(5)
This work is still at the early research stage. The training data come entirely from the co-simulation platform and still need to be calibrated against physical test data; the model takes a single battery cluster as the smallest unit, and the evaluation of generalization and robustness lacks a recognized gold standard. Future work will validate the proposed model with prototype tests and real operating data, and extend it through ablation experiments and hardware-in-the-loop simulation toward scales closer to actual applications, so as to further improve its engineering applicability.
(6)
In addition, the limitations of relying solely on simulation-generated data should be recognized: manufacturing consistency, assembly differences and cell aging are not covered by the simulation, and the prediction accuracy beyond the designed operating envelope cannot be guaranteed. Accordingly, the model will be re-calibrated with physical test data at the deployment stage, and online correction based on measured feedback, together with redundant designs, will be introduced when the model is applied to real-time control.

Author Contributions

Conceptualization, Y.Z.; methodology, Y.Z.; validation, Y.Z. and W.Y.; investigation, Y.Z. and C.S.; resources, M.Y.; writing—original draft preparation, Y.Z.; writing—review and editing, M.Y., Z.S. and C.S.; visualization, Y.Z.; supervision, M.Y., W.Y. and Z.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Zhenjiang Science and Technology Bureau (Zhenjiang Municipal Science and Technology Program), grant number GY2023019.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available because they are still being used in ongoing research.

Acknowledgments

During the preparation of this manuscript, the authors used DeepSeek-V4-Pro for the purposes of checking, translating and polishing the manuscript. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Figure A1. Complete simulation system model before simplification.
Figure A2. Simulink model in the co-simulation framework.
Figure A3. Parameter settings of the cell submodel ESSBBATCA01 in AMESim.
Figure A4. True temperature curves of samples at different cumulative FI levels.
Figure A5. Example simulation results of the system model (7200 s, 1C full charge–discharge cycle, ambient temperature 25 °C).
Table A1. Search ranges and step sizes.
Table A2. Warm-start baseline and optimized results.
Table A3. Early-stopping and training parameters.
Table A4. Seed-averaged (seeds 1~4) cell-side metrics of the seven feature combinations on the test set.
Table A5. RMSE of the temperature prediction results of different cells.
Table A6. MAE of the temperature prediction results of different cells.
Table A7. RMSE of each model at the module level.
Table A8. MAE of each model at the module level.
Table A9. Average error levels of the six models under each FI decile.
Table A10. Six-dimensional raw evaluation values in the radar chart.
Table A11. Six-dimensional normalized evaluation values in the radar chart.

References

  1. Sang, Y.; Ding, Y.; Sui, C.; Xiang, L. Energy analysis of battery/PV-powered all-electric ship in various operational conditions. Ocean Eng. 2025, 340, 122257. [Google Scholar] [CrossRef] [Scilit]
  2. Pei, Z.; Kang, Y.; Long, F. Research and development of inland green and smart ship technologies in China. Appl. Sci. 2024, 14, 2316. [Google Scholar] [CrossRef] [Scilit]
  3. Yue, F.; Dai, L.; Yue, M.; Hu, H.; Fang, S. Assessing the decarbonization potential of electric ships for inland waterway freight transportation. Transp. Res. Part D Transp. Environ. 2024, 129, 104151. [Google Scholar] [CrossRef] [Scilit]
  4. Cusenza, M.A.; Carvalho, M.L.; Dotelli, G.; Girardi, P. Life cycle assessment of battery-based ship electrification: A methodological review of assumptions, comparability, and limitations. J. Mar. Sci. Eng. 2026, 14, 984. [Google Scholar] [CrossRef] [Scilit]
  5. Kong, L.; Luo, Y.; Fang, S.; Niu, T.; Chen, G.; Yang, L.; Liao, R. State estimation of lithium-ion battery for shipboard applications: Key challenges and future trends. Green Energy Intell. Transp. 2025, 4, 100192. [Google Scholar] [CrossRef] [Scilit]
  6. Guo, Y.; Qiu, Y.; Lei, B.; Wu, Y.; Shi, Y.; Cao, W.; Liu, H.; Jiang, F. Modeling and analysis of liquid-cooling thermal management of an in-house developed 100 kW/500 kWh energy storage container consisting of lithium-ion batteries retired from electric vehicles. Appl. Therm. Eng. 2023, 232, 121111. [Google Scholar] [CrossRef] [Scilit]
  7. Wang, Z.; Liao, P.; Long, F.; Wang, Z.; Ji, Y.; Han, F. Maritime electrification pathways for sustainable shipping: Technological advances, environmental drivers, challenges, and prospects. eTransportation 2025, 26, 100462. [Google Scholar] [CrossRef] [Scilit]
  8. Shen, K.; Xu, W.; Lai, X.; Li, D.; Meng, X.; Zheng, Y.; Feng, X. Physics-informed machine learning estimation of the temperature of large-format lithium-ion batteries under various operating conditions. Appl. Therm. Eng. 2025, 269, 126200. [Google Scholar] [CrossRef] [Scilit]
  9. Lei, C.; Li, S.; Chen, Y.C. Optimal ship-to-grid dispatch considering battery thermal and voltage electrochemical-thermal-coupled constraints. IEEE Trans. Smart Grid 2025, 16, 5681–5684. [Google Scholar] [CrossRef] [Scilit]
  10. Pandey, H.; Gupta, N.K.; Ghosh, S.K. Thermo-structural optimization of air-cooling battery thermoregulation system using surrogate modelling and NSGA-II. Therm. Sci. Eng. Prog. 2025, 59, 103270. [Google Scholar] [CrossRef] [Scilit]
  11. Ghadbane, H.E.; Rezk, H.; Ferahtia, S.; Barkat, S.; Al-Dhaifallah, M. Optimal parameter identification strategy applied to lithium-ion battery model for electric vehicles using drive cycle data. Energy Rep. 2024, 11, 2049–2058. [Google Scholar] [CrossRef] [Scilit]
  12. Han, D.; Xing, Y.; Zhou, N. Cross-condition lithium-ion battery capacity multi-variable estimation model based on incremental capacity curve features. Batteries 2026, 12, 103. [Google Scholar] [CrossRef] [Scilit]
  13. Han, D.; Li, J. Parameter estimation of battery SOH models via a wide-span predictive Barzilai-Borwein algorithm. J. Electrochem. Soc. 2026, 173, 110509. [Google Scholar] [CrossRef] [Scilit]
  14. Subramaniam, A.; Kolluri, S.; Santhanagopalan, S.; Subramanian, V.R. An efficient electrochemical-thermal tanks-in-series model for lithium-ion batteries. J. Electrochem. Soc. 2020, 167, 113506. [Google Scholar] [CrossRef] [Scilit]
  15. Qian, G.; Wang, L.; Ouyang, M.; Lu, Y.; Lu, L.; Han, X. On-line control technology for safe charging of energy storage batteries based on dimensionality reduction mechanism model. Electr. Power Eng. Technol. 2024, 43, 2–10. [Google Scholar] [CrossRef]
  16. Kong, L.; Luo, Y.; Fang, S.; Niu, T.; Chen, G.; Yang, L.; Liao, R. Electrochemical model based SoC-SoH estimation of lithium-ion batteries under shipboard swaying conditions. J. Energy Storage 2025, 124, 116827. [Google Scholar] [CrossRef] [Scilit]
  17. Fang, S.; Lv, M.; Wu, P.; Luo, Y.; Niu, T.; Chen, G.; Liao, R. Grid-forming energy storage system controller considering battery dynamics in the low-inertial shipboard microgrid. J. Energy Storage 2026, 172, 122892. [Google Scholar] [CrossRef] [Scilit]
  18. Yang, Q.; Zhang, S.; Zhao, W.; Tao, J.; Lu, X.; Meng, C.; Zhao, Y.; Zhang, H.; Zhao, G.; Jiang, C.; et al. A two-stage energy management strategy for hybrid ship power systems considering the dynamic output characteristics of batteries. Appl. Energy 2025, 396, 126232. [Google Scholar] [CrossRef] [Scilit]
  19. Wu, X.; Chen, L.; Lopes, A.M.; Ma, H.; Zhang, C.; Li, P.; Guo, W.; Yin, L. Fractional variable-order observer-based method for state-of-charge estimation of lithium-ion batteries. Appl. Energy 2025, 389, 125775. [Google Scholar] [CrossRef] [Scilit]
  20. Zhao, Z.; Zhang, B.; Liu, Y.; Zhong, Z. Research progress on multi-scale computational simulation of lithium-ion batteries. J. Harbin Inst. Technol. 2025, 57, 44–58. [Google Scholar]
  21. Ding, Y.; Ma, S.; Liu, G.; Sui, C.; Xiang, L. Optimization of sizing and energy management in hybrid energy storage systems for transient suppression in ship power systems under adverse sea conditions. Int. J. Electr. Power Energy Syst. 2025, 170, 110864. [Google Scholar] [CrossRef] [Scilit]
  22. Liu, F.; Yu, D.; Su, W.; Bu, F. Multi-state joint estimation of series battery pack based on multi-model fusion. Electrochim. Acta 2023, 443, 141964. [Google Scholar] [CrossRef] [Scilit]
  23. Tang, X.; Zhou, Y.; Gao, F.; Lai, X. Joint estimation of state-of-charge and state-of-health for all cells in the battery pack using “leader-follower” strategy. eTransportation 2023, 15, 100213. [Google Scholar] [CrossRef] [Scilit]
  24. Hu, L.; Hu, X.; Che, Y.; Feng, F.; Lin, X.; Zhang, Z. Reliable state of charge estimation of battery packs using fuzzy adaptive federated filtering. Appl. Energy 2020, 262, 114569. [Google Scholar] [CrossRef] [Scilit]
  25. Laudani, D.P.; Milillo, D.; Quercio, M.; Riganti Fulginei, F.; Sabino, L. A comprehensive review of equivalent circuit models and neural network models for battery management systems. Batteries 2026, 12, 37. [Google Scholar] [CrossRef] [Scilit]
  26. Wang, C.; Chen, Z.; Shen, Y.; Li, J. Simulation analysis of battery thermal management system for electric vehicles based on direct cooling cycle optimization. Appl. Therm. Eng. 2025, 268, 125938. [Google Scholar] [CrossRef] [Scilit]
  27. Chen, Z.; Jia, L.; Yin, L.; Dang, C.; Ren, H.; Zhang, Z. A review on thermal management of Li-ion battery: From small-scale battery module to large-scale electrochemical energy storage power station. J. Therm. Sci. 2025, 34, 1–23. [Google Scholar] [CrossRef] [Scilit]
  28. Tian, Z.; Cao, Z.; Zhang, J.; Gao, W.; Peng, H. Variable flow rate based-thermal management system for marine large-capacity battery. Appl. Therm. Eng. 2025, 258, 124654. [Google Scholar] [CrossRef] [Scilit]
  29. Zhao, Y.; Yu, M.; Yuan, W.; Su, Z.; Shen, C.; Zhang, M. AMESim-based simulation and analysis of thermal management for marine Li-ion battery packs. In Proceedings of the 2025 International Power and Electrical Engineering Conference (IPEE), Wuxi, China, 12–14 September 2025; IEEE: New York, NY, USA, 2025. [Google Scholar] [CrossRef] [Scilit]
  30. Kordowich, G.; Oelhaf, J.; Bayer, S.; Maier, A.; Kereit, M.; Jaeger, J. Feature selection for fault prediction in distribution systems. Electr. Power Syst. Res. 2026, 261, 113498. [Google Scholar] [CrossRef] [Scilit]
  31. Nguyen, T.-H.; Toubeau, J.-F.; De Jaeger, E.; Vallée, F. Topology-aware surrogate for future offshore wind farms using machine learning. SSRN 2025. preprint. [Google Scholar] [CrossRef] [Scilit]
  32. Huang, X.; Zhang, J.; Tao, D.; Ruzimov, S. Fault detection of T-type three-level converters with simulation-data transfer learning strategy. Sensors 2026, 26, 1519. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.