as_quantity

(function from pyomo.core.base.units_container)

pyomo.core.base.units_container.as_quantity(expr)[source]