get_inconsistent_initial_conditions

(function from pyomo.dae.initialization)

pyomo.dae.initialization.get_inconsistent_initial_conditions(model, time, tol=1e-08, t0=None, allow_skip=True, suppress_warnings=False)[source]

Finds constraints of the model that are implicitly or explicitly indexed by time and checks if they are consistent to within a tolerance at the initial value of time.

Parameters:
  • model – Model whose constraints to check

  • time – Set whose initial condition will be checked

  • tol – Maximum constraint violation

  • t0 – Point in time at which to check constraints

Returns:

List of constraint data objects that were found to be inconsistent.