check_units
Pyomo Units Checking Module This module has some helpful methods to support checking units on Pyomo module objects.
Functions
This method raises an exception if the units are not consistent on the passed in object. |
|
|
Raise an exception if the units are inconsistent within an expression, or not equivalent across all the passed expressions. |
|
Returns True if the units associated with each of the expressions passed as arguments are all equivalent (and False otherwise). |
|
This function generates a ComponentSet of all Constraints, Expressions, and Objectives in a Block or model which have inconsistent units. |