(function from pyomo.dae.misc)
pyomo.dae.misc
Adds the discretization equations for DerivativeVar d to the Block block. Because certain indices will be valid for some discretization schemes and not others, we skip any constraints which raise an IndexError.