|
Navigation: GeoDict 2025 - User Guide > Simulation & Prediction > BatteryDict > Battery > Charge Battery |
Scroll |
Solver
Under the Solver tab, select the type of simulation to run and the solver to use when solving the system of partial differential equations, as well as the solver options.

Select the Simulation Type Fully Resolved Simulation or Homogenized Simulation. The fully resolved simulation runs directly on the voxels of the battery structure. It is therefore very accurate, and, in addition to charge curves, also provides solution files with results resolved on the voxel scale and slice mean plots. The homogenized simulation is much faster than the fully resolved simulation. It uses a simplified model (an advanced 1D-Newman-model) that is created from the given battery structure. The effective parameters for this simulation are computed in GeoDict. It returns a charge curve as well, but no solution fields resolved on the voxel scale. |
For a Fully Resolved Simulation, the Solver Type LIR or BESTmicro can be selected. For the Homogenized Simulation, the BESTmeso solver is available. For the LIR solver, additional parameters for the computation need to be defined. |
With the LIR solver, the partial differential equations of each time step are solved iteratively with an adaptive tree structure. Several solver options can be chosen in the panel on the right. ![]() Stopping criteria Error Bound, Maximal Iterations, and Maximal Run Time can be selected. The stopping criteria Error Bound stops the solver if the relative difference between computed and predicted solution is smaller than the error bound defined. Note that all stopping criteria selected are applied for each time step separately. I.e., the maximal run time defined is not the maximal run time for the whole charging simulation, but for each time step. Unfold the Advanced Options to gain access to the following options: The Grid Type decides what kind of tree structure is used for the simulation. The default option is LIR-Tree and should always be used. The solver uses an adaptive tree structure called LIR-tree and needs up to 10 times less runtime and memory compared to the Regular Grid option. The solver can analyze the result field during the computation and improves the adaptive grid in places where more accuracy is needed. The LIR solver splits cells where a high gradient occurs. The balance between stable and fast simulation is managed for the LIR solver through the Relaxation value, that must be positive and should not be larger than 2: For a relaxation value smaller than 1, the simulation is more stable. For a value larger than 1, it is faster. The LIR solver can Optimize for speed or memory.
|
Control how many threads are used for the computation. Parallelization is possible if your license and hardware allow it. The Parallelization Options dialog opens when clicking the Edit button, to choose between Sequential, Parallel (Shared Memory) or Automatic Number of Threads. Selecting Sequential will not apply parallelization. When Parallel (Shared Memory) is selected, the Number of Threads can be entered. Below, the maximum number of available threads and the maximum number of licensed parallel processes is shown in the dialog. If Automatic Number of Threads is selected, the number of parallel processes is automatically selected for optimal speed, based on the CPU cores and licensed parallel processes. For up to eight Available Threads, all of them will be used. If more than eight threads are available, two cases might occur.
|
Finally, in the Time Step panel an option for the Time-Step Input Mode may be selected. Any of the battery solvers calculates the time evolution of the given Li-ion battery. It starts at the initial state, which has time = 0 in the result plots. It takes the time step defined as maximum time step size and tries to find the battery state at time = last time + time step by searching an equilibrium solution fulfilling the given system of differential equations. If no solution can be found for this time step size, it reduces the time step size, and the solver starts again. This procedure is repeated until an appropriate time step size is found. This time step size is used for the next steps in the simulation as well. After several successful steps with a certain time step size, the solver tries to increase this time step size again, to reduce overall computation time. With the Time-Step Input Mode, the maximum time-step size can be influenced. For more information on time steps see State Of Charge (SOC).
The time steps that were finally realized in the simulation are saved in the Result Map of the GeoDict result file (*.gdr file), created for the charging simulation, under the key TimeDependentValues:TimeStep. If a new battery state is found in a simulation with a charge rate boundary condition, the solver computes the Cell-SOC step of the just found new battery state i via: with the time step and the charge rate. So, it is not clear from the start which is the next computed Cell-SOC in a simulation, this depends on the time step. Example:
If you choose to set the current density instead of the charge rate, then the calculation of the Cell-SOC step size depends on the given current density and the cell capacity. Thereby, the cell capacity depends on the cell-geometry and the maximum lithium concentration of the active materials. In the GeoDict result file (*.gdr file) created for the charging simulation, you can find the time-evolution of the Cell-SOCs in percent as well as the corresponding times in seconds in the Result Map under the keys TimeDependentValues: CellStateOfCharge and TimeDependentValues:Time, respectively. For simple simulations (charge rate <= 1, physical domain size < = 5 µm, only one active material per electrode, diffusivities >= 1e-12 m²/s, conductivities >= 1 S/m and no warnings during the simulation), the time step size is usually the maximum time step size set. Then, also the Cell-SOC step is a constant value. However, for more complex simulations (charge rate >= 10, physical domain size >= 50 µm, two active materials in an electrode with different parameters, low diffusivities in the active materials and small conductivities), it might happen that the time step size may be smaller than the maximum time step size defined and not constant over the whole simulation. |
©2025 created by Math2Market GmbH / Imprint / Privacy Policy
