create_access_function

(function from pyomo.dae.diffvar)

pyomo.dae.diffvar.create_access_function(var)[source]

This method returns a function that returns a component by calling it rather than indexing it