Presentation is loading. Please wait.

Presentation is loading. Please wait.

Energy and Economics Simulation Computer App Session 8.

Similar presentations


Presentation on theme: "Energy and Economics Simulation Computer App Session 8."— Presentation transcript:

1 Energy and Economics Simulation Computer App Session 8

2 Energy and Economics Simulation Learning Objectives: I can research information on the web to be used in a simulation. I can research information on the web to be used in a simulation. I will create a simulation that has money in its model. I will create a simulation that has money in its model.

3 What are some simulation games that use money? Farmville Farmville SIMS games SIMS games Zoo Tycoon Zoo Tycoon Rollercoaster Tycoon Rollercoaster Tycoon Explain how money is used in these games.

4 Your turn: Go to: https://scratch.mit.edu/projects/50128898/ https://scratch.mit.edu/projects/50128898/ Click “see inside” Click “remix”

5 Energy and Money Simulation This is a simple simulation that allows you to build coal plants and wind farms and then you get to see how much energy and carbon dioxide (CO 2 ) they produce. This is a simple simulation that allows you to build coal plants and wind farms and then you get to see how much energy and carbon dioxide (CO 2 ) they produce.

6 Notice that: Energy is in megawatts, money is in million US dollars, and CO 2 is in billion pounds. Energy is in megawatts, money is in million US dollars, and CO 2 is in billion pounds. Every second, 0.1 years passes. You have 5 years to get as much energy as you can. Every second, 0.1 years passes. You have 5 years to get as much energy as you can.

7 Hold your mouse over part of the screen and type “W”. This buys a wind farm and puts it at that location. Your money goes down a little and you start producing energy. You are not producing CO 2. Hold your mouse over part of the screen and type “W”. This buys a wind farm and puts it at that location. Your money goes down a little and you start producing energy. You are not producing CO 2. Hold your mouse over part of the screen and type “C”. This buys a coal plant and puts it at that location. Your money goes down a lot and you start producing a lot of energy. You start producing CO 2. Hold your mouse over part of the screen and type “C”. This buys a coal plant and puts it at that location. Your money goes down a lot and you start producing a lot of energy. You start producing CO 2. As you produce energy, you get more money to spend on wind farms and coal plants. As you produce energy, you get more money to spend on wind farms and coal plants.

8 Let’s Analyze the Simulation Note that the script for the coal plant is very simple: when I start as a clone, go to the mouse pointer. The script for the wind farm is exactly the same. Note that the script for the coal plant is very simple: when I start as a clone, go to the mouse pointer. The script for the wind farm is exactly the same. Where is the model with all the equations? Where is the model with all the equations?

9 The stage is where the code for the model is! When the “w” is pressed, a wind farm is created. Here is the code: When the “w” is pressed, a wind farm is created. Here is the code:

10

11 When “c” is pressed, a coal plant is created. Here is the code: It’s exactly the same as the wind farm code, except it costs 2 billion dollars (2000 million) to build a coal plant. It’s exactly the same as the wind farm code, except it costs 2 billion dollars (2000 million) to build a coal plant. The other script The other script has more equations! has more equations!

12

13 There are also some yellow blocks. These are comments. The computer ignores them, but they are useful to someone looking at the code. They are being used to explain the units on the variables. There are also some yellow blocks. These are comments. The computer ignores them, but they are useful to someone looking at the code. They are being used to explain the units on the variables.

14 Add to the simulation Add a natural gas plant to the simulation. First, find out how much energy it produces and how much it costs to build (search the web). Natural gas plants produce about 3.4 million lbs of CO 2 for each megawatt generated. So, if you are using a 625 MW plant, you will generate about 2100 million lbs of CO 2 per year.

15 Create a natural gas sprite

16

17

18 Now run the program Does it work? Does it work? Save your project with today’s date and your name and share it to the class studio. Save your project with today’s date and your name and share it to the class studio. Remember to turn off commenting! Remember to turn off commenting!


Download ppt "Energy and Economics Simulation Computer App Session 8."

Similar presentations


Ads by Google