https://www.ednasia.com/using-the-substitution-theorem-to-derive-thevenin-resistance-values-with-spice/
Using the substitution theorem to derive Thevenin resistance values with SPICE