create_access_function

(函数来自 pyomo.dae.diffvar)

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

此方法返回一个函数,该函数通过调用而不是索引来返回组件