Sterman bathtub problem

Use this forum to post Vensim related questions.
Post Reply
benlevi
Junior Member
Posts: 2
Joined: Sun Jul 17, 2011 1:52 am

Sterman bathtub problem

Post by benlevi »

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
Attachments
Screen shot 2011-07-16 at 7.57.26 PM.png
Screen shot 2011-07-16 at 7.57.26 PM.png (32.49 KiB) Viewed 2060 times
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: Sterman bathtub problem

Post by tomfid »

Here's a little model that does what you're after, I think:
bathtub.mdl
(2.23 KiB) Downloaded 335 times
benlevi
Junior Member
Posts: 2
Joined: Sun Jul 17, 2011 1:52 am

Re: Sterman bathtub problem

Post by benlevi »

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.
Post Reply