wrapped up as dae equation