(function from pyomo.util.check_units)
pyomo.util.check_units
This function generates a ComponentSet of all Constraints, Expressions, and Objectives in a Block or model which have inconsistent units.
block (Pyomo Block or Model to test)
ComponentSet – identified as having unit consistency issues
contains all Constraints, Expressions or Objectives which were