Simulation and Analysis of the Second-Order Memristive System in the CUDAynamics Suite
Abstract
1. Introduction
- An open-source, GPU-accelerated computational environment (CUDAynamics) is introduced, featuring a responsive immediate-mode graphical interface that enables interactive, real-time navigation through high-dimensional parameter spaces of nonlinear systems.
- Leveraging this platform, a comprehensive numerical analysis of a second-order memristive system incorporating parasitic capacitance is conducted under sinusoidal, triangular, and square-wave excitations. This reveals the precise parameter configurations and waveform-dependent sensitivities under which deterministic chaos and superperiodic regimes emerge.
- A new finite difference scheme is implemented for the memristor using a composition diagonal method with variable symmetry (VSCD). Compared to conventional explicit schemes, it demonstrates enhanced numerical stability and introduces a tunable symmetry parameter that acts as an additional bifurcation control.
2. Materials and Methods
3. Results
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| CLI | Command-line interface |
| CMOS | Complementary Metal-Oxide-Semiconductor |
| CUDA | Compute Unified Device Architecture |
| EE | Explicit Euler method |
| EMP | Explicit midpoint method |
| GPUs | Graphics Processing Units |
| HP | Hewlett-Packard |
| IE | Implicit Euler method |
| IMP | Implicit midpoint method |
| I-V | Current-voltage |
| NDR | Negative differential resistance |
| OpenMP | Open Multi-Processing |
| RHS | Right-hand side function |
| RK4 | Runge–Kutta 4 method |
| SPICE | Simulation Program with Integrated Circuit Emphasis |
| SSIM | Structural similarity index measure |
| VSCD | Variable symmetry composition diagonal method |
Appendix A

| Listing A1. Finite difference scheme implementation of the mixed second-order memristor with sinusoidal input by the variable symmetry composition diagonal method (VSCD) method in CUDAynamics. |
![]() |
References
- Chua, L. Memristor-The missing circuit element. IEEE Trans. Circuit Theory 1971, 18, 507–519. [Google Scholar] [CrossRef]
- Strukov, D.B.; Snider, G.S.; Stewart, D.R.; Williams, R.S. The missing memristor found. Nature 2008, 453, 80–83, Erratum in Nature 2009, 459, 1154. [Google Scholar] [CrossRef] [PubMed]
- Jo, S.H.; Chang, T.; Ebong, I.; Bhadviya, B.B.; Mazumder, P.; Lu, W. Nanoscale Memristor Device as Synapse in Neuromorphic Systems. Nano Lett. 2010, 10, 1297–1301. [Google Scholar] [CrossRef]
- Yang, X.; Taylor, B.; Wu, A.; Chen, Y.; Chua, L.O. Research Progress on Memristor: From Synapses to Computing Systems. IEEE Trans. Circuits Syst. I Regul. Pap. 2022, 69, 1845–1857. [Google Scholar] [CrossRef]
- Yuklyaevskikh, G.A.; Shvetsov, B.S.; Emelyanov, A.V.; Kulagin, V.A.; Rylkov, V.V.; Demin, V.A. Plasticity of parylene memristors: Compact phenomenological model and synaptic properties. Chaos Solitons Fractals 2025, 190, 115784. [Google Scholar] [CrossRef]
- Yi, W.; Tsang, K.K.; Lam, S.K.; Bai, X.; Crowell, J.A.; Flores, E.A. Biological plausibility and stochasticity in scalable VO2 active memristor neurons. Nat. Commun. 2018, 9, 4661. [Google Scholar] [CrossRef]
- James, A.P.; Chua, L.O. Variability-Aware Memristive Crossbars—A Tutorial. IEEE Trans. Circuits Syst. II Express Briefs 2022, 69, 2570–2574. [Google Scholar] [CrossRef]
- Gao, L.; Ren, Q.; Sun, J.; Han, S.-T.; Zhou, Y. Memristor modeling: Challenges in theories, simulations, and device variability. J. Mater. Chem. C Mater. 2021, 9, 16859–16884. [Google Scholar] [CrossRef]
- Joglekar, Y.N.; Wolf, S.J. The elusive memristor: Properties of basic electrical circuits. Eur. J. Phys. 2009, 30, 661–675. [Google Scholar] [CrossRef]
- Kvatinsky, S.; Wald, N.; Satat, G.; Kolodny, A.; Weiser, U.C.; Friedman, E.G. MRL—Memristor Ratioed Logic. In 2012 13th International Workshop on Cellular Nanoscale Networks and Their Applications; IEEE: New York, NY, USA, 2012; pp. 1–6. [Google Scholar] [CrossRef]
- Roldán, J.B.; Miranda, E.; Maldonado, D.; Mikhaylov, A.N.; Agudov, N.V.; Dubkov, A.A.; Koryazhkina, M.N.; González, M.B.; Villena, M.A.; Poblador, S.; et al. Variability in Resistive Memories. Adv. Intell. Syst. 2023, 5, 202200338. [Google Scholar] [CrossRef]
- Acal, C.; Maldonado, D.; Aguilera, A.M.; Zhu, K.; Lanza, M.; Roldán, J.B. Holistic Variability Analysis in Resistive Switching Memories Using a Two-Dimensional Variability Coefficient. ACS Appl. Mater. Interfaces 2023, 15, 19102–19110. [Google Scholar] [CrossRef] [PubMed]
- Maldonado, D.; Aldana, S.; González, M.B.; Jiménez-Molinos, F.; Ibáñez, M.J.; Barrera, D.; Campabadal, F.; Roldán, J.B. Variability estimation in resistive switching devices, a numerical and kinetic Monte Carlo perspective. Microelectron. Eng. 2022, 257, 111736. [Google Scholar] [CrossRef]
- Glukhov, A.; Bridarolli, D.; Ricci, S.; Li, R.; Shreya, S.; Farkhani, H.; Moradi, F.; Ielmini, D. Compact Modeling of Resistive Switching Memory (RRAM) with Voltage and Temperature Dependences. In 2023 IEEE Nanotechnology Materials and Devices Conference (NMDC); IEEE: New York, NY, USA, 2023; pp. 793–797. [Google Scholar] [CrossRef]
- Son, S.; Bende, A.; Schön, D.; Ahmad, R.W.; Nielinger, D.; Rana, V.; Menzel, S. A Comprehensive Compact Model for Multilevel Switching in TaOx-Based Memristive 1T-1R Cells. IEEE Access 2025, 13, 127280–127291. [Google Scholar] [CrossRef]
- Yang, J.J.; Strukov, D.B.; Stewart, D.R. Memristive devices for computing. Nat. Nanotechnol. 2013, 8, 13–24. [Google Scholar] [CrossRef] [PubMed]
- Itoh, M.; Chua, L.O. Parasitic Effects on Memristor Dynamics. Int. J. Bifurc. Chaos 2016, 26, 1630014. [Google Scholar] [CrossRef]
- Shen, Y.; Wang, G.; Liang, Y.; Yu, S.; Iu, H.H.-C. Parasitic Memcapacitor Effects on HP TiO2 Memristor Dynamics. IEEE Access 2019, 7, 59825–59831. [Google Scholar] [CrossRef]
- Guseinov, D.V.; Matyushkin, I.V.; Chernyaev, N.V.; Mikhaylov, A.N.; Pershin, Y.V. Capacitive effects can make memristors chaotic. Chaos Solitons Fractals 2021, 144, 110699. [Google Scholar] [CrossRef]
- Singh, J.; Sharma, S.K.; Raj, B. Investigation of Inherent Capacitive Effects in Linear Memristor Model. Silicon 2021, 13, 3423–3430. [Google Scholar] [CrossRef]
- Yarragolla, S.; Hemke, T.; Jalled, F.; Gergs, T.; Trieschmann, J.; Arul, T.; Mussenbrock, T. Identifying and understanding the nonlinear behavior of memristive devices. Sci. Rep. 2024, 14, 31633. [Google Scholar] [CrossRef]
- Ostrovskii, V.; Fedoseev, P.; Bobrova, Y.; Butusov, D. Structural and Parametric Identification of Knowm Memristors. Nanomaterials 2021, 12, 63. [Google Scholar] [CrossRef] [PubMed]
- Corinto, F.; Ascoli, A.; Gilli, M. Nonlinear Dynamics of Memristor Oscillators. IEEE Trans. Circuits Syst. I Regul. Pap. 2011, 58, 1323–1336. [Google Scholar] [CrossRef]
- Buscarino, A.; Fortuna, L.; Frasca, M.; Gambuzza, L.V. A chaotic circuit based on Hewlett-Packard memristor. Chaos Interdiscip. J. Nonlinear Sci. 2012, 22, 023136. [Google Scholar] [CrossRef]
- Bao, B.C.; Bao, H.; Wang, N.; Chen, M.; Xu, Q. Hidden extreme multistability in memristive hyperchaotic system. Chaos Solitons Fractals 2017, 94, 102–111. [Google Scholar] [CrossRef]
- Chen, S.; Ding, D.; Yang, Z. Multistability and Hidden Attractors in a Fractional-Order Memristive Tabu Learning Neuron Model and Its Medical Image Encryption. In 2023 IEEE International Conference on Memristive Computing and Applications (ICMCA); IEEE: New York, NY, USA, 2023; pp. 1–5. [Google Scholar] [CrossRef]
- Yuan, L.-G.; Yang, Q.-G. Parameter identification and synchronization of fractional-order chaotic systems. Commun. Nonlinear Sci. Numer. Simul. 2012, 17, 305–316. [Google Scholar] [CrossRef]
- Deng, Y.; Zhang, S.; Yuan, F.; Li, Y.; Wang, G. Reservoir computing system using discrete memristor for chaotic temporal signal processing. Chaos Solitons Fractals 2025, 194, 116230. [Google Scholar] [CrossRef]
- Ibrahim, H.M.; Abunahla, H.; Mohammad, B.; AlKhzaimi, H. Memristor-based PUF for lightweight cryptographic randomness. Sci. Rep. 2022, 12, 8633. [Google Scholar] [CrossRef] [PubMed]
- Singh, S.; Fan, X.; Prasad, A.K.; Jia, L.; Nag, A.; Balasubramonian, R.; Bojnordi, M.N.; Shi, E. XCRYPT: Accelerating Lattice-Based Cryptography with Memristor Crossbar Arrays. IEEE Micro 2023, 43, 45–54. [Google Scholar] [CrossRef]
- Stojanovski, T.; Kocarev, L. Chaos-based random number generators-part I: Analysis. IEEE Trans. Circuits Syst. I Fundam. Theory Appl. 2001, 48, 281–288. [Google Scholar] [CrossRef]
- Fazanaro, F.I.; Soriano, D.C.; Suyama, R.; Madrid, M.K.; de Oliveira, J.R.; Muñoz, I.B.; Attux, R. Numerical characterization of nonlinear dynamical systems using parallel computing: The role of GPUs approach. Commun. Nonlinear Sci. Numer. Simul. 2016, 37, 143–162. [Google Scholar] [CrossRef]
- Simpson, B.G.; Zhu, M.; Seki, A.; Scott, M. Challenges in GPU-Accelerated Nonlinear Dynamic Analysis for Structural Systems. J. Struct. Eng. 2023, 149, 04022253. [Google Scholar] [CrossRef]
- Rybin, V.; Butusov, D.; Shirnin, K.; Ostrovskii, V. Revealing Hidden Features of Chaotic Systems Using High-Performance Bifurcation Analysis Tools Based on CUDA Technology. Int. J. Bifurc. Chaos 2024, 34, 2450134. [Google Scholar] [CrossRef]
- Rybin, V.; Babkin, I.; Ostrovskii, V.; Gerasimov, A.; Noskov, E.; Butusov, D. Calculating Basins of Attraction Using CUDA: High-Resolution Mapping of Multistable Dynamics. Int. J. Bifurc. Chaos 2026, 36, 2630017. [Google Scholar] [CrossRef]
- Pala, A.; Machaczek, M. Computing of 3D Bifurcation Diagrams with Nvidia CUDA Technology. IEEE Access 2020, 8, 157773–157780. [Google Scholar] [CrossRef]
- Kıran, H.E. A Novel Chaos-Based Encryption Technique with Parallel Processing Using CUDA for Mobile Powerful GPU Control Center. Chaos Fractals 2024, 1, 6–18. [Google Scholar] [CrossRef]
- Wang, Y.; Shi, Y.; Yang, T.; Wang, W.; Sun, Z.; Zhang, Y. Structural Performance Warning Based on Computer Intelligent Monitoring and Fractional-Order Multi-Rate Kalman Fusion Method. Fractal Fract. 2026, 10, 186. [Google Scholar] [CrossRef]
- Zhang, H.; Ho, N.M.; Polat, D.Y.; Chen, P.; Wahib, M.; Nguyen, T.T.; Meng, J.; Goh, R.S.M.; Matsuoka, S.; Luo, T.; et al. Simeuro: A Hybrid CPU-GPU Parallel Simulator for Neuromorphic Computing Chips. IEEE Trans. Parallel Distrib. Syst. 2023, 34, 2767–2782. [Google Scholar] [CrossRef]
- Sui, Y.; Yu, T.; Song, S. ReARTSim: An ReRAM ARray Transient Simulator with GPU optimized runtime acceleration. Neuromorphic Comput. Eng. 2024, 4, 014006. [Google Scholar] [CrossRef]
- Huang, J.; Stathopoulos, S.; Serb, A.; Prodromakis, T. NeuroPack: An Algorithm-Level Python-Based Simulator for Memristor-Empowered Neuro-Inspired Computing. Front. Nanotechnol. 2022, 4, 851856. [Google Scholar] [CrossRef]
- Dang, G.; Liu, S.; Guo, T.; Duan, J.; Li, X. Direct numerical simulation of compressible turbulence accelerated by graphics processing unit: An open-source high accuracy accelerated computational fluid dynamic software. Phys. Fluids 2022, 34, 126106. [Google Scholar] [CrossRef]
- Fedoseev, P.; Karimov, A.; Legat, V.; Butusov, D. Preference and Stability Regions for Semi-Implicit Composition Schemes. Mathematics 2022, 10, 4327. [Google Scholar] [CrossRef]
- Ostrovskii, V.Y.; Rybin, V.G.; Karimov, A.I.; Butusov, D.N. Inducing multistability in discrete chaotic systems using numerical integration with variable symmetry. Chaos Solitons Fractals 2022, 165, 112794. [Google Scholar] [CrossRef]
- Butcher, J.C. Numerical Methods for Ordinary Differential Equations; Wiley: Hoboken, NJ, USA, 2016. [Google Scholar] [CrossRef]
- McLachlan, R.I.; Quispel, G.R.W. Geometric integrators for ODEs. J. Phys. A Math. Gen. 2006, 39, 5251–5285. [Google Scholar] [CrossRef]
- Wolf, A.; Swift, J.B.; Swinney, H.L.; Vastano, J.A. Determining Lyapunov exponents from a time series. Phys. D Nonlinear Phenom. 1985, 16, 285–317. [Google Scholar] [CrossRef]
- Tzepos, D.; Trader, O.; Magnes, J. Comparing the Rosenstein and Wolf Algorithms in Experimental Chaos Through C. elegans Locomotion. In Chaotic Modeling and Simulation International Conference; Springer Nature: Cham, Switzerland, 2026; pp. 281–292. [Google Scholar] [CrossRef]
- Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed]
- Chandía, K.J.; Bologna, M.; Tellini, B. Analytical Study on the Influence of Parasitic Elements in a Memristor. Math. Probl. Eng. 2018, 2018, 2640591. [Google Scholar] [CrossRef]












| Method | EE | IE | EMP | IMP | VSCD | RK4 |
|---|---|---|---|---|---|---|
| Order | 1 | 1 | 2 | 2 | 2 (s = 0), 1 (general s) | 4 |
| Stability | Conditionally stable | A-stable | Conditionally stable | A-stable | A(α)-stable (s = 0), tunable via s | Conditionally stable |
| Preference region | Very small | Small | Moderate | Small | Reasonable size, tunable via s | Large |
| Symmetry | No | No | No | Yes (symplectic) | Yes (s = 0), tunable via s | No |
| Applicability to chaos | Prone to dynamical degradation | Suppress chaos due to numerical damping | Limited stability | Good for conservative systems, costly for large-scale | Robust, s serves as a bifurcation parameter | Robust, widely used as reference |
| Computational cost per step | 1 RHS | Newton iterations, Jacobian | 2 RHS | Newton iterations, Jacobian | 2 RHS, analytical implicitness or simple iterations | 4 RHS |
| Memory footprint | Minimal | High (Jacobian, iteration buffers) | Low (1 stage buffer) | High (Jacobian, iteration buffers) | Low (1 stage buffer) | Moderate (3 stage buffers) |
| References | [45] | [45] | [45] | [43,45] | [43,44] | [45] |
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Khanov, A.; Gozhan, M.; Butusov, D.; Bobrova, Y.; Ostrovskii, V. Simulation and Analysis of the Second-Order Memristive System in the CUDAynamics Suite. Algorithms 2026, 19, 402. https://doi.org/10.3390/a19050402
Khanov A, Gozhan M, Butusov D, Bobrova Y, Ostrovskii V. Simulation and Analysis of the Second-Order Memristive System in the CUDAynamics Suite. Algorithms. 2026; 19(5):402. https://doi.org/10.3390/a19050402
Chicago/Turabian StyleKhanov, Alexander, Maksim Gozhan, Denis Butusov, Yulia Bobrova, and Valerii Ostrovskii. 2026. "Simulation and Analysis of the Second-Order Memristive System in the CUDAynamics Suite" Algorithms 19, no. 5: 402. https://doi.org/10.3390/a19050402
APA StyleKhanov, A., Gozhan, M., Butusov, D., Bobrova, Y., & Ostrovskii, V. (2026). Simulation and Analysis of the Second-Order Memristive System in the CUDAynamics Suite. Algorithms, 19(5), 402. https://doi.org/10.3390/a19050402


