3.2.2. Raw Data Modification
In the next step, the raw data for SOC, voltage, and current is modified and values are smoothed. This reduces the total data points for the following optimization routine to 20 values and thus saves calculation time. Consequently, the information from SOC and the stack voltage is also limited to the same number. Representative for all recorded charging and discharging processes, the following figures preset the smoothing of three parameters; SOC, stack voltage and charge current for the 30 A cycle.
The left side of
Figure 5a shows in blue fluctuations due to the SOC–OCV conversion. The fluctuations increase slightly up to 3% as the SOC increases. The smoothed values, consisting of a total of 20 individual points, are shown in yellow. Due to the generally small fluctuations of the raw data, the straight line from the smoothed values does not represent a large deviation from the original data.
The blue line in the middle of
Figure 5a shows the raw data of the stack voltage over time. During charging, the stack voltage has a proportional behavior in the range from 57.45 to 59.05 V. After that, the transition from Constant Current (CC) to Constant Voltage (CV) takes place, which can be seen by the turn after hour 1.1. Shown in yellow are the smoothed values, which only deviate from the raw data in the flattening transition to CV (hour 1.1) until its end. The discrepancy here is 0.2 V.
The figure on the right describes the current of the charging process, indicated by the negative signs with a maximum 60 A for two stacks. Contrary to the power-controlled Battery 2, Battery 1 is current-controlled, thus a smaller fluctuation of the current value is noticeable (c.f.
Section 2.2). Therefore, the smoothing function in the current curve represents a very small deviation. During the CC phase, a constant current with fluctuations of less than 0.3 A has been identified.
Figure 5b illustrates the discharge process in contrast to the previous
Figure 5a. The fluctuations in SOC in blue are similar to those of the charging process. The duration of the two processes is different, as the discharge time is around half an hour shorter than the charging time.
In the discharge phase, proportionality of the stack voltage (middle figure) prevails in the range from 51.90 to 48.70 V, whereby the voltage peak at one hour is to be neglected, since it occurred due to a measuring device error. If the battery reaches the SOC value of 36.94%, the voltage decreases faster. The smoothed curve is almost identical to the measured values in the period from the start point to hour 1.5. With rising slope (hour 1.5 to 2.5) the modified data deviates from the raw data. The maximum deviation occurs at hour 2.2 with a value of 2.1 V.
The right diagram of
Figure 5b shows the sum of the currents of both stacks over time. These current fluctuates in a range of 0.3 A, which is corrected by the smoothing function. In the period from hour 0 to 2.2, the battery discharges with constant progression. In this range, the voltage decreases from 60.7 to 52.9 A up to the end of the discharging process. As in the stack voltage, the course of the raw data coincides with the smoothed data over the entire course, except at the time when the current values start to decrease. The maximum difference between the original and smoothed data is higher than 3.93 A after 2.2 h, which corresponds to a deviation of 6.49%. Overall, the fluctuations in the raw current values increase with increasing currents.
Using the smoothed data, the optimization process, presented in the following chapter, calculates optimal values for the fitting parameters total capacity (C), current loss (I), cell resistance (R) and cell voltage (U).
3.2.3. Calculating the Optimization Parameters
Due to the modified battery system and raw data, changes take place in the starting conditions for the optimization steps and their step size. The selection of the realistic initial values is essential for the optimization of the simulation model. The cell voltage, total capacitance, current losses and cell resistance are the four optimization parameters. The loop index and the step size influence the accuracy of the optimized parameters, as these parameters define the frequency of the model calculation.
These adjustments present themselves as an iterative process and the re-adjustment of start parameters takes place as often as necessary until suitable values are found. Especially, the total capacity (C
) plays an important role, as will be shown in more detail later. The calculation of the start parameters provides a good starting point for the iterations of the parameter optimization. The former and new initial values and step sizes are shown in the following
Table 4.
The total capacity is calculated using the data from the data sheet of Battery 1. With a total capacity of 10 kWh and an average measured stack voltage (36 V), the capacity C of the battery is calculated. As the leakage current is an optimized value representing internal electrochemical phenomena, it can not be measured by sensors. The theoretical cell voltage cannot have a large deviation from the original value of Battery 2, as both systems are based on vanadium electrolyte. The start value of the cell voltage is therefore set only a minimum lower than the previous value. After the first attempts of optimization, a slightly higher value for the internal resistance R and for the capacity C is obtained and the starting value is slightly increased. While the calculated battery capacity from the manufacturer is set to 10 kWh (208.33 Ah, 48 V), the optimized start value is set 25% higher. Due to some iterations in advance, the initial value of C changes from previously 749,988 As (208.33 Ah) to 1,000,000 As (277.78 Ah).
The step size, on the other hand, has a large influence on the screening rage of the capacity during the iterations. To determine the smallest possible error between model and raw data, the screening range and thus the resolution is increased from 5 to 50% for this study. The step size remained at the original value. An automation or calculation of the step size and the loop index is not possible. For this, a minimum of the model error must be found, without exact knowledge about its position.
According to the simulation model explained by [
1], three optimization iteration steps take place. These are marked in
Figure 6 by s1 to s3. These steps are used to minimize the deviation error between model and raw data for different values of C
. As the error calculation is based on the method of the least square sum (LSS) and is added for all state variables (current, voltage, and SOC) it is unitless. The first two iterations s1 and s2 occur with a fixed step size, while s3 changes depending on the step size parameter.
The progress of LSS within the screening rage of C
during s1 is illustrated in yellow in
Figure 6. The simulation model is given an initial value for the screening range of C
, which represents the theoretically possible capacity of the battery system. The loop index k
is used to set the resolution of the screening as a percentage of the start value. In the case of the first battery system, this extends from 138.5 Ah to 415 Ah (starting value = 277.77 Ah; k
= 0.5). In general, the reduction of the step size causes an increase of the scan range.
The blue data points in
Figure 6 indicate the local minimum of the C
between 250 Ah and 275 Ah. In step s3, the model error (LSS) is minimized from initially 28,000 to around 16,000. After completion of the three steps, the local minimum is calculated at a value of C
of 255.66 Ah.
The results do not show a Gaussian bell curve shape for the optimization steps, as the original results of the dissertation by Zugschwert using Battery 2 might have suggested [
9]. The optimization results of this study indicate a rapid left-shaped optimization, while the right side of the curve increases more slowly.
Figure 7 visualizes the third and thus most exact optimization step of the variables C
and I
over the preset step size of k = 60. For each step size the differential-algebraic equation system is solved with the respective parameters.
Due to the pre-programmed values of the C, its course in this figure is a linear progression (red line). With the limitation to the step size, the number of measuring points of C and I is also limited to 60 values. For the fitting parameters (internal resistance R, cell voltage U, current losses I) an optimization function is used to solve the differential-algebraic equation system with a minimal LSS. The blue line shows the progress of the current losses I over the step width. The vertical black dashed line shows the minimum of the calculated model deviation. During the screening range the value I ranged from 1.97 to 4.24 A. The value with the smallest deviation from I is 4.24 A. Associated with this is the smallest error of C at a value of 255.66 Ah. The latter is a battery-specific value and is lower than the manufacturer’s value due to various factors. These include the reduction in capacity due to secondary reactions.
Figure 8 shows the optimization parameters R
and U
over the pre-configured step size of k = 60. Shown in blue is the calculation of the cell internal resistance R
, which varies between 1.75 m
and 2.05 m
for the third optimization step. The calculated optimum is at 1.8 m
. The optimum of the cell voltage U
is set at a value of 1.33 V with.
The two parameters are mostly dependent on the battery system and hence comparable with the dissertation of Zugschwert [
9]. By considering single cells, the starting and optimum values must be close to those given in the thesis. In this respect, the calculated results of the optimization parameters allow a first plausibility check. In order to check the determined internal resistance R
and the cell voltage U
, the optimum parameters calculated in
Figure 8 with 0.645
and 1.376 V. are applied for the comparison. While the deviation between the thesis in [
1] and this study is 155% for the internal resistance, the cell voltage is only 24.7% lower than the optimum value according to the thesis [
1].
The reasons for the deviations are versatile. Zhou et al. [
25] shows that the stack voltage is dependent on various parameters. These include the SOC, the current density and the flow rate. Thus, the starting parameters for determining the internal resistance are within the voltage range of 1.05 to 1.8 V. The range of application is between 10% and 90% SOC. For the selection of the start parameters, the approach is intended that the start parameters are set at the lower limit of the voltage range. This should ensure that the determination of the correct minimum takes place over the entire calculation range [
25].
Moreover, the internal resistance is influenced by numerous factors and parameters. The electrode has the most influence, followed by the membrane and the electrolyte. Due to the electrolyte, the cell resistance is also dependent on the SOC [
26]. Since the individual cell components are not known, only a qualitative plausibility check of the cell resistance can be performed. Recent studies provide a cell resistance between 0.87
cm
and 1.5
cm
[
27,
28,
29]. Multiplication of the calculated value for R
of 0.18 m
with the surface size of the single cell approximated with 682 m
, results in 1.23
cm
. The resistance R
calculated by the model is in the range determined by other studies and is therefore trustworthy.