Vensim2MTK.file_generationFunction

This function generate the String of the ModelingToolkit model translated from julia. One just need to paste it into a blank file to make it work. it works like this: using the XML.jl module, it parse the input xml (or xmile) file found at "filepath" into a tree; then, it seperate this tree into 4 sections: -the variables that will be derived in the model, those need initial values -the variables used in the model that will not be derived (except those containing a "smooth" function) and their equations -the tables (section necessary for information separation, if the model contain no table, it is necessary to add one, that can be blank) -and the parameters, along with their values.

after this, the equations are changed from Vensim to ModelingToolkit syntax; and then the string is constructed.