System.j_update(models: OrderedDict, info=None)[source]#

Call the Jacobian update method for models in sequence.

The procedure is - Restore the sparsity pattern with andes.variables.dae.DAE.restore_sparse() - For each sparse matrix in (fx, fy, gx, gy), evaluate the Jacobian function calls and add values.


Updated Jacobians are immediately reflected in the DAE sparse matrices (fx, fy, gx, gy).