autoreduce.reductions.conservation.find_conserved_sets

find_conserved_sets(system_obj, conservation_search_depth=None, num_conservation_laws=None, **kwargs)[source]

Find conserved species sets by summing ODE terms.

Only linear combinations with coefficient 1 are currently supported. conservation_search_depth is the maximum number of ODE terms to add while searching for sums that cancel to zero.

num_conservation_laws is retained as a legacy alias for conservation_search_depth; it was never strictly the number of laws.