*/
static void writeParametricAnalysisInfos(Document doc, Node guiNode, CommonModel model) {
Element parametric;
if (model.isParametricAnalysisEnabled()) {
ParametricAnalysisDefinition pad = model.getParametricAnalysisModel();
int result = pad.checkCorrectness(false);
//if the parametric analysis model is not consistent with the model..
if (result != 0) {
int choice = JOptionPane.showConfirmDialog(null,
"The parametric analysis model is not consistent with the simulation model, try to change it?", "JMT - Warning",
JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);