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
Undefined error
Undefined error
- Attachments
-
- bob.PNG (11.24 KiB) Viewed 6504 times
-
- Super Administrator
- Posts: 4847
- Joined: Wed Mar 05, 2003 3:10 am
Re: Undefined error
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?
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Undefined error
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
Phill
- Attachments
-
- Toursim Data.xlsx
- (109.63 KiB) Downloaded 517 times
-
- Accommodation - apartments.mdl
- (17.04 KiB) Downloaded 547 times
-
- Super Administrator
- Posts: 4847
- Joined: Wed Mar 05, 2003 3:10 am
Re: Undefined error
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
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Undefined error
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
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
Re: Undefined error

Thank you both for your time and your assistance.
Phill