(function from pyomo.util.check_units)
pyomo.util.check_units
Raise an exception if the units are inconsistent within an expression, or not equivalent across all the passed expressions.
args (an argument list of Pyomo expressions) – The Pyomo expressions to test
pyomo.core.base.units_container.UnitsError –