fixed DVE model generation to make it work with the graph generation functions