Undefined error

Use this forum to post Vensim related questions.
Post Reply
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Undefined error

Post by Phill »

Hello,

I'm encountering an error I don't understand when I try to simulate a model with an attached Excel data sheet. The error appears while the run is setting up and is a message box simply saying 'bob.'. An image of the error is attached. No other information is available and i can't find any reference to this in the Vensim manuals or help files and I'd be very grateful if someone could help.

Phill
Attachments
bob.PNG
bob.PNG (11.24 KiB) Viewed 6503 times
Administrator
Super Administrator
Posts: 4847
Joined: Wed Mar 05, 2003 3:10 am

Re: Undefined error

Post by Administrator »

I cannot find anywhere in the code where a message like that would be displayed.

Can you post the model and spreadsheet to see if I can find it?

And are you using external functions?
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
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Re: Undefined error

Post by Phill »

The model and the Excel file are attached. I realise they're not complete, but I'm interested to know what is giving that error.

Phill
Attachments
Toursim Data.xlsx
(109.63 KiB) Downloaded 517 times
Accommodation - apartments.mdl
(17.04 KiB) Downloaded 547 times
Administrator
Super Administrator
Posts: 4847
Joined: Wed Mar 05, 2003 3:10 am

Re: Undefined error

Post by Administrator »

What steps are you taking to get the error? When I try and simulate, all I get is the "This model has errors and cannot be simulated" error.
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
Wilson
Administrator
Posts: 51
Joined: Thu Mar 06, 2003 5:05 am

Re: Undefined error

Post by Wilson »

Hi Phil,

That's not an error message.

Your model is using the Vensim MESSAGE function. When you simulate the model, the criteria for displaying the message are met and so it appears on screen.

Have a look at the variables:

AptMessageString
AptDisplayMessage

Wilson
Phill
Senior Member
Posts: 156
Joined: Wed Jun 04, 2014 2:18 pm
Vensim version: DSS

Re: Undefined error

Post by Phill »

:oops: Thank you Wilson! When I saw the box was marked 'Message from Vensim' I assumed it was a system message resulting from an error. I think I got myself into a positive feedback loop trying to work out what the error was!

Thank you both for your time and your assistance.

Phill
Post Reply