## 3 Stability Preserving Criterion
### Stability Index  
The Lyapunov analysis demonstrated the importance of the \(v_{\rm min}\) term (Equation (3)) in a DC microgrid supplying a CPL. As shown in Figure 6, this parameter represents the lowest voltage margin for a specific DC power system (with given \(r\), \(l\), and \(c\) parameters) supplying a CPL with power \(p\) and working in steady state at the voltage \(v_{0}\). In this regard, it is possible to define the distance \(\Delta\) between the equilibrium point \(v_{0}\) and the lower bound \(v_{\rm min}\) as a conservative stability index. In fact, any perturbation capable of moving the voltage state inside the area defined by \(\Delta\) does not jeopardize the system stability, as the Lyapunov conservative condition is still verified. As previously mentioned, the battery voltage reduction (due to SoC decrease) is responsible for an operating point shift toward the upper left-hand side of the \(v\)-\(i\) state plane (\(v_{0}\) decreases and \(i_{0}\) increases), due to the relationship between supply voltage and absorbed current in a CPL. Moreover, the \(v_{0}\) drop determines an increase in the \(v_{\rm min}\) limit, as highlighted by Equation (3), which, in turn, leads to a further reduction of \(\Delta\). As this behavior is particularly important for the stability issue, the following mathematical study aims to demonstrate the relationship between the bus voltage decrease and the stability index \(\Delta\) shrinking. To study this issue, it is necessary to define the parameter \(e_{0t}\), which is the battery voltage needed to supply the CPL rated power (\(p=1\) p.u.) at the rated load voltage (\(v_{0}=1\) p.u.). This parameter is representative of an optimistic scenario, with a fully charged battery. Conversely, in normal operating conditions, the battery SoC is lower, thus leading to a lower battery voltage \(e_{0}\), which can be represented as a percentage (\(e_{\%}\)) of the full charge voltage \(e_{0t}\). By observing Figure 2 and assuming the steady-state condition, the battery voltage \(e_{0}\) is defined through Equation (4). \[e_{0}=v_{0}+r\frac{p}{v_{0}}=e_{0t}e_{\%}. \tag{4}\]  
By rearranging the second equality of Equation (4), it is possible to derive Equation (5), and then obtain the second-order Equation (6) by multiplying Equation (5) with the unknown quantity \(v_{0}\). \[v_{0}-e_{0t}e_{\%}+r\frac{p}{v_{0}}=0. \tag{5}\]  
\[v_{0}^{2}-e_{0t}e_{\%}v_{0}+rp=0. \tag{6}\]  
By neglecting negative roots, the steady-state voltage \(v_{0}\) results in Equation (7), while the total battery voltage \(e_{0t}\) is defined in Equation (8), once the rated condition (\(p=v_{0}=1\) p.u.) and full battery (\(e_{\%}=1.0\)) are applied to Equation (4):  
\[v_{0}=\frac{e_{0t}e_{\%}+\sqrt{\left(e_{0t}e_{\%}\right)^{2}-4 rp}}{2}. \tag{7}\]  
\[e_{0t}=1+r. \tag{8}\]  
Assuming a variable \(e_{\%}\), Equations (7) and (8) can be used to delineate the \(v_{0}\) voltage shift in the presence of different load powers. Consequently, the lower bound \(v_{\rm min}\) corresponding to each \(v_{0}\) value can be determined using Equation (3), whereas the stability index \(\Delta\) can be found with Equation (9). \[\Delta=v_{0}-v_{\rm min}=v_{0}-\frac{pl}{rcv_{0}}. \tag{9}\]  
The equations explained so far allow the drawing of Figure 7, where the gradual contraction of \(\Delta\) is made evident in response to \(e_{\%}\) decrease. In particular, for the system under study, the \(v_{0}\) curve intersects the \(v_{\rm min}\) trace (i.e., \(\Delta=0\)) for \(e_{\%}\approx 0.83\) in the case of rated power (blue curve). At this specific point, both the large- and the small-signal stability are impaired. \[\Delta=0\to v_{0}=v_{\rm min}\to v_{0}=\frac{pl}{rcv_{0}}\to v_{0}=\sqrt{\frac {pl}{rc}}. \tag{10}\]  
On the contrary, for smaller values of CPL power \(p\) (black/red curves), larger values of \(\Delta\) are assured along the \(e_{\%}\) drop, thus revealing a possible strategy for ensuring a sufficient stability margin.