Git

Use this forum to post Vensim related questions.
Post Reply
aliakhavan89
Senior Member
Posts: 91
Joined: Sun Oct 21, 2018 7:09 am
Vensim version: DSS

Git

Post by aliakhavan89 »

Dear all,

I hope this message finds you well. When models get huge, tracking a single change will become extremely challenging. In this regard, I searched a little bit and figured out that Git can read .mdl files (since they are in text format), and can keep track of different versions and history of changes.

However, it is not a straightforward process and needs some modifications. Also, there might be some problems with the way that Vensim reorders the equations each time a model is saved. By the way, I was wondering if somebody has a similar experience so that we can share our thoughts about this.

I thought that there could be potentials in the long-term to integrate these features within the software so that tracking with Git can be automatically done. This is the same as what R can do.

I can share some screenshots later. Let me know your thoughts.

Kind regards,
Ali
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Git

Post by Administrator »

Click Model->Reform/Clean. Now set the equation ordering as alphabetical and tick "Reform/Clean on model save". This should help a lot as the model will now always have the same equation ordering.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
tomfid
Administrator
Posts: 3804
Joined: Wed May 24, 2006 4:54 am

Re: Git

Post by tomfid »

Or update your version - newer ones do this automatically.
aliakhavan89
Senior Member
Posts: 91
Joined: Sun Oct 21, 2018 7:09 am
Vensim version: DSS

Re: Git

Post by aliakhavan89 »

These are very helpful. I will try to find a proper workflow relating to Git and will share my findings later.
Post Reply