 Throughout this class, we're going to be using a series of computer models to Explore some things about climate and our consumption of energy and the economic consequences all these things And so I thought it would be helpful to begin with an explanation of what a Stella model is And so you can see how they're made and how they work and so forth. So Stella models begin with some kind of a Conceptual diagram of the system that you're going to try to represent so over here is a drawing a simple drawing of a water tub It's got water in it. It has a faucet pouring water in and water leaves a tub via this drain here So there are some Mathematical relationships here between you know the area of the base of the tub and the amount in there and the depth of water in the tub The depth of water in the tub then controls the velocity of water going out the drain that times the drain area tells you the amount of water leaves In a given period of time So anyway, there's the the conceptual model. Here's what it looks like in Stella Here this square thing here. We call a reservoir a stock. That's where the water in the tub is recorded And if I click on that You can see we've entered point five cubic meters of water, that's the starting amount of water in there This this entity here is called a flow It's just like a pipe that that allows water to flow into the tub and that has a specified rate It's point two five cubic meters per minute And that's a constant value And the drain on the other hand is not a constant value. It's defined as the velocity at the drain times the area of the drain The area of the drain is defined over here by another equation that involves the drain radius the velocity of the drain here is This thing it's something called Torre celli's law Gravity here is a constant The area the base of the tub is something that is a constant that we'll start off with as point to five and The depth of water here is just the water in the tub divided by the area the base of the tub Okay, so that's the way the model is set up So you build the thing here and you enter in the equations and values for all these things and then then you're set to go And so we can run this model now and what that means is we we kind of start the clock ticking We are going to pour in water at a given rate a specified rate through the faucet We'll let it drain out according to that equation and we'll see what happens So here we're going to run this for 30 minutes And we just click the run button here and you can see very quickly it calculates this The blue curve here is the water in the tub remember we started off with point five cubic meters And it rises up to something close to about point nine cubic meters and see how it rises up quickly at first But then it levels off and approaches a kind of a steady state And that's because the the water leaving the drain is Rising and rising and rising Until it becomes essentially equal with the amount of water flowing in the faucet So at that at that point in time the water coming in is equal to the water going out So there's really no change in the amount of water the volume of water in the tub here itself this interface to the model here includes some little knobs and Things that you can adjust so I can change the drain radius. We can see what happens if we Change the radius of the drain a little bit increase it there There it levels off at a much lower value point five cubic meters in the tub if I Decrease that somewhat Say to there You can see what happens there. It doesn't even in this time period Level off entirely. It's already up to more than three Cubic meters, so we're gonna have a lot of water in the tub at that point And you can reset those things by hitting the you buttons there So this is you know, this is how you operate these models This is how you interact with them Just remember that if you're looking at an interface like this just know that behind the scenes kind of underneath the hood There is something like this this diagram that lays out the logic and the structure of this System that the computer uses to kind of mathematically solve them the evolution of this system over time