Sub-model: working model and graphical presentation of sub-model connection?

Use this forum to post Vensim related questions.
Post Reply
rubynguyen
Junior Member
Posts: 14
Joined: Mon Apr 18, 2016 4:33 pm
Vensim version: DSS

Sub-model: working model and graphical presentation of sub-model connection?

Post by rubynguyen »

Hello,
I'm looking at some example models trying to understand if the model structure changes with and without using sub-models. However, neither of the example models work and their structures are exactly the same. Could I have two working models for comparison? I'm attaching non-working examples here.

Another question I have is whether Vensim provides a graphical presentation of how different sub-models are linked via which variables. I used other software and this can be done easily but the tutorial on Vensim is somewhat limited. Any help is highly appreciated. Thank you!

Ruby
Attachments
market_model_original.mdl
(29.59 KiB) Downloaded 153 times
Market_model.mdl
(24.44 KiB) Downloaded 127 times
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Sub-model: working model and graphical presentation of sub-model connection?

Post by Administrator »

market_model_original runs for me. What errors are you getting?

market_model should have some additional models with it. Do you have them in the same folder?
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: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Sub-model: working model and graphical presentation of sub-model connection?

Post by tomfid »

There isn't yet an automated graphical representation, but it's on our todo list.
rubynguyen
Junior Member
Posts: 14
Joined: Mon Apr 18, 2016 4:33 pm
Vensim version: DSS

Re: Sub-model: working model and graphical presentation of sub-model connection?

Post by rubynguyen »

I ran the market_model in the same folder of Vensim sample model where "advertising" and "products" are stored.
The errors I got:
1. The variable "Products" and perhaps others require a data file to be specified.
2. Unable to correctly load in exogenous values - aborting.

Am I suppose to make the connections between the sub-models and the main model? I was under the assumption that the work has been done for me.
Thank you!
LAUJJL
Senior Member
Posts: 1421
Joined: Fri May 23, 2003 10:09 am
Vensim version: DSS

Re: Sub-model: working model and graphical presentation of sub-model connection?

Post by LAUJJL »

Yes, you have to make the connections by yourself between the main model and the submodels and it will then work. JJ
Saha
Junior Member
Posts: 7
Joined: Wed Mar 22, 2023 8:00 pm
Vensim version: PLE

Re: Sub-model: working model and graphical presentation of sub-model connection?

Post by Saha »

I get the same error message. How should I make this connection?
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Sub-model: working model and graphical presentation of sub-model connection?

Post by Administrator »

Saha wrote: Wed Mar 22, 2023 8:11 pm I get the same error message. How should I make this connection?
You need Vensim DSS/Pro for sub-models.
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
Post Reply