| Algorithm 1 The Lorenz time discretization algorithm |
| 1. Input: vector field , initial state ∈ , step h > 0, number of steps N, and is the initial condition. 2. Initialization: X ← ; is written for k = 0, 1, …, N − 1; 3. Scheme selection: Euler (explicit, order 1), RK4 (explicit, order 4), and Midpoint/Crank–Nicolson (centroid, implicit, order 2); 4. Iterations (fixed point): Set ←, 3a n = 0, 1, … n to convergence , 5. Stop criterion: ‖‖ ≤ tol, where tol is a numerical tolerance threshold that defines the allowable difference between two consecutive states or iterations in the model. 6. It sets the criterion for stopping the iteration process, i.e., when to assume that the system is “sufficiently” stabilized or has reached a stationary solution. 7. Final: Xk+1 ← ; 8. End of cycle. Returning {Xk}. 9. Output: discrete trajectory , where =() and е пoтoкa нa системaтa. |