New open-source release: Backward-Euler Matrix Lyapunov Solver

A second open-source tool from the ArtIStE group is now archived on Zenodo and available on GitHub. The Backward-Euler Matrix Lyapunov Solver predicts how strongly each floor of a building is likely to sway during an earthquake as statistics, rather than through thousands of simulations and the answer is always physically meaningful.
One equation instead of thousands of simulations
Earthquake, wind and traffic loads are random and non-stationary: their intensity builds up and dies away. Design checks need the second moments of the response the variances and covariances of drift, velocity and acceleration — and how they evolve in time. For linear structures these follow from a single matrix differential equation, provided it is solved accurately, stably, and without breaking physics.
No impossible answers, by design
A variance can never be negative, and the scheme guarantees this at every step. The backward-Euler update is turned into one algebraic Lyapunov equation per step, solved with a standard complex-Schur Bartels–Stewart routine in base MATLAB. The result is always positive semidefinite, and the method is A and L stable, so fast higher modes cannot make it blow up. The deliberate trade is first order accuracy: higher order methods can return negative variances.
Small steps only when it matters
Step size is controlled adaptively step doubling for the local error estimate, then accept, reject or resize through a PI controller. The solver slows down when the statistics change, at onset and when shaking stops, and strides through the steady part. Effort follows how fast the covariance changes, not how hard the ground shakes.
Verified
Four built-in tests check the solver against an exact scalar solution, the stationary limit, symmetry and positive semidefiniteness, and tolerance response on a six-storey model.
Scope
Linear systems, with nonlinear cases handled via equivalent linearization. First order. A dense core, so it is not intended for very large sparse models.
Availability
Free and open source under the MIT licence, with a 28-page manual.
Marano, G. C., Datta, G. & Sardone, L. (2026). Backward-Euler Matrix Lyapunov eq. Solver, v1.0.0. doi:10.5281/zenodo.22842946

