The approach to find a consistent projection of state variables onto a DAE manifold consists of two distinct parts. First, all equations and variables are classified, specified by Algorithm 1. All equations that are a function of rate variables, , are assigned to f and the remaining equations constitute h. Equations in h that are no function of y can be differentiated without introducing new variables, and, therefore, are marked ,otherwise they belong to .All state variables x in are marked . The variables in that have not been marked are assigned to and . Any remaining variables are present in f but not in h and are marked .
Next, the algebraic variables are solved from f by partitioning the system of equations f and h such that is isolated. The procedure is described in the previous section and summarized by Algorithm 2.