Submitted:
24 October 2026
Posted:
27 October 2026
You are already at the latest version
Abstract
Revisiting stock-and-flow models is motivated by a recent publication that reported on the stability analysis in the simplest stock-and-flow diagram for a Sphagnum-type pine forest and indicated inconsistences in certain empirical data. To address the question of whether this discouraging result was due to oversimplifying the model, I examine here a diagram consisting of five compartments and apply the Svicobian notion in couple with its DaD-stability. The method of this analysis proves unexpectedly the same as that to certify the sign stability of a real n×n matrix and it does prove the pine forest Svicobian to be DaD-unstable. This instability entails quite definite conclusions for both the theory of compartment models and the practice of their applications.
Keywords:
compartment models
; stock-and-flow diagram
; ecosystem climax
; Svicobian matrices
; D-stability
; DaD-stability
; sign stability
; associate digraph
; Jeffries color test
; interval D-stability
1. Introduction
In our recent publication (Logofet and Maslov, 2026), we analyzed Lyapunov stability within a maximally simple model comprising just three compartments in the stock-and-flow diagram (SFD, Figure 1). We found that applying stability conditions to the empirical data (representing what the original authors considered the ecosystem's climax state, i.e., an equilibrium within the dynamic system) revealed a failure to satisfy the mass-balance conditions. This finding prompted searching for the causes of the discrepancy specifically through field studies. The model has so reached its methodology purpose in spite of its deliberate simplicity.
At the same time, we understood that the appropriate degree of model simplification can hardly be formalized, so that the 5-compartment model (Figure 2) needed to be tested in a similar way. However, the authors we criticized did understand this as well, and they directed their efforts toward refining the data collected earlier.
“The bottom line” of this entire off-stage discussion was our realizing the issue of sensitivity to the data precision as a subject to be studied mathematically, and the analysis of DaD-stability (Logofet, 1997, 1998) seems to be a highly suitable tool for this purpose.
A rigorous definition of DaD-stability will be given below in Section 2; for now, suffice it to say that DaD-stable schemes are far less sensitive to errors in empirical data than those merely stable in the Lyapunov sense.
2. DaD-Stability in General
Recall certain tenets of the classical Lyapunov stability (Wikipedia, 2026). If we have a system of n ≥ 3 (nonlinear in general) ODEs
with a sufficiently smooth right-hand side vector function f(…) and an equilibrium point x⋇ ∈ ℝn, then it is stable in the linear approximation when the entire spectrum of the Jacobian matrix
locates to the left of the imaginary axis in the complex plane:
Re λj(J) < 0, j = 1, …, n.
Such a matrix is also called stable.
Definition 2.1.
A real n×n matrix A is called D-stable if DA is stable for any positive diagonal D = diag{d1, d2, …, dn}, dj > 0 ∀j = 1, …, n (Quirk and Ruppert, 1965; Johnson, 1974; Datta, 1978).
Definition 2.2.
A real n×n matrix A is called additively D-stable, or aD-stable, if A − D is stable for any nonnegative diagonal D = diag{d1, d2, …, dn}, dj ≥ 0 ∀j = 1, …, n (Togawa, 1980; Johnson et al.,1985; Romanishin and Sinitskii, 2002; Kosov, 2010).
The original concept of matrix DaD-stability employs the notions of D- and aD-stability.
Definition 2.3.
A real n
×
n
matrix is called DaD-stable if it is both D- and aD-stable (Logofet, 1997, 1998, 2005).
The utility of this concept has revealed in applications such as Lotka–Volterra population equations (Volterra, 1931; Logofet, 1993, 2018) or compartment models of biogeochemical cycles (Logofet, 1997), which are considered in the next Section.
3. DaD-Stability in SFDs
When the task is to construct a mathematical model with an equilibrium state that corresponds to the given SFD, the solution to this problem depends naturally on how the flows depend on the stocks that are connected by them. The traditional representation of flows as linear functions of stocks (Cullen, 1985) fails to qualitatively reproduce all the variety of regimes required to capture ecological dynamics. Yuri M. Svireshev was the first who expanded the class of traditional linear flow descriptions up to nonlinear ones such as the so-called "Volterra" formulation, namely, to consider the flow to be proportional to the product of the compartment stocks the flow connects (Svirezhev, 1997). His approach mirrors how predator–prey interactions are described in the well-known Lotka–Volterra population equations (Volterra, 1931; Scudo, Ziegler, 1978) in addition to the first two traditional linear functions of stocks, i.e., donor-controlled or recipient-conrolled ones.
As a result, the system of model equations takes on the following form:
where q represents a vector of external system inputs, while the elements of matrices B and C are determined by simple formulas based on the given SDG (Zavalishin and Logofet, 1997).
It turned out (ibidem) that for a sufficiently broad subset of situations within the Svirezhev class of functions – specifically, when all inter-compartmental flows entering and leaving a given component depend non-trivially on that component's stock – the Jacobian matrix of system (4), linearized at the equilibrium point, takes on the following invariant form:
where:
A = (S − Q)D,
matrix S = FT – F is skew-symmetric by construction (T means transposition);
matrix F = [fij] represents the intercompartment flows of the given SFD ( fij: i ⟹ j);
diagonal matrix Q = diag{q)1, …, (qn} contains the values, qi ≥ 0, of permanent inputs;
represents the inverse values of equilibrium stocks, (Zavalishin and Logofet, 1997).
It would be natural to require matrix A to be indecomposable (or irreducible in some texts) and pattern-nonsingular, the latter being understood as the existence of a nonzero term in the standard expansion of det(A), the matrix determinant. Both conditions can be verified in terms of the directed graph (digraph) associated with the matrix (Harary et al., 1965; Berman and Hershkowitz, 1985; Logofet, 1993) and correspond to a certain structural integrity of the original model.
Definition 3.1. A real, indecomposable, and pattern-nonsingular matrix A of the form (5) is called a Svicobian if S is a skew-symmetric matrix while the diagonal matrices Q and D have nonnegative and positive main diagonals, respectively (Logofet, 1998).
All the Svicobians are proven to be Lyapunov semi-stable, i.e., Re λ(A) ≤ 0 (Zavalishin and Logofet, 1997).
Now, following Definitions 2.1 and 2.2, we comprehend quite a special meaning the D-stability and additive D-stability concepts take on for Svicobians, quite important for the SFD modelling practice. A D-stable Svicobian maintains its stability at any equilibrium stock values, hence the model being invulnerable to any errors in their practical estimations. Similarly, an additively D-stable Svicobian means invulnerability to errors in external inputs. Finally, the ultimate dream for a modeller is a DaD-stable Svicobian (Definition 2.3) invulnerable to the both kinds of error.
4. DaD-Stability Criterion for Svicobians
When the task is to verify whether a particular SFD model yields a DaD-stable Svicobian, it is time to put into practice the coherent theory from the previous Section. Unexpected but good news is that there exists a characterization, i.e., a practically applicable criterion for a Svicobian to be DaD-stable. It is equally unexpected and also good that the criterion has come from a related area – the analysis of the so-called sign stability of matrices, i.e., when the matrix remains Lyapunov stabile in spite of any quantitative variations of its elements albeit preserving the matrix sign pattern (Jeffries, 1974; Jeffries et al., 1977; Logofet, 1993, 2005). The criterion is formulated in terms of the digraph.
Definition 4.1. An associate digraph is said to pass the color test if all its nodes can be colored black and white to meet the following 4 rules:
1) all the nodes corresponding to negative diagonal elements are black;
2) there are white nodes;
3) each white node is connected to at least one other white node;
4) if a black node is connected to a white one, then it is also connected to another one or more white nodes.
Figure 3 illustrates the rules 1)–4) in the same order.
Theorem 4.2. If the digraph of a nonsingular Svicobian cannot be colored by the rules of black-and-white test then this Svicobian is DaD-stable (Logofet, 1978, Theorem 2).
Example 4.1 For the diagram shown in Figure 2, formula (5) yields the following matrix:
where the flows fij, i, j = 1, …, 5, and equilibrium stocks x*j , j = 1, …, 5, are positive quantities subject to empirical estimation.
Figure 4 presents the associate digraph of Svicobian (6) in possible colorings. Rule 4) is seen to be violated by nodes ③ and ④ in Figure 4a), hence Svicobian (6) might be DaD-stable according to Theorem 4.2. However, Figure 4b) shows an alternative coloring: rule 1) requires the nodes corresponding to negative diagonal elements to be black, but it does not prohibit the black color in other nodes. It means that Svicobian (6) does not possess DaD-stability. What it means for applications is discussed in the next Section.
5. Discussion
The “unexpected” application of the Jeffries color test in the analysis of Svicobian DaD-stability has actually a deep fundamental reason. The necessary conditions for an irreducible nonsingular matrix to be sign-stable preclude any cycles of length 3 or longer in its associate digraph (Quirk and Ruppert, 1965). As a result, the matrix was semi-stable in the sense that Re λ(A) ≤ 0 (Logofet, 1993), and Svicobians possess this exact same property (Zavalishin and Logofet, 1997). Robert M. May reformulated those necessary conditions in terms of community matrix (May, 1971, 1973,1974) and reduced species interaction types to prey–predator alone, hence to a skew-symmetric matrix.
In the linear approximation of a perturbed solution (e.g., ResearchGate, 2015), there may be exponentials with negative or purely imaginary exponents, and the color test provides the necessary conditions for the latter to exist. Therefore, if the test fails then Re λ(A) < 0, hence Lyapunov stable equilibrium remains the only option both for the community matrix and Svicobians.
Unfortunately, Svicobian (6) turned out to be DaD-unstable. Fortunately, the concept of DaD-stability allows inherently for any, whatever large, variations in stocks and flows as explained at the end of Section 3. In practice, however, experts might limit those variations to certain estimates, while matrix theory does offer a refinement of the DaD-stability concept, in particular, relaxing requirements regarding stock levels.
Definition 5.1. Consider a matrix box of the form:
Θ = diag{dj}: 0 < θ1j ⩽ dj ⩽ θ2j < +∞, j = 1, … , n.
A real n×n matrix A is called interval D-stable if DA is stable for every matrix D ∈ Θ (Kushel, 2019, 2025). An expert who has been studying a given object for a long enouh time may well assign the intervals, (θ1j, θ2j), of values for empirical estimates. Our practice now motivates developing a new concept of DaD stability that would narrow the intervals for the flow values.
6. Conclusions
Revisiting stock-and-flow models has revealed some new problems indeed. DaD-stability analysis of the SFDs has turned out reducible to the DaD-stability problem for Svicobians, while the latter proves to share a common criterion with the sign-stability of real n×n matrices, so-called the Jeffries’s color test. The criterion has proved the Pine Forest Svicobian to be DaD-unstable, thereby decreasing the model’s invulnerability to errors in the empirical data. In practice, however, this decrease is by no means crucial and can be expert-reduced to certain intervals for empirical assessments. The novel concept of matrix interval D-stability addresses this challenge with regard to estimating the magnitude of stocks, and the task for future research is to develop an analogous concept for flows, or for both.
Author Contributions
D. Logofet is the sole author who did everything himself.
Funding
The study has been done within the State assignments of the A.M. Obukhov Institute of Atmospheric Physics, Russian Academy of Sciences, FMWR-2025-0004.
Acknowledgments
Symbolic matrix calculations are performed in Matlab®, version R2022b. Author thanks Alexander A. Maslov for the idea to look for stability concepts that might cope with uncertainty in data.
Conflicts of Interest
The author declares no conflict of interest. The funder had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing the manuscript, or in the decision to publish the results.
References
- Berman, A. and Hershkowitz, D. Graph theoretical methods in studying stability. Contemp. Math., 1985, 47(1), 1–6. [CrossRef]
- Cullen, M.R. Linear Models in Biology. Ellis Horwood: Chichester, 1985.
- Datta, B.N. Stability and D-stability. Linear Algebra Appl., 1978, 21(2), 135–141.
- Harary, F., Norman, R.Z., Cartwright, D. Structural Models: An Introduction to the Theory of Directed Graphs. New York: John Wiley, 1965 (Chapter 7).
- Jeffries, C. Qualitative stability and digraphs in model ecosystems. Ecology, 1974, 55(6), 1415–1419.
- Jeffries, C., Klee, V., Van den Driessche, P. When is a matrix sign stable? Can. J. Math.,1977, 29(2), 315–326.
- Johnson, C.R. Sufficient conditions for D-stability. J. Econom. Theory, 1974, 9 (1), 53–62.
- Johnson, C.R., Olesky, D.D., and Van den Driessche, P. Stability of M-matrix products. Linear and Multilinear Algebra, 1985,18 (1), 67–76. http://hdl.handle.net/1828/2609.
- Kosov, A.A. On the D-stability and additive D-stability of matrices and Svicobians. J. Appl. Ind. Math., 2010, 4, 200–212. [CrossRef]
- Kushel, O.Y. Unifying matrix stability concepts with a view to applications. SIAM Review, 2019, 61(4), 643–729. [CrossRef]
- Kushel, O.Y. Interval D-stability of 3×3 matrices. Proceedings of the Institute of Mathematics of Belarus Nat Acad. Sci, 2025, 33(1), 1–22.
- Logofet D.O. Matrices and Graphs: Stability Problems in Mathematical Ecology. Boca Raton, FL: CRC Press, 1993. Reprinted in 2018. [CrossRef]
- Logofet, D.O. Svicobians of the compartment models and DaD-stability of the Svicobians: Aggregating ‘0-dimensional’ models of global biogeochemical cycles. Ecological Modelling, 1997, 104 (1), 39–49. [CrossRef]
- Logofet, D.O. Svicobians of the compartment models and DaD-stability of the Svicobians. Doklady Mathematics, 1998, 57, 371–373.
- Logofet, D.O. Stronger-than-Lyapunov notions of matrix stability, or how “flowers” help solve problems in mathematical ecology. Linear Algebra and its Applications, 2005, 398 (2), 75–100. [CrossRef]
- Logofet, D.O.; Maslov, A.A. Sphagnum-type pine forest in a raised bog: is the balance model balanced? Biol. Bul. Rev. 2026, 16(2), 135–144. [CrossRef]
- May, R.M. Stability in model ecosystems. Quant. Ecol., 1971,6(1), 18–56.
- May, R.M. Qualitative stability in model ecosystems. Ecology, 1973, 5(5), 638–641.
- May, R.M. Stability and Complexity in Model Ecosystems (Monographs in Population Biology, vol.6), 2nd ed., Princeton, NJ: Princeton Univ. Press, 1974.
- Quirk, J.P., and Ruppert, R. Qualitative economics and the stability of equilibrium. Rev. Econom. Studies, 1965, 32 (4), 311–326. [CrossRef]
- ResearchGate, 2015. Regular Perturbation of Ordinary Differential Equations. [CrossRef]
- Romanishin, I.M., Sinitskii, L.A. On the additive D-stability of matrices on the basis of the Kharitonov criterion. Mathematical Notes, 2002, 72(2), 237–240. DOI:. [CrossRef]
- Svirezhev, Yu.M. On some general properties of tropic networks. Ecological Modelling, 1997, 94, 209–214. [CrossRef]
- Togawa, Y. A geometrical study of the D-stability problem. Linear Algebra Appl., 1980, 33, 133–151. [CrossRef]
- Scudo, F.M., Ziegler, J.R. The Golden Age of Theoretical Ecology: 1923–1940. A Collection of Works by V. Volterra, V.A. Kostitzin, A. A. Lotka, A.N. Kolmogoroff. (Lecture Notes in Biomathematics, vol. 22) Springer: Berlin, 1978, 490 pp.
- Volterra, V. Lessons on the Mathematical Theory of Struggle for Life (Original: Leçons sur la théorie mathématique de la Lutte pour la vie). Paris: Gauthier-Villars, 1931. https://www.scirp.org/reference/ReferencesPapers?ReferenceID=1457884.
- Wikipedia, 2026. https://en.wikipedia.org/wiki/Lyapunov_stability.
- Zavalishin, N.N., and Logofet, D.O. Modelling ecological systems by a given “storage-flow” diagram. Matematicheskoe modelirovanie (Mathematical modeling), 1997, 9(9), 3–17 (in Russian, with English summary). https://www.mathnet.ru/rus/mm1453.
Figure 1.
Simplified version of the diagram shown in Figure 2.
Figure 1.
Simplified version of the diagram shown in Figure 2.

Figure 2.
Stock–flow diagram (5 blocks): N1, pine stand; N2, coarse woody debris (CWD); N3, dwarf shrubs and grasses; N4, mosses and lichens; N5, litter and active peat layer; f05, atmospheric input; f12, pine litter; f15, needle litter; f25, CWD mineralization; f35, grass and dwarf shrub litter; f45, moss and lichen litter; f50, humification and burial; f51, consumption by stand; f53, consumption by grasses and dwarf shrubs; f54, consumption by mosses and lichens.
Figure 2.
Stock–flow diagram (5 blocks): N1, pine stand; N2, coarse woody debris (CWD); N3, dwarf shrubs and grasses; N4, mosses and lichens; N5, litter and active peat layer; f05, atmospheric input; f12, pine litter; f15, needle litter; f25, CWD mineralization; f35, grass and dwarf shrub litter; f45, moss and lichen litter; f50, humification and burial; f51, consumption by stand; f53, consumption by grasses and dwarf shrubs; f54, consumption by mosses and lichens.

Figure 3.
Four rules of the Jeffries color test. Udirected edge represents two oppositely directed arcs in the digraph.
Figure 3.
Four rules of the Jeffries color test. Udirected edge represents two oppositely directed arcs in the digraph.

Figure 4.
Coloring options for the digraph of Svicobian (6). Explanations in the text.

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 (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.