Hello,
I'm working on a simple model to calculate end of life vehicles based on sales. When I used other SD software, I was able to have subscripts as number, and made use of time to spread out the sales by year. However, because Vensim subscripts only accept text, I have to work around by entering a function for each subscript, which is time consuming. Another issue is that I also have to track vehicle age by using a stock, instead of having age as a subscript like the other software.
Is there a better way to model this other than my work around approach? Any feedback is highly appreciated. Thank you!
Ruby
Spreading subscript elements over time
-
- Junior Member
- Posts: 14
- Joined: Mon Apr 18, 2016 4:33 pm
- Vensim version: DSS
Spreading subscript elements over time
- Attachments
-
- vehicle mortality test.mdl
- (6.97 KiB) Downloaded 281 times
-
- Super Administrator
- Posts: 4827
- Joined: Wed Mar 05, 2003 3:10 am
Re: Spreading subscript elements over time
There is a sample model that ships with Vensim that should help.
On the Mac, you will find it at
/Users/Shared/Vensim/Help/HTML/Models/Sample/EXTRA/TUBS.MDL
on Windows, it's something like
c:\users\public\Vensim\Help\HTML\Models\Sample\EXTRA/TUBS.MDL
This model is what I always start with if I'm looking to capture the ageing process. Tubs is a set of bathtubs that fill sequentially, but it's easy to extend this to an age structure and move everything from one "age" to another after a fixed period of time.
There are also a lot of hits on Google if you search for cohort and Vensim.
On the Mac, you will find it at
/Users/Shared/Vensim/Help/HTML/Models/Sample/EXTRA/TUBS.MDL
on Windows, it's something like
c:\users\public\Vensim\Help\HTML\Models\Sample\EXTRA/TUBS.MDL
This model is what I always start with if I'm looking to capture the ageing process. Tubs is a set of bathtubs that fill sequentially, but it's easy to extend this to an age structure and move everything from one "age" to another after a fixed period of time.
There are also a lot of hits on Google if you search for cohort and Vensim.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Super Administrator
- Posts: 4827
- Joined: Wed Mar 05, 2003 3:10 am
Re: Spreading subscript elements over time
PS. You might want to look at Ventity as well which handles this kind of thing much easier.
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Junior Member
- Posts: 14
- Joined: Mon Apr 18, 2016 4:33 pm
- Vensim version: DSS
Re: Spreading subscript elements over time
Thank you, Admin! I've been thinking about Ventity as well. One general question: once switched to Ventity, is there a reason to come back to Vensim? In other words, is Ventity an improvised version of Vensim? Will Ventana plan on supporting both or eventually will only support Ventity? Thanks!
Re: Spreading subscript elements over time
Both will be supported for the foreseeable future.
They have different strengths. If you have data with a sparse or ad hoc key structure, or you need dynamic creation/deletion of entities, Ventity makes a lot of sense. But Vensim has some unique capabilities as well, including richer optimization options, web publishing, and simultaneous equation solving.
They have different strengths. If you have data with a sparse or ad hoc key structure, or you need dynamic creation/deletion of entities, Ventity makes a lot of sense. But Vensim has some unique capabilities as well, including richer optimization options, web publishing, and simultaneous equation solving.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/