(function from pyomo.dae.misc)
pyomo.dae.misc
This method returns a function that returns a component by calling it rather than indexing it