In John Sterman's lecture, "Reflections on becoming a system scientist" (2002), he mentions a problem he gave to his students about a bathtub. He showed a graph of the inflow as a graph, which I'm attaching. I'm brand new to Vensim and am trying to figure out how to model this simple bathtub problem, and I can't figure out how to model the graph as the Inflow. I've read the VensimPLE tutorial, which kind of explains how to use a variable that's a Lookup with a graph, and I've also looked at the Time shadow variable, but I can't figure out where to input the graph, and once I've input the graph [ ([(0,0)-(16,100)],(0,100),(4,0),(8,100),(12,0),(16,100) ) ], I don't know how to reference it correctly. Can someone please point me in the right directions?
Many thanks,
Ben
Sterman bathtub problem
Sterman bathtub problem
- Attachments
-
- Screen shot 2011-07-16 at 7.57.26 PM.png (32.49 KiB) Viewed 2060 times
Re: Sterman bathtub problem
Here's a little model that does what you're after, I think:
/*
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
*/
Re: Sterman bathtub problem
Thank you for the assistance. I don't think I would have been able to figure that out from any of the documentation that I've found.