Converting INITIAL to AUXILIARY globally
Posted: Wed Feb 14, 2018 3:16 pm
Is there a way to wholesale/globally convert all instances of INITIAL variables to AUXILIARY?
or
Is there a way to prevent the "\" line breaks from being automatically inserted when going from Sketch mode to text mode? If I can suppress the auto-linebreaks, then I can use Excel to remove the "INITIAL(" and the ")" from the following line and convert the variables to AUXILIARY.
If it matters, I want to do this because:
I have a large vensim model (En-ROADS) that is used with it's Vensim interface as well as with a Forio UI. So I don't want to mess up the Vensim model. I want to make a "Forio-ready" version when I need it.
For the Forio UI, when there is a variable that is designated as an INITIAL that is between the input variable and the output variable on a graph or table, the model doesn't work in Forio. There are ~300 variables that are assigned as INITIAL which makes changing them each to AUXILIARY not feasible. The model is complex wich makes tracing each input (there are about 150 inputs) to find out which has an INITIAL between it and the output graph or table not feasible. I'm not at a skill level with Excel to make a parser that can deal conditionally with removing a ")" that is on a line that isn't the next line after the occurence of the "INITIAL(" which is where the parser that inserts "\" gets in my way.
My plan was to gather all the INITIAL variables into one .GROUP and then when I need to upload a new version of the Vensim model to the Forio UI, I would remove the "INITIAL(" and the ")" and then upload it into Forio. But I don't want to do this permanently to the model-- only when I need a copy for the Forio UI. I process the model to have "GAME(" for each of the input variables which I don't want in the parent model.
Any suggestions welcome. This is unfortunately a showstopper at this point.
or
Is there a way to prevent the "\" line breaks from being automatically inserted when going from Sketch mode to text mode? If I can suppress the auto-linebreaks, then I can use Excel to remove the "INITIAL(" and the ")" from the following line and convert the variables to AUXILIARY.
If it matters, I want to do this because:
I have a large vensim model (En-ROADS) that is used with it's Vensim interface as well as with a Forio UI. So I don't want to mess up the Vensim model. I want to make a "Forio-ready" version when I need it.
For the Forio UI, when there is a variable that is designated as an INITIAL that is between the input variable and the output variable on a graph or table, the model doesn't work in Forio. There are ~300 variables that are assigned as INITIAL which makes changing them each to AUXILIARY not feasible. The model is complex wich makes tracing each input (there are about 150 inputs) to find out which has an INITIAL between it and the output graph or table not feasible. I'm not at a skill level with Excel to make a parser that can deal conditionally with removing a ")" that is on a line that isn't the next line after the occurence of the "INITIAL(" which is where the parser that inserts "\" gets in my way.
My plan was to gather all the INITIAL variables into one .GROUP and then when I need to upload a new version of the Vensim model to the Forio UI, I would remove the "INITIAL(" and the ")" and then upload it into Forio. But I don't want to do this permanently to the model-- only when I need a copy for the Forio UI. I process the model to have "GAME(" for each of the input variables which I don't want in the parent model.
Any suggestions welcome. This is unfortunately a showstopper at this point.