Open valentinroussarie opened 1 year ago
Hey,
if you use the "Newton" method in the sfcr_baseline (sfcr_baseline(eqs, external, periods = 60, method = "Newton")) function the model is solveable, however not stable. I think that you need to add some initial values.
I am trying to do a simulation in a SFC input-output model with ecological restoration of environmental impacts. Nonetheless, whenever I try to run it, it always displays : error inv(): matrix is singular.
I attach the file. Does someone have a hint how to find where the problem comes from ? (I mean, what explains that the Jacobian matrix cannot be inverted).
I would be hugely thankful
Yours faithfully, Roussarie Valentin Script.txt