idaes.ui package

Submodules

idaes.ui.report module

idaes.ui.report.active_equalities(blk)[source]

Generator returning active equality constraints in a model.

Parameters:blk – a Pyomo block in which to look for variables.
idaes.ui.report.active_equality_set(blk)[source]

Generator returning active equality constraints in a model.

Parameters:blk – a Pyomo block in which to look for variables.
idaes.ui.report.count_equality_constraints(blk)[source]

Count active equality constraints.

idaes.ui.report.count_free_variables(blk)[source]

Count free variables that are in active equality constraints. Ignore inequalities, because this is used in the degrees of freedom calculations

idaes.ui.report.degrees_of_freedom(blk)[source]

Return the degrees of freedom.

idaes.ui.report.fixed_variables(blk)[source]

Generator returning fixed variables in a model.

Parameters:blk – a Pyomo block in which to look for variables.
idaes.ui.report.free_variables(blk)[source]

Generator returning free variables in a model. same as unfixed

Parameters:blk – a Pyomo block in which to look for variables.
idaes.ui.report.free_variables_in_active_equalities_set(blk)[source]

Return a set of variables that are contined in active equalities.

idaes.ui.report.large_residuals(blk, tol=1e-05)[source]

Generator return active Pyomo constraints with residuals greater than tol.

Parameters:
  • blk – a Pyomo block in which to look for constraints
  • tol – show constraints with residuals greated than tol
idaes.ui.report.stale_variables(blk)[source]

Generator returning stale variables in a model.

Parameters:blk – a Pyomo block in which to look for variables.
idaes.ui.report.unfixed_variables(blk)[source]

Generator returning free variables in a model.

Parameters:blk – a Pyomo block in which to look for variables.
idaes.ui.report.variables_in_active_equalities_set(blk)[source]

Return a set of variables that are contined in active equalities.