<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pardeewiki.du.edu//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simon.Kyeremeh</id>
	<title>Pardee Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pardeewiki.du.edu//api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Simon.Kyeremeh"/>
	<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Special:Contributions/Simon.Kyeremeh"/>
	<updated>2026-04-26T05:46:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13891</id>
		<title>Flexible Displays (Download)</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13891"/>
		<updated>2026-03-31T19:32:05Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Flexible Displays can be found under Display on the Main Menu.&lt;br /&gt;
&lt;br /&gt;
This display feature of IFs allows users more flexibility than the&amp;amp;nbsp;[[Geographically-fixed_Displays_(Download)|Geographically-fixed Displays]]&amp;amp;nbsp;by allowing for the display of data sets by specific country or group.&lt;br /&gt;
&lt;br /&gt;
[[File:Flexibledisplay.gif|frame|right|Example of the Flexible Display window in IFs]]The Flexible Displays is designed to allow users to graph information on a specific&amp;amp;nbsp;[[Country/Region,_Group_or_G-List|country/region or group]].&lt;br /&gt;
&lt;br /&gt;
The display variables are located in a list on the left hand side of the screen. To the right of this list of variables is a list of general categories. Each display belongs to one of the broader categories. If you are interested in one specific category, click on it and the general list of displays will be reduced to only those that pertain to the category you have selected.&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Learn how to incorporate your own categories]].&lt;br /&gt;
&lt;br /&gt;
To the right of the general categories is a list of every country. If, instead of displaying countries/regions, you would like to display groups, simply click on the Using Countries/Regions option on the Flexible Displays&#039; Main Menu. The list at the very bottom of the screen is of the different Run-Result-Files that accompanied your version of the software. If you would like to learn more about specifically what parameters and variables are affected by these Run-Result-Files, simply highlight one and click on the&amp;amp;nbsp;[[Annotation|Annotation]]&amp;amp;nbsp;button.&lt;br /&gt;
&lt;br /&gt;
Certain variables and categories, such as education, when selected, will cause other windows to appear that display different dimensions, or ways of disaggregating the data. For example, selecting the file Education Tertiary Student Flow brings up another dimension, in this case gender, from which the user is able to choose.&lt;br /&gt;
&lt;br /&gt;
The user is also able to select more than one country or more than one Run-Result-File for graphing. Simply click on one country/region, hold in the control button (ctrl), and click on another country/region. Do the same to see a graph displaying results as the product of more than one Run-Result-File.&lt;br /&gt;
&lt;br /&gt;
When the user has chosen the display to graph and the countries/regions or groups that you to display, click on&amp;amp;nbsp;[[General_Display_Options#Graph_Use|Line Graph or Bar Graph]]. The user is also able to display pie charts and&amp;amp;nbsp;[[General_Display_Options#Radial_Graph|radial graphs]], located under the Other Graphs heading. For an explanation on how to use the Map feature, click on&amp;amp;nbsp;[[General_Display_Options#Map_Use|Map Use]].&lt;br /&gt;
&lt;br /&gt;
Additionally, choosing the Display Format option located on the Flexible Displays menu allows the user to more professionally tailor the graphs as needed. Firstly, the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select the currency in which to display data that is otherwise displayed in US dollars. Thirdly, the user can set the limits of the run horizon, with a maximum horizon of 2100 and a minimum of 1960. Fourthly, check the “Use all historic data” feature, and the model will provide the most up to date historical data available. The last option, the “Use Estimation” option, tells the model to extrapolate from the historic data to fill in any possible holes in the data that exist.&lt;br /&gt;
&lt;br /&gt;
The Explain List in the heading is an option that, when selected, will provide a definition, show the historic formula, and list any dimensions available for any selected variable.&lt;br /&gt;
&lt;br /&gt;
Clicking on the the Search option in the heading allows the user to search for any variable in the IFs database, and add that variable to the list of available variables in the Flexible Displays.&lt;br /&gt;
&lt;br /&gt;
The user is able to edit the variables listed in Flexible Displays by first selecting&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Self-Managed Display]], and then selecting&amp;amp;nbsp;[[Variable_Selection_Options#Edit_Variable_List|Edit Variable Lists]].&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Screenshot_2026-03-31_at_1.27.07_PM.png&amp;diff=13890</id>
		<title>File:Screenshot 2026-03-31 at 1.27.07 PM.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Screenshot_2026-03-31_at_1.27.07_PM.png&amp;diff=13890"/>
		<updated>2026-03-31T19:28:03Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Text&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13867</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13867"/>
		<updated>2026-03-23T15:01:54Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|thumb|center]]&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
[[File:Picture 3.png|center|thumb]]&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
[[File:Picture 4.png|center|thumb]]&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
[[File:Picture 5.png|center|thumb]]&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
[[File:Picture 6.png|center|thumb]]&lt;br /&gt;
             &lt;br /&gt;
&lt;br /&gt;
* Download:&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
[[File:Picture 7.png|center|thumb]]&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
[[File:Picture 8.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
[[File:Picture 9.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
[[File:Picture 10.png|center|thumb]]&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
[[File:Picture 11.png|center|thumb]]&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
[[File:Picture 12.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
[[File:Picture 13.png|center|thumb]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
[[File:Picture 14.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13866</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13866"/>
		<updated>2026-03-23T14:58:06Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|thumb|center]]&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
[[File:Picture 3.png|center|thumb]]&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
[[File:Picture 4.png|center|thumb]]&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
[[File:Picture 5.png|center|thumb]]&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
[[File:Picture 6.png|center|thumb]]&lt;br /&gt;
             &lt;br /&gt;
&lt;br /&gt;
* Download:&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
[[File:Picture 7.png|center|thumb]]&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
[[File:Picture 8.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
[[File:Picture 9.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
[[File:Picture 10.png|center|thumb]]&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
[[File:Picture 11.png|center|thumb]]&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
[[File:Picture 12.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
[[File:Picture 13.png|center|thumb]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
[[File:Picture 14.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13865</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13865"/>
		<updated>2026-03-23T14:56:42Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|thumb|center]]&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
[[File:Picture 3.png|center|thumb]]&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
[[File:Picture 4.png|center|thumb]]&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
[[File:Picture 5.png|center|thumb]]&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
[[File:Picture 6.png|center|thumb]]&lt;br /&gt;
             &lt;br /&gt;
&lt;br /&gt;
* Download:&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
[[File:Picture 7.png|center|thumb]]&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
[[File:Picture 8.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
[[File:Picture 9.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
[[File:Picture 10.png|center|thumb]]&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
[[File:Picture 11.png|center|thumb]]&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
[[File:Picture 12.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
[[File:Picture 13.png|center|thumb]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
[[File:Picture 14.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_14.png&amp;diff=13864</id>
		<title>File:Picture 14.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_14.png&amp;diff=13864"/>
		<updated>2026-03-23T14:54:04Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Parameters&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_13.png&amp;diff=13863</id>
		<title>File:Picture 13.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_13.png&amp;diff=13863"/>
		<updated>2026-03-23T14:53:07Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Nodes&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_12.png&amp;diff=13862</id>
		<title>File:Picture 12.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_12.png&amp;diff=13862"/>
		<updated>2026-03-23T14:52:17Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Interactive Menu&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_11.png&amp;diff=13861</id>
		<title>File:Picture 11.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_11.png&amp;diff=13861"/>
		<updated>2026-03-23T14:51:19Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Nearest Neighbor&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13860</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13860"/>
		<updated>2026-03-23T14:49:47Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|thumb|center]]&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
[[File:Picture 3.png|center|thumb]]&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
[[File:Picture 4.png|center|thumb]]&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
[[File:Picture 5.png|center|thumb]]&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
[[File:Picture 6.png|center|thumb]]&lt;br /&gt;
             &lt;br /&gt;
&lt;br /&gt;
* Download:&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
[[File:Picture 7.png|center|thumb]]&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
[[File:Picture 8.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
[[File:Picture 9.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
[[File:Picture 10.png|center|thumb]]&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_10.png&amp;diff=13859</id>
		<title>File:Picture 10.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_10.png&amp;diff=13859"/>
		<updated>2026-03-23T14:49:38Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Toggle&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_9.png&amp;diff=13858</id>
		<title>File:Picture 9.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_9.png&amp;diff=13858"/>
		<updated>2026-03-23T14:47:51Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Variable view&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13857</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13857"/>
		<updated>2026-03-23T14:47:02Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|thumb|center]]&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
[[File:Picture 3.png|center|thumb]]&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
[[File:Picture 4.png|center|thumb]]&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
[[File:Picture 5.png|center|thumb]]&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
[[File:Picture 6.png|center|thumb]]&lt;br /&gt;
             &lt;br /&gt;
&lt;br /&gt;
* Download:&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
[[File:Picture 7.png|center|thumb]]&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
[[File:Picture 8.png|center|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_8.png&amp;diff=13856</id>
		<title>File:Picture 8.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_8.png&amp;diff=13856"/>
		<updated>2026-03-23T14:46:38Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Help&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_7.png&amp;diff=13855</id>
		<title>File:Picture 7.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_7.png&amp;diff=13855"/>
		<updated>2026-03-23T14:45:37Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Download&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_6.png&amp;diff=13854</id>
		<title>File:Picture 6.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_6.png&amp;diff=13854"/>
		<updated>2026-03-23T14:43:44Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Zoom&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_5.png&amp;diff=13853</id>
		<title>File:Picture 5.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_5.png&amp;diff=13853"/>
		<updated>2026-03-23T14:42:14Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Search box&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_4.png&amp;diff=13852</id>
		<title>File:Picture 4.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_4.png&amp;diff=13852"/>
		<updated>2026-03-23T14:39:27Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFS Network Diagram- Levels&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13851</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13851"/>
		<updated>2026-03-23T14:36:57Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|thumb|center]]&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
[[File:Picture 3.png|center|thumb]]&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
&lt;br /&gt;
                     &lt;br /&gt;
&lt;br /&gt;
* Download: &lt;br /&gt;
&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_3.png&amp;diff=13850</id>
		<title>File:Picture 3.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_3.png&amp;diff=13850"/>
		<updated>2026-03-23T14:31:15Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network diagram&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13849</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13849"/>
		<updated>2026-03-23T14:29:57Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|thumb|center]]&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
&lt;br /&gt;
                     &lt;br /&gt;
&lt;br /&gt;
* Download: &lt;br /&gt;
&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13848</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13848"/>
		<updated>2026-03-23T14:29:01Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
&lt;br /&gt;
                     &lt;br /&gt;
&lt;br /&gt;
* Download: &lt;br /&gt;
&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13847</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13847"/>
		<updated>2026-03-23T14:28:45Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
&lt;br /&gt;
                     &lt;br /&gt;
&lt;br /&gt;
* Download: &lt;br /&gt;
&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13846</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13846"/>
		<updated>2026-03-23T14:28:13Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|border|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
&lt;br /&gt;
                     &lt;br /&gt;
&lt;br /&gt;
* Download: &lt;br /&gt;
&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13845</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13845"/>
		<updated>2026-03-23T14:27:51Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|border|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
&lt;br /&gt;
                     &lt;br /&gt;
&lt;br /&gt;
* Download: &lt;br /&gt;
&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13844</id>
		<title>IFs Network Diagram</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=IFs_Network_Diagram&amp;diff=13844"/>
		<updated>2026-03-23T14:27:04Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: Images updated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFs Network Diagram User Documentation  &lt;br /&gt;
&lt;br /&gt;
What is the IFs Network Diagram?  &lt;br /&gt;
[[File:Picture 1.png ifs.png|border|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
The IFs Network Diagram is an interactive visualization of the internal structure of the International Futures (IFs) model. in IFs and how they influence one another. It is a map of the IFs model’s logic. You can use it to answer questions like “What affects this variable?” or “What does this variable affect?”. Users can explore how major system sectors interact; at the variable level, they can interrogate specific influence pathways by examining drivers (inputs), outcomes (outputs), degrees of separation, and shortest paths between variables. In this way, the IFs Network Diagram functions as a transparency and learning tool, allowing users to inspect and reason about what influences what is within the IFs system, rather than treating the model as a black box.  &lt;br /&gt;
&lt;br /&gt;
Views &lt;br /&gt;
&lt;br /&gt;
The diagram has three levels:  &lt;br /&gt;
&lt;br /&gt;
* Macro view: Shows the 11 major categories in IFs &lt;br /&gt;
[[File:Picture 2.png|left|thumb]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Use this view to see the big picture of how sectors connect  &lt;br /&gt;
&lt;br /&gt;
* Meso view: Shows the subcategories within each meso category and their connections  &lt;br /&gt;
&lt;br /&gt;
* Use this view to gain more detail without seeing every variable  &lt;br /&gt;
&lt;br /&gt;
* Variable view: Shows all individual variables and parameters (nodes) and their links  &lt;br /&gt;
&lt;br /&gt;
* Use this to explore specific variables  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Macro &amp;amp; Meso Interactions:  &lt;br /&gt;
&lt;br /&gt;
* Hover over a node to see an information box (Tool Box)  &lt;br /&gt;
&lt;br /&gt;
* Click and drag a node to better visualize connections or move it around the screen  &lt;br /&gt;
&lt;br /&gt;
Basic Controls  &lt;br /&gt;
&lt;br /&gt;
These options control what you see in the diagram:  &lt;br /&gt;
&lt;br /&gt;
* Search for variables (Top Right Corner):  &lt;br /&gt;
&lt;br /&gt;
* Type a variable or parameter name  &lt;br /&gt;
&lt;br /&gt;
* Click it in the search box to highlight it in the diagram  &lt;br /&gt;
&lt;br /&gt;
* Zoom In / Zoom Out / Fit to Screen (Bottom Left Corner): &lt;br /&gt;
&lt;br /&gt;
                     &lt;br /&gt;
&lt;br /&gt;
* Download: &lt;br /&gt;
&lt;br /&gt;
* Download a .png image of the current view  &lt;br /&gt;
&lt;br /&gt;
         &lt;br /&gt;
&lt;br /&gt;
* Help Panel:  &lt;br /&gt;
&lt;br /&gt;
* Opens pop-up with link to full instructions  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable View &lt;br /&gt;
&lt;br /&gt;
Some features are only available in Variable View:  &lt;br /&gt;
&lt;br /&gt;
                                 &lt;br /&gt;
&lt;br /&gt;
* Toggle Layouts – switch between:  &lt;br /&gt;
&lt;br /&gt;
* Default: shows all selected nodes and their connections &lt;br /&gt;
&lt;br /&gt;
* Shortest Path: shows the shortest path between two nodes, if they’re connected in the model  &lt;br /&gt;
&lt;br /&gt;
* If a node was selected in Default view, it becomes the origin node &lt;br /&gt;
&lt;br /&gt;
* Use the search box to choose the end node  &lt;br /&gt;
&lt;br /&gt;
* Nearest Neighbor: shows all nodes that are connected to the selected root node, up to three degrees away &lt;br /&gt;
&lt;br /&gt;
* Degree 1 = directly connected &lt;br /&gt;
&lt;br /&gt;
* Degree 2 = connected through one intermediate node  &lt;br /&gt;
&lt;br /&gt;
* Degree 3 = connected through two intermediate nodes  &lt;br /&gt;
&lt;br /&gt;
* Use the slider to change the number of degrees shown  &lt;br /&gt;
&lt;br /&gt;
Interactive Menu  &lt;br /&gt;
&lt;br /&gt;
Use the interactive menu to control which parts of the network are visible:  &lt;br /&gt;
&lt;br /&gt;
* Show/Hide Interactive Menu: opens or closes the list of all nodes  &lt;br /&gt;
&lt;br /&gt;
* Interactive Menu:  &lt;br /&gt;
&lt;br /&gt;
* You can check/uncheck:  &lt;br /&gt;
&lt;br /&gt;
* Individual nodes  &lt;br /&gt;
&lt;br /&gt;
* Submodules &lt;br /&gt;
&lt;br /&gt;
* Major categories  &lt;br /&gt;
&lt;br /&gt;
* Checked = visible &lt;br /&gt;
&lt;br /&gt;
* Unchecked = grayed out in the display  &lt;br /&gt;
&lt;br /&gt;
* Unselect all: “Hides” (grays out) all nodes at once  &lt;br /&gt;
&lt;br /&gt;
* Allows you to select specific nodes of interest  &lt;br /&gt;
&lt;br /&gt;
* Reset: Returns to default layout for your current view  &lt;br /&gt;
&lt;br /&gt;
Working with Nodes &lt;br /&gt;
&lt;br /&gt;
When you click on a node in the variable view, it becomes the root node. From there, you can explore what drives it and what it influences. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Node information:  &lt;br /&gt;
&lt;br /&gt;
* Tool box (hover)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you hover over a node  &lt;br /&gt;
&lt;br /&gt;
* Shows: node name, display name, explanation, submodule, and segment &lt;br /&gt;
&lt;br /&gt;
* Tool tip (click)  &lt;br /&gt;
&lt;br /&gt;
* Appears when you click a node (in Default view)  &lt;br /&gt;
&lt;br /&gt;
* Shows:  &lt;br /&gt;
&lt;br /&gt;
* All inputs and outputs to/from that node  &lt;br /&gt;
&lt;br /&gt;
* Each connection’s segment, name, and display name  &lt;br /&gt;
&lt;br /&gt;
* A shortest path button to jump into Shortest Path mode  &lt;br /&gt;
&lt;br /&gt;
Directions and degrees:  &lt;br /&gt;
&lt;br /&gt;
* When you select a node:  &lt;br /&gt;
&lt;br /&gt;
* It becomes the root node &lt;br /&gt;
&lt;br /&gt;
* Drivers = inputs to the root node &lt;br /&gt;
&lt;br /&gt;
* Outcomes = outputs from the root node &lt;br /&gt;
&lt;br /&gt;
* Degrees = how many steps away another node is  &lt;br /&gt;
&lt;br /&gt;
* In the tool tip, you can filter connections:  &lt;br /&gt;
&lt;br /&gt;
* Both – show both inputs and outputs  &lt;br /&gt;
&lt;br /&gt;
* Only &amp;lt;- show only inputs to the selected node &lt;br /&gt;
&lt;br /&gt;
* Only -&amp;gt; show only outputs from the selected node  &lt;br /&gt;
&lt;br /&gt;
Typical Workflows &lt;br /&gt;
&lt;br /&gt;
# Find what affects a variable (its drivers)  &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only &amp;lt;- to see its inputs &lt;br /&gt;
&lt;br /&gt;
# Find what a variable influences (its outcomes) &lt;br /&gt;
&lt;br /&gt;
# Go to variable view &lt;br /&gt;
&lt;br /&gt;
# Search for the variable and click it &lt;br /&gt;
&lt;br /&gt;
# In the Tool Tip, choose Only -&amp;gt; to see its outputs &lt;br /&gt;
&lt;br /&gt;
# Trace a chain of influence between two variables &lt;br /&gt;
&lt;br /&gt;
# In Default, click the starting variable &lt;br /&gt;
&lt;br /&gt;
# Click Shortest Path in the Tool Tip &lt;br /&gt;
&lt;br /&gt;
# Use the search box to choose the end variable &lt;br /&gt;
&lt;br /&gt;
# The tool will show the shortest connection pathway between them  &lt;br /&gt;
&lt;br /&gt;
# See all neighbors of a key variable &lt;br /&gt;
&lt;br /&gt;
# Switch to Nearest Neighbor layout &lt;br /&gt;
&lt;br /&gt;
# Choose your root node (or click one in Default first) &lt;br /&gt;
&lt;br /&gt;
# Use the degree slider to expand from immediate neighbors to broader connections  &lt;br /&gt;
&lt;br /&gt;
Show Parameters &lt;br /&gt;
&lt;br /&gt;
The Show Parameters button controls whether model parameters are displayed alongside variables in the Variable View. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Parameters represent adjustable model inputs that influence how variables behave in the IFs model. While variables represent outcomes calculated by the model, parameters define assumptions, coefficients, or policy settings that affect those outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned off (default): &lt;br /&gt;
&lt;br /&gt;
* Only variables are displayed in the diagram. &lt;br /&gt;
&lt;br /&gt;
* The network shows relationships between model outcomes. &lt;br /&gt;
&lt;br /&gt;
When Show Parameters is turned on: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear alongside variables. &lt;br /&gt;
&lt;br /&gt;
* Additional links become visible showing how parameters influence variables in the model. &lt;br /&gt;
&lt;br /&gt;
This option is useful when users want to: &lt;br /&gt;
&lt;br /&gt;
* Explore policy levers or assumptions that affect a variable. &lt;br /&gt;
&lt;br /&gt;
* Understand how model parameters feed into the calculation of outcomes. &lt;br /&gt;
&lt;br /&gt;
* Trace the influence of parameters through the network. &lt;br /&gt;
&lt;br /&gt;
When parameters are displayed: &lt;br /&gt;
&lt;br /&gt;
* Parameter nodes appear visually distinct from variable nodes. &lt;br /&gt;
&lt;br /&gt;
* Their positions are determined by the same linkage structure as variables, ensuring that their placement reflects their relationships within the model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Node Size and Linkages&#039;&#039;&#039; (how backward/forward linkages affect node size) &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Understanding Arrows and Direction of Influence&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_2.png&amp;diff=13843</id>
		<title>File:Picture 2.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_2.png&amp;diff=13843"/>
		<updated>2026-03-23T14:25:50Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IFS network diagram-levels&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Picture_1.png_ifs.png&amp;diff=13842</id>
		<title>File:Picture 1.png ifs.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Picture_1.png_ifs.png&amp;diff=13842"/>
		<updated>2026-03-23T14:09:26Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is IFS network diagram&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13774</id>
		<title>Energy</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13774"/>
		<updated>2026-02-17T15:25:33Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: In- progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Please cite as: Hughes, B. B., Solórzano, J., &amp;amp; Rothman, D. S., Irfan, R. I., Sahadevan, D. (2025, November 11). IFs energy model documentation. Pardee Center for International Futures, Josef Korbel School of Global and Public Affairs, University of Denver. [[Energy|https://pardeewiki.du.edu/index.php?title=Energy]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Introduction &lt;br /&gt;
&lt;br /&gt;
1.1 Overview &lt;br /&gt;
&lt;br /&gt;
The International Futures system (IFs) represents energy and electricity through integrated dynamics that span multiple IFs models: energy, economy, environment, and infrastructure. It captures patterns of energy consumption and electricity use, the drivers behind them, and the production of energy from both fossil and non-fossil sources using different technologies. IFs also incorporates trade in energy, using both a pooled approach and a bilateral version. The model accounts for the environmental implications of fossil fuel use, while broader development and sustainability outcomes such as access to electricity and improved fuel use, are also represented. &lt;br /&gt;
&lt;br /&gt;
Here we document the IFs energy model - a partial equilibrium model operating on physical energy, balancing consumption and production through a price variable that adjusts in response to supply-demand dynamics, with energy stocks serving as a buffer. Investment decisions are signalled by price and by cost, with cost shaped by resources, reserves, and technologies, and these dynamics in turn inform the treatment of the energy sector in the broader Economic Model. Ultimately, computations in the physical energy model feed into the Economic Model by replacing its sectoral calculations with the corresponding financial variables from the physical energy model. &lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the Economic Model provides the basis for energy demand calculations. Energy demand elasticity represents the responsiveness of demand to prices, which evolve over the long run with changes in technology and resource availability. Thus, the physical constraints on the supply side are very important in determining the dynamics of the energy model. &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes nine energy production categories: oil, natural gas, coal, hydropower, nuclear, solar, wind, geothermal and other renewables. The other renewables category includes tidal, wave, biodiesel and biogas. For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.  Currently, the model does not generate projections for consumption or trade by specific energy types. IFs rather computes aggregated regional or national energy demands and prices, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market. The model also conducts energy trade only in a single, combined energy category. Finally, at the moment, there is no full reconciliation between the production of energy and electricity generation (see the IFs &lt;br /&gt;
&lt;br /&gt;
Infrastructure Model Documentation for a description of the electricity aspects of IFs). &lt;br /&gt;
&lt;br /&gt;
1.2 Dominant Relations &lt;br /&gt;
&lt;br /&gt;
Energy demand (ENDEM) is a function of GDP and the energy demand per unit of GDP (ENRGDP). Energy production (ENP) is a function of capital stock in each energy type, the capital/output ratio (QE) for that energy type, and a capacity utilization factor (CPUTF). &lt;br /&gt;
&lt;br /&gt;
The following key dynamics are directly linked to the dominant relations:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;DEMAND:&#039;&#039;&#039; Energy demand per unit of GDP depends on GDP per capita, energy prices, and an autonomous trend in energy efficiency. The first two of these are computed endogenously, the latter exogenously. The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;), speed at which energy price changes affect demand (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;) and the autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;).  The user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;PRODUCTION&#039;&#039;&#039;: For fossil fuels and hydro, there are upper bounds on production. For fossil fuels, these are based on reserve-to-production ratios, as well as user-specified upper bounds (&#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039;&#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039;&#039;&#039;&#039;). For hydro, the upper bound relates to hydropower potential. The model user can also control production using an energy production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) to directly modify energy production by energy type. The user may also indirectly increase energy production through additional investment (&#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;), which will incorporate economic trade-offs. In contrast, a production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) comes without any cost to increased production.For renewable categories other than hydro, the model uses potential capacity (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;) in lieu of reserves or resources. This reflects availability or potential based on data or estimated from drivers such as land area. Unlike fossil fuels, where &#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039; represents finite physical resources that directly constrain production, renewable potentials are effectively unlimited; instead of setting an upper bound, they influence capital costs and investment dynamics.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL/OUTPUT RATIO&#039;&#039;&#039;: The capital/output ratio provides a measure of production cost, with declines reflecting efficiency gains and reduced capital intensity. User-controllable parameters (&#039;&#039;&#039;&#039;&#039;etechadv&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;etechadvuncon&#039;&#039;&#039;&#039;&#039;), applied to each fuel type, implement these cost declines due to technological improvements at the global level. For fossil fuels, this is counteracted by a factor that increases the capital/output ratio as the amount of remaining resources decreases. The user can further modify the capital/output ratios with the multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;).For renewable energy sources such as wind, solar, and geothermal, the capital/output ratio is equivalent to the levelized cost of electricity (LCOE) generation from these sources, though users can still modify capital output ratios with multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;). These energy sources are primarily used to generate electricity (except for geothermal, which can also provide direct heat).&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL:&#039;&#039;&#039; Energy capital, by fuel type, is initialized based on the initial levels of production and capital/output ratios. Energy capital depreciates at a rate determined by the lifetime of energy capital (&#039;&#039;&#039;&#039;&#039;lke&#039;&#039;&#039;&#039;&#039;) and grows with investment. Total desired investment in energy capital is influenced by many factors, including existing capital, domestic and global energy demand, the production of other renewables, changes in the global capital/output ratio, world and domestic energy stocks, expected overall profits in the energy sector, and imports. Users can control the effect of expected profits (&#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039;&#039;&#039;&#039;) and world energy stocks (&#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039;&#039;&#039;&#039;). Desired investment by energy type increases with individual profit expectations, but also by limits related to reserve production factors (for fossil fuels and hydro), any exogenous restrictions on maximum production (for fossil fuels), ultimate potential (for hydro), and other, unspecified factors (nuclear). Users can influence the effect of profit expectations by fuel type (via &#039;&#039;&#039;&#039;&#039;elass&#039;&#039;&#039;&#039;&#039;) as well as influence the desired investment by energy type (&#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039;)&#039;&#039;&#039;, or in the aggregate (via &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;). The user can also specify an exogenous growth rate for energy investment by fuel type (&#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039;&#039;&#039;&#039;). The Economic Model ultimately determines whether all of the investment needs can be met; in case of shortfalls, the investment in each type of energy is reduced proportionately.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;RESOURCES/RESERVES/STOCKS&#039;&#039;&#039;: IFs separately represents ultimate resources and reserves, where the latter are the amount of energy resources available to be produced. Resources and reserves, both conventional and unconventional, are set in the pre-processor. The user can modify the default assumptions on ultimate resources, either directly (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039;&#039;&#039;&#039;) or via the use of multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039;&#039;&#039;&#039;). Reserves decline with production and increase with discoveries. The rate of discovery depends on the ultimate resources remaining, the intensity of current production, world energy prices, and a base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039;&#039;&#039;&#039;). The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;), augment the base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039;&#039;&#039;&#039;), and use a multiplier to affect the rates of discovery (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039;&#039;&#039;&#039;). Finally, IFs keeps track of any production not used in the current year, i.e., stocks, and shortages.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ENERGY PRICES&#039;&#039;&#039;: Domestic energy prices are influenced by world stocks, domestic stocks, and the ratio of capital to production at the global level. The user can control the effect of domestic stocks on prices (&#039;&#039;&#039;&#039;&#039;epra&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039;&#039;&#039;&#039;). Users can also include a “cartel premium” (&#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039;&#039;&#039;&#039;) and a carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). More directly users can set domestic energy prices exogenously for just the first year (&#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;&#039;&#039;&#039;) or for multiple future years (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039;&#039;&#039;&#039;). The world energy price is calculated as a weighted sum of the domestic prices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRADE&#039;&#039;&#039;: The energy model also provides representation and model-user control over energy trade. The levels of imports (ENM) and exports (ENX), measured in physical terms (bboe), depend upon levels of production and demand, as well as past propensities to import and export energy. The user can set maximum limits on of energy imports (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039;&#039;&#039;&#039;) and energy exports (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039;&#039;&#039;&#039;), as well as general limits on trade (&#039;&#039;&#039;&#039;&#039;trademax&#039;&#039;&#039;&#039;&#039;).  &lt;br /&gt;
&lt;br /&gt;
----&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; Conventional sources refer to oil extracted through standard drilling methods, while unconventional sources include those requiring advanced techniques such as shale oil extraction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt; LCOE is expressed as the cost per kilowatt-hour of electricity generated and is computed by dividing the total electricity produced over the lifetime of a plant by the sum of its capital costs, operations, and maintenance expenditures (IRENA, 2024). We will revisit the implications of variable renewable energy (VRE), including system integration costs and their effect on capital/output ratios in more detail later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.3 Structure and Agent System&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Table 1: Model Structure and Agent System.&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&lt;br /&gt;
|Energy &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&lt;br /&gt;
|Partial market &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Stocks&#039;&#039;&#039;&lt;br /&gt;
|Capital, resources, reserves&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Flows&#039;&#039;&#039;&lt;br /&gt;
|Production, consumption, trade, discoveries, investment &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Aggregate Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Production function with exogenous technology change;&lt;br /&gt;
&lt;br /&gt;
Energy demand relative to GDP;&lt;br /&gt;
&lt;br /&gt;
Price determination &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Agent-Class&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Behavior Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Government taxes, subsidies&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.&#039;&#039;&#039;Flow Charts&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section presents several block diagrams that are central to the energy model: an energy system overview, energy production and energy consumption. &lt;br /&gt;
&lt;br /&gt;
2.1 &#039;&#039;&#039;Energy Overview&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The production growth process in energy is simpler than that in Agriculture or the full Economic Model. Because energy is a very capital-intensive sector, production depends only on capital stocks and changes in the capital-output ratio, which represents technological sophistication and other factors (such as decreasing resource bases) that affect production costs. &lt;br /&gt;
&lt;br /&gt;
The key equilibrating variable is again inventories. It works via investment to control capital stock and therefore production, and via prices to control domestic consumption. Production and consumption, in turn, control trade. Specifically, as inventories rise, investment falls, restraining capital stock and energy production, and thus holding down inventory growth. As inventories rise, prices fall, thereby increasing domestic consumption, which also holds down inventory growth.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 1: IFs Energy Model Overview.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2 &#039;&#039;&#039;Energy Production Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy production is computed from the capital stock invested in energy and the capitaloutput ratios, adjusted by a capacity utilization factor and bounded by production limits specific to each energy type. Exogenous parameters allow users to modify both the drivers of production and the production volumes themselves. The capital-output ratios are affected by the amount of remaining resources as a share of the initial levels, technological progress, and user-controlled multipliers. The capacity utilization factor is influenced by domestic stocks and shortages. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2: Energy Production in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.3 &#039;&#039;&#039;Energy Capital and Investment Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The capital stock by energy type decreases through depreciation and grows with new investment. Investment growth in the capital stock, though influenced by several factors, is driven primarily by energy profits and existing stocks. It can be adjusted through a user-defined scenario multiplier and is capped by production constraints linked to reserves availability for fossil fuels and resource potential for renewables. The user can use a direct multiplier on total energy investment, multipliers on energy investment by energy type to influence investment or specify a desired rate of growth in investment by energy type. &lt;br /&gt;
&lt;br /&gt;
For renewable energy sources like wind, solar and geothermal, the capital-output rations are tied to the levelized cost of electricity (LCOE). In case of variable renewable energy (VRE) sources such as solar and wind, there comes an additional set of challenges associated with intermittency, dispatchability and storage. For renewables, the capital– output ratio corresponds to the LCOE with adjustments for system integration costs such as transmission, storage, and balancing in the case of variable renewables. Addressing these challenges requires additional expenditures on transmission, distribution, and balancing capacity. LCOE data published in the literature does not always incorporate such system integration costs, which can be substantial at higher penetration levels of VRE and also affect production costs (Hirth et al., 2015; Ueckerdt et al., 2013). &lt;br /&gt;
&lt;br /&gt;
If these additional system costs are not considered, the model’s forecasts for such renewable sources may overestimate the pace of cost reductions driven by technological learning and economies of scale, while at the same time underestimating the true investments required for large-scale deployment of wind and solar power.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3: Energy Capital and Investment in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.4 Energy Demand Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy demand is estimated as a function of the energy demand per unit GDP (in PPP terms) and total GDP (in PPP terms), with adjustments related to energy prices and improvements in energy use efficiency. The energy demand per unit GDP depends on GDP per capita (in PPP Terms). The improvement in energy use efficiency is a combination of autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;) and an additional amount that accelerates the improvements for (non-exporting) countries that have efficiencies below the global average. The price effect takes into account both the domestic and global prices of energy, as well as any carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;) and the historical weight used to smooth energy prices (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;). Finally, the user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 4: Energy Demand in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.5 &#039;&#039;&#039;Energy Resources and Reserves Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes between ultimate resources and reserves, where the latter represent the amount of energy actually discovered and available for production. Ultimate resources are initially determined in the pre-processor, but the user can override these estimates using either absolute values (resor, resoruncon) or multipliers (resorm, resorunconm). There is also a parameter controlling the portion of unconventional oil that is economic to produce (enresunce). For non-renewable energy types, i.e., fossil fuels, reserves increase with discoveries and decrease with production. The rate of discovery includes a base rate (rdi) and an annual increment (rdinr). There are further adjustments related to the world energy price, the remaining resources, and the current rate of production. The user can control the effect of world prices on discovery (elasdi) and can also intervene with a discovery multiplier (rdm). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 5: Energy Resources and Reserves in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.&#039;&#039;&#039;Equations&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section will present and discuss the equations that are central to the functioning of the energy model: supply, demand, trade, stocks, price, investment, economic linkages, capital, natural resources and energy indicators. Here we follow the order of calculations in all years but the first, noting specific calculations that are made in the first year or preprocessor as necessary. A table has been added as an appendix to this document, linking the variables to the historical data series used to initialize them.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.1&#039;&#039;&#039; &#039;&#039;&#039;Energy Demand&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The key energy demand variable in IFs, ENDEM, tracks total primary energy demand. For the most part, IFs does not represent the transformation of this primary energy into final energy forms, or end-user energy demand. The one exception relates to electricity use, which is described in the documentation of the Infrastructure Model. &lt;br /&gt;
&lt;br /&gt;
In the first year, total primary energy demand is calculated as an apparent demand based on a balancing equation that equates energy demand with supply, defined as production plus net trade, and a balancing energy stock. While the supply side is obtained from historical data, the initial value for the stock is estimated from an aggregate stock base, obtained by adding demand and supply, on which a desired stock level (dstlen, 10% by default) is applied and then augmented by the expected growth in production following standard practice in storage planning. &lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑆𝑇&amp;lt;sub&amp;gt;𝑟,𝑡=1&amp;lt;/sub&amp;gt; = (∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒,𝑡=1&amp;lt;/sub&amp;gt; + 𝐸𝑁𝐷𝐸𝑀𝐸𝑠𝑡&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;) ∗ 𝑑𝑠𝑡𝑙𝑒𝑛  &amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝐷𝐸𝑀𝑟,𝑡=1 = ∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃𝑟,𝑒,𝑡=1 + 𝐸𝑁𝑀𝑟,𝑡=1 − 𝐸𝑁𝑋𝑟,𝑡=1 − 𝐸𝑁𝑆𝑇𝑟,𝑡=1 ∗ 𝐴𝑉𝐸𝑃𝑅𝑟,𝑡=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Where,&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
• &#039;&#039;ENP&#039;&#039;, &#039;&#039;ENM&#039;&#039;, &#039;&#039;ENX&#039;&#039;, &#039;&#039;ENST&#039;&#039;, and &#039;&#039;AVEPR&#039;&#039; are energy production, energy imports, energy exports, estimated energy stocks, and an average of the expected growth in production across all energy types (e) for a country, or region (r) in the first year (t) of the projection horizon. The calculations of the initial values of these variables are described later in the Equations section under the appropriate headings.&lt;br /&gt;
&lt;br /&gt;
Note that this calculation does not directly use the historical data on total primary energy demand and there can be a significant difference between the initialized value of ENDEM and the actual historical data for the base year. This information is used by the variable ENDEMSH, which is described in the Infrastructure documentation.&lt;br /&gt;
&lt;br /&gt;
In future years, the calculation of total primary energy demand begins with an estimate of the predicted amount of energy demand per unit of GDP (in PPP terms), compendemperunit, as a function of GDP per capita (in PPP terms).&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; This function is show in the figure below&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[3]&amp;lt;/sup&amp;gt; Since energy demand is not yet computed for the first year, an estimate (ENDEMEst) is obtained from the energy balance equation, with the stock term based solely on the supply side. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; Here, IFs uses GDP from the previous time cycle, with an estimate of growth, to calculate GDPPCP, because the recursive structure of IFs computes current GDP later. The current value of population, POP, has already been computed at this stage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt; The exact equation is compendemperunit = 0.0023428 -0.0003878*ln(GDPPCP).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 6: Relationship between compendemperunit and GDP per capita&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A small amount, 0.0005 barrels of oil equivalent (boe), is added to this computed value to account for the fact that the demand data used to estimate the function above is less than apparent demand globally. &lt;br /&gt;
&lt;br /&gt;
The initial data for countries is unlikely to fall exactly on this function. To reconcile this fact, IFs calculates values for both predicted energy demand per unit GDP in the first year, compendemperuniti, and empirical demand per unit GDP (in PPP terms) in the first year, actendemperuniti.&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; Over a time period of 75 years, controlled by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039;&#039;&#039;&#039;, IFs gradually adjusts the difference between these two values so that the estimate of energy demand per unit GDP (in PPP terms) eventually does fall on the function.&lt;br /&gt;
&lt;br /&gt;
IFs then calculates an initial estimate of total energy demand, endemba, by multiplying this adjusted value of energy demand per unit GDP (in PPP terms), endemperunit, by GDP (in PPP terms).&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; There is also an adjustment to the empirical demand that occurs during the initialization. Due to data inconsistencies and/or the exclusion of non-traded energy sources such as traditional biomass from production data, energy demand initialized using the balance method described above can turn out to be very low for some countries. The initialization code adjusts the base-year ENDEM for such cases to ensure that energy demand per unit of GDP at PPP is not less than a fifth of the value computed using the energy intensity function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt; IFs uses GDP from the previous time cycle here, because the recursive structure of IFs computes current GDP later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IFs then considers the effect of price on total primary energy demand. IFs keeps track of the global energy price as both an index (WEP, base year = 100) and as an actual dollar value (WEPBYEAR, $ per BBOE). It also tracks a country level energy price index&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
(ENPRI, base year =100). Finally, it can also consider a tax on carbon, expressed by the variable CarTaxEnPriAdd, which has the units $ per BBOE. &lt;br /&gt;
&lt;br /&gt;
The calculation of the effect of prices on total energy begins with the calculation of a variable called renpri. renpri is a moving average country-level price index that starts at the level of the country level price index in the base year, ENPRII, and then tracks changes in world energy prices and country-level carbon taxes.   The historical weight is controlled by the parameter ehw, so that: &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟,𝑡&amp;lt;/sub&amp;gt; = 𝒆𝒉𝒘 ∗ renpri&amp;lt;sub&amp;gt;𝑟,𝑡−1&amp;lt;/sub&amp;gt; + (1 − 𝒆𝒉𝒘)&lt;br /&gt;
&lt;br /&gt;
(𝑊𝐸𝑃𝑡−1+CarTaxEnPriAdd𝑟,𝑡−1∗𝑊𝐸𝑃𝑡=1&lt;br /&gt;
&lt;br /&gt;
𝑊𝐸𝑃𝐵𝑌𝐸𝐴𝑅𝑡=1)  &lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;renpri&#039;&#039; is the moving average country level price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039; is the weight given to the historical value of renpri&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEP&#039;&#039; is the global energy price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEPBYEAR&#039;&#039; is the global energy price in $ per BBOE&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;CarTaxEnPriAdd&#039;&#039; is the country level carbon tax in $ per BBOE of total energy and is calculated as the exogenous value of the carbon tax in $ per ton of carbon, &#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;, times a production weighted average of the carbon contents of oil, gas, and coal, &#039;&#039;&#039;&#039;&#039;carfuel&amp;lt;sub&amp;gt;e&amp;lt;/sub&amp;gt; , where e is 1-3&#039;&#039;&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt;(𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒&amp;lt;/sub&amp;gt; ∗ 𝒄𝒂𝒓𝒇𝒖𝒆𝒍&amp;lt;sub&amp;gt;𝒆&amp;lt;/sub&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
                        CarTaxEnPriAdd&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; =  ∗ 𝒄𝒂𝒓𝒃𝒕𝒂𝒙&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sub&amp;gt;                                                                               ∑𝑒 𝐸𝑁𝑃𝑟,𝑒&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The parameter specifying the price elasticity of energy demand, &#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;, is adjusted based on the relationship between renpri and and ENPRII to yield a new parameter, elasadjusted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑃𝑅𝐼𝐼&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
elasadjusted&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; = 𝒆𝒍𝒂𝒔𝒅𝒆&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt; ∗  &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Supply&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The computation of energy production (ENP) is considerably easier than that of gross sectoral production in the economic model or of agricultural production in the agricultural model.&amp;amp;nbsp; Only capital is considered important as a factor of production (not labor, land, or even weather).&amp;amp;nbsp; Energy production is initially estimated by dividing the quotient of capital in each energy category (ken) and the appropriate capital-to-output ratio (QE).&amp;amp;nbsp; A multiplier, &#039;&#039;&#039;&#039;&#039;enpm&#039;&#039; &#039;&#039;&#039;, can be used to increase or decrease production.&amp;amp;nbsp; This yields:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP1_{r,e}=\frac{ken_{r,e}}{QE_{r,e}}*\mathbf{enpm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The dynamics of the capital-to-output ratios, QE, are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Known reserves (RESER) and exogenously specified maximums pose constraints on production of certain energy types.&amp;amp;nbsp; The affected energy types are oil, gas, coal, and hydro.&amp;amp;nbsp; The impact of reserves is felt via a limit on the fraction of reserves that can be produce in any year. Specifically, the reserve-to-production ratio may not fall below the value of &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;, which is initially set in the pre-processor, but can be overridden by the user. &amp;amp;nbsp;In addition, as the actual reserve-to-production ratio approaches this limit, its rate of decrease is limited.&amp;amp;nbsp; The exogenously specified maximums apply only to oil, gas, and coal, and are given by the parameters &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This yields a second estimate for energy production, given as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP2_{r,e}=MIN(\frac{RESER_{r,e}}{MAX(\mathbf{prodtf}_{r,e},sResProdR_{r,e}-1)},enpmax_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e only applies to oil, gas, coal, and hydro&lt;br /&gt;
*&#039;&#039;enpmax&#039;&#039; takes on the value &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;,depending upon the fuel.&lt;br /&gt;
*sResProdR is the reserve-to-production ratio from the previous year; this limit only takes effect when sResProdR falls below 30 and remains above &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IFs then selects the minimum of ENP1 and ENP2 as the estimate of energy production ENP.&amp;amp;nbsp; The dynamics of energy reserves are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
Two final adjustments are made to energy production.&amp;amp;nbsp; The first accounts for capacity utilization, &#039;&#039;CPUTF&#039;&#039;, and the second only comes into play when a restriction is placed on energy exports.&amp;amp;nbsp; Since these are not calculated until the calculation of energy stocks and shortages, they are described in the appropriate places in the [[Energy#Domestic_Energy_Stocks|Domestic Energy Stocks]] section and the [[Energy#Energy_Prices_and_Final_Adjustments_to_Domestic_Energy_Stocks_and_Capacity_Utilization|Energy Prices and Final Adjustments]] section.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Trade&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The energy model in IFs keeps track of trade in energy in physical quantities; the trade in energy in monetary terms is handled in the economic model. &amp;amp;nbsp;As opposed to the agricultural model, where trade in crops, meat, and fish are treated separately, the energy model considers trade in energy in the aggregate.&amp;amp;nbsp; Furthermore, it only considers production from oil, gas, coal, and hydro as being available for export.&amp;amp;nbsp; Finally, as with other aspects of trade, IFs uses a pooled trade model rather than representing bilateral trade.&lt;br /&gt;
&lt;br /&gt;
The first estimate of energy imports and exports by country are determined based upon a country’s propensity to export, propensity to import, and moving averages of its energy production and demand.&lt;br /&gt;
&lt;br /&gt;
The moving average of energy production, identified as smoothentot, is calculated simply as a moving average of production of energy from oil, gas, coal, and hydro. In the first year of the model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t=1}=EnTot_{r,t=1}=\sum_eENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
In future years,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t}=0.9*smoothentot_{r,t-1}+0.1*\sum_eENP_{r,e,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
The moving average of energy demand, identified as smoothpendem has a few more nuances, particularly after the first year.&amp;amp;nbsp; In the first year, IFs calculates:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t=1}=ENDEM_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In future years, rather than using the value of ENDEM calculated earlier, the model uses a slightly different measure of energy demand, referred to as pendem.&amp;amp;nbsp; pendem differs from ENDEM in two main ways:&lt;br /&gt;
&lt;br /&gt;
1. rather than using the moving average country-level price index, renpri, to calculate the effect of prices on energy demand, it uses only current values:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PEnPri_{r,t}=WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. it does not include the additional boost in energy efficiency beyond &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039; in calculating the autonomous changes in energy efficiency&lt;br /&gt;
&lt;br /&gt;
Thus, in future years, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t}=0.8*smoothpendem_{r,t-1}+0.2*pendem_{r,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A country’s propensities to import and export energy are given by the variables MKAVE and XKAVE.&amp;amp;nbsp; These are moving averages of the ratios of imports to an import base related to energy demand and exports to an export base related to energy production and demand, respectively.&amp;amp;nbsp; MKAVE is initialized to the ratio of energy imports to energy demand in the first year.&amp;amp;nbsp; A maximum value, MKAVMax is also set at this time to the maximum of 1.5 times this initial value or the value of the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; XKAVE is initialized to the ratio of energy exports to the sum of energy production from oil, gas, coal and hydro and energy demand from all energy types in the first year.&amp;amp;nbsp; Its maximum value, XKAVMAX is set to the maximum of this initial value and the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; The updating of MKAVE and XKAVE occur after the calculation of imports and exports, so we will return to that at the end of this section.&lt;br /&gt;
&lt;br /&gt;
The initial estimates of energy exports, ENX, and energy imports, ENM, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MIN(XKAVE_r,XKAVMAX_r)*exportbase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MIN(MKAVE_r*pendem_r,MKAVMAX_r*smoothpendem_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;exportbase_r=smoothentot_r+smoothpendem_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, IFs makes some adjustments to energy imports and exports depending upon whether a country is considered in energy surplus or deficit.&amp;amp;nbsp; Where a country sits in this regard involves considering domestic and global stocks in addition to current production and demand.&lt;br /&gt;
&lt;br /&gt;
Domestic energy stocks are computed as the sum of stocks carried over from the previous year, while also considering any shortages&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;stocks_{r,t}=ENST_{r,t-1}-ENSHO_{r,t-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A stock base is also calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;StBase_r=smoothpendem_r+smoothpendemr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ratio of stocks to StBase can be defined as domesticstockratio. A moving average of a trade base, smoothtradebase, is also calculated for each country:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradebase_{r,t}=MAX(ENDEM_r,0.9*smoothtradebase_{r,t-1}+0.1*2*(ENX_r+ENM_r))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradbase_{r,t+1}=MAX(ENDEM_{r,t=1},2*(ENX_{r,t=1}+ENM_{r,t=1}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy stocks, GlobalStocks, and the global stock base, GlobalStBase, are the sum of the domestic stocks and stock bases across countries, and the value of the globalstockratio is defined as GlobalStocks divided by GlobalStBase.&lt;br /&gt;
&lt;br /&gt;
For each country, the level of deficit or surplus, endefsurp, is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endefsurp_r=(globalstockratio-domesticstockratio_r)*StBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that if a countries stock ratio is less (greater) than the global average, it is considered in deficit (surplus).&lt;br /&gt;
&lt;br /&gt;
If a country is in deficit, i.e., endefsurp &amp;gt; 0, IFs will act to reduce its exports and increase its exports.&amp;amp;nbsp; The recomputed value of exports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MAX(0.5*ENX_r,ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy exports is determined by the ratio of the level of deficit to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a maximum level given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENMMax_r=ENM_r+(\frac{pendem_r*MKAVMAX_r-ENM_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, if a country is in surplus, i.e., endefsurp &amp;lt; 0, IFs will act to increase exports and reduce imports.&amp;amp;nbsp; The amount of increase in exports is controlled, in part, by the exchange rate for the country, EXRATE, specifically its difference from a target level of 1 and its change from the previous year.&amp;amp;nbsp; As with other adjustment factors of this type, the ADJSTR function is used, yielding a factor named mul.&amp;amp;nbsp; After first multiplying ENX by a value that is bound from above by 1.05 and from below by the maximum of 0.95 and mul, the recomputed value of ENX is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, a maximum level is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENXMax_r=ENX_r+(\frac{exportbase_r*XKAVMAX_r-ENX_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039; this maximum value is computed prior to the adjustments to ENX noted above.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MAX(0.5*ENM_r,ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy imports is determined by the ratio of the level of surplus to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
Because of the frequent use and importance of government trade restrictions in energy trade, model users may want to establish absolute export (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;) &amp;amp;nbsp;or import (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039; &#039;&#039;&#039;) limits, which can further constrain energy exports and imports.&amp;amp;nbsp; An export constraint may also affect the production of oil and gas as described in the next section.&lt;br /&gt;
&lt;br /&gt;
As it is unlikely that the sums of these values of ENX and ENM across countries will be equal, which is necessary for trade to balance.&amp;amp;nbsp; To address this, IFs computes actual world energy trade (WET) as the average of the global sums of exports and imports.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WET=\frac{\sum_rENX_r+\sum_rENM_r}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and recomputes energy exports and imports, as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=WET*\frac{ENX_r}{\sum_rENX_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=WET*\frac{ENM_r}{\sum_rENM_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This maintains each country’s share of total global energy exports and imports.&lt;br /&gt;
&lt;br /&gt;
IFs can now update the moving average export (XKAVE) and import (MKAVE) propensities for the next time step.&amp;amp;nbsp; This requires historic weights for exports (&#039;&#039;&#039;&#039;&#039;xhw&#039;&#039; &#039;&#039;&#039;) and imports (&#039;&#039;&#039;&#039;&#039;mhw&#039;&#039; &#039;&#039;&#039;), yielding the equations:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XKAVE_{r,t+1}=XKAVE_r*\mathbf{xhw}+(1-\mathbf{xhw})*\frac{ENX_r}{exportbase_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MKAVE_{r,t+1}=MKAVE_r*\mathbf{mhw}+(1-\mathbf{mhw})*\frac{ENM_r}{smoothpendem_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further adjustment is made related to the import propensity, MKAVE, related to the difference between this propensity and a target level, ImportTarget, and the change in this difference since the previous year. &amp;amp;nbsp;This target starts at the level of MKAVE in the first year and gradually declines to 0 over a 150 year period.&amp;amp;nbsp; As in many other situations in IFs, this process makes use of the ADJUSTR function to determine the adjustment factor.&amp;amp;nbsp; The value of mulmlev is not allowed to exceed 1, so its effect can only be to reduce the value of MKAVE.&lt;br /&gt;
&lt;br /&gt;
Finally, XKAVE and MKAVE are checked to make sure that they do not exceed their maximum values, XKAVMAX and MKAVMAX, respectively.&lt;br /&gt;
&lt;br /&gt;
[1] The previous year’s values of WEP and CarTaxEnPriAdd are used as the current year’s values are not calculated until later in the model sequence.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Domestic Energy Stocks&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs sets a target for energy stocks in each country as a fraction of a domestic stock base, StBase, which was defined earlier as the sum of a moving average of energy demand, smoothpendem, and a moving average of the production of oil, gas, coal, and hydro, smoothentot.&amp;amp;nbsp; This fraction is defined by the parameter &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Stocks are initialized in the first year as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;multiplied by the initial domestic stock base, which is the sum of production of all energy types and an estimated value of apparent energy demand.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_{r,t=1}=\mathbf{dstlen}*(\sum_cENP_{r,e,t=1}+ENDEMEst_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*ENDEMEst is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEMEst_r=(1-\mathbf{dstlen}*AVEPR_r)*\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*AVEPR is a weighted average energy production growth rate&lt;br /&gt;
&lt;br /&gt;
In future years, IFs begins by summing the moving average energy demand, smoothpendem, across countries, storing this value as WENDEM and the same for moving average energy production from oil, gas, coal, and hydro, smoothentot, which it stores as WorldEnp.&amp;amp;nbsp; It also sums the moving average energy demand just for countries that have low propensity for exports, XKAVE &amp;lt; 0.2, and stores this value as WEnDemIm.&lt;br /&gt;
&lt;br /&gt;
At this point, IFs adjusts energy production by multiplying by a capacity utilization factor, CPUTF, which is assumed to be the same for all energy types in a country.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP_{r,e}=ENP_{r,e}*CPUTF_r&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
The value of CPUTF is initialized to 1 in the first year.&amp;amp;nbsp; How it changes in time is described in the next section after the description of the calculation of the domestic price index.&lt;br /&gt;
&lt;br /&gt;
An initial estimate of energy stocks, ENST, is then calculated as the previous year’s stocks augmented by production and imports and reduced by use and exports&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_r=ENST_{r,t-1}+-ENDEM_r-ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after this calculation, there are excess stocks, i.e., ENST &amp;gt; &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and there is an export constraint, given by &#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;, adjustments are made to the production of oil and gas&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;, and, in turn, to energy stocks.&amp;amp;nbsp; The total reduction in oil and gas production is given as the amount of excess stocks, with a maximum reduction being the total amount of oil and gas production.&amp;amp;nbsp; This total amount of reduced production is then shared proportionately between oil and gas.&amp;amp;nbsp; The total reduction is also removed from ENST.&lt;br /&gt;
&lt;br /&gt;
Later, after the determination of prices, ENST is modified to: 1) ensure that they are not less than zero and 2) to account for any global shortfalls.&amp;amp;nbsp; These modifications are described in the next section.&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;This is the first of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&lt;br /&gt;
[2] This is the second of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Prices and Final Adjustments to Domestic Energy Stocks and Capacity Utilization&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs keeps track of separate domestic, ENPRI, and world, WEP, energy price indices, that apply to all forms of energy.&amp;amp;nbsp; These are initialized to a value of 100 in the first year.&amp;amp;nbsp; It also tracks the world energy price in terms of dollars per BBOE, WEPBYEAR, which is initialized as a global parameter.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;A number of pieces are needed for the calculation of energy prices.&amp;amp;nbsp; These include a world stock base, wstbase, world energy stocks, wenst, world energy production by energy type, WENP, world energy capital, WorldKen, and a global capital output ratio, wkenenpr.&amp;amp;nbsp; These are calculated as follows:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wstkbase=\sum_rStBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wenstks=\sum_r(ENST_r-ENSHO_{r,t-1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum_rENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldKen=\sum_r\sum_e(ken_e*\frac{CPUTF_r}{MAX(5,\mathbf{lke_e})})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENSHO is domestic energy shortage (described below)&lt;br /&gt;
*ken is capital for each energy type&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;lke&#039;&#039; &#039;&#039;&#039; is the average lifetime of capital for each energy type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In cases when at least one country has an exogenous restriction on the production of oil, i.e., enpm(oil) &amp;lt; 1 for at least one country, a few additional variables are calculated:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;GlobalShortFall=\sum_r\sum_eMax(0,ENP_{r,e,t-1}-1.05*ENP_{r,e,t})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldEnProd=\sum_eWENP_e&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ShortFallSub=GlobalShortFall*MIN(10,\frac{WorldEnProd}{WENP(oil)})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Otherwise these three variables all take on a value of 0.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;These values are used to calculate an adjustment factor driven by global energy stocks that affects domestic energy prices.&amp;amp;nbsp; The effect in the current year, wmul, is calculated using the ADJSTR function, which looks at the difference between world energy stocks, wenstks and the desired level, given by &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase, and the change in world energy stocks from the previous year.&amp;amp;nbsp; The presence of an exogenous restriction on the production of oil has two effects on the calculation of wmul.&amp;amp;nbsp; First, the value of ShortFallSub affects the two differences that feed into the ADJSTR function.&amp;amp;nbsp; Second, the elasticities applied in the ADJSTR function are tripled.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The adjustment factor calculated in the current year is not applied directly to the calculation of domestic energy prices.&amp;amp;nbsp; Rather, a cumulative value, cumwmul, is calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;cumwmul_t=cumwmul_{t-1}*(1+(wmul-1)*\mathbf{eprohw})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Other factors affect the domestic energy price index – domestic energy stocks, possible cartel price premiums, &#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039; &#039;&#039;&#039;, the first year value of the world energy price index, IWEP, changes in the global capita output ratio from the first year, whether the user has set a global energy price override. &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;and whether there are any restriction on oil production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy stocks affect a country-specific “markup” factor, MarkUpEn.&amp;amp;nbsp; This starts at a value of 1 and changes as a function of the value of mul, which is calculated using the ADJSTR function.&amp;amp;nbsp; Here the differences are those between domestic energy stocks and desired stocks, given as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and the changes in energy stocks from the previous year.&amp;amp;nbsp; Shortages from the previous year are also taken into account.&amp;amp;nbsp; The user can also control the elasticities used in the ADJSTR function with the parameters &#039;&#039;&#039;&#039;&#039;epra&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This markup evolves over time as&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MarkUpEn_{r,t}=MarkUpEn_{r,t-1}*mu&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy price index, ENPRI, is first calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=\mathbf{X}*mul_r*cumwmul+\mathbf{encartpp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; = &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;when this parameter is set to a value greater than 1 and IWEP otherwise&lt;br /&gt;
&lt;br /&gt;
It is then recomputed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=MIN(ENPRI_r,ENPRI_{r,t-1}+\mathbf{encartpp}_t-\mathbf{encartpp}_{t-1}+\mathbf{X})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; is 100 whenthere is a restriction on oil production in at least one country and 20 otherwise&lt;br /&gt;
&lt;br /&gt;
Furthermore, ENPRI is not allowed to fall by more than 10 in a given year.&lt;br /&gt;
&lt;br /&gt;
It is possible for the user to override this price calculation altogether.&amp;amp;nbsp; Any positive value of the exogenous country-specific energy price specification (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;) will do so.&lt;br /&gt;
&lt;br /&gt;
It is only now that a country’s energy stocks and shortages are finalized for the current year.&amp;amp;nbsp; If ENST is less than 0, then a shortage is recorded as ENSHO = -ENST and ENST is set to 0.&amp;amp;nbsp; In addition, for countries that have a low propensity for exports, XKAVE &amp;lt; 0.2, a share of any global shortfall is added to their shortage, with the share determined by the country’s share of moving average energy demand among those countries:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENSHO_r=ENSHO_r+GlobalShortFall*\frac{smoothpendem_r}{WEnDemIm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy shortage enters the Economic model in the calculation of gross sectoral production.&lt;br /&gt;
&lt;br /&gt;
The same differences in domestic stock from their target level and their change since the previous year, taking into account shortages from the previous year, are used to update the value of capacity utilization in energy, CPUTF, which was introduced earlier.&amp;amp;nbsp; The multiplier affecting CPUTF, Mul, is calculated using the ADJSTR function, with elasticities given by &#039;&#039;&#039;&#039;&#039;elenpst&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpst2&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, the capacity utilization is smoothed over time.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CPUTF_{r,t}=0.5*CPUTF_{r,t-1}+0.5*Mul&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is further assumed to converge to a value of 1 over a period of 100 years and is bound to always have a value between 0.2 and 2.&lt;br /&gt;
&lt;br /&gt;
This still leaves the need to calculate the world energy price. &amp;amp;nbsp;IFs actually tracks a world price including carbon taxes, WEP, and a world price ignoring carbon taxes, WEPNoTax.&amp;amp;nbsp; Carbon taxes are ignored in cases where the energy price is set exogenously using &#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In both cases, the world energy price is a weighted average of domestic energy prices:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEP=\frac{TENP}{TENPRI}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPNoTax=\frac{TENP}{TENPRINoTax}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENP=\sum_r\sum_eENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRINoTax=\sum_r\sum_e(ENPRI_r*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRI=\sum_r\sum_e((ENPRI_r+CarTaxEnPriAdd_r*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*WEP and WEPBYEAR convert CarTaxEnPriAdd from $/BBOE to an index value&lt;br /&gt;
*the term with CarTaxEnPriAdd is ignored in countries with exogenous energy prices in a given year&lt;br /&gt;
*CarTaxEnPriAdd is&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Finally, the value of WEPBYEAR is computed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPBYEAR=WEPBYEAR_{t=1}*\frac{WEP}{WEP_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Investment&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Investment in energy is relatively complex in IFs, because changes in investment are the key factor that allows us to clear the energy market in the long term.&amp;amp;nbsp; It is also different and perhaps slightly more complex in IFs than investment in agriculture.&amp;amp;nbsp; Whereas the latter involves computing a single investment need for agricultural capital, and subsequently dividing it between land and capital, in energy a separate demand or need is calculated for each energy type, based on profit levels specific to each energy type.&lt;br /&gt;
&lt;br /&gt;
We begin by calculating a total energy investment need (TINEED) to take to the economic model and place into the competition for investment among sectors.&amp;amp;nbsp; This investment need is a function of energy demand, adjusted by a number of factors, some global and some country-specific. To begin with, TINEED is calculated as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=ENDEM_r*mulendem*\frac{wkenenpri_t}{wkenenpri_{t-1}}*mulkenenpr*mulwst*mulstocks^{0.5}*mulrprof_r*mulrenew_r*sendeminvr_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*mulendem is the ratio of global energy demand per unit GDP in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{WENDEM_t/WGDP_t}{WENDEM_{t-1}/WGDP_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wkenenpri is the ratio of global energy capital to global energy production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulkenenpr is the ratio of wkenenpr in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{wkenenpr_t}{wkenenpr_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulwst and mulstocks are factors related to global energy stocks. mulwst is calculated using the ADJSTR function, where: the first order difference is that between global energy stocks, wenstks, and desired global energy stocks, DesStocks = &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase; the second order difference is between the level of world energy stocks in the current year and those in the past year; and the elasticities are given by the parameters &#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039; &#039;&#039;&#039;. mulstocks is also related to global energy stocks, but is more directly related to the desired level of global energy stocks:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulstocks=\frac{DesStocks}{MAX(0.5*DesStocks,MIN(4*DesStocks,enstks))}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that mulstocks will always take on a value between ¼ and 4.&lt;br /&gt;
&lt;br /&gt;
*mulrprof is a function of the expected level of profits in the energy sector as a whole in a country, EPROFITR.&amp;amp;nbsp; Energy profits are calculated as the ratio of returns, EnReturn, to costs, ProdCosts.&amp;amp;nbsp; EPROFITR is actually a moving average of these profits relative to those in the base year, with a historical weighting factor controlled by the parameter &#039;&#039;&#039;&#039;&#039;eprohw&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In full, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=WEPNoTax*\sum_eENP_{r,e}&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ProdCost_r=\sum_e\frac{ken_{e,r}}{MAX(5,\mathbf{lke_e})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=\frac{EnReturn_r}{ProdCost_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EPROFIT_{r,t}=\mathbf{eprohw}*EPROFIT_{r,t-1}+(1-\mathbf{eprohw})*\frac{EnReturn_{r,t}}{EnReturn_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now calculate mulrprof using the ADJSTR function.&amp;amp;nbsp; The first order difference is between the current value of EPROFITR and a target value of 1; the second order difference is the change in the value of EPROFITR from the previous year; the elasticities applied to these differences are given by the parameters &#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*mulrenew is a function of the share of other renewables in the energy mix in a country.&amp;amp;nbsp; It is assigned a value of 1 unless the production of energy from renewables exceeds 70% of total energy demand.&amp;amp;nbsp; If so, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulrenew_r=MAX(0.5,1-(\frac{ENP_{r,renew}}{ENDEM_r}-0.7)*1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given these conditions, mulrenew can take on values between 0.5 and 1, with larger values associated with larger amounts of renewable production.&lt;br /&gt;
&lt;br /&gt;
*sendeminvr is a moving average of the ratio of investment need to energy demand in a country, with an accounting for changes in the global capital production ratio since the first year and is updated as&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;sendeminvr_{r,t+1}=0.95*sendeminvr_{r,t}+0.05*\frac{TINEED_{r,t}}{ENDEM_{r,t=1}}*\frac{wkenenpr_{t=1}}{wkenenpr_t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this initial calculation, two further adjustments are made to TINEED.&amp;amp;nbsp; The first is a reduction related to a possible reduction of inventory, invreduc, carried over from the previous year.&amp;amp;nbsp; The calculation of invreduc is described later in this section, where we look at reductions in investment in specific energy types due to resource constraints or other factors. The effect on TINEED is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=TINEED_r-MIN(0.7*invreduc_{r,t-1},0.6*TINEED_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the reduction in TINEED can be no more than 60 percent.&lt;br /&gt;
&lt;br /&gt;
Finally, the user can adjust TINEED with the use of the multiplier &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Before this total investment need, TINEED, is passed to the Economic model, there is a chance that it may need to be further reduced.&amp;amp;nbsp; This depends on the calculation of a bound, TINeedBound.&amp;amp;nbsp; TINeedBound arises from a bottom-up calculation of the investment needs for each energy type individually, ineed.&amp;amp;nbsp; These depend upon the profits for each energy type and any possible bounds on production related to reserves and other factors.&lt;br /&gt;
&lt;br /&gt;
As with the estimate of total profits to energy, the returns by energy type depend upon production and costs.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturnS_{r,e}=\frac{ENP_{r,e}}{EnCost_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the non-fossil fuel energy types – hydro, nuclear, and other renewable – EnCost is based solely on capital depreciation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = hydro, nuclear, renew&lt;br /&gt;
&lt;br /&gt;
For the fossil fuel energy types – oil, gas, and coal – we must also consider any possible carbon taxes. EnCost is calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}+ENP_{r,e}*\mathbf{carfuel}_e*\mathbf{carbtax}_r+MAX(-0.5*\frac{ken_{r,e}}{\mathbf{lke_e}},ENP_{r,e}*(\mathbf{carfuel}_e-AvgCarFuel)*emtax_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, coal, gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carfuel&#039;&#039; &#039;&#039;&#039; is the carbon content of the fuel in tons per BBOE&lt;br /&gt;
*AvgCarFuel is the unweighted arithmetic average of the carbon content of oil, gas, and coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039; is an exogenously specified country-specific carbon tax in $ per BBOE&lt;br /&gt;
*emtax is the number of years since the first year plus one multiplied by 2&lt;br /&gt;
&lt;br /&gt;
The change in eprofitrs from the first year is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;eprofitrs_{r,e}=\frac{EnReturnS_{r,e,t}}{EnReturnS_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An average return, avgreturn, is calculated as the weighted sum of the individual returns:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;avgreturn_r=\sum_e(ENP_{r,e}*EnReturnS_{r,e})smoothentot_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Investment need by energy type, ineed, grows in proportion to capital and as a function of relative profits.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e,t}=ineed_{r,e,t=1}*\frac{ken_{r,e,t}}{ken_{r,e,t=1}}*eprofitrs^{elass_{r,e}}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;elass&#039;&#039; &#039;&#039;&#039; are country and energy-specific user controlled parameters&lt;br /&gt;
&lt;br /&gt;
At this point, ineed is checked to make sure that it does not fall by more than 20% or increase by more than 40% in any single year.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Also, if the user has set an exogenous target for production growth, i.e., &#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039; &#039;&#039;&#039; &amp;gt; 0, all of the above is overridden and ineed is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=\frac{ken_{r,e}*(1+\mathbf{enprodr}_e)}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These investment needs are checked to make sure that they do not exceed what the known reserve base can support.&amp;amp;nbsp; This applies only to oil, gas, coal, and hydro. An initial estimate of the maximum level of investment is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(\frac{RESER_{r,e}}{\mathbf{prodtf}_{r,e}}-\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
The first term in parentheses, when multiplied by QE, indicates the amount of capital that would be necessary in order to yield the maximum level of production given the lower bound of the reserve production ratio, &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;. The second term is simply the current level of capital and the third term indicates the level of depreciation of existing capital.&amp;amp;nbsp; This implies that countries will not make investments beyond those that would give it the maximum possible level of production for a given energy type.&lt;br /&gt;
&lt;br /&gt;
At the same time, IFs assumes there is a minimum level of investment, which is basically 30% of the capital depreciated during the current year:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mininv_{r,e}=0.3*\frac{ENP_{r,e}}{\mathbf{lke}_e}*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&lt;br /&gt;
In cases where the current production of oil, gas, or coal already equals or exceeds the exogenously specified maximum for a country – &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, or &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039; – maxinv is set equal to mininv.&amp;amp;nbsp; This again avoids useless investment.&lt;br /&gt;
&lt;br /&gt;
A further constraint is placed on the maximum investment level in capital for hydro production.&amp;amp;nbsp; This is done by simply replacing RESER/&#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039; in the calculation of maxinv with the value ENDEM * EnpHydroDemRI * 2, where EnpHydroDemRI is the ratio of energy produced by hydro in the base year to total energy demand in that year.&amp;amp;nbsp; In other words, the growth in energy production from hydro in the current year from the first year cannot exceed twice the growth in total energy demand over that period, even if reserves are available, and capital investments are restricted accordingly.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxHydroProd_{r,t}=2*\frac{ENDEM_{r,t}}{ENDEM_{r,t=1}}*ENP_{r,Hydro,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The constraints placed on investment in nuclear energy differ somewhat from these other fuels. IFs does not have an explicit measure of reserves for nuclear.&amp;amp;nbsp; Rather, it is assumed that the growth in capital in nuclear energy cannot exceed 1 percent of existing capital plus whatever is required to account for depreciation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(0.01*\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = nuclear&lt;br /&gt;
&lt;br /&gt;
Also, the minimum level of investment for nuclear energy is assumed to be 50 percent of the capital depreciated in the current year, rather than 30 percent as with oil, gas, coal, and hydro.&lt;br /&gt;
&lt;br /&gt;
There is no limit to the investments in capital for other renewables.&lt;br /&gt;
&lt;br /&gt;
Given these restrictions, the investment needs for oil, gas, coal, hydro, and nuclear are updated so that mininv &amp;lt;= ineed &amp;lt;= maxinv.&amp;amp;nbsp; Any reductions from the previous estimates of ineed are summed across energy types to yield the value of invreduc, which will affect the estimate of TINEED in the following year as described earlier.&lt;br /&gt;
&lt;br /&gt;
The final estimates of ineed for each energy type are summed to yield TINeedBound.&amp;amp;nbsp; If TINEED is greater than TINEEDBOUND, then TINEED is recalculated as the average of the two:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=0.5*(TINEED_r+TINeedBound_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value of TINEED is passed to the Economic model as IDS&amp;lt;sub&amp;gt;energy&amp;lt;/sub&amp;gt;,&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;IDS_{r,s=energy}=sidsf_r*TINEED_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*sidsf is an adjustment coefficient converting units of energy capital into monetary values. This gradually converges to a value of 1 after a number of years specified by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In the Economic model, the desired investment in energy must compete with other sectors for investment (see more about linkages between the Energy and Economic models in section 3.7).&amp;amp;nbsp; Once these sectoral investments are determined, a new value for investments in the energy sector, IDS&amp;lt;sub&amp;gt;s=energy&amp;lt;/sub&amp;gt;, is passed back to the Energy model.&amp;amp;nbsp; The adjustment coefficient is then applied to yield:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;inen_r=\frac{IDS_{r,s=energy}}{sidsf_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the meantime, the desired investment for each energy type can be modified with a country and energy-type specific parameter &#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039; &#039;&#039;&#039;, and a new value of TINEED is calculated as the sum of these new levels of desired investment.&amp;amp;nbsp; The amount of the available investment, inen, going to each energy type is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=inen_r*\frac{ineed_{r,e}*\mathbf{eninvtm}_{r,e}}{TINEED_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., all energy types receive the same proportional increase or decrease in investment.&lt;br /&gt;
&lt;br /&gt;
These investments are then translated into units of capital, KEN_Shr,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;KENShr_{r,e}=ineed_{r,e}-\frac{ken_{r,e}}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new level of capital is determined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ken_{r,e,t+1}=(ken_{r,e,t}+KENShr_{r,e})*(1-CIVDM_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*CIVDM is an exogenous factor reflecting civilian damage from war&lt;br /&gt;
&lt;br /&gt;
Note that there is no guarantee that KEN_Shr is positive, so it is theoretically possible for ken to fall below 0; IFs checks to make sure that this does not happen.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;World energy price is used to provide stability. The no tax world energy price is used as taxes do not contribute to returns.&lt;br /&gt;
&lt;br /&gt;
[2] Note the careful use of the time subscripts. sendeminvr is not updated until after the computation of the initial value of TINEED, so the initial calculation of TINEED needs to use the previous year’s value of sendeminvr. Furthermore, the updating of sendeminvr occurs after TINEED has been adjusted to reflect any inventory reductions, but before the investment multiplier, &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;, is applied.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Economic Linkages&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The economic model and the two physical models have many variables in common.&amp;amp;nbsp; As in the agricultural model, IFs generally uses the values in the physical model to override those in the economic model.&amp;amp;nbsp; To do so, it computes coefficients in the first year that serve to adjust the physical values subsequently. The adjustment coefficients serve double duty - they translate from physical terms to constant monetary ones, and they adjust for discrepancies in initial empirical values between the two models.&lt;br /&gt;
&lt;br /&gt;
[[Energy#Energy_Investment|The Energy Investment section]] already described how desired investment, TINEED, is passed to the Economic model using the adjustment coefficient sidsf.&amp;amp;nbsp; The adjustment coefficient, ZSR is used to convert production:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZS_{r,s=2}=ZSR_r*WEPBYear_{r,t=1}*\sum^EENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZSRI_r=\frac{ZS_{r,s=2,t=1}}{WEPBYear_{r,t=1}*\sum^EENP_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZSR is a convergence of ZSRI to a value of 1 in 30 years and WEPBYear converts the energy units, which are in BBOE to dollars.&lt;br /&gt;
&lt;br /&gt;
The adjustment coefficient SCSF is used to convert consumption:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CS_{r,s=2}=SCSF_r*ENDEM_r*0.6&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SCSF_r=\frac{CS_{r,s=2,t=1}}{ENDEM_{r,t=1}*0.6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this assumes that consumer make up a constant 60 percent of consumption of total primary energy.&amp;amp;nbsp; Also SCSF remains constant over time.&lt;br /&gt;
&lt;br /&gt;
For stocks, imports, and exports, WEBPBYear serves as the adjustment coefficient&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ST_{r,s=2}=WEPBYear_{r,t=1}*ENST_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XS_{r,s=2}=WEPBYear_{r,t=1_r}*ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MS_{r,s=2}=WEPBYear_{r,t=1}*ENM_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, the indexed price (with a base of 1) in the energy sector of the economic submodel (PRI) is simply the ratio of current to initial regional energy price (ENPRI) time the value of PRI in the first year.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PRI_{r,s=2}=PRI_{r,s=2,t=1}*\frac{ENPRI_r}{ENPRI_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Resources and Reserves: Capital-to-Output Ratios and Discoveries&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Capital-to-Output Ratios ===&lt;br /&gt;
&lt;br /&gt;
Resource base is important in selected energy categories of IFs: conventional oil, natural gas, coal, hydroelectric power, and unconventional oil.&amp;amp;nbsp; Resources are not important in the nuclear category, which represents an undefined mixture of burner, breeder and fusion power.&lt;br /&gt;
&lt;br /&gt;
Resource costs, as represented by the capital required to exploit them, increase as resource availability in the resource-constrained categories decreases.&amp;amp;nbsp; The capital-to-output ratio captures the increased cost.&amp;amp;nbsp; Kalymon (1975) took a similar approach.&lt;br /&gt;
&lt;br /&gt;
More specifically, the capital-to-output ratio (QE) increases in inverse proportion to the remaining resource base (as the base is cut in half, costs double&#039;&#039;&#039;; &#039;&#039;&#039;as it is cut to one fourth, costs quadruple).&amp;amp;nbsp; The model multiplies the initial capital output ratio by the initial resource base (RESOR) times a multiplier (RESORM) by which a model user can exogenously increase or decrease model assumptions.&amp;amp;nbsp; It then divides that product by initial resources minus cumulative production to date (CUMPR).&lt;br /&gt;
&lt;br /&gt;
Total available resources by energy type, ResorTot, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ResorTot_{r,e}=\mathbf{resorm}_{r,e}*\mathbf{resor}_{r,e}+\mathbf{resorunconm}_{r,e}*\mathbf{resoruncon}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039; are exogenously assumed levels of the ultimate amount of conventional and unconventional forms of each energy type.&amp;amp;nbsp; There is no assumption about conventional resources for nuclear and only oil and gas include unconventional resources&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039; are multipliers that can be used to change the amount of assumed ultimate resources by energy type&lt;br /&gt;
&lt;br /&gt;
All energy types begin with basic capital-to-output ratios, BQE and BQEUC.&amp;amp;nbsp; These are initially set equal to the same values of QE and QEUNCON, which are derived in the pre-processor, and then evolved according to exogenous assumptions about technological advance for each energy type:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQE_{r,e,t}=BQE_{r,e,t-1}*(1-\mathbf{etechadv}_e)&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQEUNCON_{r,e,t}=BQEUNCON_{r,e,t-1}*(1-\mathbf{etechadvuncon}_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recall that technological improvements result in declining amounts of capital required for each unit of energy produced.&lt;br /&gt;
&lt;br /&gt;
The initial translation of this basic capital-to-output ratio to the value actually used to determine energy production varies by energy type.&lt;br /&gt;
&lt;br /&gt;
This is most straightforward for nuclear and unconventional energy, which do not take into account remaining resources:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is nuclear&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qem&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QEUC_{r,e,t+1}=BQEUC_{r,e,t}*\mathbf{qeunconm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil or gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
For hydro and other renewables, QE depends upon the remaining resource, which is defined as the difference between the total resource available and a moving average of the difference in production vis-à-vis production in the first year. &amp;amp;nbsp;In other words, it is not cumulative production that is important, but rather the portion of resources used annually.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\frac{ResorTot_{r,e}}{resorrem_{r,e}}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-ENPGR_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPGR_{r,e}=SmoothENP_{r,e}-ENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SmoothENP_{r,e,t}=0.8*SmoothENP_{r,e,t-1}+0.2*ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*e = hydro or renew&lt;br /&gt;
&lt;br /&gt;
For oil, gas, and coal, the logic is similar, but the definition of remaining resources is somewhat different:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=MAX(ResorTot_{r,e}-CUMPR_{r,e},MaxFac_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CUMPR_{r,e,t}=CUMPR_{r,e,t-1}+ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MaxFac_{r,e}=0.1*ResorTot_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, the capital-to-output ratio is calculated as a moving average&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CompQE_{r,e}=BQE_{r,e}*(\frac{ResorTot_{r,e}}{resorrem_{r,e}})^{0.4}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=(0.8*QE_{r,e,t}+0.2*CompQE_{r,e})*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, or coal&lt;br /&gt;
&lt;br /&gt;
=== Discoveries ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Energy reserves decrease with production and increase with discoveries, the latter of which are limited by remaining resources and other factors. &amp;amp;nbsp;This only applies to oil, gas, and coal.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;RESER_{r,e,t+1}=RESER_{r,e,t}+rd_{r,e}-ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rate of discovery, rd, is initially computed as a function of a number of factors related to global energy prices, remaining resources, global and domestic production, and several exogenous assumptions&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rd_{r,e}=rdiaug_e*wepterm*reterm_{r,e}*\mathbf{rdm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;amp;nbsp;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039; is a country and energy-specific exogenous multiplier&lt;br /&gt;
*rdi_aug is an energy-specific factor driven entirely by exogenous assumptions about initial rates of discovery, &#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;, and annual increments, &#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rdiaug_e=\mathbf{rdi}_e+\mathbf{rdinr}_{r,e}*(t-firstyear)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wepterm is a global factor driven by the growth in world energy prices from the first year and an exogenously defined elasticity, &#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wepterm=1+\frac{WEP_t-WEP_{t=1}}{WEP_{t=1}}*\mathbf{elasdi}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*reterm is a country and energy-specific factor representing an average of a country’s remaining resources as a share of original resources and its share of current production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;reterm_{r,e}=0.5*(\frac{ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}}{\sum_e(ResorTot_{r,e,t=1}-RESER_{r,e,t=1})}+\frac{ENP_{r,e}}{WENP_e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further assumption is that the rate of discovery cannot exceed 4 percent of the remaining resources in a country, where remaining resources are specified as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*For oil the amount of unconventional oil in ResorTot is also affected by the parameter &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039;[2]&lt;br /&gt;
&amp;lt;div&amp;gt;[1] There used to be an additional impact of ICT broadband that would further reduce the BQE for other renewables, but that is currently not active in the model.&amp;amp;nbsp;&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[2] This only affects Canada, which has a value of &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039; = 0.3. Why this is not included in the QE calculations is unclear.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Indicators&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Among useful energy or energy-related indicators is the ratio (ENRGDP) of energy demand (ENDEM) to gross domestic product (GDP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENRGDP_r=\frac{ENDEM_r}{GDP_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global production of energy by energy type (WENP) is the sum of regional productions (ENP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum^RENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy production is the basis for examining the build-up of carbon dioxide and Climate Change, as described in the documentation of the Environmental model.&lt;br /&gt;
&lt;br /&gt;
The ratio of oil and gas production globally to total energy production (OILGPR) helps trace the transition to other fuels.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;OILGPR=\frac{WENP_{e=1}+WENP_{e=2}}{\sum^EWENP_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy reserves (WRESER) and global resources (WRESOR) are sums by energy type across regions, the latter taking into account any resource multiplier (RESORM) that a user specifies to modify basic model resource estimates.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESER_e=\sum^RRESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESOR_e=\sum^R(RESOR_{r,e}*RESORM_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Bibliography&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
Kalymon, Basil A. 1975. &amp;quot;Economic Incentives in OPEC Oil Pricing Policy.&amp;quot; &#039;&#039;Journal of Development Economics&#039;&#039; 2: 337-362.&lt;br /&gt;
&lt;br /&gt;
Naill, Roger F. 1977.&#039;&#039;Managing the Energy Transition.&#039;&#039; Vols. 1 and 2. Cambridge, Mass: Ballinger Publishing Co.&lt;br /&gt;
&lt;br /&gt;
Stanford University. 1978. &#039;&#039;Stanford Pilot Energy/Economic Model.&#039;&#039; Stanford: Department of Research, Interim Report, Vol. 1.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13773</id>
		<title>Energy</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13773"/>
		<updated>2026-02-17T15:24:33Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: In- progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Please cite as: Hughes, B. B., Solórzano, J., &amp;amp; Rothman, D. S., Irfan, R. I., Sahadevan, D. (2025, November 11). IFs energy model documentation. Pardee Center for International Futures, Josef Korbel School of Global and Public Affairs, University of Denver. [[Energy|https://pardeewiki.du.edu/index.php?title=Energy]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Introduction &lt;br /&gt;
&lt;br /&gt;
1.1 Overview &lt;br /&gt;
&lt;br /&gt;
The International Futures system (IFs) represents energy and electricity through integrated dynamics that span multiple IFs models: energy, economy, environment, and infrastructure. It captures patterns of energy consumption and electricity use, the drivers behind them, and the production of energy from both fossil and non-fossil sources using different technologies. IFs also incorporates trade in energy, using both a pooled approach and a bilateral version. The model accounts for the environmental implications of fossil fuel use, while broader development and sustainability outcomes such as access to electricity and improved fuel use, are also represented. &lt;br /&gt;
&lt;br /&gt;
Here we document the IFs energy model - a partial equilibrium model operating on physical energy, balancing consumption and production through a price variable that adjusts in response to supply-demand dynamics, with energy stocks serving as a buffer. Investment decisions are signalled by price and by cost, with cost shaped by resources, reserves, and technologies, and these dynamics in turn inform the treatment of the energy sector in the broader Economic Model. Ultimately, computations in the physical energy model feed into the Economic Model by replacing its sectoral calculations with the corresponding financial variables from the physical energy model. &lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the Economic Model provides the basis for energy demand calculations. Energy demand elasticity represents the responsiveness of demand to prices, which evolve over the long run with changes in technology and resource availability. Thus, the physical constraints on the supply side are very important in determining the dynamics of the energy model. &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes nine energy production categories: oil, natural gas, coal, hydropower, nuclear, solar, wind, geothermal and other renewables. The other renewables category includes tidal, wave, biodiesel and biogas. For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.  Currently, the model does not generate projections for consumption or trade by specific energy types. IFs rather computes aggregated regional or national energy demands and prices, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market. The model also conducts energy trade only in a single, combined energy category. Finally, at the moment, there is no full reconciliation between the production of energy and electricity generation (see the IFs &lt;br /&gt;
&lt;br /&gt;
Infrastructure Model Documentation for a description of the electricity aspects of IFs). &lt;br /&gt;
&lt;br /&gt;
1.2 Dominant Relations &lt;br /&gt;
&lt;br /&gt;
Energy demand (ENDEM) is a function of GDP and the energy demand per unit of GDP (ENRGDP). Energy production (ENP) is a function of capital stock in each energy type, the capital/output ratio (QE) for that energy type, and a capacity utilization factor (CPUTF). &lt;br /&gt;
&lt;br /&gt;
The following key dynamics are directly linked to the dominant relations:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;DEMAND:&#039;&#039;&#039; Energy demand per unit of GDP depends on GDP per capita, energy prices, and an autonomous trend in energy efficiency. The first two of these are computed endogenously, the latter exogenously. The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;), speed at which energy price changes affect demand (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;) and the autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;).  The user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;PRODUCTION&#039;&#039;&#039;: For fossil fuels and hydro, there are upper bounds on production. For fossil fuels, these are based on reserve-to-production ratios, as well as user-specified upper bounds (&#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039;&#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039;&#039;&#039;&#039;). For hydro, the upper bound relates to hydropower potential. The model user can also control production using an energy production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) to directly modify energy production by energy type. The user may also indirectly increase energy production through additional investment (&#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;), which will incorporate economic trade-offs. In contrast, a production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) comes without any cost to increased production.For renewable categories other than hydro, the model uses potential capacity (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;) in lieu of reserves or resources. This reflects availability or potential based on data or estimated from drivers such as land area. Unlike fossil fuels, where &#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039; represents finite physical resources that directly constrain production, renewable potentials are effectively unlimited; instead of setting an upper bound, they influence capital costs and investment dynamics.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL/OUTPUT RATIO&#039;&#039;&#039;: The capital/output ratio provides a measure of production cost, with declines reflecting efficiency gains and reduced capital intensity. User-controllable parameters (&#039;&#039;&#039;&#039;&#039;etechadv&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;etechadvuncon&#039;&#039;&#039;&#039;&#039;), applied to each fuel type, implement these cost declines due to technological improvements at the global level. For fossil fuels, this is counteracted by a factor that increases the capital/output ratio as the amount of remaining resources decreases. The user can further modify the capital/output ratios with the multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;).For renewable energy sources such as wind, solar, and geothermal, the capital/output ratio is equivalent to the levelized cost of electricity (LCOE) generation from these sources, though users can still modify capital output ratios with multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;). These energy sources are primarily used to generate electricity (except for geothermal, which can also provide direct heat).&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL:&#039;&#039;&#039; Energy capital, by fuel type, is initialized based on the initial levels of production and capital/output ratios. Energy capital depreciates at a rate determined by the lifetime of energy capital (&#039;&#039;&#039;&#039;&#039;lke&#039;&#039;&#039;&#039;&#039;) and grows with investment. Total desired investment in energy capital is influenced by many factors, including existing capital, domestic and global energy demand, the production of other renewables, changes in the global capital/output ratio, world and domestic energy stocks, expected overall profits in the energy sector, and imports. Users can control the effect of expected profits (&#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039;&#039;&#039;&#039;) and world energy stocks (&#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039;&#039;&#039;&#039;). Desired investment by energy type increases with individual profit expectations, but also by limits related to reserve production factors (for fossil fuels and hydro), any exogenous restrictions on maximum production (for fossil fuels), ultimate potential (for hydro), and other, unspecified factors (nuclear). Users can influence the effect of profit expectations by fuel type (via &#039;&#039;&#039;&#039;&#039;elass&#039;&#039;&#039;&#039;&#039;) as well as influence the desired investment by energy type (&#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039;)&#039;&#039;&#039;, or in the aggregate (via &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;). The user can also specify an exogenous growth rate for energy investment by fuel type (&#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039;&#039;&#039;&#039;). The Economic Model ultimately determines whether all of the investment needs can be met; in case of shortfalls, the investment in each type of energy is reduced proportionately.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;RESOURCES/RESERVES/STOCKS&#039;&#039;&#039;: IFs separately represents ultimate resources and reserves, where the latter are the amount of energy resources available to be produced. Resources and reserves, both conventional and unconventional, are set in the pre-processor. The user can modify the default assumptions on ultimate resources, either directly (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039;&#039;&#039;&#039;) or via the use of multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039;&#039;&#039;&#039;). Reserves decline with production and increase with discoveries. The rate of discovery depends on the ultimate resources remaining, the intensity of current production, world energy prices, and a base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039;&#039;&#039;&#039;). The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;), augment the base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039;&#039;&#039;&#039;), and use a multiplier to affect the rates of discovery (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039;&#039;&#039;&#039;). Finally, IFs keeps track of any production not used in the current year, i.e., stocks, and shortages.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ENERGY PRICES&#039;&#039;&#039;: Domestic energy prices are influenced by world stocks, domestic stocks, and the ratio of capital to production at the global level. The user can control the effect of domestic stocks on prices (&#039;&#039;&#039;&#039;&#039;epra&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039;&#039;&#039;&#039;). Users can also include a “cartel premium” (&#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039;&#039;&#039;&#039;) and a carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). More directly users can set domestic energy prices exogenously for just the first year (&#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;&#039;&#039;&#039;) or for multiple future years (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039;&#039;&#039;&#039;). The world energy price is calculated as a weighted sum of the domestic prices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRADE&#039;&#039;&#039;: The energy model also provides representation and model-user control over energy trade. The levels of imports (ENM) and exports (ENX), measured in physical terms (bboe), depend upon levels of production and demand, as well as past propensities to import and export energy. The user can set maximum limits on of energy imports (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039;&#039;&#039;&#039;) and energy exports (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039;&#039;&#039;&#039;), as well as general limits on trade (&#039;&#039;&#039;&#039;&#039;trademax&#039;&#039;&#039;&#039;&#039;).  &lt;br /&gt;
&lt;br /&gt;
----&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; Conventional sources refer to oil extracted through standard drilling methods, while unconventional sources include those requiring advanced techniques such as shale oil extraction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt; LCOE is expressed as the cost per kilowatt-hour of electricity generated and is computed by dividing the total electricity produced over the lifetime of a plant by the sum of its capital costs, operations, and maintenance expenditures (IRENA, 2024). We will revisit the implications of variable renewable energy (VRE), including system integration costs and their effect on capital/output ratios in more detail later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.3 Structure and Agent System&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Table 1: Model Structure and Agent System.&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&lt;br /&gt;
|Energy &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&lt;br /&gt;
|Partial market &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Stocks&#039;&#039;&#039;&lt;br /&gt;
|Capital, resources, reserves&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Flows&#039;&#039;&#039;&lt;br /&gt;
|Production, consumption, trade, discoveries, investment &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Aggregate Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Production function with exogenous technology change;&lt;br /&gt;
&lt;br /&gt;
Energy demand relative to GDP;&lt;br /&gt;
&lt;br /&gt;
Price determination &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Agent-Class&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Behavior Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Government taxes, subsidies&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.&#039;&#039;&#039;Flow Charts&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section presents several block diagrams that are central to the energy model: an energy system overview, energy production and energy consumption. &lt;br /&gt;
&lt;br /&gt;
2.1 &#039;&#039;&#039;Energy Overview&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The production growth process in energy is simpler than that in Agriculture or the full Economic Model. Because energy is a very capital-intensive sector, production depends only on capital stocks and changes in the capital-output ratio, which represents technological sophistication and other factors (such as decreasing resource bases) that affect production costs. &lt;br /&gt;
&lt;br /&gt;
The key equilibrating variable is again inventories. It works via investment to control capital stock and therefore production, and via prices to control domestic consumption. Production and consumption, in turn, control trade. Specifically, as inventories rise, investment falls, restraining capital stock and energy production, and thus holding down inventory growth. As inventories rise, prices fall, thereby increasing domestic consumption, which also holds down inventory growth.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 1: IFs Energy Model Overview.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2 &#039;&#039;&#039;Energy Production Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy production is computed from the capital stock invested in energy and the capitaloutput ratios, adjusted by a capacity utilization factor and bounded by production limits specific to each energy type. Exogenous parameters allow users to modify both the drivers of production and the production volumes themselves. The capital-output ratios are affected by the amount of remaining resources as a share of the initial levels, technological progress, and user-controlled multipliers. The capacity utilization factor is influenced by domestic stocks and shortages. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2: Energy Production in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.3 &#039;&#039;&#039;Energy Capital and Investment Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The capital stock by energy type decreases through depreciation and grows with new investment. Investment growth in the capital stock, though influenced by several factors, is driven primarily by energy profits and existing stocks. It can be adjusted through a user-defined scenario multiplier and is capped by production constraints linked to reserves availability for fossil fuels and resource potential for renewables. The user can use a direct multiplier on total energy investment, multipliers on energy investment by energy type to influence investment or specify a desired rate of growth in investment by energy type. &lt;br /&gt;
&lt;br /&gt;
For renewable energy sources like wind, solar and geothermal, the capital-output rations are tied to the levelized cost of electricity (LCOE). In case of variable renewable energy (VRE) sources such as solar and wind, there comes an additional set of challenges associated with intermittency, dispatchability and storage. For renewables, the capital– output ratio corresponds to the LCOE with adjustments for system integration costs such as transmission, storage, and balancing in the case of variable renewables. Addressing these challenges requires additional expenditures on transmission, distribution, and balancing capacity. LCOE data published in the literature does not always incorporate such system integration costs, which can be substantial at higher penetration levels of VRE and also affect production costs (Hirth et al., 2015; Ueckerdt et al., 2013). &lt;br /&gt;
&lt;br /&gt;
If these additional system costs are not considered, the model’s forecasts for such renewable sources may overestimate the pace of cost reductions driven by technological learning and economies of scale, while at the same time underestimating the true investments required for large-scale deployment of wind and solar power.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3: Energy Capital and Investment in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.4 Energy Demand Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy demand is estimated as a function of the energy demand per unit GDP (in PPP terms) and total GDP (in PPP terms), with adjustments related to energy prices and improvements in energy use efficiency. The energy demand per unit GDP depends on GDP per capita (in PPP Terms). The improvement in energy use efficiency is a combination of autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;) and an additional amount that accelerates the improvements for (non-exporting) countries that have efficiencies below the global average. The price effect takes into account both the domestic and global prices of energy, as well as any carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;) and the historical weight used to smooth energy prices (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;). Finally, the user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 4: Energy Demand in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.5 &#039;&#039;&#039;Energy Resources and Reserves Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes between ultimate resources and reserves, where the latter represent the amount of energy actually discovered and available for production. Ultimate resources are initially determined in the pre-processor, but the user can override these estimates using either absolute values (resor, resoruncon) or multipliers (resorm, resorunconm). There is also a parameter controlling the portion of unconventional oil that is economic to produce (enresunce). For non-renewable energy types, i.e., fossil fuels, reserves increase with discoveries and decrease with production. The rate of discovery includes a base rate (rdi) and an annual increment (rdinr). There are further adjustments related to the world energy price, the remaining resources, and the current rate of production. The user can control the effect of world prices on discovery (elasdi) and can also intervene with a discovery multiplier (rdm). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 5: Energy Resources and Reserves in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.&#039;&#039;&#039;Equations&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section will present and discuss the equations that are central to the functioning of the energy model: supply, demand, trade, stocks, price, investment, economic linkages, capital, natural resources and energy indicators. Here we follow the order of calculations in all years but the first, noting specific calculations that are made in the first year or preprocessor as necessary. A table has been added as an appendix to this document, linking the variables to the historical data series used to initialize them.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.1&#039;&#039;&#039; &#039;&#039;&#039;Energy Demand&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The key energy demand variable in IFs, ENDEM, tracks total primary energy demand. For the most part, IFs does not represent the transformation of this primary energy into final energy forms, or end-user energy demand. The one exception relates to electricity use, which is described in the documentation of the Infrastructure Model. &lt;br /&gt;
&lt;br /&gt;
In the first year, total primary energy demand is calculated as an apparent demand based on a balancing equation that equates energy demand with supply, defined as production plus net trade, and a balancing energy stock. While the supply side is obtained from historical data, the initial value for the stock is estimated from an aggregate stock base, obtained by adding demand and supply, on which a desired stock level (dstlen, 10% by default) is applied and then augmented by the expected growth in production following standard practice in storage planning. &lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑆𝑇&amp;lt;sub&amp;gt;𝑟,𝑡=1&amp;lt;/sub&amp;gt; = (∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒,𝑡=1&amp;lt;/sub&amp;gt; + 𝐸𝑁𝐷𝐸𝑀𝐸𝑠𝑡&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;) ∗ 𝑑𝑠𝑡𝑙𝑒𝑛  &amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝐷𝐸𝑀𝑟,𝑡=1 = ∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃𝑟,𝑒,𝑡=1 + 𝐸𝑁𝑀𝑟,𝑡=1 − 𝐸𝑁𝑋𝑟,𝑡=1 − 𝐸𝑁𝑆𝑇𝑟,𝑡=1 ∗ 𝐴𝑉𝐸𝑃𝑅𝑟,𝑡=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Where,&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
• &#039;&#039;ENP&#039;&#039;, &#039;&#039;ENM&#039;&#039;, &#039;&#039;ENX&#039;&#039;, &#039;&#039;ENST&#039;&#039;, and &#039;&#039;AVEPR&#039;&#039; are energy production, energy imports, energy exports, estimated energy stocks, and an average of the expected growth in production across all energy types (e) for a country, or region (r) in the first year (t) of the projection horizon. The calculations of the initial values of these variables are described later in the Equations section under the appropriate headings.&lt;br /&gt;
&lt;br /&gt;
Note that this calculation does not directly use the historical data on total primary energy demand and there can be a significant difference between the initialized value of ENDEM and the actual historical data for the base year. This information is used by the variable ENDEMSH, which is described in the Infrastructure documentation.&lt;br /&gt;
&lt;br /&gt;
In future years, the calculation of total primary energy demand begins with an estimate of the predicted amount of energy demand per unit of GDP (in PPP terms), compendemperunit, as a function of GDP per capita (in PPP terms).&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; This function is show in the figure below&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[3]&amp;lt;/sup&amp;gt; Since energy demand is not yet computed for the first year, an estimate (ENDEMEst) is obtained from the energy balance equation, with the stock term based solely on the supply side. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; Here, IFs uses GDP from the previous time cycle, with an estimate of growth, to calculate GDPPCP, because the recursive structure of IFs computes current GDP later. The current value of population, POP, has already been computed at this stage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt; The exact equation is compendemperunit = 0.0023428 -0.0003878*ln(GDPPCP).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 6: Relationship between compendemperunit and GDP per capita&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A small amount, 0.0005 barrels of oil equivalent (boe), is added to this computed value to account for the fact that the demand data used to estimate the function above is less than apparent demand globally. &lt;br /&gt;
&lt;br /&gt;
The initial data for countries is unlikely to fall exactly on this function. To reconcile this fact, IFs calculates values for both predicted energy demand per unit GDP in the first year, compendemperuniti, and empirical demand per unit GDP (in PPP terms) in the first year, actendemperuniti.&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; Over a time period of 75 years, controlled by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039;&#039;&#039;&#039;, IFs gradually adjusts the difference between these two values so that the estimate of energy demand per unit GDP (in PPP terms) eventually does fall on the function.&lt;br /&gt;
&lt;br /&gt;
IFs then calculates an initial estimate of total energy demand, endemba, by multiplying this adjusted value of energy demand per unit GDP (in PPP terms), endemperunit, by GDP (in PPP terms).&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; There is also an adjustment to the empirical demand that occurs during the initialization. Due to data inconsistencies and/or the exclusion of non-traded energy sources such as traditional biomass from production data, energy demand initialized using the balance method described above can turn out to be very low for some countries. The initialization code adjusts the base-year ENDEM for such cases to ensure that energy demand per unit of GDP at PPP is not less than a fifth of the value computed using the energy intensity function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt; IFs uses GDP from the previous time cycle here, because the recursive structure of IFs computes current GDP later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IFs then considers the effect of price on total primary energy demand. IFs keeps track of the global energy price as both an index (WEP, base year = 100) and as an actual dollar value (WEPBYEAR, $ per BBOE). It also tracks a country level energy price index&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
(ENPRI, base year =100). Finally, it can also consider a tax on carbon, expressed by the variable CarTaxEnPriAdd, which has the units $ per BBOE. &lt;br /&gt;
&lt;br /&gt;
The calculation of the effect of prices on total energy begins with the calculation of a variable called renpri. renpri is a moving average country-level price index that starts at the level of the country level price index in the base year, ENPRII, and then tracks changes in world energy prices and country-level carbon taxes.   The historical weight is controlled by the parameter ehw, so that: &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟,𝑡&amp;lt;/sub&amp;gt; = 𝒆𝒉𝒘 ∗ renpri&amp;lt;sub&amp;gt;𝑟,𝑡−1&amp;lt;/sub&amp;gt; + (1 − 𝒆𝒉𝒘)&lt;br /&gt;
&lt;br /&gt;
(𝑊𝐸𝑃𝑡−1+CarTaxEnPriAdd𝑟,𝑡−1∗𝑊𝐸𝑃𝑡=1&lt;br /&gt;
&lt;br /&gt;
𝑊𝐸𝑃𝐵𝑌𝐸𝐴𝑅𝑡=1)  &lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;renpri&#039;&#039; is the moving average country level price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039; is the weight given to the historical value of renpri&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEP&#039;&#039; is the global energy price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEPBYEAR&#039;&#039; is the global energy price in $ per BBOE&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;CarTaxEnPriAdd&#039;&#039; is the country level carbon tax in $ per BBOE of total energy and is calculated as the exogenous value of the carbon tax in $ per ton of carbon, &#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;, times a production weighted average of the carbon contents of oil, gas, and coal, &#039;&#039;&#039;&#039;&#039;carfuel&amp;lt;sub&amp;gt;e&amp;lt;/sub&amp;gt; , where e is 1-3&#039;&#039;&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt;(𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒&amp;lt;/sub&amp;gt; ∗ 𝒄𝒂𝒓𝒇𝒖𝒆𝒍&amp;lt;sub&amp;gt;𝒆&amp;lt;/sub&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
                        CarTaxEnPriAdd&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; =  ∗ 𝒄𝒂𝒓𝒃𝒕𝒂𝒙&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sub&amp;gt;                                                                               ∑𝑒 𝐸𝑁𝑃𝑟,𝑒&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The parameter specifying the price elasticity of energy demand, &#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;, is adjusted based on the relationship between renpri and and ENPRII to yield a new parameter, elasadjusted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑃𝑅𝐼𝐼&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
elasadjusted&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; = 𝒆𝒍𝒂𝒔𝒅𝒆&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt; ∗  &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Supply&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The computation of energy production (ENP) is considerably easier than that of gross sectoral production in the economic model or of agricultural production in the agricultural model.&amp;amp;nbsp; Only capital is considered important as a factor of production (not labor, land, or even weather).&amp;amp;nbsp; Energy production is initially estimated by dividing the quotient of capital in each energy category (ken) and the appropriate capital-to-output ratio (QE).&amp;amp;nbsp; A multiplier, &#039;&#039;&#039;&#039;&#039;enpm&#039;&#039; &#039;&#039;&#039;, can be used to increase or decrease production.&amp;amp;nbsp; This yields:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP1_{r,e}=\frac{ken_{r,e}}{QE_{r,e}}*\mathbf{enpm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The dynamics of the capital-to-output ratios, QE, are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Known reserves (RESER) and exogenously specified maximums pose constraints on production of certain energy types.&amp;amp;nbsp; The affected energy types are oil, gas, coal, and hydro.&amp;amp;nbsp; The impact of reserves is felt via a limit on the fraction of reserves that can be produce in any year. Specifically, the reserve-to-production ratio may not fall below the value of &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;, which is initially set in the pre-processor, but can be overridden by the user. &amp;amp;nbsp;In addition, as the actual reserve-to-production ratio approaches this limit, its rate of decrease is limited.&amp;amp;nbsp; The exogenously specified maximums apply only to oil, gas, and coal, and are given by the parameters &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This yields a second estimate for energy production, given as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP2_{r,e}=MIN(\frac{RESER_{r,e}}{MAX(\mathbf{prodtf}_{r,e},sResProdR_{r,e}-1)},enpmax_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e only applies to oil, gas, coal, and hydro&lt;br /&gt;
*&#039;&#039;enpmax&#039;&#039; takes on the value &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;,depending upon the fuel.&lt;br /&gt;
*sResProdR is the reserve-to-production ratio from the previous year; this limit only takes effect when sResProdR falls below 30 and remains above &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IFs then selects the minimum of ENP1 and ENP2 as the estimate of energy production ENP.&amp;amp;nbsp; The dynamics of energy reserves are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
Two final adjustments are made to energy production.&amp;amp;nbsp; The first accounts for capacity utilization, &#039;&#039;CPUTF&#039;&#039;, and the second only comes into play when a restriction is placed on energy exports.&amp;amp;nbsp; Since these are not calculated until the calculation of energy stocks and shortages, they are described in the appropriate places in the [[Energy#Domestic_Energy_Stocks|Domestic Energy Stocks]] section and the [[Energy#Energy_Prices_and_Final_Adjustments_to_Domestic_Energy_Stocks_and_Capacity_Utilization|Energy Prices and Final Adjustments]] section.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Trade&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The energy model in IFs keeps track of trade in energy in physical quantities; the trade in energy in monetary terms is handled in the economic model. &amp;amp;nbsp;As opposed to the agricultural model, where trade in crops, meat, and fish are treated separately, the energy model considers trade in energy in the aggregate.&amp;amp;nbsp; Furthermore, it only considers production from oil, gas, coal, and hydro as being available for export.&amp;amp;nbsp; Finally, as with other aspects of trade, IFs uses a pooled trade model rather than representing bilateral trade.&lt;br /&gt;
&lt;br /&gt;
The first estimate of energy imports and exports by country are determined based upon a country’s propensity to export, propensity to import, and moving averages of its energy production and demand.&lt;br /&gt;
&lt;br /&gt;
The moving average of energy production, identified as smoothentot, is calculated simply as a moving average of production of energy from oil, gas, coal, and hydro. In the first year of the model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t=1}=EnTot_{r,t=1}=\sum_eENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
In future years,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t}=0.9*smoothentot_{r,t-1}+0.1*\sum_eENP_{r,e,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
The moving average of energy demand, identified as smoothpendem has a few more nuances, particularly after the first year.&amp;amp;nbsp; In the first year, IFs calculates:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t=1}=ENDEM_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In future years, rather than using the value of ENDEM calculated earlier, the model uses a slightly different measure of energy demand, referred to as pendem.&amp;amp;nbsp; pendem differs from ENDEM in two main ways:&lt;br /&gt;
&lt;br /&gt;
1. rather than using the moving average country-level price index, renpri, to calculate the effect of prices on energy demand, it uses only current values:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PEnPri_{r,t}=WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. it does not include the additional boost in energy efficiency beyond &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039; in calculating the autonomous changes in energy efficiency&lt;br /&gt;
&lt;br /&gt;
Thus, in future years, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t}=0.8*smoothpendem_{r,t-1}+0.2*pendem_{r,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A country’s propensities to import and export energy are given by the variables MKAVE and XKAVE.&amp;amp;nbsp; These are moving averages of the ratios of imports to an import base related to energy demand and exports to an export base related to energy production and demand, respectively.&amp;amp;nbsp; MKAVE is initialized to the ratio of energy imports to energy demand in the first year.&amp;amp;nbsp; A maximum value, MKAVMax is also set at this time to the maximum of 1.5 times this initial value or the value of the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; XKAVE is initialized to the ratio of energy exports to the sum of energy production from oil, gas, coal and hydro and energy demand from all energy types in the first year.&amp;amp;nbsp; Its maximum value, XKAVMAX is set to the maximum of this initial value and the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; The updating of MKAVE and XKAVE occur after the calculation of imports and exports, so we will return to that at the end of this section.&lt;br /&gt;
&lt;br /&gt;
The initial estimates of energy exports, ENX, and energy imports, ENM, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MIN(XKAVE_r,XKAVMAX_r)*exportbase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MIN(MKAVE_r*pendem_r,MKAVMAX_r*smoothpendem_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;exportbase_r=smoothentot_r+smoothpendem_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, IFs makes some adjustments to energy imports and exports depending upon whether a country is considered in energy surplus or deficit.&amp;amp;nbsp; Where a country sits in this regard involves considering domestic and global stocks in addition to current production and demand.&lt;br /&gt;
&lt;br /&gt;
Domestic energy stocks are computed as the sum of stocks carried over from the previous year, while also considering any shortages&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;stocks_{r,t}=ENST_{r,t-1}-ENSHO_{r,t-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A stock base is also calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;StBase_r=smoothpendem_r+smoothpendemr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ratio of stocks to StBase can be defined as domesticstockratio. A moving average of a trade base, smoothtradebase, is also calculated for each country:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradebase_{r,t}=MAX(ENDEM_r,0.9*smoothtradebase_{r,t-1}+0.1*2*(ENX_r+ENM_r))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradbase_{r,t+1}=MAX(ENDEM_{r,t=1},2*(ENX_{r,t=1}+ENM_{r,t=1}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy stocks, GlobalStocks, and the global stock base, GlobalStBase, are the sum of the domestic stocks and stock bases across countries, and the value of the globalstockratio is defined as GlobalStocks divided by GlobalStBase.&lt;br /&gt;
&lt;br /&gt;
For each country, the level of deficit or surplus, endefsurp, is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endefsurp_r=(globalstockratio-domesticstockratio_r)*StBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that if a countries stock ratio is less (greater) than the global average, it is considered in deficit (surplus).&lt;br /&gt;
&lt;br /&gt;
If a country is in deficit, i.e., endefsurp &amp;gt; 0, IFs will act to reduce its exports and increase its exports.&amp;amp;nbsp; The recomputed value of exports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MAX(0.5*ENX_r,ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy exports is determined by the ratio of the level of deficit to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a maximum level given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENMMax_r=ENM_r+(\frac{pendem_r*MKAVMAX_r-ENM_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, if a country is in surplus, i.e., endefsurp &amp;lt; 0, IFs will act to increase exports and reduce imports.&amp;amp;nbsp; The amount of increase in exports is controlled, in part, by the exchange rate for the country, EXRATE, specifically its difference from a target level of 1 and its change from the previous year.&amp;amp;nbsp; As with other adjustment factors of this type, the ADJSTR function is used, yielding a factor named mul.&amp;amp;nbsp; After first multiplying ENX by a value that is bound from above by 1.05 and from below by the maximum of 0.95 and mul, the recomputed value of ENX is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, a maximum level is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENXMax_r=ENX_r+(\frac{exportbase_r*XKAVMAX_r-ENX_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039; this maximum value is computed prior to the adjustments to ENX noted above.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MAX(0.5*ENM_r,ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy imports is determined by the ratio of the level of surplus to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
Because of the frequent use and importance of government trade restrictions in energy trade, model users may want to establish absolute export (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;) &amp;amp;nbsp;or import (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039; &#039;&#039;&#039;) limits, which can further constrain energy exports and imports.&amp;amp;nbsp; An export constraint may also affect the production of oil and gas as described in the next section.&lt;br /&gt;
&lt;br /&gt;
As it is unlikely that the sums of these values of ENX and ENM across countries will be equal, which is necessary for trade to balance.&amp;amp;nbsp; To address this, IFs computes actual world energy trade (WET) as the average of the global sums of exports and imports.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WET=\frac{\sum_rENX_r+\sum_rENM_r}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and recomputes energy exports and imports, as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=WET*\frac{ENX_r}{\sum_rENX_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=WET*\frac{ENM_r}{\sum_rENM_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This maintains each country’s share of total global energy exports and imports.&lt;br /&gt;
&lt;br /&gt;
IFs can now update the moving average export (XKAVE) and import (MKAVE) propensities for the next time step.&amp;amp;nbsp; This requires historic weights for exports (&#039;&#039;&#039;&#039;&#039;xhw&#039;&#039; &#039;&#039;&#039;) and imports (&#039;&#039;&#039;&#039;&#039;mhw&#039;&#039; &#039;&#039;&#039;), yielding the equations:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XKAVE_{r,t+1}=XKAVE_r*\mathbf{xhw}+(1-\mathbf{xhw})*\frac{ENX_r}{exportbase_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MKAVE_{r,t+1}=MKAVE_r*\mathbf{mhw}+(1-\mathbf{mhw})*\frac{ENM_r}{smoothpendem_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further adjustment is made related to the import propensity, MKAVE, related to the difference between this propensity and a target level, ImportTarget, and the change in this difference since the previous year. &amp;amp;nbsp;This target starts at the level of MKAVE in the first year and gradually declines to 0 over a 150 year period.&amp;amp;nbsp; As in many other situations in IFs, this process makes use of the ADJUSTR function to determine the adjustment factor.&amp;amp;nbsp; The value of mulmlev is not allowed to exceed 1, so its effect can only be to reduce the value of MKAVE.&lt;br /&gt;
&lt;br /&gt;
Finally, XKAVE and MKAVE are checked to make sure that they do not exceed their maximum values, XKAVMAX and MKAVMAX, respectively.&lt;br /&gt;
&lt;br /&gt;
[1] The previous year’s values of WEP and CarTaxEnPriAdd are used as the current year’s values are not calculated until later in the model sequence.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Domestic Energy Stocks&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs sets a target for energy stocks in each country as a fraction of a domestic stock base, StBase, which was defined earlier as the sum of a moving average of energy demand, smoothpendem, and a moving average of the production of oil, gas, coal, and hydro, smoothentot.&amp;amp;nbsp; This fraction is defined by the parameter &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Stocks are initialized in the first year as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;multiplied by the initial domestic stock base, which is the sum of production of all energy types and an estimated value of apparent energy demand.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_{r,t=1}=\mathbf{dstlen}*(\sum_cENP_{r,e,t=1}+ENDEMEst_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*ENDEMEst is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEMEst_r=(1-\mathbf{dstlen}*AVEPR_r)*\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*AVEPR is a weighted average energy production growth rate&lt;br /&gt;
&lt;br /&gt;
In future years, IFs begins by summing the moving average energy demand, smoothpendem, across countries, storing this value as WENDEM and the same for moving average energy production from oil, gas, coal, and hydro, smoothentot, which it stores as WorldEnp.&amp;amp;nbsp; It also sums the moving average energy demand just for countries that have low propensity for exports, XKAVE &amp;lt; 0.2, and stores this value as WEnDemIm.&lt;br /&gt;
&lt;br /&gt;
At this point, IFs adjusts energy production by multiplying by a capacity utilization factor, CPUTF, which is assumed to be the same for all energy types in a country.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP_{r,e}=ENP_{r,e}*CPUTF_r&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
The value of CPUTF is initialized to 1 in the first year.&amp;amp;nbsp; How it changes in time is described in the next section after the description of the calculation of the domestic price index.&lt;br /&gt;
&lt;br /&gt;
An initial estimate of energy stocks, ENST, is then calculated as the previous year’s stocks augmented by production and imports and reduced by use and exports&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_r=ENST_{r,t-1}+-ENDEM_r-ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after this calculation, there are excess stocks, i.e., ENST &amp;gt; &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and there is an export constraint, given by &#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;, adjustments are made to the production of oil and gas&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;, and, in turn, to energy stocks.&amp;amp;nbsp; The total reduction in oil and gas production is given as the amount of excess stocks, with a maximum reduction being the total amount of oil and gas production.&amp;amp;nbsp; This total amount of reduced production is then shared proportionately between oil and gas.&amp;amp;nbsp; The total reduction is also removed from ENST.&lt;br /&gt;
&lt;br /&gt;
Later, after the determination of prices, ENST is modified to: 1) ensure that they are not less than zero and 2) to account for any global shortfalls.&amp;amp;nbsp; These modifications are described in the next section.&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;This is the first of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&lt;br /&gt;
[2] This is the second of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Prices and Final Adjustments to Domestic Energy Stocks and Capacity Utilization&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs keeps track of separate domestic, ENPRI, and world, WEP, energy price indices, that apply to all forms of energy.&amp;amp;nbsp; These are initialized to a value of 100 in the first year.&amp;amp;nbsp; It also tracks the world energy price in terms of dollars per BBOE, WEPBYEAR, which is initialized as a global parameter.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;A number of pieces are needed for the calculation of energy prices.&amp;amp;nbsp; These include a world stock base, wstbase, world energy stocks, wenst, world energy production by energy type, WENP, world energy capital, WorldKen, and a global capital output ratio, wkenenpr.&amp;amp;nbsp; These are calculated as follows:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wstkbase=\sum_rStBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wenstks=\sum_r(ENST_r-ENSHO_{r,t-1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum_rENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldKen=\sum_r\sum_e(ken_e*\frac{CPUTF_r}{MAX(5,\mathbf{lke_e})})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENSHO is domestic energy shortage (described below)&lt;br /&gt;
*ken is capital for each energy type&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;lke&#039;&#039; &#039;&#039;&#039; is the average lifetime of capital for each energy type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In cases when at least one country has an exogenous restriction on the production of oil, i.e., enpm(oil) &amp;lt; 1 for at least one country, a few additional variables are calculated:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;GlobalShortFall=\sum_r\sum_eMax(0,ENP_{r,e,t-1}-1.05*ENP_{r,e,t})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldEnProd=\sum_eWENP_e&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ShortFallSub=GlobalShortFall*MIN(10,\frac{WorldEnProd}{WENP(oil)})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Otherwise these three variables all take on a value of 0.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;These values are used to calculate an adjustment factor driven by global energy stocks that affects domestic energy prices.&amp;amp;nbsp; The effect in the current year, wmul, is calculated using the ADJSTR function, which looks at the difference between world energy stocks, wenstks and the desired level, given by &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase, and the change in world energy stocks from the previous year.&amp;amp;nbsp; The presence of an exogenous restriction on the production of oil has two effects on the calculation of wmul.&amp;amp;nbsp; First, the value of ShortFallSub affects the two differences that feed into the ADJSTR function.&amp;amp;nbsp; Second, the elasticities applied in the ADJSTR function are tripled.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The adjustment factor calculated in the current year is not applied directly to the calculation of domestic energy prices.&amp;amp;nbsp; Rather, a cumulative value, cumwmul, is calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;cumwmul_t=cumwmul_{t-1}*(1+(wmul-1)*\mathbf{eprohw})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Other factors affect the domestic energy price index – domestic energy stocks, possible cartel price premiums, &#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039; &#039;&#039;&#039;, the first year value of the world energy price index, IWEP, changes in the global capita output ratio from the first year, whether the user has set a global energy price override. &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;and whether there are any restriction on oil production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy stocks affect a country-specific “markup” factor, MarkUpEn.&amp;amp;nbsp; This starts at a value of 1 and changes as a function of the value of mul, which is calculated using the ADJSTR function.&amp;amp;nbsp; Here the differences are those between domestic energy stocks and desired stocks, given as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and the changes in energy stocks from the previous year.&amp;amp;nbsp; Shortages from the previous year are also taken into account.&amp;amp;nbsp; The user can also control the elasticities used in the ADJSTR function with the parameters &#039;&#039;&#039;&#039;&#039;epra&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This markup evolves over time as&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MarkUpEn_{r,t}=MarkUpEn_{r,t-1}*mu&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy price index, ENPRI, is first calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=\mathbf{X}*mul_r*cumwmul+\mathbf{encartpp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; = &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;when this parameter is set to a value greater than 1 and IWEP otherwise&lt;br /&gt;
&lt;br /&gt;
It is then recomputed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=MIN(ENPRI_r,ENPRI_{r,t-1}+\mathbf{encartpp}_t-\mathbf{encartpp}_{t-1}+\mathbf{X})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; is 100 whenthere is a restriction on oil production in at least one country and 20 otherwise&lt;br /&gt;
&lt;br /&gt;
Furthermore, ENPRI is not allowed to fall by more than 10 in a given year.&lt;br /&gt;
&lt;br /&gt;
It is possible for the user to override this price calculation altogether.&amp;amp;nbsp; Any positive value of the exogenous country-specific energy price specification (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;) will do so.&lt;br /&gt;
&lt;br /&gt;
It is only now that a country’s energy stocks and shortages are finalized for the current year.&amp;amp;nbsp; If ENST is less than 0, then a shortage is recorded as ENSHO = -ENST and ENST is set to 0.&amp;amp;nbsp; In addition, for countries that have a low propensity for exports, XKAVE &amp;lt; 0.2, a share of any global shortfall is added to their shortage, with the share determined by the country’s share of moving average energy demand among those countries:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENSHO_r=ENSHO_r+GlobalShortFall*\frac{smoothpendem_r}{WEnDemIm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy shortage enters the Economic model in the calculation of gross sectoral production.&lt;br /&gt;
&lt;br /&gt;
The same differences in domestic stock from their target level and their change since the previous year, taking into account shortages from the previous year, are used to update the value of capacity utilization in energy, CPUTF, which was introduced earlier.&amp;amp;nbsp; The multiplier affecting CPUTF, Mul, is calculated using the ADJSTR function, with elasticities given by &#039;&#039;&#039;&#039;&#039;elenpst&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpst2&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, the capacity utilization is smoothed over time.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CPUTF_{r,t}=0.5*CPUTF_{r,t-1}+0.5*Mul&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is further assumed to converge to a value of 1 over a period of 100 years and is bound to always have a value between 0.2 and 2.&lt;br /&gt;
&lt;br /&gt;
This still leaves the need to calculate the world energy price. &amp;amp;nbsp;IFs actually tracks a world price including carbon taxes, WEP, and a world price ignoring carbon taxes, WEPNoTax.&amp;amp;nbsp; Carbon taxes are ignored in cases where the energy price is set exogenously using &#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In both cases, the world energy price is a weighted average of domestic energy prices:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEP=\frac{TENP}{TENPRI}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPNoTax=\frac{TENP}{TENPRINoTax}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENP=\sum_r\sum_eENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRINoTax=\sum_r\sum_e(ENPRI_r*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRI=\sum_r\sum_e((ENPRI_r+CarTaxEnPriAdd_r*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*WEP and WEPBYEAR convert CarTaxEnPriAdd from $/BBOE to an index value&lt;br /&gt;
*the term with CarTaxEnPriAdd is ignored in countries with exogenous energy prices in a given year&lt;br /&gt;
*CarTaxEnPriAdd is&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Finally, the value of WEPBYEAR is computed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPBYEAR=WEPBYEAR_{t=1}*\frac{WEP}{WEP_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Investment&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Investment in energy is relatively complex in IFs, because changes in investment are the key factor that allows us to clear the energy market in the long term.&amp;amp;nbsp; It is also different and perhaps slightly more complex in IFs than investment in agriculture.&amp;amp;nbsp; Whereas the latter involves computing a single investment need for agricultural capital, and subsequently dividing it between land and capital, in energy a separate demand or need is calculated for each energy type, based on profit levels specific to each energy type.&lt;br /&gt;
&lt;br /&gt;
We begin by calculating a total energy investment need (TINEED) to take to the economic model and place into the competition for investment among sectors.&amp;amp;nbsp; This investment need is a function of energy demand, adjusted by a number of factors, some global and some country-specific. To begin with, TINEED is calculated as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=ENDEM_r*mulendem*\frac{wkenenpri_t}{wkenenpri_{t-1}}*mulkenenpr*mulwst*mulstocks^{0.5}*mulrprof_r*mulrenew_r*sendeminvr_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*mulendem is the ratio of global energy demand per unit GDP in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{WENDEM_t/WGDP_t}{WENDEM_{t-1}/WGDP_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wkenenpri is the ratio of global energy capital to global energy production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulkenenpr is the ratio of wkenenpr in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{wkenenpr_t}{wkenenpr_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulwst and mulstocks are factors related to global energy stocks. mulwst is calculated using the ADJSTR function, where: the first order difference is that between global energy stocks, wenstks, and desired global energy stocks, DesStocks = &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase; the second order difference is between the level of world energy stocks in the current year and those in the past year; and the elasticities are given by the parameters &#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039; &#039;&#039;&#039;. mulstocks is also related to global energy stocks, but is more directly related to the desired level of global energy stocks:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulstocks=\frac{DesStocks}{MAX(0.5*DesStocks,MIN(4*DesStocks,enstks))}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that mulstocks will always take on a value between ¼ and 4.&lt;br /&gt;
&lt;br /&gt;
*mulrprof is a function of the expected level of profits in the energy sector as a whole in a country, EPROFITR.&amp;amp;nbsp; Energy profits are calculated as the ratio of returns, EnReturn, to costs, ProdCosts.&amp;amp;nbsp; EPROFITR is actually a moving average of these profits relative to those in the base year, with a historical weighting factor controlled by the parameter &#039;&#039;&#039;&#039;&#039;eprohw&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In full, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=WEPNoTax*\sum_eENP_{r,e}&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ProdCost_r=\sum_e\frac{ken_{e,r}}{MAX(5,\mathbf{lke_e})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=\frac{EnReturn_r}{ProdCost_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EPROFIT_{r,t}=\mathbf{eprohw}*EPROFIT_{r,t-1}+(1-\mathbf{eprohw})*\frac{EnReturn_{r,t}}{EnReturn_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now calculate mulrprof using the ADJSTR function.&amp;amp;nbsp; The first order difference is between the current value of EPROFITR and a target value of 1; the second order difference is the change in the value of EPROFITR from the previous year; the elasticities applied to these differences are given by the parameters &#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*mulrenew is a function of the share of other renewables in the energy mix in a country.&amp;amp;nbsp; It is assigned a value of 1 unless the production of energy from renewables exceeds 70% of total energy demand.&amp;amp;nbsp; If so, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulrenew_r=MAX(0.5,1-(\frac{ENP_{r,renew}}{ENDEM_r}-0.7)*1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given these conditions, mulrenew can take on values between 0.5 and 1, with larger values associated with larger amounts of renewable production.&lt;br /&gt;
&lt;br /&gt;
*sendeminvr is a moving average of the ratio of investment need to energy demand in a country, with an accounting for changes in the global capital production ratio since the first year and is updated as&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;sendeminvr_{r,t+1}=0.95*sendeminvr_{r,t}+0.05*\frac{TINEED_{r,t}}{ENDEM_{r,t=1}}*\frac{wkenenpr_{t=1}}{wkenenpr_t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this initial calculation, two further adjustments are made to TINEED.&amp;amp;nbsp; The first is a reduction related to a possible reduction of inventory, invreduc, carried over from the previous year.&amp;amp;nbsp; The calculation of invreduc is described later in this section, where we look at reductions in investment in specific energy types due to resource constraints or other factors. The effect on TINEED is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=TINEED_r-MIN(0.7*invreduc_{r,t-1},0.6*TINEED_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the reduction in TINEED can be no more than 60 percent.&lt;br /&gt;
&lt;br /&gt;
Finally, the user can adjust TINEED with the use of the multiplier &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Before this total investment need, TINEED, is passed to the Economic model, there is a chance that it may need to be further reduced.&amp;amp;nbsp; This depends on the calculation of a bound, TINeedBound.&amp;amp;nbsp; TINeedBound arises from a bottom-up calculation of the investment needs for each energy type individually, ineed.&amp;amp;nbsp; These depend upon the profits for each energy type and any possible bounds on production related to reserves and other factors.&lt;br /&gt;
&lt;br /&gt;
As with the estimate of total profits to energy, the returns by energy type depend upon production and costs.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturnS_{r,e}=\frac{ENP_{r,e}}{EnCost_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the non-fossil fuel energy types – hydro, nuclear, and other renewable – EnCost is based solely on capital depreciation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = hydro, nuclear, renew&lt;br /&gt;
&lt;br /&gt;
For the fossil fuel energy types – oil, gas, and coal – we must also consider any possible carbon taxes. EnCost is calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}+ENP_{r,e}*\mathbf{carfuel}_e*\mathbf{carbtax}_r+MAX(-0.5*\frac{ken_{r,e}}{\mathbf{lke_e}},ENP_{r,e}*(\mathbf{carfuel}_e-AvgCarFuel)*emtax_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, coal, gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carfuel&#039;&#039; &#039;&#039;&#039; is the carbon content of the fuel in tons per BBOE&lt;br /&gt;
*AvgCarFuel is the unweighted arithmetic average of the carbon content of oil, gas, and coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039; is an exogenously specified country-specific carbon tax in $ per BBOE&lt;br /&gt;
*emtax is the number of years since the first year plus one multiplied by 2&lt;br /&gt;
&lt;br /&gt;
The change in eprofitrs from the first year is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;eprofitrs_{r,e}=\frac{EnReturnS_{r,e,t}}{EnReturnS_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An average return, avgreturn, is calculated as the weighted sum of the individual returns:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;avgreturn_r=\sum_e(ENP_{r,e}*EnReturnS_{r,e})smoothentot_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Investment need by energy type, ineed, grows in proportion to capital and as a function of relative profits.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e,t}=ineed_{r,e,t=1}*\frac{ken_{r,e,t}}{ken_{r,e,t=1}}*eprofitrs^{elass_{r,e}}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;elass&#039;&#039; &#039;&#039;&#039; are country and energy-specific user controlled parameters&lt;br /&gt;
&lt;br /&gt;
At this point, ineed is checked to make sure that it does not fall by more than 20% or increase by more than 40% in any single year.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Also, if the user has set an exogenous target for production growth, i.e., &#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039; &#039;&#039;&#039; &amp;gt; 0, all of the above is overridden and ineed is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=\frac{ken_{r,e}*(1+\mathbf{enprodr}_e)}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These investment needs are checked to make sure that they do not exceed what the known reserve base can support.&amp;amp;nbsp; This applies only to oil, gas, coal, and hydro. An initial estimate of the maximum level of investment is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(\frac{RESER_{r,e}}{\mathbf{prodtf}_{r,e}}-\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
The first term in parentheses, when multiplied by QE, indicates the amount of capital that would be necessary in order to yield the maximum level of production given the lower bound of the reserve production ratio, &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;. The second term is simply the current level of capital and the third term indicates the level of depreciation of existing capital.&amp;amp;nbsp; This implies that countries will not make investments beyond those that would give it the maximum possible level of production for a given energy type.&lt;br /&gt;
&lt;br /&gt;
At the same time, IFs assumes there is a minimum level of investment, which is basically 30% of the capital depreciated during the current year:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mininv_{r,e}=0.3*\frac{ENP_{r,e}}{\mathbf{lke}_e}*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&lt;br /&gt;
In cases where the current production of oil, gas, or coal already equals or exceeds the exogenously specified maximum for a country – &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, or &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039; – maxinv is set equal to mininv.&amp;amp;nbsp; This again avoids useless investment.&lt;br /&gt;
&lt;br /&gt;
A further constraint is placed on the maximum investment level in capital for hydro production.&amp;amp;nbsp; This is done by simply replacing RESER/&#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039; in the calculation of maxinv with the value ENDEM * EnpHydroDemRI * 2, where EnpHydroDemRI is the ratio of energy produced by hydro in the base year to total energy demand in that year.&amp;amp;nbsp; In other words, the growth in energy production from hydro in the current year from the first year cannot exceed twice the growth in total energy demand over that period, even if reserves are available, and capital investments are restricted accordingly.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxHydroProd_{r,t}=2*\frac{ENDEM_{r,t}}{ENDEM_{r,t=1}}*ENP_{r,Hydro,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The constraints placed on investment in nuclear energy differ somewhat from these other fuels. IFs does not have an explicit measure of reserves for nuclear.&amp;amp;nbsp; Rather, it is assumed that the growth in capital in nuclear energy cannot exceed 1 percent of existing capital plus whatever is required to account for depreciation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(0.01*\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = nuclear&lt;br /&gt;
&lt;br /&gt;
Also, the minimum level of investment for nuclear energy is assumed to be 50 percent of the capital depreciated in the current year, rather than 30 percent as with oil, gas, coal, and hydro.&lt;br /&gt;
&lt;br /&gt;
There is no limit to the investments in capital for other renewables.&lt;br /&gt;
&lt;br /&gt;
Given these restrictions, the investment needs for oil, gas, coal, hydro, and nuclear are updated so that mininv &amp;lt;= ineed &amp;lt;= maxinv.&amp;amp;nbsp; Any reductions from the previous estimates of ineed are summed across energy types to yield the value of invreduc, which will affect the estimate of TINEED in the following year as described earlier.&lt;br /&gt;
&lt;br /&gt;
The final estimates of ineed for each energy type are summed to yield TINeedBound.&amp;amp;nbsp; If TINEED is greater than TINEEDBOUND, then TINEED is recalculated as the average of the two:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=0.5*(TINEED_r+TINeedBound_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value of TINEED is passed to the Economic model as IDS&amp;lt;sub&amp;gt;energy&amp;lt;/sub&amp;gt;,&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;IDS_{r,s=energy}=sidsf_r*TINEED_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*sidsf is an adjustment coefficient converting units of energy capital into monetary values. This gradually converges to a value of 1 after a number of years specified by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In the Economic model, the desired investment in energy must compete with other sectors for investment (see more about linkages between the Energy and Economic models in section 3.7).&amp;amp;nbsp; Once these sectoral investments are determined, a new value for investments in the energy sector, IDS&amp;lt;sub&amp;gt;s=energy&amp;lt;/sub&amp;gt;, is passed back to the Energy model.&amp;amp;nbsp; The adjustment coefficient is then applied to yield:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;inen_r=\frac{IDS_{r,s=energy}}{sidsf_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the meantime, the desired investment for each energy type can be modified with a country and energy-type specific parameter &#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039; &#039;&#039;&#039;, and a new value of TINEED is calculated as the sum of these new levels of desired investment.&amp;amp;nbsp; The amount of the available investment, inen, going to each energy type is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=inen_r*\frac{ineed_{r,e}*\mathbf{eninvtm}_{r,e}}{TINEED_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., all energy types receive the same proportional increase or decrease in investment.&lt;br /&gt;
&lt;br /&gt;
These investments are then translated into units of capital, KEN_Shr,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;KENShr_{r,e}=ineed_{r,e}-\frac{ken_{r,e}}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new level of capital is determined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ken_{r,e,t+1}=(ken_{r,e,t}+KENShr_{r,e})*(1-CIVDM_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*CIVDM is an exogenous factor reflecting civilian damage from war&lt;br /&gt;
&lt;br /&gt;
Note that there is no guarantee that KEN_Shr is positive, so it is theoretically possible for ken to fall below 0; IFs checks to make sure that this does not happen.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;World energy price is used to provide stability. The no tax world energy price is used as taxes do not contribute to returns.&lt;br /&gt;
&lt;br /&gt;
[2] Note the careful use of the time subscripts. sendeminvr is not updated until after the computation of the initial value of TINEED, so the initial calculation of TINEED needs to use the previous year’s value of sendeminvr. Furthermore, the updating of sendeminvr occurs after TINEED has been adjusted to reflect any inventory reductions, but before the investment multiplier, &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;, is applied.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Economic Linkages&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The economic model and the two physical models have many variables in common.&amp;amp;nbsp; As in the agricultural model, IFs generally uses the values in the physical model to override those in the economic model.&amp;amp;nbsp; To do so, it computes coefficients in the first year that serve to adjust the physical values subsequently. The adjustment coefficients serve double duty - they translate from physical terms to constant monetary ones, and they adjust for discrepancies in initial empirical values between the two models.&lt;br /&gt;
&lt;br /&gt;
[[Energy#Energy_Investment|The Energy Investment section]] already described how desired investment, TINEED, is passed to the Economic model using the adjustment coefficient sidsf.&amp;amp;nbsp; The adjustment coefficient, ZSR is used to convert production:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZS_{r,s=2}=ZSR_r*WEPBYear_{r,t=1}*\sum^EENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZSRI_r=\frac{ZS_{r,s=2,t=1}}{WEPBYear_{r,t=1}*\sum^EENP_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZSR is a convergence of ZSRI to a value of 1 in 30 years and WEPBYear converts the energy units, which are in BBOE to dollars.&lt;br /&gt;
&lt;br /&gt;
The adjustment coefficient SCSF is used to convert consumption:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CS_{r,s=2}=SCSF_r*ENDEM_r*0.6&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SCSF_r=\frac{CS_{r,s=2,t=1}}{ENDEM_{r,t=1}*0.6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this assumes that consumer make up a constant 60 percent of consumption of total primary energy.&amp;amp;nbsp; Also SCSF remains constant over time.&lt;br /&gt;
&lt;br /&gt;
For stocks, imports, and exports, WEBPBYear serves as the adjustment coefficient&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ST_{r,s=2}=WEPBYear_{r,t=1}*ENST_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XS_{r,s=2}=WEPBYear_{r,t=1_r}*ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MS_{r,s=2}=WEPBYear_{r,t=1}*ENM_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, the indexed price (with a base of 1) in the energy sector of the economic submodel (PRI) is simply the ratio of current to initial regional energy price (ENPRI) time the value of PRI in the first year.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PRI_{r,s=2}=PRI_{r,s=2,t=1}*\frac{ENPRI_r}{ENPRI_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Resources and Reserves: Capital-to-Output Ratios and Discoveries&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Capital-to-Output Ratios ===&lt;br /&gt;
&lt;br /&gt;
Resource base is important in selected energy categories of IFs: conventional oil, natural gas, coal, hydroelectric power, and unconventional oil.&amp;amp;nbsp; Resources are not important in the nuclear category, which represents an undefined mixture of burner, breeder and fusion power.&lt;br /&gt;
&lt;br /&gt;
Resource costs, as represented by the capital required to exploit them, increase as resource availability in the resource-constrained categories decreases.&amp;amp;nbsp; The capital-to-output ratio captures the increased cost.&amp;amp;nbsp; Kalymon (1975) took a similar approach.&lt;br /&gt;
&lt;br /&gt;
More specifically, the capital-to-output ratio (QE) increases in inverse proportion to the remaining resource base (as the base is cut in half, costs double&#039;&#039;&#039;; &#039;&#039;&#039;as it is cut to one fourth, costs quadruple).&amp;amp;nbsp; The model multiplies the initial capital output ratio by the initial resource base (RESOR) times a multiplier (RESORM) by which a model user can exogenously increase or decrease model assumptions.&amp;amp;nbsp; It then divides that product by initial resources minus cumulative production to date (CUMPR).&lt;br /&gt;
&lt;br /&gt;
Total available resources by energy type, ResorTot, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ResorTot_{r,e}=\mathbf{resorm}_{r,e}*\mathbf{resor}_{r,e}+\mathbf{resorunconm}_{r,e}*\mathbf{resoruncon}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039; are exogenously assumed levels of the ultimate amount of conventional and unconventional forms of each energy type.&amp;amp;nbsp; There is no assumption about conventional resources for nuclear and only oil and gas include unconventional resources&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039; are multipliers that can be used to change the amount of assumed ultimate resources by energy type&lt;br /&gt;
&lt;br /&gt;
All energy types begin with basic capital-to-output ratios, BQE and BQEUC.&amp;amp;nbsp; These are initially set equal to the same values of QE and QEUNCON, which are derived in the pre-processor, and then evolved according to exogenous assumptions about technological advance for each energy type:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQE_{r,e,t}=BQE_{r,e,t-1}*(1-\mathbf{etechadv}_e)&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQEUNCON_{r,e,t}=BQEUNCON_{r,e,t-1}*(1-\mathbf{etechadvuncon}_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recall that technological improvements result in declining amounts of capital required for each unit of energy produced.&lt;br /&gt;
&lt;br /&gt;
The initial translation of this basic capital-to-output ratio to the value actually used to determine energy production varies by energy type.&lt;br /&gt;
&lt;br /&gt;
This is most straightforward for nuclear and unconventional energy, which do not take into account remaining resources:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is nuclear&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qem&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QEUC_{r,e,t+1}=BQEUC_{r,e,t}*\mathbf{qeunconm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil or gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
For hydro and other renewables, QE depends upon the remaining resource, which is defined as the difference between the total resource available and a moving average of the difference in production vis-à-vis production in the first year. &amp;amp;nbsp;In other words, it is not cumulative production that is important, but rather the portion of resources used annually.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\frac{ResorTot_{r,e}}{resorrem_{r,e}}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-ENPGR_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPGR_{r,e}=SmoothENP_{r,e}-ENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SmoothENP_{r,e,t}=0.8*SmoothENP_{r,e,t-1}+0.2*ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*e = hydro or renew&lt;br /&gt;
&lt;br /&gt;
For oil, gas, and coal, the logic is similar, but the definition of remaining resources is somewhat different:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=MAX(ResorTot_{r,e}-CUMPR_{r,e},MaxFac_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CUMPR_{r,e,t}=CUMPR_{r,e,t-1}+ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MaxFac_{r,e}=0.1*ResorTot_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, the capital-to-output ratio is calculated as a moving average&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CompQE_{r,e}=BQE_{r,e}*(\frac{ResorTot_{r,e}}{resorrem_{r,e}})^{0.4}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=(0.8*QE_{r,e,t}+0.2*CompQE_{r,e})*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, or coal&lt;br /&gt;
&lt;br /&gt;
=== Discoveries ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Energy reserves decrease with production and increase with discoveries, the latter of which are limited by remaining resources and other factors. &amp;amp;nbsp;This only applies to oil, gas, and coal.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;RESER_{r,e,t+1}=RESER_{r,e,t}+rd_{r,e}-ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rate of discovery, rd, is initially computed as a function of a number of factors related to global energy prices, remaining resources, global and domestic production, and several exogenous assumptions&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rd_{r,e}=rdiaug_e*wepterm*reterm_{r,e}*\mathbf{rdm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;amp;nbsp;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039; is a country and energy-specific exogenous multiplier&lt;br /&gt;
*rdi_aug is an energy-specific factor driven entirely by exogenous assumptions about initial rates of discovery, &#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;, and annual increments, &#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rdiaug_e=\mathbf{rdi}_e+\mathbf{rdinr}_{r,e}*(t-firstyear)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wepterm is a global factor driven by the growth in world energy prices from the first year and an exogenously defined elasticity, &#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wepterm=1+\frac{WEP_t-WEP_{t=1}}{WEP_{t=1}}*\mathbf{elasdi}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*reterm is a country and energy-specific factor representing an average of a country’s remaining resources as a share of original resources and its share of current production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;reterm_{r,e}=0.5*(\frac{ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}}{\sum_e(ResorTot_{r,e,t=1}-RESER_{r,e,t=1})}+\frac{ENP_{r,e}}{WENP_e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further assumption is that the rate of discovery cannot exceed 4 percent of the remaining resources in a country, where remaining resources are specified as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*For oil the amount of unconventional oil in ResorTot is also affected by the parameter &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039;[2]&lt;br /&gt;
&amp;lt;div&amp;gt;[1] There used to be an additional impact of ICT broadband that would further reduce the BQE for other renewables, but that is currently not active in the model.&amp;amp;nbsp;&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[2] This only affects Canada, which has a value of &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039; = 0.3. Why this is not included in the QE calculations is unclear.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Indicators&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Among useful energy or energy-related indicators is the ratio (ENRGDP) of energy demand (ENDEM) to gross domestic product (GDP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENRGDP_r=\frac{ENDEM_r}{GDP_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global production of energy by energy type (WENP) is the sum of regional productions (ENP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum^RENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy production is the basis for examining the build-up of carbon dioxide and Climate Change, as described in the documentation of the Environmental model.&lt;br /&gt;
&lt;br /&gt;
The ratio of oil and gas production globally to total energy production (OILGPR) helps trace the transition to other fuels.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;OILGPR=\frac{WENP_{e=1}+WENP_{e=2}}{\sum^EWENP_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy reserves (WRESER) and global resources (WRESOR) are sums by energy type across regions, the latter taking into account any resource multiplier (RESORM) that a user specifies to modify basic model resource estimates.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESER_e=\sum^RRESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESOR_e=\sum^R(RESOR_{r,e}*RESORM_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Bibliography&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
Kalymon, Basil A. 1975. &amp;quot;Economic Incentives in OPEC Oil Pricing Policy.&amp;quot; &#039;&#039;Journal of Development Economics&#039;&#039; 2: 337-362.&lt;br /&gt;
&lt;br /&gt;
Naill, Roger F. 1977.&#039;&#039;Managing the Energy Transition.&#039;&#039; Vols. 1 and 2. Cambridge, Mass: Ballinger Publishing Co.&lt;br /&gt;
&lt;br /&gt;
Stanford University. 1978. &#039;&#039;Stanford Pilot Energy/Economic Model.&#039;&#039; Stanford: Department of Research, Interim Report, Vol. 1.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13772</id>
		<title>Energy</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13772"/>
		<updated>2026-02-17T15:23:38Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: In- progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Please cite as: Hughes, B. B., Solórzano, J., &amp;amp; Rothman, D. S., Irfan, R. I., Sahadevan, D. (2025, November 11). IFs energy model documentation. Pardee Center for International Futures, Josef Korbel School of Global and Public Affairs, University of Denver. [[Energy|https://pardeewiki.du.edu/index.php?title=Energy]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Dominant Relations: Energy&amp;lt;/span&amp;gt; =&lt;br /&gt;
 &lt;br /&gt;
1. Introduction &lt;br /&gt;
&lt;br /&gt;
1.1 Overview &lt;br /&gt;
&lt;br /&gt;
The International Futures system (IFs) represents energy and electricity through integrated dynamics that span multiple IFs models: energy, economy, environment, and infrastructure. It captures patterns of energy consumption and electricity use, the drivers behind them, and the production of energy from both fossil and non-fossil sources using different technologies. IFs also incorporates trade in energy, using both a pooled approach and a bilateral version. The model accounts for the environmental implications of fossil fuel use, while broader development and sustainability outcomes such as access to electricity and improved fuel use, are also represented. &lt;br /&gt;
&lt;br /&gt;
Here we document the IFs energy model - a partial equilibrium model operating on physical energy, balancing consumption and production through a price variable that adjusts in response to supply-demand dynamics, with energy stocks serving as a buffer. Investment decisions are signalled by price and by cost, with cost shaped by resources, reserves, and technologies, and these dynamics in turn inform the treatment of the energy sector in the broader Economic Model. Ultimately, computations in the physical energy model feed into the Economic Model by replacing its sectoral calculations with the corresponding financial variables from the physical energy model. &lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the Economic Model provides the basis for energy demand calculations. Energy demand elasticity represents the responsiveness of demand to prices, which evolve over the long run with changes in technology and resource availability. Thus, the physical constraints on the supply side are very important in determining the dynamics of the energy model. &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes nine energy production categories: oil, natural gas, coal, hydropower, nuclear, solar, wind, geothermal and other renewables. The other renewables category includes tidal, wave, biodiesel and biogas. For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.  Currently, the model does not generate projections for consumption or trade by specific energy types. IFs rather computes aggregated regional or national energy demands and prices, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market. The model also conducts energy trade only in a single, combined energy category. Finally, at the moment, there is no full reconciliation between the production of energy and electricity generation (see the IFs &lt;br /&gt;
&lt;br /&gt;
Infrastructure Model Documentation for a description of the electricity aspects of IFs). &lt;br /&gt;
&lt;br /&gt;
1.2 Dominant Relations &lt;br /&gt;
&lt;br /&gt;
Energy demand (ENDEM) is a function of GDP and the energy demand per unit of GDP (ENRGDP). Energy production (ENP) is a function of capital stock in each energy type, the capital/output ratio (QE) for that energy type, and a capacity utilization factor (CPUTF). &lt;br /&gt;
&lt;br /&gt;
The following key dynamics are directly linked to the dominant relations:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;DEMAND:&#039;&#039;&#039; Energy demand per unit of GDP depends on GDP per capita, energy prices, and an autonomous trend in energy efficiency. The first two of these are computed endogenously, the latter exogenously. The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;), speed at which energy price changes affect demand (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;) and the autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;).  The user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;PRODUCTION&#039;&#039;&#039;: For fossil fuels and hydro, there are upper bounds on production. For fossil fuels, these are based on reserve-to-production ratios, as well as user-specified upper bounds (&#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039;&#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039;&#039;&#039;&#039;). For hydro, the upper bound relates to hydropower potential. The model user can also control production using an energy production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) to directly modify energy production by energy type. The user may also indirectly increase energy production through additional investment (&#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;), which will incorporate economic trade-offs. In contrast, a production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) comes without any cost to increased production.For renewable categories other than hydro, the model uses potential capacity (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;) in lieu of reserves or resources. This reflects availability or potential based on data or estimated from drivers such as land area. Unlike fossil fuels, where &#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039; represents finite physical resources that directly constrain production, renewable potentials are effectively unlimited; instead of setting an upper bound, they influence capital costs and investment dynamics.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL/OUTPUT RATIO&#039;&#039;&#039;: The capital/output ratio provides a measure of production cost, with declines reflecting efficiency gains and reduced capital intensity. User-controllable parameters (&#039;&#039;&#039;&#039;&#039;etechadv&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;etechadvuncon&#039;&#039;&#039;&#039;&#039;), applied to each fuel type, implement these cost declines due to technological improvements at the global level. For fossil fuels, this is counteracted by a factor that increases the capital/output ratio as the amount of remaining resources decreases. The user can further modify the capital/output ratios with the multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;).For renewable energy sources such as wind, solar, and geothermal, the capital/output ratio is equivalent to the levelized cost of electricity (LCOE) generation from these sources, though users can still modify capital output ratios with multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;). These energy sources are primarily used to generate electricity (except for geothermal, which can also provide direct heat).&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL:&#039;&#039;&#039; Energy capital, by fuel type, is initialized based on the initial levels of production and capital/output ratios. Energy capital depreciates at a rate determined by the lifetime of energy capital (&#039;&#039;&#039;&#039;&#039;lke&#039;&#039;&#039;&#039;&#039;) and grows with investment. Total desired investment in energy capital is influenced by many factors, including existing capital, domestic and global energy demand, the production of other renewables, changes in the global capital/output ratio, world and domestic energy stocks, expected overall profits in the energy sector, and imports. Users can control the effect of expected profits (&#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039;&#039;&#039;&#039;) and world energy stocks (&#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039;&#039;&#039;&#039;). Desired investment by energy type increases with individual profit expectations, but also by limits related to reserve production factors (for fossil fuels and hydro), any exogenous restrictions on maximum production (for fossil fuels), ultimate potential (for hydro), and other, unspecified factors (nuclear). Users can influence the effect of profit expectations by fuel type (via &#039;&#039;&#039;&#039;&#039;elass&#039;&#039;&#039;&#039;&#039;) as well as influence the desired investment by energy type (&#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039;)&#039;&#039;&#039;, or in the aggregate (via &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;). The user can also specify an exogenous growth rate for energy investment by fuel type (&#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039;&#039;&#039;&#039;). The Economic Model ultimately determines whether all of the investment needs can be met; in case of shortfalls, the investment in each type of energy is reduced proportionately.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;RESOURCES/RESERVES/STOCKS&#039;&#039;&#039;: IFs separately represents ultimate resources and reserves, where the latter are the amount of energy resources available to be produced. Resources and reserves, both conventional and unconventional, are set in the pre-processor. The user can modify the default assumptions on ultimate resources, either directly (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039;&#039;&#039;&#039;) or via the use of multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039;&#039;&#039;&#039;). Reserves decline with production and increase with discoveries. The rate of discovery depends on the ultimate resources remaining, the intensity of current production, world energy prices, and a base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039;&#039;&#039;&#039;). The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;), augment the base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039;&#039;&#039;&#039;), and use a multiplier to affect the rates of discovery (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039;&#039;&#039;&#039;). Finally, IFs keeps track of any production not used in the current year, i.e., stocks, and shortages.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ENERGY PRICES&#039;&#039;&#039;: Domestic energy prices are influenced by world stocks, domestic stocks, and the ratio of capital to production at the global level. The user can control the effect of domestic stocks on prices (&#039;&#039;&#039;&#039;&#039;epra&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039;&#039;&#039;&#039;). Users can also include a “cartel premium” (&#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039;&#039;&#039;&#039;) and a carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). More directly users can set domestic energy prices exogenously for just the first year (&#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;&#039;&#039;&#039;) or for multiple future years (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039;&#039;&#039;&#039;). The world energy price is calculated as a weighted sum of the domestic prices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRADE&#039;&#039;&#039;: The energy model also provides representation and model-user control over energy trade. The levels of imports (ENM) and exports (ENX), measured in physical terms (bboe), depend upon levels of production and demand, as well as past propensities to import and export energy. The user can set maximum limits on of energy imports (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039;&#039;&#039;&#039;) and energy exports (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039;&#039;&#039;&#039;), as well as general limits on trade (&#039;&#039;&#039;&#039;&#039;trademax&#039;&#039;&#039;&#039;&#039;).  &lt;br /&gt;
&lt;br /&gt;
----&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; Conventional sources refer to oil extracted through standard drilling methods, while unconventional sources include those requiring advanced techniques such as shale oil extraction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt; LCOE is expressed as the cost per kilowatt-hour of electricity generated and is computed by dividing the total electricity produced over the lifetime of a plant by the sum of its capital costs, operations, and maintenance expenditures (IRENA, 2024). We will revisit the implications of variable renewable energy (VRE), including system integration costs and their effect on capital/output ratios in more detail later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.3 Structure and Agent System&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Table 1: Model Structure and Agent System.&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&lt;br /&gt;
|Energy &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&lt;br /&gt;
|Partial market &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Stocks&#039;&#039;&#039;&lt;br /&gt;
|Capital, resources, reserves&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Flows&#039;&#039;&#039;&lt;br /&gt;
|Production, consumption, trade, discoveries, investment &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Aggregate Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Production function with exogenous technology change;&lt;br /&gt;
&lt;br /&gt;
Energy demand relative to GDP;&lt;br /&gt;
&lt;br /&gt;
Price determination &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Agent-Class&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Behavior Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Government taxes, subsidies&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.&#039;&#039;&#039;Flow Charts&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section presents several block diagrams that are central to the energy model: an energy system overview, energy production and energy consumption. &lt;br /&gt;
&lt;br /&gt;
2.1 &#039;&#039;&#039;Energy Overview&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The production growth process in energy is simpler than that in Agriculture or the full Economic Model. Because energy is a very capital-intensive sector, production depends only on capital stocks and changes in the capital-output ratio, which represents technological sophistication and other factors (such as decreasing resource bases) that affect production costs. &lt;br /&gt;
&lt;br /&gt;
The key equilibrating variable is again inventories. It works via investment to control capital stock and therefore production, and via prices to control domestic consumption. Production and consumption, in turn, control trade. Specifically, as inventories rise, investment falls, restraining capital stock and energy production, and thus holding down inventory growth. As inventories rise, prices fall, thereby increasing domestic consumption, which also holds down inventory growth.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 1: IFs Energy Model Overview.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2 &#039;&#039;&#039;Energy Production Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy production is computed from the capital stock invested in energy and the capitaloutput ratios, adjusted by a capacity utilization factor and bounded by production limits specific to each energy type. Exogenous parameters allow users to modify both the drivers of production and the production volumes themselves. The capital-output ratios are affected by the amount of remaining resources as a share of the initial levels, technological progress, and user-controlled multipliers. The capacity utilization factor is influenced by domestic stocks and shortages. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2: Energy Production in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.3 &#039;&#039;&#039;Energy Capital and Investment Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The capital stock by energy type decreases through depreciation and grows with new investment. Investment growth in the capital stock, though influenced by several factors, is driven primarily by energy profits and existing stocks. It can be adjusted through a user-defined scenario multiplier and is capped by production constraints linked to reserves availability for fossil fuels and resource potential for renewables. The user can use a direct multiplier on total energy investment, multipliers on energy investment by energy type to influence investment or specify a desired rate of growth in investment by energy type. &lt;br /&gt;
&lt;br /&gt;
For renewable energy sources like wind, solar and geothermal, the capital-output rations are tied to the levelized cost of electricity (LCOE). In case of variable renewable energy (VRE) sources such as solar and wind, there comes an additional set of challenges associated with intermittency, dispatchability and storage. For renewables, the capital– output ratio corresponds to the LCOE with adjustments for system integration costs such as transmission, storage, and balancing in the case of variable renewables. Addressing these challenges requires additional expenditures on transmission, distribution, and balancing capacity. LCOE data published in the literature does not always incorporate such system integration costs, which can be substantial at higher penetration levels of VRE and also affect production costs (Hirth et al., 2015; Ueckerdt et al., 2013). &lt;br /&gt;
&lt;br /&gt;
If these additional system costs are not considered, the model’s forecasts for such renewable sources may overestimate the pace of cost reductions driven by technological learning and economies of scale, while at the same time underestimating the true investments required for large-scale deployment of wind and solar power.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3: Energy Capital and Investment in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.4 Energy Demand Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy demand is estimated as a function of the energy demand per unit GDP (in PPP terms) and total GDP (in PPP terms), with adjustments related to energy prices and improvements in energy use efficiency. The energy demand per unit GDP depends on GDP per capita (in PPP Terms). The improvement in energy use efficiency is a combination of autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;) and an additional amount that accelerates the improvements for (non-exporting) countries that have efficiencies below the global average. The price effect takes into account both the domestic and global prices of energy, as well as any carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;) and the historical weight used to smooth energy prices (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;). Finally, the user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 4: Energy Demand in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.5 &#039;&#039;&#039;Energy Resources and Reserves Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes between ultimate resources and reserves, where the latter represent the amount of energy actually discovered and available for production. Ultimate resources are initially determined in the pre-processor, but the user can override these estimates using either absolute values (resor, resoruncon) or multipliers (resorm, resorunconm). There is also a parameter controlling the portion of unconventional oil that is economic to produce (enresunce). For non-renewable energy types, i.e., fossil fuels, reserves increase with discoveries and decrease with production. The rate of discovery includes a base rate (rdi) and an annual increment (rdinr). There are further adjustments related to the world energy price, the remaining resources, and the current rate of production. The user can control the effect of world prices on discovery (elasdi) and can also intervene with a discovery multiplier (rdm). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 5: Energy Resources and Reserves in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.&#039;&#039;&#039;Equations&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section will present and discuss the equations that are central to the functioning of the energy model: supply, demand, trade, stocks, price, investment, economic linkages, capital, natural resources and energy indicators. Here we follow the order of calculations in all years but the first, noting specific calculations that are made in the first year or preprocessor as necessary. A table has been added as an appendix to this document, linking the variables to the historical data series used to initialize them.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.1&#039;&#039;&#039; &#039;&#039;&#039;Energy Demand&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The key energy demand variable in IFs, ENDEM, tracks total primary energy demand. For the most part, IFs does not represent the transformation of this primary energy into final energy forms, or end-user energy demand. The one exception relates to electricity use, which is described in the documentation of the Infrastructure Model. &lt;br /&gt;
&lt;br /&gt;
In the first year, total primary energy demand is calculated as an apparent demand based on a balancing equation that equates energy demand with supply, defined as production plus net trade, and a balancing energy stock. While the supply side is obtained from historical data, the initial value for the stock is estimated from an aggregate stock base, obtained by adding demand and supply, on which a desired stock level (dstlen, 10% by default) is applied and then augmented by the expected growth in production following standard practice in storage planning. &lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑆𝑇&amp;lt;sub&amp;gt;𝑟,𝑡=1&amp;lt;/sub&amp;gt; = (∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒,𝑡=1&amp;lt;/sub&amp;gt; + 𝐸𝑁𝐷𝐸𝑀𝐸𝑠𝑡&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;) ∗ 𝑑𝑠𝑡𝑙𝑒𝑛  &amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝐷𝐸𝑀𝑟,𝑡=1 = ∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃𝑟,𝑒,𝑡=1 + 𝐸𝑁𝑀𝑟,𝑡=1 − 𝐸𝑁𝑋𝑟,𝑡=1 − 𝐸𝑁𝑆𝑇𝑟,𝑡=1 ∗ 𝐴𝑉𝐸𝑃𝑅𝑟,𝑡=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Where,&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
• &#039;&#039;ENP&#039;&#039;, &#039;&#039;ENM&#039;&#039;, &#039;&#039;ENX&#039;&#039;, &#039;&#039;ENST&#039;&#039;, and &#039;&#039;AVEPR&#039;&#039; are energy production, energy imports, energy exports, estimated energy stocks, and an average of the expected growth in production across all energy types (e) for a country, or region (r) in the first year (t) of the projection horizon. The calculations of the initial values of these variables are described later in the Equations section under the appropriate headings.&lt;br /&gt;
&lt;br /&gt;
Note that this calculation does not directly use the historical data on total primary energy demand and there can be a significant difference between the initialized value of ENDEM and the actual historical data for the base year. This information is used by the variable ENDEMSH, which is described in the Infrastructure documentation.&lt;br /&gt;
&lt;br /&gt;
In future years, the calculation of total primary energy demand begins with an estimate of the predicted amount of energy demand per unit of GDP (in PPP terms), compendemperunit, as a function of GDP per capita (in PPP terms).&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; This function is show in the figure below&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[3]&amp;lt;/sup&amp;gt; Since energy demand is not yet computed for the first year, an estimate (ENDEMEst) is obtained from the energy balance equation, with the stock term based solely on the supply side. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; Here, IFs uses GDP from the previous time cycle, with an estimate of growth, to calculate GDPPCP, because the recursive structure of IFs computes current GDP later. The current value of population, POP, has already been computed at this stage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt; The exact equation is compendemperunit = 0.0023428 -0.0003878*ln(GDPPCP).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 6: Relationship between compendemperunit and GDP per capita&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A small amount, 0.0005 barrels of oil equivalent (boe), is added to this computed value to account for the fact that the demand data used to estimate the function above is less than apparent demand globally. &lt;br /&gt;
&lt;br /&gt;
The initial data for countries is unlikely to fall exactly on this function. To reconcile this fact, IFs calculates values for both predicted energy demand per unit GDP in the first year, compendemperuniti, and empirical demand per unit GDP (in PPP terms) in the first year, actendemperuniti.&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; Over a time period of 75 years, controlled by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039;&#039;&#039;&#039;, IFs gradually adjusts the difference between these two values so that the estimate of energy demand per unit GDP (in PPP terms) eventually does fall on the function.&lt;br /&gt;
&lt;br /&gt;
IFs then calculates an initial estimate of total energy demand, endemba, by multiplying this adjusted value of energy demand per unit GDP (in PPP terms), endemperunit, by GDP (in PPP terms).&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; There is also an adjustment to the empirical demand that occurs during the initialization. Due to data inconsistencies and/or the exclusion of non-traded energy sources such as traditional biomass from production data, energy demand initialized using the balance method described above can turn out to be very low for some countries. The initialization code adjusts the base-year ENDEM for such cases to ensure that energy demand per unit of GDP at PPP is not less than a fifth of the value computed using the energy intensity function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt; IFs uses GDP from the previous time cycle here, because the recursive structure of IFs computes current GDP later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IFs then considers the effect of price on total primary energy demand. IFs keeps track of the global energy price as both an index (WEP, base year = 100) and as an actual dollar value (WEPBYEAR, $ per BBOE). It also tracks a country level energy price index&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
(ENPRI, base year =100). Finally, it can also consider a tax on carbon, expressed by the variable CarTaxEnPriAdd, which has the units $ per BBOE. &lt;br /&gt;
&lt;br /&gt;
The calculation of the effect of prices on total energy begins with the calculation of a variable called renpri. renpri is a moving average country-level price index that starts at the level of the country level price index in the base year, ENPRII, and then tracks changes in world energy prices and country-level carbon taxes.   The historical weight is controlled by the parameter ehw, so that: &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟,𝑡&amp;lt;/sub&amp;gt; = 𝒆𝒉𝒘 ∗ renpri&amp;lt;sub&amp;gt;𝑟,𝑡−1&amp;lt;/sub&amp;gt; + (1 − 𝒆𝒉𝒘)&lt;br /&gt;
&lt;br /&gt;
(𝑊𝐸𝑃𝑡−1+CarTaxEnPriAdd𝑟,𝑡−1∗𝑊𝐸𝑃𝑡=1&lt;br /&gt;
&lt;br /&gt;
𝑊𝐸𝑃𝐵𝑌𝐸𝐴𝑅𝑡=1)  &lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;renpri&#039;&#039; is the moving average country level price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039; is the weight given to the historical value of renpri&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEP&#039;&#039; is the global energy price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEPBYEAR&#039;&#039; is the global energy price in $ per BBOE&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;CarTaxEnPriAdd&#039;&#039; is the country level carbon tax in $ per BBOE of total energy and is calculated as the exogenous value of the carbon tax in $ per ton of carbon, &#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;, times a production weighted average of the carbon contents of oil, gas, and coal, &#039;&#039;&#039;&#039;&#039;carfuel&amp;lt;sub&amp;gt;e&amp;lt;/sub&amp;gt; , where e is 1-3&#039;&#039;&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt;(𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒&amp;lt;/sub&amp;gt; ∗ 𝒄𝒂𝒓𝒇𝒖𝒆𝒍&amp;lt;sub&amp;gt;𝒆&amp;lt;/sub&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
                        CarTaxEnPriAdd&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; =  ∗ 𝒄𝒂𝒓𝒃𝒕𝒂𝒙&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sub&amp;gt;                                                                               ∑𝑒 𝐸𝑁𝑃𝑟,𝑒&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The parameter specifying the price elasticity of energy demand, &#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;, is adjusted based on the relationship between renpri and and ENPRII to yield a new parameter, elasadjusted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑃𝑅𝐼𝐼&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
elasadjusted&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; = 𝒆𝒍𝒂𝒔𝒅𝒆&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt; ∗  &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Supply&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The computation of energy production (ENP) is considerably easier than that of gross sectoral production in the economic model or of agricultural production in the agricultural model.&amp;amp;nbsp; Only capital is considered important as a factor of production (not labor, land, or even weather).&amp;amp;nbsp; Energy production is initially estimated by dividing the quotient of capital in each energy category (ken) and the appropriate capital-to-output ratio (QE).&amp;amp;nbsp; A multiplier, &#039;&#039;&#039;&#039;&#039;enpm&#039;&#039; &#039;&#039;&#039;, can be used to increase or decrease production.&amp;amp;nbsp; This yields:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP1_{r,e}=\frac{ken_{r,e}}{QE_{r,e}}*\mathbf{enpm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The dynamics of the capital-to-output ratios, QE, are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Known reserves (RESER) and exogenously specified maximums pose constraints on production of certain energy types.&amp;amp;nbsp; The affected energy types are oil, gas, coal, and hydro.&amp;amp;nbsp; The impact of reserves is felt via a limit on the fraction of reserves that can be produce in any year. Specifically, the reserve-to-production ratio may not fall below the value of &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;, which is initially set in the pre-processor, but can be overridden by the user. &amp;amp;nbsp;In addition, as the actual reserve-to-production ratio approaches this limit, its rate of decrease is limited.&amp;amp;nbsp; The exogenously specified maximums apply only to oil, gas, and coal, and are given by the parameters &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This yields a second estimate for energy production, given as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP2_{r,e}=MIN(\frac{RESER_{r,e}}{MAX(\mathbf{prodtf}_{r,e},sResProdR_{r,e}-1)},enpmax_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e only applies to oil, gas, coal, and hydro&lt;br /&gt;
*&#039;&#039;enpmax&#039;&#039; takes on the value &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;,depending upon the fuel.&lt;br /&gt;
*sResProdR is the reserve-to-production ratio from the previous year; this limit only takes effect when sResProdR falls below 30 and remains above &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IFs then selects the minimum of ENP1 and ENP2 as the estimate of energy production ENP.&amp;amp;nbsp; The dynamics of energy reserves are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
Two final adjustments are made to energy production.&amp;amp;nbsp; The first accounts for capacity utilization, &#039;&#039;CPUTF&#039;&#039;, and the second only comes into play when a restriction is placed on energy exports.&amp;amp;nbsp; Since these are not calculated until the calculation of energy stocks and shortages, they are described in the appropriate places in the [[Energy#Domestic_Energy_Stocks|Domestic Energy Stocks]] section and the [[Energy#Energy_Prices_and_Final_Adjustments_to_Domestic_Energy_Stocks_and_Capacity_Utilization|Energy Prices and Final Adjustments]] section.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Trade&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The energy model in IFs keeps track of trade in energy in physical quantities; the trade in energy in monetary terms is handled in the economic model. &amp;amp;nbsp;As opposed to the agricultural model, where trade in crops, meat, and fish are treated separately, the energy model considers trade in energy in the aggregate.&amp;amp;nbsp; Furthermore, it only considers production from oil, gas, coal, and hydro as being available for export.&amp;amp;nbsp; Finally, as with other aspects of trade, IFs uses a pooled trade model rather than representing bilateral trade.&lt;br /&gt;
&lt;br /&gt;
The first estimate of energy imports and exports by country are determined based upon a country’s propensity to export, propensity to import, and moving averages of its energy production and demand.&lt;br /&gt;
&lt;br /&gt;
The moving average of energy production, identified as smoothentot, is calculated simply as a moving average of production of energy from oil, gas, coal, and hydro. In the first year of the model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t=1}=EnTot_{r,t=1}=\sum_eENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
In future years,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t}=0.9*smoothentot_{r,t-1}+0.1*\sum_eENP_{r,e,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
The moving average of energy demand, identified as smoothpendem has a few more nuances, particularly after the first year.&amp;amp;nbsp; In the first year, IFs calculates:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t=1}=ENDEM_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In future years, rather than using the value of ENDEM calculated earlier, the model uses a slightly different measure of energy demand, referred to as pendem.&amp;amp;nbsp; pendem differs from ENDEM in two main ways:&lt;br /&gt;
&lt;br /&gt;
1. rather than using the moving average country-level price index, renpri, to calculate the effect of prices on energy demand, it uses only current values:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PEnPri_{r,t}=WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. it does not include the additional boost in energy efficiency beyond &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039; in calculating the autonomous changes in energy efficiency&lt;br /&gt;
&lt;br /&gt;
Thus, in future years, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t}=0.8*smoothpendem_{r,t-1}+0.2*pendem_{r,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A country’s propensities to import and export energy are given by the variables MKAVE and XKAVE.&amp;amp;nbsp; These are moving averages of the ratios of imports to an import base related to energy demand and exports to an export base related to energy production and demand, respectively.&amp;amp;nbsp; MKAVE is initialized to the ratio of energy imports to energy demand in the first year.&amp;amp;nbsp; A maximum value, MKAVMax is also set at this time to the maximum of 1.5 times this initial value or the value of the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; XKAVE is initialized to the ratio of energy exports to the sum of energy production from oil, gas, coal and hydro and energy demand from all energy types in the first year.&amp;amp;nbsp; Its maximum value, XKAVMAX is set to the maximum of this initial value and the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; The updating of MKAVE and XKAVE occur after the calculation of imports and exports, so we will return to that at the end of this section.&lt;br /&gt;
&lt;br /&gt;
The initial estimates of energy exports, ENX, and energy imports, ENM, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MIN(XKAVE_r,XKAVMAX_r)*exportbase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MIN(MKAVE_r*pendem_r,MKAVMAX_r*smoothpendem_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;exportbase_r=smoothentot_r+smoothpendem_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, IFs makes some adjustments to energy imports and exports depending upon whether a country is considered in energy surplus or deficit.&amp;amp;nbsp; Where a country sits in this regard involves considering domestic and global stocks in addition to current production and demand.&lt;br /&gt;
&lt;br /&gt;
Domestic energy stocks are computed as the sum of stocks carried over from the previous year, while also considering any shortages&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;stocks_{r,t}=ENST_{r,t-1}-ENSHO_{r,t-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A stock base is also calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;StBase_r=smoothpendem_r+smoothpendemr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ratio of stocks to StBase can be defined as domesticstockratio. A moving average of a trade base, smoothtradebase, is also calculated for each country:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradebase_{r,t}=MAX(ENDEM_r,0.9*smoothtradebase_{r,t-1}+0.1*2*(ENX_r+ENM_r))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradbase_{r,t+1}=MAX(ENDEM_{r,t=1},2*(ENX_{r,t=1}+ENM_{r,t=1}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy stocks, GlobalStocks, and the global stock base, GlobalStBase, are the sum of the domestic stocks and stock bases across countries, and the value of the globalstockratio is defined as GlobalStocks divided by GlobalStBase.&lt;br /&gt;
&lt;br /&gt;
For each country, the level of deficit or surplus, endefsurp, is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endefsurp_r=(globalstockratio-domesticstockratio_r)*StBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that if a countries stock ratio is less (greater) than the global average, it is considered in deficit (surplus).&lt;br /&gt;
&lt;br /&gt;
If a country is in deficit, i.e., endefsurp &amp;gt; 0, IFs will act to reduce its exports and increase its exports.&amp;amp;nbsp; The recomputed value of exports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MAX(0.5*ENX_r,ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy exports is determined by the ratio of the level of deficit to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a maximum level given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENMMax_r=ENM_r+(\frac{pendem_r*MKAVMAX_r-ENM_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, if a country is in surplus, i.e., endefsurp &amp;lt; 0, IFs will act to increase exports and reduce imports.&amp;amp;nbsp; The amount of increase in exports is controlled, in part, by the exchange rate for the country, EXRATE, specifically its difference from a target level of 1 and its change from the previous year.&amp;amp;nbsp; As with other adjustment factors of this type, the ADJSTR function is used, yielding a factor named mul.&amp;amp;nbsp; After first multiplying ENX by a value that is bound from above by 1.05 and from below by the maximum of 0.95 and mul, the recomputed value of ENX is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, a maximum level is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENXMax_r=ENX_r+(\frac{exportbase_r*XKAVMAX_r-ENX_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039; this maximum value is computed prior to the adjustments to ENX noted above.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MAX(0.5*ENM_r,ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy imports is determined by the ratio of the level of surplus to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
Because of the frequent use and importance of government trade restrictions in energy trade, model users may want to establish absolute export (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;) &amp;amp;nbsp;or import (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039; &#039;&#039;&#039;) limits, which can further constrain energy exports and imports.&amp;amp;nbsp; An export constraint may also affect the production of oil and gas as described in the next section.&lt;br /&gt;
&lt;br /&gt;
As it is unlikely that the sums of these values of ENX and ENM across countries will be equal, which is necessary for trade to balance.&amp;amp;nbsp; To address this, IFs computes actual world energy trade (WET) as the average of the global sums of exports and imports.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WET=\frac{\sum_rENX_r+\sum_rENM_r}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and recomputes energy exports and imports, as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=WET*\frac{ENX_r}{\sum_rENX_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=WET*\frac{ENM_r}{\sum_rENM_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This maintains each country’s share of total global energy exports and imports.&lt;br /&gt;
&lt;br /&gt;
IFs can now update the moving average export (XKAVE) and import (MKAVE) propensities for the next time step.&amp;amp;nbsp; This requires historic weights for exports (&#039;&#039;&#039;&#039;&#039;xhw&#039;&#039; &#039;&#039;&#039;) and imports (&#039;&#039;&#039;&#039;&#039;mhw&#039;&#039; &#039;&#039;&#039;), yielding the equations:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XKAVE_{r,t+1}=XKAVE_r*\mathbf{xhw}+(1-\mathbf{xhw})*\frac{ENX_r}{exportbase_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MKAVE_{r,t+1}=MKAVE_r*\mathbf{mhw}+(1-\mathbf{mhw})*\frac{ENM_r}{smoothpendem_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further adjustment is made related to the import propensity, MKAVE, related to the difference between this propensity and a target level, ImportTarget, and the change in this difference since the previous year. &amp;amp;nbsp;This target starts at the level of MKAVE in the first year and gradually declines to 0 over a 150 year period.&amp;amp;nbsp; As in many other situations in IFs, this process makes use of the ADJUSTR function to determine the adjustment factor.&amp;amp;nbsp; The value of mulmlev is not allowed to exceed 1, so its effect can only be to reduce the value of MKAVE.&lt;br /&gt;
&lt;br /&gt;
Finally, XKAVE and MKAVE are checked to make sure that they do not exceed their maximum values, XKAVMAX and MKAVMAX, respectively.&lt;br /&gt;
&lt;br /&gt;
[1] The previous year’s values of WEP and CarTaxEnPriAdd are used as the current year’s values are not calculated until later in the model sequence.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Domestic Energy Stocks&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs sets a target for energy stocks in each country as a fraction of a domestic stock base, StBase, which was defined earlier as the sum of a moving average of energy demand, smoothpendem, and a moving average of the production of oil, gas, coal, and hydro, smoothentot.&amp;amp;nbsp; This fraction is defined by the parameter &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Stocks are initialized in the first year as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;multiplied by the initial domestic stock base, which is the sum of production of all energy types and an estimated value of apparent energy demand.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_{r,t=1}=\mathbf{dstlen}*(\sum_cENP_{r,e,t=1}+ENDEMEst_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*ENDEMEst is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEMEst_r=(1-\mathbf{dstlen}*AVEPR_r)*\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*AVEPR is a weighted average energy production growth rate&lt;br /&gt;
&lt;br /&gt;
In future years, IFs begins by summing the moving average energy demand, smoothpendem, across countries, storing this value as WENDEM and the same for moving average energy production from oil, gas, coal, and hydro, smoothentot, which it stores as WorldEnp.&amp;amp;nbsp; It also sums the moving average energy demand just for countries that have low propensity for exports, XKAVE &amp;lt; 0.2, and stores this value as WEnDemIm.&lt;br /&gt;
&lt;br /&gt;
At this point, IFs adjusts energy production by multiplying by a capacity utilization factor, CPUTF, which is assumed to be the same for all energy types in a country.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP_{r,e}=ENP_{r,e}*CPUTF_r&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
The value of CPUTF is initialized to 1 in the first year.&amp;amp;nbsp; How it changes in time is described in the next section after the description of the calculation of the domestic price index.&lt;br /&gt;
&lt;br /&gt;
An initial estimate of energy stocks, ENST, is then calculated as the previous year’s stocks augmented by production and imports and reduced by use and exports&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_r=ENST_{r,t-1}+-ENDEM_r-ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after this calculation, there are excess stocks, i.e., ENST &amp;gt; &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and there is an export constraint, given by &#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;, adjustments are made to the production of oil and gas&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;, and, in turn, to energy stocks.&amp;amp;nbsp; The total reduction in oil and gas production is given as the amount of excess stocks, with a maximum reduction being the total amount of oil and gas production.&amp;amp;nbsp; This total amount of reduced production is then shared proportionately between oil and gas.&amp;amp;nbsp; The total reduction is also removed from ENST.&lt;br /&gt;
&lt;br /&gt;
Later, after the determination of prices, ENST is modified to: 1) ensure that they are not less than zero and 2) to account for any global shortfalls.&amp;amp;nbsp; These modifications are described in the next section.&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;This is the first of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&lt;br /&gt;
[2] This is the second of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Prices and Final Adjustments to Domestic Energy Stocks and Capacity Utilization&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs keeps track of separate domestic, ENPRI, and world, WEP, energy price indices, that apply to all forms of energy.&amp;amp;nbsp; These are initialized to a value of 100 in the first year.&amp;amp;nbsp; It also tracks the world energy price in terms of dollars per BBOE, WEPBYEAR, which is initialized as a global parameter.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;A number of pieces are needed for the calculation of energy prices.&amp;amp;nbsp; These include a world stock base, wstbase, world energy stocks, wenst, world energy production by energy type, WENP, world energy capital, WorldKen, and a global capital output ratio, wkenenpr.&amp;amp;nbsp; These are calculated as follows:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wstkbase=\sum_rStBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wenstks=\sum_r(ENST_r-ENSHO_{r,t-1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum_rENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldKen=\sum_r\sum_e(ken_e*\frac{CPUTF_r}{MAX(5,\mathbf{lke_e})})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENSHO is domestic energy shortage (described below)&lt;br /&gt;
*ken is capital for each energy type&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;lke&#039;&#039; &#039;&#039;&#039; is the average lifetime of capital for each energy type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In cases when at least one country has an exogenous restriction on the production of oil, i.e., enpm(oil) &amp;lt; 1 for at least one country, a few additional variables are calculated:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;GlobalShortFall=\sum_r\sum_eMax(0,ENP_{r,e,t-1}-1.05*ENP_{r,e,t})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldEnProd=\sum_eWENP_e&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ShortFallSub=GlobalShortFall*MIN(10,\frac{WorldEnProd}{WENP(oil)})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Otherwise these three variables all take on a value of 0.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;These values are used to calculate an adjustment factor driven by global energy stocks that affects domestic energy prices.&amp;amp;nbsp; The effect in the current year, wmul, is calculated using the ADJSTR function, which looks at the difference between world energy stocks, wenstks and the desired level, given by &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase, and the change in world energy stocks from the previous year.&amp;amp;nbsp; The presence of an exogenous restriction on the production of oil has two effects on the calculation of wmul.&amp;amp;nbsp; First, the value of ShortFallSub affects the two differences that feed into the ADJSTR function.&amp;amp;nbsp; Second, the elasticities applied in the ADJSTR function are tripled.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The adjustment factor calculated in the current year is not applied directly to the calculation of domestic energy prices.&amp;amp;nbsp; Rather, a cumulative value, cumwmul, is calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;cumwmul_t=cumwmul_{t-1}*(1+(wmul-1)*\mathbf{eprohw})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Other factors affect the domestic energy price index – domestic energy stocks, possible cartel price premiums, &#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039; &#039;&#039;&#039;, the first year value of the world energy price index, IWEP, changes in the global capita output ratio from the first year, whether the user has set a global energy price override. &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;and whether there are any restriction on oil production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy stocks affect a country-specific “markup” factor, MarkUpEn.&amp;amp;nbsp; This starts at a value of 1 and changes as a function of the value of mul, which is calculated using the ADJSTR function.&amp;amp;nbsp; Here the differences are those between domestic energy stocks and desired stocks, given as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and the changes in energy stocks from the previous year.&amp;amp;nbsp; Shortages from the previous year are also taken into account.&amp;amp;nbsp; The user can also control the elasticities used in the ADJSTR function with the parameters &#039;&#039;&#039;&#039;&#039;epra&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This markup evolves over time as&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MarkUpEn_{r,t}=MarkUpEn_{r,t-1}*mu&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy price index, ENPRI, is first calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=\mathbf{X}*mul_r*cumwmul+\mathbf{encartpp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; = &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;when this parameter is set to a value greater than 1 and IWEP otherwise&lt;br /&gt;
&lt;br /&gt;
It is then recomputed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=MIN(ENPRI_r,ENPRI_{r,t-1}+\mathbf{encartpp}_t-\mathbf{encartpp}_{t-1}+\mathbf{X})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; is 100 whenthere is a restriction on oil production in at least one country and 20 otherwise&lt;br /&gt;
&lt;br /&gt;
Furthermore, ENPRI is not allowed to fall by more than 10 in a given year.&lt;br /&gt;
&lt;br /&gt;
It is possible for the user to override this price calculation altogether.&amp;amp;nbsp; Any positive value of the exogenous country-specific energy price specification (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;) will do so.&lt;br /&gt;
&lt;br /&gt;
It is only now that a country’s energy stocks and shortages are finalized for the current year.&amp;amp;nbsp; If ENST is less than 0, then a shortage is recorded as ENSHO = -ENST and ENST is set to 0.&amp;amp;nbsp; In addition, for countries that have a low propensity for exports, XKAVE &amp;lt; 0.2, a share of any global shortfall is added to their shortage, with the share determined by the country’s share of moving average energy demand among those countries:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENSHO_r=ENSHO_r+GlobalShortFall*\frac{smoothpendem_r}{WEnDemIm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy shortage enters the Economic model in the calculation of gross sectoral production.&lt;br /&gt;
&lt;br /&gt;
The same differences in domestic stock from their target level and their change since the previous year, taking into account shortages from the previous year, are used to update the value of capacity utilization in energy, CPUTF, which was introduced earlier.&amp;amp;nbsp; The multiplier affecting CPUTF, Mul, is calculated using the ADJSTR function, with elasticities given by &#039;&#039;&#039;&#039;&#039;elenpst&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpst2&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, the capacity utilization is smoothed over time.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CPUTF_{r,t}=0.5*CPUTF_{r,t-1}+0.5*Mul&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is further assumed to converge to a value of 1 over a period of 100 years and is bound to always have a value between 0.2 and 2.&lt;br /&gt;
&lt;br /&gt;
This still leaves the need to calculate the world energy price. &amp;amp;nbsp;IFs actually tracks a world price including carbon taxes, WEP, and a world price ignoring carbon taxes, WEPNoTax.&amp;amp;nbsp; Carbon taxes are ignored in cases where the energy price is set exogenously using &#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In both cases, the world energy price is a weighted average of domestic energy prices:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEP=\frac{TENP}{TENPRI}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPNoTax=\frac{TENP}{TENPRINoTax}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENP=\sum_r\sum_eENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRINoTax=\sum_r\sum_e(ENPRI_r*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRI=\sum_r\sum_e((ENPRI_r+CarTaxEnPriAdd_r*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*WEP and WEPBYEAR convert CarTaxEnPriAdd from $/BBOE to an index value&lt;br /&gt;
*the term with CarTaxEnPriAdd is ignored in countries with exogenous energy prices in a given year&lt;br /&gt;
*CarTaxEnPriAdd is&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Finally, the value of WEPBYEAR is computed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPBYEAR=WEPBYEAR_{t=1}*\frac{WEP}{WEP_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Investment&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Investment in energy is relatively complex in IFs, because changes in investment are the key factor that allows us to clear the energy market in the long term.&amp;amp;nbsp; It is also different and perhaps slightly more complex in IFs than investment in agriculture.&amp;amp;nbsp; Whereas the latter involves computing a single investment need for agricultural capital, and subsequently dividing it between land and capital, in energy a separate demand or need is calculated for each energy type, based on profit levels specific to each energy type.&lt;br /&gt;
&lt;br /&gt;
We begin by calculating a total energy investment need (TINEED) to take to the economic model and place into the competition for investment among sectors.&amp;amp;nbsp; This investment need is a function of energy demand, adjusted by a number of factors, some global and some country-specific. To begin with, TINEED is calculated as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=ENDEM_r*mulendem*\frac{wkenenpri_t}{wkenenpri_{t-1}}*mulkenenpr*mulwst*mulstocks^{0.5}*mulrprof_r*mulrenew_r*sendeminvr_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*mulendem is the ratio of global energy demand per unit GDP in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{WENDEM_t/WGDP_t}{WENDEM_{t-1}/WGDP_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wkenenpri is the ratio of global energy capital to global energy production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulkenenpr is the ratio of wkenenpr in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{wkenenpr_t}{wkenenpr_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulwst and mulstocks are factors related to global energy stocks. mulwst is calculated using the ADJSTR function, where: the first order difference is that between global energy stocks, wenstks, and desired global energy stocks, DesStocks = &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase; the second order difference is between the level of world energy stocks in the current year and those in the past year; and the elasticities are given by the parameters &#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039; &#039;&#039;&#039;. mulstocks is also related to global energy stocks, but is more directly related to the desired level of global energy stocks:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulstocks=\frac{DesStocks}{MAX(0.5*DesStocks,MIN(4*DesStocks,enstks))}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that mulstocks will always take on a value between ¼ and 4.&lt;br /&gt;
&lt;br /&gt;
*mulrprof is a function of the expected level of profits in the energy sector as a whole in a country, EPROFITR.&amp;amp;nbsp; Energy profits are calculated as the ratio of returns, EnReturn, to costs, ProdCosts.&amp;amp;nbsp; EPROFITR is actually a moving average of these profits relative to those in the base year, with a historical weighting factor controlled by the parameter &#039;&#039;&#039;&#039;&#039;eprohw&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In full, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=WEPNoTax*\sum_eENP_{r,e}&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ProdCost_r=\sum_e\frac{ken_{e,r}}{MAX(5,\mathbf{lke_e})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=\frac{EnReturn_r}{ProdCost_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EPROFIT_{r,t}=\mathbf{eprohw}*EPROFIT_{r,t-1}+(1-\mathbf{eprohw})*\frac{EnReturn_{r,t}}{EnReturn_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now calculate mulrprof using the ADJSTR function.&amp;amp;nbsp; The first order difference is between the current value of EPROFITR and a target value of 1; the second order difference is the change in the value of EPROFITR from the previous year; the elasticities applied to these differences are given by the parameters &#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*mulrenew is a function of the share of other renewables in the energy mix in a country.&amp;amp;nbsp; It is assigned a value of 1 unless the production of energy from renewables exceeds 70% of total energy demand.&amp;amp;nbsp; If so, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulrenew_r=MAX(0.5,1-(\frac{ENP_{r,renew}}{ENDEM_r}-0.7)*1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given these conditions, mulrenew can take on values between 0.5 and 1, with larger values associated with larger amounts of renewable production.&lt;br /&gt;
&lt;br /&gt;
*sendeminvr is a moving average of the ratio of investment need to energy demand in a country, with an accounting for changes in the global capital production ratio since the first year and is updated as&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;sendeminvr_{r,t+1}=0.95*sendeminvr_{r,t}+0.05*\frac{TINEED_{r,t}}{ENDEM_{r,t=1}}*\frac{wkenenpr_{t=1}}{wkenenpr_t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this initial calculation, two further adjustments are made to TINEED.&amp;amp;nbsp; The first is a reduction related to a possible reduction of inventory, invreduc, carried over from the previous year.&amp;amp;nbsp; The calculation of invreduc is described later in this section, where we look at reductions in investment in specific energy types due to resource constraints or other factors. The effect on TINEED is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=TINEED_r-MIN(0.7*invreduc_{r,t-1},0.6*TINEED_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the reduction in TINEED can be no more than 60 percent.&lt;br /&gt;
&lt;br /&gt;
Finally, the user can adjust TINEED with the use of the multiplier &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Before this total investment need, TINEED, is passed to the Economic model, there is a chance that it may need to be further reduced.&amp;amp;nbsp; This depends on the calculation of a bound, TINeedBound.&amp;amp;nbsp; TINeedBound arises from a bottom-up calculation of the investment needs for each energy type individually, ineed.&amp;amp;nbsp; These depend upon the profits for each energy type and any possible bounds on production related to reserves and other factors.&lt;br /&gt;
&lt;br /&gt;
As with the estimate of total profits to energy, the returns by energy type depend upon production and costs.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturnS_{r,e}=\frac{ENP_{r,e}}{EnCost_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the non-fossil fuel energy types – hydro, nuclear, and other renewable – EnCost is based solely on capital depreciation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = hydro, nuclear, renew&lt;br /&gt;
&lt;br /&gt;
For the fossil fuel energy types – oil, gas, and coal – we must also consider any possible carbon taxes. EnCost is calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}+ENP_{r,e}*\mathbf{carfuel}_e*\mathbf{carbtax}_r+MAX(-0.5*\frac{ken_{r,e}}{\mathbf{lke_e}},ENP_{r,e}*(\mathbf{carfuel}_e-AvgCarFuel)*emtax_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, coal, gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carfuel&#039;&#039; &#039;&#039;&#039; is the carbon content of the fuel in tons per BBOE&lt;br /&gt;
*AvgCarFuel is the unweighted arithmetic average of the carbon content of oil, gas, and coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039; is an exogenously specified country-specific carbon tax in $ per BBOE&lt;br /&gt;
*emtax is the number of years since the first year plus one multiplied by 2&lt;br /&gt;
&lt;br /&gt;
The change in eprofitrs from the first year is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;eprofitrs_{r,e}=\frac{EnReturnS_{r,e,t}}{EnReturnS_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An average return, avgreturn, is calculated as the weighted sum of the individual returns:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;avgreturn_r=\sum_e(ENP_{r,e}*EnReturnS_{r,e})smoothentot_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Investment need by energy type, ineed, grows in proportion to capital and as a function of relative profits.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e,t}=ineed_{r,e,t=1}*\frac{ken_{r,e,t}}{ken_{r,e,t=1}}*eprofitrs^{elass_{r,e}}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;elass&#039;&#039; &#039;&#039;&#039; are country and energy-specific user controlled parameters&lt;br /&gt;
&lt;br /&gt;
At this point, ineed is checked to make sure that it does not fall by more than 20% or increase by more than 40% in any single year.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Also, if the user has set an exogenous target for production growth, i.e., &#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039; &#039;&#039;&#039; &amp;gt; 0, all of the above is overridden and ineed is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=\frac{ken_{r,e}*(1+\mathbf{enprodr}_e)}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These investment needs are checked to make sure that they do not exceed what the known reserve base can support.&amp;amp;nbsp; This applies only to oil, gas, coal, and hydro. An initial estimate of the maximum level of investment is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(\frac{RESER_{r,e}}{\mathbf{prodtf}_{r,e}}-\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
The first term in parentheses, when multiplied by QE, indicates the amount of capital that would be necessary in order to yield the maximum level of production given the lower bound of the reserve production ratio, &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;. The second term is simply the current level of capital and the third term indicates the level of depreciation of existing capital.&amp;amp;nbsp; This implies that countries will not make investments beyond those that would give it the maximum possible level of production for a given energy type.&lt;br /&gt;
&lt;br /&gt;
At the same time, IFs assumes there is a minimum level of investment, which is basically 30% of the capital depreciated during the current year:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mininv_{r,e}=0.3*\frac{ENP_{r,e}}{\mathbf{lke}_e}*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&lt;br /&gt;
In cases where the current production of oil, gas, or coal already equals or exceeds the exogenously specified maximum for a country – &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, or &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039; – maxinv is set equal to mininv.&amp;amp;nbsp; This again avoids useless investment.&lt;br /&gt;
&lt;br /&gt;
A further constraint is placed on the maximum investment level in capital for hydro production.&amp;amp;nbsp; This is done by simply replacing RESER/&#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039; in the calculation of maxinv with the value ENDEM * EnpHydroDemRI * 2, where EnpHydroDemRI is the ratio of energy produced by hydro in the base year to total energy demand in that year.&amp;amp;nbsp; In other words, the growth in energy production from hydro in the current year from the first year cannot exceed twice the growth in total energy demand over that period, even if reserves are available, and capital investments are restricted accordingly.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxHydroProd_{r,t}=2*\frac{ENDEM_{r,t}}{ENDEM_{r,t=1}}*ENP_{r,Hydro,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The constraints placed on investment in nuclear energy differ somewhat from these other fuels. IFs does not have an explicit measure of reserves for nuclear.&amp;amp;nbsp; Rather, it is assumed that the growth in capital in nuclear energy cannot exceed 1 percent of existing capital plus whatever is required to account for depreciation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(0.01*\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = nuclear&lt;br /&gt;
&lt;br /&gt;
Also, the minimum level of investment for nuclear energy is assumed to be 50 percent of the capital depreciated in the current year, rather than 30 percent as with oil, gas, coal, and hydro.&lt;br /&gt;
&lt;br /&gt;
There is no limit to the investments in capital for other renewables.&lt;br /&gt;
&lt;br /&gt;
Given these restrictions, the investment needs for oil, gas, coal, hydro, and nuclear are updated so that mininv &amp;lt;= ineed &amp;lt;= maxinv.&amp;amp;nbsp; Any reductions from the previous estimates of ineed are summed across energy types to yield the value of invreduc, which will affect the estimate of TINEED in the following year as described earlier.&lt;br /&gt;
&lt;br /&gt;
The final estimates of ineed for each energy type are summed to yield TINeedBound.&amp;amp;nbsp; If TINEED is greater than TINEEDBOUND, then TINEED is recalculated as the average of the two:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=0.5*(TINEED_r+TINeedBound_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value of TINEED is passed to the Economic model as IDS&amp;lt;sub&amp;gt;energy&amp;lt;/sub&amp;gt;,&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;IDS_{r,s=energy}=sidsf_r*TINEED_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*sidsf is an adjustment coefficient converting units of energy capital into monetary values. This gradually converges to a value of 1 after a number of years specified by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In the Economic model, the desired investment in energy must compete with other sectors for investment (see more about linkages between the Energy and Economic models in section 3.7).&amp;amp;nbsp; Once these sectoral investments are determined, a new value for investments in the energy sector, IDS&amp;lt;sub&amp;gt;s=energy&amp;lt;/sub&amp;gt;, is passed back to the Energy model.&amp;amp;nbsp; The adjustment coefficient is then applied to yield:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;inen_r=\frac{IDS_{r,s=energy}}{sidsf_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the meantime, the desired investment for each energy type can be modified with a country and energy-type specific parameter &#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039; &#039;&#039;&#039;, and a new value of TINEED is calculated as the sum of these new levels of desired investment.&amp;amp;nbsp; The amount of the available investment, inen, going to each energy type is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=inen_r*\frac{ineed_{r,e}*\mathbf{eninvtm}_{r,e}}{TINEED_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., all energy types receive the same proportional increase or decrease in investment.&lt;br /&gt;
&lt;br /&gt;
These investments are then translated into units of capital, KEN_Shr,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;KENShr_{r,e}=ineed_{r,e}-\frac{ken_{r,e}}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new level of capital is determined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ken_{r,e,t+1}=(ken_{r,e,t}+KENShr_{r,e})*(1-CIVDM_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*CIVDM is an exogenous factor reflecting civilian damage from war&lt;br /&gt;
&lt;br /&gt;
Note that there is no guarantee that KEN_Shr is positive, so it is theoretically possible for ken to fall below 0; IFs checks to make sure that this does not happen.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;World energy price is used to provide stability. The no tax world energy price is used as taxes do not contribute to returns.&lt;br /&gt;
&lt;br /&gt;
[2] Note the careful use of the time subscripts. sendeminvr is not updated until after the computation of the initial value of TINEED, so the initial calculation of TINEED needs to use the previous year’s value of sendeminvr. Furthermore, the updating of sendeminvr occurs after TINEED has been adjusted to reflect any inventory reductions, but before the investment multiplier, &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;, is applied.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Economic Linkages&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The economic model and the two physical models have many variables in common.&amp;amp;nbsp; As in the agricultural model, IFs generally uses the values in the physical model to override those in the economic model.&amp;amp;nbsp; To do so, it computes coefficients in the first year that serve to adjust the physical values subsequently. The adjustment coefficients serve double duty - they translate from physical terms to constant monetary ones, and they adjust for discrepancies in initial empirical values between the two models.&lt;br /&gt;
&lt;br /&gt;
[[Energy#Energy_Investment|The Energy Investment section]] already described how desired investment, TINEED, is passed to the Economic model using the adjustment coefficient sidsf.&amp;amp;nbsp; The adjustment coefficient, ZSR is used to convert production:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZS_{r,s=2}=ZSR_r*WEPBYear_{r,t=1}*\sum^EENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZSRI_r=\frac{ZS_{r,s=2,t=1}}{WEPBYear_{r,t=1}*\sum^EENP_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZSR is a convergence of ZSRI to a value of 1 in 30 years and WEPBYear converts the energy units, which are in BBOE to dollars.&lt;br /&gt;
&lt;br /&gt;
The adjustment coefficient SCSF is used to convert consumption:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CS_{r,s=2}=SCSF_r*ENDEM_r*0.6&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SCSF_r=\frac{CS_{r,s=2,t=1}}{ENDEM_{r,t=1}*0.6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this assumes that consumer make up a constant 60 percent of consumption of total primary energy.&amp;amp;nbsp; Also SCSF remains constant over time.&lt;br /&gt;
&lt;br /&gt;
For stocks, imports, and exports, WEBPBYear serves as the adjustment coefficient&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ST_{r,s=2}=WEPBYear_{r,t=1}*ENST_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XS_{r,s=2}=WEPBYear_{r,t=1_r}*ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MS_{r,s=2}=WEPBYear_{r,t=1}*ENM_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, the indexed price (with a base of 1) in the energy sector of the economic submodel (PRI) is simply the ratio of current to initial regional energy price (ENPRI) time the value of PRI in the first year.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PRI_{r,s=2}=PRI_{r,s=2,t=1}*\frac{ENPRI_r}{ENPRI_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Resources and Reserves: Capital-to-Output Ratios and Discoveries&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Capital-to-Output Ratios ===&lt;br /&gt;
&lt;br /&gt;
Resource base is important in selected energy categories of IFs: conventional oil, natural gas, coal, hydroelectric power, and unconventional oil.&amp;amp;nbsp; Resources are not important in the nuclear category, which represents an undefined mixture of burner, breeder and fusion power.&lt;br /&gt;
&lt;br /&gt;
Resource costs, as represented by the capital required to exploit them, increase as resource availability in the resource-constrained categories decreases.&amp;amp;nbsp; The capital-to-output ratio captures the increased cost.&amp;amp;nbsp; Kalymon (1975) took a similar approach.&lt;br /&gt;
&lt;br /&gt;
More specifically, the capital-to-output ratio (QE) increases in inverse proportion to the remaining resource base (as the base is cut in half, costs double&#039;&#039;&#039;; &#039;&#039;&#039;as it is cut to one fourth, costs quadruple).&amp;amp;nbsp; The model multiplies the initial capital output ratio by the initial resource base (RESOR) times a multiplier (RESORM) by which a model user can exogenously increase or decrease model assumptions.&amp;amp;nbsp; It then divides that product by initial resources minus cumulative production to date (CUMPR).&lt;br /&gt;
&lt;br /&gt;
Total available resources by energy type, ResorTot, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ResorTot_{r,e}=\mathbf{resorm}_{r,e}*\mathbf{resor}_{r,e}+\mathbf{resorunconm}_{r,e}*\mathbf{resoruncon}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039; are exogenously assumed levels of the ultimate amount of conventional and unconventional forms of each energy type.&amp;amp;nbsp; There is no assumption about conventional resources for nuclear and only oil and gas include unconventional resources&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039; are multipliers that can be used to change the amount of assumed ultimate resources by energy type&lt;br /&gt;
&lt;br /&gt;
All energy types begin with basic capital-to-output ratios, BQE and BQEUC.&amp;amp;nbsp; These are initially set equal to the same values of QE and QEUNCON, which are derived in the pre-processor, and then evolved according to exogenous assumptions about technological advance for each energy type:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQE_{r,e,t}=BQE_{r,e,t-1}*(1-\mathbf{etechadv}_e)&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQEUNCON_{r,e,t}=BQEUNCON_{r,e,t-1}*(1-\mathbf{etechadvuncon}_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recall that technological improvements result in declining amounts of capital required for each unit of energy produced.&lt;br /&gt;
&lt;br /&gt;
The initial translation of this basic capital-to-output ratio to the value actually used to determine energy production varies by energy type.&lt;br /&gt;
&lt;br /&gt;
This is most straightforward for nuclear and unconventional energy, which do not take into account remaining resources:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is nuclear&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qem&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QEUC_{r,e,t+1}=BQEUC_{r,e,t}*\mathbf{qeunconm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil or gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
For hydro and other renewables, QE depends upon the remaining resource, which is defined as the difference between the total resource available and a moving average of the difference in production vis-à-vis production in the first year. &amp;amp;nbsp;In other words, it is not cumulative production that is important, but rather the portion of resources used annually.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\frac{ResorTot_{r,e}}{resorrem_{r,e}}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-ENPGR_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPGR_{r,e}=SmoothENP_{r,e}-ENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SmoothENP_{r,e,t}=0.8*SmoothENP_{r,e,t-1}+0.2*ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*e = hydro or renew&lt;br /&gt;
&lt;br /&gt;
For oil, gas, and coal, the logic is similar, but the definition of remaining resources is somewhat different:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=MAX(ResorTot_{r,e}-CUMPR_{r,e},MaxFac_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CUMPR_{r,e,t}=CUMPR_{r,e,t-1}+ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MaxFac_{r,e}=0.1*ResorTot_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, the capital-to-output ratio is calculated as a moving average&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CompQE_{r,e}=BQE_{r,e}*(\frac{ResorTot_{r,e}}{resorrem_{r,e}})^{0.4}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=(0.8*QE_{r,e,t}+0.2*CompQE_{r,e})*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, or coal&lt;br /&gt;
&lt;br /&gt;
=== Discoveries ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Energy reserves decrease with production and increase with discoveries, the latter of which are limited by remaining resources and other factors. &amp;amp;nbsp;This only applies to oil, gas, and coal.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;RESER_{r,e,t+1}=RESER_{r,e,t}+rd_{r,e}-ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rate of discovery, rd, is initially computed as a function of a number of factors related to global energy prices, remaining resources, global and domestic production, and several exogenous assumptions&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rd_{r,e}=rdiaug_e*wepterm*reterm_{r,e}*\mathbf{rdm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;amp;nbsp;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039; is a country and energy-specific exogenous multiplier&lt;br /&gt;
*rdi_aug is an energy-specific factor driven entirely by exogenous assumptions about initial rates of discovery, &#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;, and annual increments, &#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rdiaug_e=\mathbf{rdi}_e+\mathbf{rdinr}_{r,e}*(t-firstyear)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wepterm is a global factor driven by the growth in world energy prices from the first year and an exogenously defined elasticity, &#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wepterm=1+\frac{WEP_t-WEP_{t=1}}{WEP_{t=1}}*\mathbf{elasdi}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*reterm is a country and energy-specific factor representing an average of a country’s remaining resources as a share of original resources and its share of current production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;reterm_{r,e}=0.5*(\frac{ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}}{\sum_e(ResorTot_{r,e,t=1}-RESER_{r,e,t=1})}+\frac{ENP_{r,e}}{WENP_e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further assumption is that the rate of discovery cannot exceed 4 percent of the remaining resources in a country, where remaining resources are specified as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*For oil the amount of unconventional oil in ResorTot is also affected by the parameter &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039;[2]&lt;br /&gt;
&amp;lt;div&amp;gt;[1] There used to be an additional impact of ICT broadband that would further reduce the BQE for other renewables, but that is currently not active in the model.&amp;amp;nbsp;&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[2] This only affects Canada, which has a value of &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039; = 0.3. Why this is not included in the QE calculations is unclear.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Indicators&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Among useful energy or energy-related indicators is the ratio (ENRGDP) of energy demand (ENDEM) to gross domestic product (GDP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENRGDP_r=\frac{ENDEM_r}{GDP_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global production of energy by energy type (WENP) is the sum of regional productions (ENP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum^RENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy production is the basis for examining the build-up of carbon dioxide and Climate Change, as described in the documentation of the Environmental model.&lt;br /&gt;
&lt;br /&gt;
The ratio of oil and gas production globally to total energy production (OILGPR) helps trace the transition to other fuels.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;OILGPR=\frac{WENP_{e=1}+WENP_{e=2}}{\sum^EWENP_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy reserves (WRESER) and global resources (WRESOR) are sums by energy type across regions, the latter taking into account any resource multiplier (RESORM) that a user specifies to modify basic model resource estimates.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESER_e=\sum^RRESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESOR_e=\sum^R(RESOR_{r,e}*RESORM_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Bibliography&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
Kalymon, Basil A. 1975. &amp;quot;Economic Incentives in OPEC Oil Pricing Policy.&amp;quot; &#039;&#039;Journal of Development Economics&#039;&#039; 2: 337-362.&lt;br /&gt;
&lt;br /&gt;
Naill, Roger F. 1977.&#039;&#039;Managing the Energy Transition.&#039;&#039; Vols. 1 and 2. Cambridge, Mass: Ballinger Publishing Co.&lt;br /&gt;
&lt;br /&gt;
Stanford University. 1978. &#039;&#039;Stanford Pilot Energy/Economic Model.&#039;&#039; Stanford: Department of Research, Interim Report, Vol. 1.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Extended_Features&amp;diff=13771</id>
		<title>Extended Features</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Extended_Features&amp;diff=13771"/>
		<updated>2026-02-17T02:50:28Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: Entire Page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Identify Group or Country/Region Members&#039;&#039;&#039; allows IFs users to identify which countries/regions are represented in certain groups. Upon selecting a group (OECD or Afr-SubSahar) from the list on the left, its constituent members will be shown in the right-hand panel. Similarily, when the &#039;&#039;&#039;Using Regions&#039;&#039;&#039; option is selected, the list on the left will change from groups to a list of countries.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit Group or Country/Region Members&#039;&#039;&#039; This feature allows the user to modify existing groups or create new custom groups by adding or removing member countries. This changes how regional aggregates are calculated.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Rebuild Base&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Re-processes all country data, parameters, and any new group definitions to create a new &amp;quot;Base Case&amp;quot; scenario file (`IFsBase.run`) for future projections (from 2022-2100). Check the &#039;&#039;using Bilateral Data box&#039;&#039; and selecct the &#039;&#039;&#039;(R)ebuild&#039;&#039;&#039; base to process your data. This allow data from all the modules ( example &#039;&#039;Processing Data on Infrastructure - Please Wait&#039;&#039;)&lt;br /&gt;
&lt;br /&gt;
load and run for the scenario. Once the process is complete the following will be displayed; &lt;br /&gt;
&lt;br /&gt;
VERY IMPORTANT: PLEASE READ. Rebuild of Base is complete.IFsBase is usable but MODEL MUST BE RERUN to recomputeall calculated variables. RUN MODEL THROUGH LONGEST TIME HORIZON.&lt;br /&gt;
&lt;br /&gt;
Next, click on R(un) the model and select S(tart) Run. Data will be processed to 2100. The user can then save their files once the process is complete.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Rebuild Historical Base&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Reconstructs the model&#039;s historical data foundation. Used if raw country data has been altered or if group structures have changed, ensuring historical consistency. Follow the instructions on &#039;&#039;Rebuild Base&#039;&#039; to navigate this option.&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Import Data&#039;&#039;&#039; (Single Series)&lt;br /&gt;
&lt;br /&gt;
Allows the user to import a single new data series (e.g., a custom GDP estimate) from an excel file into IFs for a specific country or variable. The user can a upload a file by selecting Choose File at the top right center. This interface present user with couple of options like Aggreg. rule, Decimal Places and Existing Variables for the refine their data. Of particular importance among these is the Data Dictionary. This gives the user access to other values and options housed in the View Master Dictionary (including; Variable, Series, CoVaTrA, Cohort and Definition           etc).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Vet and Merge Imported Data&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This feature checks the quality and integration  for newly imported data. It reviews the data for errors and merges it into the model&#039;s master historical database. Marking Threshold enable the user to manipulate data in Years, Points and Differences by Percent or Unit.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Import Population Data&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A specialized function for importing new population datasets, which are critical for the model&#039;s demographic core. This allow users to load their data.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Earliest Data, Add or Update, Most Recent Data, Add or Update, Most Recent Adjusted Data, Add or Update&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
These three options provide granular control for updating specific years within an existing data series in IFs. They let users patch the historical record at its start, its latest point, or with a statistically adjusted recent estimate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Data&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Initiates imported or modified historical data series into the future using the model&#039;s algorithms, creating a complete time series for model runs. The option &#039;&#039;&#039;&#039;&#039;load project data&#039;&#039;&#039;&#039;&#039; allow rebuild base case (select rebuild base to learn more about the steps)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add or Delete SubRegions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Enables sub-national analysis. This feature allows a user to add and remove states or provinces within a country in IFs. When a specific country is selected the available states or provinces or regions for the country appear a list box in the middle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Merge Migration series from UNPD and Abel&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A technical data management tool. It separates two key historical migration data sources (UN Population Division and Abel et al. estimates), allowing users to work with or modify them independently.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Add or Delete Countries&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This process allows for the incorporation a row of the new country entity in all tables (e.g., a newly independent state) into the model&#039;s core database, or the removal of one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Recreate Scenario File&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This feature allow a user rebuilds a specific scenario file from scratch, incorporating data from Runfile and the Base Case scenario&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Figure to be inserted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Clear Session&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This resets the current working session by clearing all temporary data, unsaved changes, and returns the user to IFs Main Menu.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13766</id>
		<title>Energy</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13766"/>
		<updated>2026-02-14T01:14:00Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: working&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
Please cite as: Hughes, Barry B., José R. Solórzano, and Dale S. Rothman. 2014. &amp;quot;IFs Energy Model Documentation.&amp;quot; Working paper 2014.10.17. Pardee Center for International Futures, Josef Korbel School of International Studies, University of Denver, Denver, CO. Accessed DD Month YYYY &amp;amp;lt;https://pardee.du.edu/wiki/Energy&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy model combines a growth process in production with a partial equilibrium process.&amp;amp;nbsp; The energy model automatically replaces the energy sector in the full economic model unless the user disconnects that linkage.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
For energy, the partial equilibrium structures have distinct demand and supply sides, using price to seek a balance.&amp;amp;nbsp; As in the economic model, however, no effort is made to obtain a precise equilibrium in any time step.&amp;amp;nbsp; Instead stocks serve as a temporary buffer and the model again chases equilibrium over time.&lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the economic model provides the basis for energy demand calculations. &amp;amp;nbsp;Energy demand elasticities tend, however, to be quite high.&amp;amp;nbsp; Thus the physical constraints on the supply side are terribly important in determining the dynamics of the energy model.&lt;br /&gt;
&lt;br /&gt;
IFs distinguishes six energy production categories: oil, natural gas, coal, hydroelectric, nuclear, and other renewables. &amp;amp;nbsp;For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.&amp;amp;nbsp; IFs computes only aggregated regional or national energy demands and prices, however, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market.&amp;amp;nbsp; The model also conducts energy trade only in a single, combined energy category. &amp;amp;nbsp;Finally, at the moment, there is not a full connection between the energy model and access to electricity and electricity production (see the IFs Infrastructure Model Documentation for a description of the electricity aspects of IFs).&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Introductions&amp;lt;/span&amp;gt; =&lt;br /&gt;
{| class=&amp;quot;tableGrid&amp;quot; style=&amp;quot;width:100%;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 50%&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Energy&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Partial market&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Stocks&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Capital, resources, reserves&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; valign=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Flows&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Production, consumption, trade, discoveries, investment&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Key Aggregate&amp;amp;nbsp;&#039;&#039;&#039; &#039;&#039;&#039;Relationships&amp;amp;nbsp;&#039;&#039;&#039;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;(illustrative, not comprehensive)&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Production function with exogenous technology change;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Energy demand relative to GDP;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Price determination&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; valign=&amp;quot;center&amp;quot; | &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;&#039;&#039;&#039;Key Agent-Class Behavior&amp;amp;nbsp;&#039;&#039;&#039; &#039;&#039;&#039;Relationships&#039;&#039;&#039;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;(illustrative, not comprehensive)&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Government taxes, subsidies&amp;lt;br/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Dominant Relations: Energy&amp;lt;/span&amp;gt; =&lt;br /&gt;
 &lt;br /&gt;
1. Introduction &lt;br /&gt;
&lt;br /&gt;
1.1 Overview &lt;br /&gt;
&lt;br /&gt;
The International Futures system (IFs) represents energy and electricity through integrated dynamics that span multiple IFs models: energy, economy, environment, and infrastructure. It captures patterns of energy consumption and electricity use, the drivers behind them, and the production of energy from both fossil and non-fossil sources using different technologies. IFs also incorporates trade in energy, using both a pooled approach and a bilateral version. The model accounts for the environmental implications of fossil fuel use, while broader development and sustainability outcomes such as access to electricity and improved fuel use, are also represented. &lt;br /&gt;
&lt;br /&gt;
Here we document the IFs energy model - a partial equilibrium model operating on physical energy, balancing consumption and production through a price variable that adjusts in response to supply-demand dynamics, with energy stocks serving as a buffer. Investment decisions are signalled by price and by cost, with cost shaped by resources, reserves, and technologies, and these dynamics in turn inform the treatment of the energy sector in the broader Economic Model. Ultimately, computations in the physical energy model feed into the Economic Model by replacing its sectoral calculations with the corresponding financial variables from the physical energy model. &lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the Economic Model provides the basis for energy demand calculations. Energy demand elasticity represents the responsiveness of demand to prices, which evolve over the long run with changes in technology and resource availability. Thus, the physical constraints on the supply side are very important in determining the dynamics of the energy model. &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes nine energy production categories: oil, natural gas, coal, hydropower, nuclear, solar, wind, geothermal and other renewables. The other renewables category includes tidal, wave, biodiesel and biogas. For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.  Currently, the model does not generate projections for consumption or trade by specific energy types. IFs rather computes aggregated regional or national energy demands and prices, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market. The model also conducts energy trade only in a single, combined energy category. Finally, at the moment, there is no full reconciliation between the production of energy and electricity generation (see the IFs &lt;br /&gt;
&lt;br /&gt;
Infrastructure Model Documentation for a description of the electricity aspects of IFs). &lt;br /&gt;
&lt;br /&gt;
1.2 Dominant Relations &lt;br /&gt;
&lt;br /&gt;
Energy demand (ENDEM) is a function of GDP and the energy demand per unit of GDP (ENRGDP). Energy production (ENP) is a function of capital stock in each energy type, the capital/output ratio (QE) for that energy type, and a capacity utilization factor (CPUTF). &lt;br /&gt;
&lt;br /&gt;
The following key dynamics are directly linked to the dominant relations:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;DEMAND:&#039;&#039;&#039; Energy demand per unit of GDP depends on GDP per capita, energy prices, and an autonomous trend in energy efficiency. The first two of these are computed endogenously, the latter exogenously. The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;), speed at which energy price changes affect demand (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;) and the autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;).  The user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;PRODUCTION&#039;&#039;&#039;: For fossil fuels and hydro, there are upper bounds on production. For fossil fuels, these are based on reserve-to-production ratios, as well as user-specified upper bounds (&#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039;&#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039;&#039;&#039;&#039;). For hydro, the upper bound relates to hydropower potential. The model user can also control production using an energy production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) to directly modify energy production by energy type. The user may also indirectly increase energy production through additional investment (&#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;), which will incorporate economic trade-offs. In contrast, a production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) comes without any cost to increased production.For renewable categories other than hydro, the model uses potential capacity (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;) in lieu of reserves or resources. This reflects availability or potential based on data or estimated from drivers such as land area. Unlike fossil fuels, where &#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039; represents finite physical resources that directly constrain production, renewable potentials are effectively unlimited; instead of setting an upper bound, they influence capital costs and investment dynamics.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL/OUTPUT RATIO&#039;&#039;&#039;: The capital/output ratio provides a measure of production cost, with declines reflecting efficiency gains and reduced capital intensity. User-controllable parameters (&#039;&#039;&#039;&#039;&#039;etechadv&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;etechadvuncon&#039;&#039;&#039;&#039;&#039;), applied to each fuel type, implement these cost declines due to technological improvements at the global level. For fossil fuels, this is counteracted by a factor that increases the capital/output ratio as the amount of remaining resources decreases. The user can further modify the capital/output ratios with the multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;).For renewable energy sources such as wind, solar, and geothermal, the capital/output ratio is equivalent to the levelized cost of electricity (LCOE) generation from these sources, though users can still modify capital output ratios with multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;). These energy sources are primarily used to generate electricity (except for geothermal, which can also provide direct heat).&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL:&#039;&#039;&#039; Energy capital, by fuel type, is initialized based on the initial levels of production and capital/output ratios. Energy capital depreciates at a rate determined by the lifetime of energy capital (&#039;&#039;&#039;&#039;&#039;lke&#039;&#039;&#039;&#039;&#039;) and grows with investment. Total desired investment in energy capital is influenced by many factors, including existing capital, domestic and global energy demand, the production of other renewables, changes in the global capital/output ratio, world and domestic energy stocks, expected overall profits in the energy sector, and imports. Users can control the effect of expected profits (&#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039;&#039;&#039;&#039;) and world energy stocks (&#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039;&#039;&#039;&#039;). Desired investment by energy type increases with individual profit expectations, but also by limits related to reserve production factors (for fossil fuels and hydro), any exogenous restrictions on maximum production (for fossil fuels), ultimate potential (for hydro), and other, unspecified factors (nuclear). Users can influence the effect of profit expectations by fuel type (via &#039;&#039;&#039;&#039;&#039;elass&#039;&#039;&#039;&#039;&#039;) as well as influence the desired investment by energy type (&#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039;)&#039;&#039;&#039;, or in the aggregate (via &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;). The user can also specify an exogenous growth rate for energy investment by fuel type (&#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039;&#039;&#039;&#039;). The Economic Model ultimately determines whether all of the investment needs can be met; in case of shortfalls, the investment in each type of energy is reduced proportionately.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;RESOURCES/RESERVES/STOCKS&#039;&#039;&#039;: IFs separately represents ultimate resources and reserves, where the latter are the amount of energy resources available to be produced. Resources and reserves, both conventional and unconventional, are set in the pre-processor. The user can modify the default assumptions on ultimate resources, either directly (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039;&#039;&#039;&#039;) or via the use of multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039;&#039;&#039;&#039;). Reserves decline with production and increase with discoveries. The rate of discovery depends on the ultimate resources remaining, the intensity of current production, world energy prices, and a base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039;&#039;&#039;&#039;). The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;), augment the base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039;&#039;&#039;&#039;), and use a multiplier to affect the rates of discovery (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039;&#039;&#039;&#039;). Finally, IFs keeps track of any production not used in the current year, i.e., stocks, and shortages.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ENERGY PRICES&#039;&#039;&#039;: Domestic energy prices are influenced by world stocks, domestic stocks, and the ratio of capital to production at the global level. The user can control the effect of domestic stocks on prices (&#039;&#039;&#039;&#039;&#039;epra&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039;&#039;&#039;&#039;). Users can also include a “cartel premium” (&#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039;&#039;&#039;&#039;) and a carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). More directly users can set domestic energy prices exogenously for just the first year (&#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;&#039;&#039;&#039;) or for multiple future years (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039;&#039;&#039;&#039;). The world energy price is calculated as a weighted sum of the domestic prices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRADE&#039;&#039;&#039;: The energy model also provides representation and model-user control over energy trade. The levels of imports (ENM) and exports (ENX), measured in physical terms (bboe), depend upon levels of production and demand, as well as past propensities to import and export energy. The user can set maximum limits on of energy imports (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039;&#039;&#039;&#039;) and energy exports (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039;&#039;&#039;&#039;), as well as general limits on trade (&#039;&#039;&#039;&#039;&#039;trademax&#039;&#039;&#039;&#039;&#039;).  &lt;br /&gt;
&lt;br /&gt;
----&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; Conventional sources refer to oil extracted through standard drilling methods, while unconventional sources include those requiring advanced techniques such as shale oil extraction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt; LCOE is expressed as the cost per kilowatt-hour of electricity generated and is computed by dividing the total electricity produced over the lifetime of a plant by the sum of its capital costs, operations, and maintenance expenditures (IRENA, 2024). We will revisit the implications of variable renewable energy (VRE), including system integration costs and their effect on capital/output ratios in more detail later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.3 Structure and Agent System&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Table 1: Model Structure and Agent System.&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&lt;br /&gt;
|Energy &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&lt;br /&gt;
|Partial market &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Stocks&#039;&#039;&#039;&lt;br /&gt;
|Capital, resources, reserves&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Flows&#039;&#039;&#039;&lt;br /&gt;
|Production, consumption, trade, discoveries, investment &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Aggregate Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Production function with exogenous technology change;&lt;br /&gt;
&lt;br /&gt;
Energy demand relative to GDP;&lt;br /&gt;
&lt;br /&gt;
Price determination &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Agent-Class&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Behavior Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Government taxes, subsidies&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.&#039;&#039;&#039;Flow Charts&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section presents several block diagrams that are central to the energy model: an energy system overview, energy production and energy consumption. &lt;br /&gt;
&lt;br /&gt;
2.1 &#039;&#039;&#039;Energy Overview&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The production growth process in energy is simpler than that in Agriculture or the full Economic Model. Because energy is a very capital-intensive sector, production depends only on capital stocks and changes in the capital-output ratio, which represents technological sophistication and other factors (such as decreasing resource bases) that affect production costs. &lt;br /&gt;
&lt;br /&gt;
The key equilibrating variable is again inventories. It works via investment to control capital stock and therefore production, and via prices to control domestic consumption. Production and consumption, in turn, control trade. Specifically, as inventories rise, investment falls, restraining capital stock and energy production, and thus holding down inventory growth. As inventories rise, prices fall, thereby increasing domestic consumption, which also holds down inventory growth.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 1: IFs Energy Model Overview.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.2 &#039;&#039;&#039;Energy Production Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy production is computed from the capital stock invested in energy and the capitaloutput ratios, adjusted by a capacity utilization factor and bounded by production limits specific to each energy type. Exogenous parameters allow users to modify both the drivers of production and the production volumes themselves. The capital-output ratios are affected by the amount of remaining resources as a share of the initial levels, technological progress, and user-controlled multipliers. The capacity utilization factor is influenced by domestic stocks and shortages. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 2: Energy Production in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.3 &#039;&#039;&#039;Energy Capital and Investment Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The capital stock by energy type decreases through depreciation and grows with new investment. Investment growth in the capital stock, though influenced by several factors, is driven primarily by energy profits and existing stocks. It can be adjusted through a user-defined scenario multiplier and is capped by production constraints linked to reserves availability for fossil fuels and resource potential for renewables. The user can use a direct multiplier on total energy investment, multipliers on energy investment by energy type to influence investment or specify a desired rate of growth in investment by energy type. &lt;br /&gt;
&lt;br /&gt;
For renewable energy sources like wind, solar and geothermal, the capital-output rations are tied to the levelized cost of electricity (LCOE). In case of variable renewable energy (VRE) sources such as solar and wind, there comes an additional set of challenges associated with intermittency, dispatchability and storage. For renewables, the capital– output ratio corresponds to the LCOE with adjustments for system integration costs such as transmission, storage, and balancing in the case of variable renewables. Addressing these challenges requires additional expenditures on transmission, distribution, and balancing capacity. LCOE data published in the literature does not always incorporate such system integration costs, which can be substantial at higher penetration levels of VRE and also affect production costs (Hirth et al., 2015; Ueckerdt et al., 2013). &lt;br /&gt;
&lt;br /&gt;
If these additional system costs are not considered, the model’s forecasts for such renewable sources may overestimate the pace of cost reductions driven by technological learning and economies of scale, while at the same time underestimating the true investments required for large-scale deployment of wind and solar power.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 3: Energy Capital and Investment in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2.4 Energy Demand Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Energy demand is estimated as a function of the energy demand per unit GDP (in PPP terms) and total GDP (in PPP terms), with adjustments related to energy prices and improvements in energy use efficiency. The energy demand per unit GDP depends on GDP per capita (in PPP Terms). The improvement in energy use efficiency is a combination of autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;) and an additional amount that accelerates the improvements for (non-exporting) countries that have efficiencies below the global average. The price effect takes into account both the domestic and global prices of energy, as well as any carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;) and the historical weight used to smooth energy prices (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;). Finally, the user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 4: Energy Demand in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.5 &#039;&#039;&#039;Energy Resources and Reserves Detail&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes between ultimate resources and reserves, where the latter represent the amount of energy actually discovered and available for production. Ultimate resources are initially determined in the pre-processor, but the user can override these estimates using either absolute values (resor, resoruncon) or multipliers (resorm, resorunconm). There is also a parameter controlling the portion of unconventional oil that is economic to produce (enresunce). For non-renewable energy types, i.e., fossil fuels, reserves increase with discoveries and decrease with production. The rate of discovery includes a base rate (rdi) and an annual increment (rdinr). There are further adjustments related to the world energy price, the remaining resources, and the current rate of production. The user can control the effect of world prices on discovery (elasdi) and can also intervene with a discovery multiplier (rdm). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 5: Energy Resources and Reserves in IFs&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3.&#039;&#039;&#039;Equations&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
This section will present and discuss the equations that are central to the functioning of the energy model: supply, demand, trade, stocks, price, investment, economic linkages, capital, natural resources and energy indicators. Here we follow the order of calculations in all years but the first, noting specific calculations that are made in the first year or preprocessor as necessary. A table has been added as an appendix to this document, linking the variables to the historical data series used to initialize them.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3.1&#039;&#039;&#039; &#039;&#039;&#039;Energy Demand&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The key energy demand variable in IFs, ENDEM, tracks total primary energy demand. For the most part, IFs does not represent the transformation of this primary energy into final energy forms, or end-user energy demand. The one exception relates to electricity use, which is described in the documentation of the Infrastructure Model. &lt;br /&gt;
&lt;br /&gt;
In the first year, total primary energy demand is calculated as an apparent demand based on a balancing equation that equates energy demand with supply, defined as production plus net trade, and a balancing energy stock. While the supply side is obtained from historical data, the initial value for the stock is estimated from an aggregate stock base, obtained by adding demand and supply, on which a desired stock level (dstlen, 10% by default) is applied and then augmented by the expected growth in production following standard practice in storage planning. &lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑆𝑇&amp;lt;sub&amp;gt;𝑟,𝑡=1&amp;lt;/sub&amp;gt; = (∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒,𝑡=1&amp;lt;/sub&amp;gt; + 𝐸𝑁𝐷𝐸𝑀𝐸𝑠𝑡&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;) ∗ 𝑑𝑠𝑡𝑙𝑒𝑛  &amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt;&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝐷𝐸𝑀𝑟,𝑡=1 = ∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt; 𝐸𝑁𝑃𝑟,𝑒,𝑡=1 + 𝐸𝑁𝑀𝑟,𝑡=1 − 𝐸𝑁𝑋𝑟,𝑡=1 − 𝐸𝑁𝑆𝑇𝑟,𝑡=1 ∗ 𝐴𝑉𝐸𝑃𝑅𝑟,𝑡=1&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Where,&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
• &#039;&#039;ENP&#039;&#039;, &#039;&#039;ENM&#039;&#039;, &#039;&#039;ENX&#039;&#039;, &#039;&#039;ENST&#039;&#039;, and &#039;&#039;AVEPR&#039;&#039; are energy production, energy imports, energy exports, estimated energy stocks, and an average of the expected growth in production across all energy types (e) for a country, or region (r) in the first year (t) of the projection horizon. The calculations of the initial values of these variables are described later in the Equations section under the appropriate headings.&lt;br /&gt;
&lt;br /&gt;
Note that this calculation does not directly use the historical data on total primary energy demand and there can be a significant difference between the initialized value of ENDEM and the actual historical data for the base year. This information is used by the variable ENDEMSH, which is described in the Infrastructure documentation.&lt;br /&gt;
&lt;br /&gt;
In future years, the calculation of total primary energy demand begins with an estimate of the predicted amount of energy demand per unit of GDP (in PPP terms), compendemperunit, as a function of GDP per capita (in PPP terms).&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; This function is show in the figure below&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[3]&amp;lt;/sup&amp;gt; Since energy demand is not yet computed for the first year, an estimate (ENDEMEst) is obtained from the energy balance equation, with the stock term based solely on the supply side. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[4]&amp;lt;/sup&amp;gt; Here, IFs uses GDP from the previous time cycle, with an estimate of growth, to calculate GDPPCP, because the recursive structure of IFs computes current GDP later. The current value of population, POP, has already been computed at this stage.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[5]&amp;lt;/sup&amp;gt; The exact equation is compendemperunit = 0.0023428 -0.0003878*ln(GDPPCP).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Figure 6: Relationship between compendemperunit and GDP per capita&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A small amount, 0.0005 barrels of oil equivalent (boe), is added to this computed value to account for the fact that the demand data used to estimate the function above is less than apparent demand globally. &lt;br /&gt;
&lt;br /&gt;
The initial data for countries is unlikely to fall exactly on this function. To reconcile this fact, IFs calculates values for both predicted energy demand per unit GDP in the first year, compendemperuniti, and empirical demand per unit GDP (in PPP terms) in the first year, actendemperuniti.&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; Over a time period of 75 years, controlled by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039;&#039;&#039;&#039;, IFs gradually adjusts the difference between these two values so that the estimate of energy demand per unit GDP (in PPP terms) eventually does fall on the function.&lt;br /&gt;
&lt;br /&gt;
IFs then calculates an initial estimate of total energy demand, endemba, by multiplying this adjusted value of energy demand per unit GDP (in PPP terms), endemperunit, by GDP (in PPP terms).&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt;&lt;br /&gt;
----&amp;lt;sup&amp;gt;[6]&amp;lt;/sup&amp;gt; There is also an adjustment to the empirical demand that occurs during the initialization. Due to data inconsistencies and/or the exclusion of non-traded energy sources such as traditional biomass from production data, energy demand initialized using the balance method described above can turn out to be very low for some countries. The initialization code adjusts the base-year ENDEM for such cases to ensure that energy demand per unit of GDP at PPP is not less than a fifth of the value computed using the energy intensity function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[7]&amp;lt;/sup&amp;gt; IFs uses GDP from the previous time cycle here, because the recursive structure of IFs computes current GDP later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IFs then considers the effect of price on total primary energy demand. IFs keeps track of the global energy price as both an index (WEP, base year = 100) and as an actual dollar value (WEPBYEAR, $ per BBOE). It also tracks a country level energy price index&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
(ENPRI, base year =100). Finally, it can also consider a tax on carbon, expressed by the variable CarTaxEnPriAdd, which has the units $ per BBOE. &lt;br /&gt;
&lt;br /&gt;
The calculation of the effect of prices on total energy begins with the calculation of a variable called renpri. renpri is a moving average country-level price index that starts at the level of the country level price index in the base year, ENPRII, and then tracks changes in world energy prices and country-level carbon taxes.   The historical weight is controlled by the parameter ehw, so that: &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟,𝑡&amp;lt;/sub&amp;gt; = 𝒆𝒉𝒘 ∗ renpri&amp;lt;sub&amp;gt;𝑟,𝑡−1&amp;lt;/sub&amp;gt; + (1 − 𝒆𝒉𝒘)&lt;br /&gt;
&lt;br /&gt;
(𝑊𝐸𝑃𝑡−1+CarTaxEnPriAdd𝑟,𝑡−1∗𝑊𝐸𝑃𝑡=1&lt;br /&gt;
&lt;br /&gt;
𝑊𝐸𝑃𝐵𝑌𝐸𝐴𝑅𝑡=1)  &lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;renpri&#039;&#039; is the moving average country level price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039; is the weight given to the historical value of renpri&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEP&#039;&#039; is the global energy price index&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;WEPBYEAR&#039;&#039; is the global energy price in $ per BBOE&lt;br /&gt;
&lt;br /&gt;
•       &#039;&#039;CarTaxEnPriAdd&#039;&#039; is the country level carbon tax in $ per BBOE of total energy and is calculated as the exogenous value of the carbon tax in $ per ton of carbon, &#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;, times a production weighted average of the carbon contents of oil, gas, and coal, &#039;&#039;&#039;&#039;&#039;carfuel&amp;lt;sub&amp;gt;e&amp;lt;/sub&amp;gt; , where e is 1-3&#039;&#039;&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
∑&amp;lt;sub&amp;gt;𝑒&amp;lt;/sub&amp;gt;(𝐸𝑁𝑃&amp;lt;sub&amp;gt;𝑟,𝑒&amp;lt;/sub&amp;gt; ∗ 𝒄𝒂𝒓𝒇𝒖𝒆𝒍&amp;lt;sub&amp;gt;𝒆&amp;lt;/sub&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
                        CarTaxEnPriAdd&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; =  ∗ 𝒄𝒂𝒓𝒃𝒕𝒂𝒙&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sub&amp;gt;                                                                               ∑𝑒 𝐸𝑁𝑃𝑟,𝑒&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The parameter specifying the price elasticity of energy demand, &#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;, is adjusted based on the relationship between renpri and and ENPRII to yield a new parameter, elasadjusted.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
𝐸𝑁𝑃𝑅𝐼𝐼&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
elasadjusted&amp;lt;sub&amp;gt;r&amp;lt;/sub&amp;gt; = 𝒆𝒍𝒂𝒔𝒅𝒆&amp;lt;sub&amp;gt;𝒓&amp;lt;/sub&amp;gt; ∗  &lt;br /&gt;
&lt;br /&gt;
renpri&amp;lt;sub&amp;gt;𝑟&amp;lt;/sub&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Supply&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The computation of energy production (ENP) is considerably easier than that of gross sectoral production in the economic model or of agricultural production in the agricultural model.&amp;amp;nbsp; Only capital is considered important as a factor of production (not labor, land, or even weather).&amp;amp;nbsp; Energy production is initially estimated by dividing the quotient of capital in each energy category (ken) and the appropriate capital-to-output ratio (QE).&amp;amp;nbsp; A multiplier, &#039;&#039;&#039;&#039;&#039;enpm&#039;&#039; &#039;&#039;&#039;, can be used to increase or decrease production.&amp;amp;nbsp; This yields:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP1_{r,e}=\frac{ken_{r,e}}{QE_{r,e}}*\mathbf{enpm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The dynamics of the capital-to-output ratios, QE, are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Known reserves (RESER) and exogenously specified maximums pose constraints on production of certain energy types.&amp;amp;nbsp; The affected energy types are oil, gas, coal, and hydro.&amp;amp;nbsp; The impact of reserves is felt via a limit on the fraction of reserves that can be produce in any year. Specifically, the reserve-to-production ratio may not fall below the value of &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;, which is initially set in the pre-processor, but can be overridden by the user. &amp;amp;nbsp;In addition, as the actual reserve-to-production ratio approaches this limit, its rate of decrease is limited.&amp;amp;nbsp; The exogenously specified maximums apply only to oil, gas, and coal, and are given by the parameters &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This yields a second estimate for energy production, given as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP2_{r,e}=MIN(\frac{RESER_{r,e}}{MAX(\mathbf{prodtf}_{r,e},sResProdR_{r,e}-1)},enpmax_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e only applies to oil, gas, coal, and hydro&lt;br /&gt;
*&#039;&#039;enpmax&#039;&#039; takes on the value &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;,depending upon the fuel.&lt;br /&gt;
*sResProdR is the reserve-to-production ratio from the previous year; this limit only takes effect when sResProdR falls below 30 and remains above &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IFs then selects the minimum of ENP1 and ENP2 as the estimate of energy production ENP.&amp;amp;nbsp; The dynamics of energy reserves are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
Two final adjustments are made to energy production.&amp;amp;nbsp; The first accounts for capacity utilization, &#039;&#039;CPUTF&#039;&#039;, and the second only comes into play when a restriction is placed on energy exports.&amp;amp;nbsp; Since these are not calculated until the calculation of energy stocks and shortages, they are described in the appropriate places in the [[Energy#Domestic_Energy_Stocks|Domestic Energy Stocks]] section and the [[Energy#Energy_Prices_and_Final_Adjustments_to_Domestic_Energy_Stocks_and_Capacity_Utilization|Energy Prices and Final Adjustments]] section.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Trade&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The energy model in IFs keeps track of trade in energy in physical quantities; the trade in energy in monetary terms is handled in the economic model. &amp;amp;nbsp;As opposed to the agricultural model, where trade in crops, meat, and fish are treated separately, the energy model considers trade in energy in the aggregate.&amp;amp;nbsp; Furthermore, it only considers production from oil, gas, coal, and hydro as being available for export.&amp;amp;nbsp; Finally, as with other aspects of trade, IFs uses a pooled trade model rather than representing bilateral trade.&lt;br /&gt;
&lt;br /&gt;
The first estimate of energy imports and exports by country are determined based upon a country’s propensity to export, propensity to import, and moving averages of its energy production and demand.&lt;br /&gt;
&lt;br /&gt;
The moving average of energy production, identified as smoothentot, is calculated simply as a moving average of production of energy from oil, gas, coal, and hydro. In the first year of the model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t=1}=EnTot_{r,t=1}=\sum_eENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
In future years,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t}=0.9*smoothentot_{r,t-1}+0.1*\sum_eENP_{r,e,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
The moving average of energy demand, identified as smoothpendem has a few more nuances, particularly after the first year.&amp;amp;nbsp; In the first year, IFs calculates:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t=1}=ENDEM_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In future years, rather than using the value of ENDEM calculated earlier, the model uses a slightly different measure of energy demand, referred to as pendem.&amp;amp;nbsp; pendem differs from ENDEM in two main ways:&lt;br /&gt;
&lt;br /&gt;
1. rather than using the moving average country-level price index, renpri, to calculate the effect of prices on energy demand, it uses only current values:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PEnPri_{r,t}=WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. it does not include the additional boost in energy efficiency beyond &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039; in calculating the autonomous changes in energy efficiency&lt;br /&gt;
&lt;br /&gt;
Thus, in future years, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t}=0.8*smoothpendem_{r,t-1}+0.2*pendem_{r,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A country’s propensities to import and export energy are given by the variables MKAVE and XKAVE.&amp;amp;nbsp; These are moving averages of the ratios of imports to an import base related to energy demand and exports to an export base related to energy production and demand, respectively.&amp;amp;nbsp; MKAVE is initialized to the ratio of energy imports to energy demand in the first year.&amp;amp;nbsp; A maximum value, MKAVMax is also set at this time to the maximum of 1.5 times this initial value or the value of the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; XKAVE is initialized to the ratio of energy exports to the sum of energy production from oil, gas, coal and hydro and energy demand from all energy types in the first year.&amp;amp;nbsp; Its maximum value, XKAVMAX is set to the maximum of this initial value and the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; The updating of MKAVE and XKAVE occur after the calculation of imports and exports, so we will return to that at the end of this section.&lt;br /&gt;
&lt;br /&gt;
The initial estimates of energy exports, ENX, and energy imports, ENM, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MIN(XKAVE_r,XKAVMAX_r)*exportbase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MIN(MKAVE_r*pendem_r,MKAVMAX_r*smoothpendem_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;exportbase_r=smoothentot_r+smoothpendem_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, IFs makes some adjustments to energy imports and exports depending upon whether a country is considered in energy surplus or deficit.&amp;amp;nbsp; Where a country sits in this regard involves considering domestic and global stocks in addition to current production and demand.&lt;br /&gt;
&lt;br /&gt;
Domestic energy stocks are computed as the sum of stocks carried over from the previous year, while also considering any shortages&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;stocks_{r,t}=ENST_{r,t-1}-ENSHO_{r,t-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A stock base is also calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;StBase_r=smoothpendem_r+smoothpendemr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ratio of stocks to StBase can be defined as domesticstockratio. A moving average of a trade base, smoothtradebase, is also calculated for each country:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradebase_{r,t}=MAX(ENDEM_r,0.9*smoothtradebase_{r,t-1}+0.1*2*(ENX_r+ENM_r))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradbase_{r,t+1}=MAX(ENDEM_{r,t=1},2*(ENX_{r,t=1}+ENM_{r,t=1}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy stocks, GlobalStocks, and the global stock base, GlobalStBase, are the sum of the domestic stocks and stock bases across countries, and the value of the globalstockratio is defined as GlobalStocks divided by GlobalStBase.&lt;br /&gt;
&lt;br /&gt;
For each country, the level of deficit or surplus, endefsurp, is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endefsurp_r=(globalstockratio-domesticstockratio_r)*StBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that if a countries stock ratio is less (greater) than the global average, it is considered in deficit (surplus).&lt;br /&gt;
&lt;br /&gt;
If a country is in deficit, i.e., endefsurp &amp;gt; 0, IFs will act to reduce its exports and increase its exports.&amp;amp;nbsp; The recomputed value of exports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MAX(0.5*ENX_r,ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy exports is determined by the ratio of the level of deficit to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a maximum level given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENMMax_r=ENM_r+(\frac{pendem_r*MKAVMAX_r-ENM_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, if a country is in surplus, i.e., endefsurp &amp;lt; 0, IFs will act to increase exports and reduce imports.&amp;amp;nbsp; The amount of increase in exports is controlled, in part, by the exchange rate for the country, EXRATE, specifically its difference from a target level of 1 and its change from the previous year.&amp;amp;nbsp; As with other adjustment factors of this type, the ADJSTR function is used, yielding a factor named mul.&amp;amp;nbsp; After first multiplying ENX by a value that is bound from above by 1.05 and from below by the maximum of 0.95 and mul, the recomputed value of ENX is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, a maximum level is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENXMax_r=ENX_r+(\frac{exportbase_r*XKAVMAX_r-ENX_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039; this maximum value is computed prior to the adjustments to ENX noted above.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MAX(0.5*ENM_r,ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy imports is determined by the ratio of the level of surplus to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
Because of the frequent use and importance of government trade restrictions in energy trade, model users may want to establish absolute export (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;) &amp;amp;nbsp;or import (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039; &#039;&#039;&#039;) limits, which can further constrain energy exports and imports.&amp;amp;nbsp; An export constraint may also affect the production of oil and gas as described in the next section.&lt;br /&gt;
&lt;br /&gt;
As it is unlikely that the sums of these values of ENX and ENM across countries will be equal, which is necessary for trade to balance.&amp;amp;nbsp; To address this, IFs computes actual world energy trade (WET) as the average of the global sums of exports and imports.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WET=\frac{\sum_rENX_r+\sum_rENM_r}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and recomputes energy exports and imports, as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=WET*\frac{ENX_r}{\sum_rENX_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=WET*\frac{ENM_r}{\sum_rENM_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This maintains each country’s share of total global energy exports and imports.&lt;br /&gt;
&lt;br /&gt;
IFs can now update the moving average export (XKAVE) and import (MKAVE) propensities for the next time step.&amp;amp;nbsp; This requires historic weights for exports (&#039;&#039;&#039;&#039;&#039;xhw&#039;&#039; &#039;&#039;&#039;) and imports (&#039;&#039;&#039;&#039;&#039;mhw&#039;&#039; &#039;&#039;&#039;), yielding the equations:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XKAVE_{r,t+1}=XKAVE_r*\mathbf{xhw}+(1-\mathbf{xhw})*\frac{ENX_r}{exportbase_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MKAVE_{r,t+1}=MKAVE_r*\mathbf{mhw}+(1-\mathbf{mhw})*\frac{ENM_r}{smoothpendem_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further adjustment is made related to the import propensity, MKAVE, related to the difference between this propensity and a target level, ImportTarget, and the change in this difference since the previous year. &amp;amp;nbsp;This target starts at the level of MKAVE in the first year and gradually declines to 0 over a 150 year period.&amp;amp;nbsp; As in many other situations in IFs, this process makes use of the ADJUSTR function to determine the adjustment factor.&amp;amp;nbsp; The value of mulmlev is not allowed to exceed 1, so its effect can only be to reduce the value of MKAVE.&lt;br /&gt;
&lt;br /&gt;
Finally, XKAVE and MKAVE are checked to make sure that they do not exceed their maximum values, XKAVMAX and MKAVMAX, respectively.&lt;br /&gt;
&lt;br /&gt;
[1] The previous year’s values of WEP and CarTaxEnPriAdd are used as the current year’s values are not calculated until later in the model sequence.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Domestic Energy Stocks&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs sets a target for energy stocks in each country as a fraction of a domestic stock base, StBase, which was defined earlier as the sum of a moving average of energy demand, smoothpendem, and a moving average of the production of oil, gas, coal, and hydro, smoothentot.&amp;amp;nbsp; This fraction is defined by the parameter &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Stocks are initialized in the first year as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;multiplied by the initial domestic stock base, which is the sum of production of all energy types and an estimated value of apparent energy demand.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_{r,t=1}=\mathbf{dstlen}*(\sum_cENP_{r,e,t=1}+ENDEMEst_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*ENDEMEst is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEMEst_r=(1-\mathbf{dstlen}*AVEPR_r)*\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*AVEPR is a weighted average energy production growth rate&lt;br /&gt;
&lt;br /&gt;
In future years, IFs begins by summing the moving average energy demand, smoothpendem, across countries, storing this value as WENDEM and the same for moving average energy production from oil, gas, coal, and hydro, smoothentot, which it stores as WorldEnp.&amp;amp;nbsp; It also sums the moving average energy demand just for countries that have low propensity for exports, XKAVE &amp;lt; 0.2, and stores this value as WEnDemIm.&lt;br /&gt;
&lt;br /&gt;
At this point, IFs adjusts energy production by multiplying by a capacity utilization factor, CPUTF, which is assumed to be the same for all energy types in a country.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP_{r,e}=ENP_{r,e}*CPUTF_r&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
The value of CPUTF is initialized to 1 in the first year.&amp;amp;nbsp; How it changes in time is described in the next section after the description of the calculation of the domestic price index.&lt;br /&gt;
&lt;br /&gt;
An initial estimate of energy stocks, ENST, is then calculated as the previous year’s stocks augmented by production and imports and reduced by use and exports&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_r=ENST_{r,t-1}+-ENDEM_r-ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after this calculation, there are excess stocks, i.e., ENST &amp;gt; &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and there is an export constraint, given by &#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;, adjustments are made to the production of oil and gas&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;, and, in turn, to energy stocks.&amp;amp;nbsp; The total reduction in oil and gas production is given as the amount of excess stocks, with a maximum reduction being the total amount of oil and gas production.&amp;amp;nbsp; This total amount of reduced production is then shared proportionately between oil and gas.&amp;amp;nbsp; The total reduction is also removed from ENST.&lt;br /&gt;
&lt;br /&gt;
Later, after the determination of prices, ENST is modified to: 1) ensure that they are not less than zero and 2) to account for any global shortfalls.&amp;amp;nbsp; These modifications are described in the next section.&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;This is the first of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&lt;br /&gt;
[2] This is the second of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Prices and Final Adjustments to Domestic Energy Stocks and Capacity Utilization&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs keeps track of separate domestic, ENPRI, and world, WEP, energy price indices, that apply to all forms of energy.&amp;amp;nbsp; These are initialized to a value of 100 in the first year.&amp;amp;nbsp; It also tracks the world energy price in terms of dollars per BBOE, WEPBYEAR, which is initialized as a global parameter.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;A number of pieces are needed for the calculation of energy prices.&amp;amp;nbsp; These include a world stock base, wstbase, world energy stocks, wenst, world energy production by energy type, WENP, world energy capital, WorldKen, and a global capital output ratio, wkenenpr.&amp;amp;nbsp; These are calculated as follows:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wstkbase=\sum_rStBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wenstks=\sum_r(ENST_r-ENSHO_{r,t-1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum_rENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldKen=\sum_r\sum_e(ken_e*\frac{CPUTF_r}{MAX(5,\mathbf{lke_e})})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENSHO is domestic energy shortage (described below)&lt;br /&gt;
*ken is capital for each energy type&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;lke&#039;&#039; &#039;&#039;&#039; is the average lifetime of capital for each energy type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In cases when at least one country has an exogenous restriction on the production of oil, i.e., enpm(oil) &amp;lt; 1 for at least one country, a few additional variables are calculated:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;GlobalShortFall=\sum_r\sum_eMax(0,ENP_{r,e,t-1}-1.05*ENP_{r,e,t})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldEnProd=\sum_eWENP_e&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ShortFallSub=GlobalShortFall*MIN(10,\frac{WorldEnProd}{WENP(oil)})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Otherwise these three variables all take on a value of 0.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;These values are used to calculate an adjustment factor driven by global energy stocks that affects domestic energy prices.&amp;amp;nbsp; The effect in the current year, wmul, is calculated using the ADJSTR function, which looks at the difference between world energy stocks, wenstks and the desired level, given by &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase, and the change in world energy stocks from the previous year.&amp;amp;nbsp; The presence of an exogenous restriction on the production of oil has two effects on the calculation of wmul.&amp;amp;nbsp; First, the value of ShortFallSub affects the two differences that feed into the ADJSTR function.&amp;amp;nbsp; Second, the elasticities applied in the ADJSTR function are tripled.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The adjustment factor calculated in the current year is not applied directly to the calculation of domestic energy prices.&amp;amp;nbsp; Rather, a cumulative value, cumwmul, is calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;cumwmul_t=cumwmul_{t-1}*(1+(wmul-1)*\mathbf{eprohw})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Other factors affect the domestic energy price index – domestic energy stocks, possible cartel price premiums, &#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039; &#039;&#039;&#039;, the first year value of the world energy price index, IWEP, changes in the global capita output ratio from the first year, whether the user has set a global energy price override. &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;and whether there are any restriction on oil production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy stocks affect a country-specific “markup” factor, MarkUpEn.&amp;amp;nbsp; This starts at a value of 1 and changes as a function of the value of mul, which is calculated using the ADJSTR function.&amp;amp;nbsp; Here the differences are those between domestic energy stocks and desired stocks, given as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and the changes in energy stocks from the previous year.&amp;amp;nbsp; Shortages from the previous year are also taken into account.&amp;amp;nbsp; The user can also control the elasticities used in the ADJSTR function with the parameters &#039;&#039;&#039;&#039;&#039;epra&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This markup evolves over time as&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MarkUpEn_{r,t}=MarkUpEn_{r,t-1}*mu&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy price index, ENPRI, is first calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=\mathbf{X}*mul_r*cumwmul+\mathbf{encartpp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; = &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;when this parameter is set to a value greater than 1 and IWEP otherwise&lt;br /&gt;
&lt;br /&gt;
It is then recomputed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=MIN(ENPRI_r,ENPRI_{r,t-1}+\mathbf{encartpp}_t-\mathbf{encartpp}_{t-1}+\mathbf{X})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; is 100 whenthere is a restriction on oil production in at least one country and 20 otherwise&lt;br /&gt;
&lt;br /&gt;
Furthermore, ENPRI is not allowed to fall by more than 10 in a given year.&lt;br /&gt;
&lt;br /&gt;
It is possible for the user to override this price calculation altogether.&amp;amp;nbsp; Any positive value of the exogenous country-specific energy price specification (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;) will do so.&lt;br /&gt;
&lt;br /&gt;
It is only now that a country’s energy stocks and shortages are finalized for the current year.&amp;amp;nbsp; If ENST is less than 0, then a shortage is recorded as ENSHO = -ENST and ENST is set to 0.&amp;amp;nbsp; In addition, for countries that have a low propensity for exports, XKAVE &amp;lt; 0.2, a share of any global shortfall is added to their shortage, with the share determined by the country’s share of moving average energy demand among those countries:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENSHO_r=ENSHO_r+GlobalShortFall*\frac{smoothpendem_r}{WEnDemIm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy shortage enters the Economic model in the calculation of gross sectoral production.&lt;br /&gt;
&lt;br /&gt;
The same differences in domestic stock from their target level and their change since the previous year, taking into account shortages from the previous year, are used to update the value of capacity utilization in energy, CPUTF, which was introduced earlier.&amp;amp;nbsp; The multiplier affecting CPUTF, Mul, is calculated using the ADJSTR function, with elasticities given by &#039;&#039;&#039;&#039;&#039;elenpst&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpst2&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, the capacity utilization is smoothed over time.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CPUTF_{r,t}=0.5*CPUTF_{r,t-1}+0.5*Mul&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is further assumed to converge to a value of 1 over a period of 100 years and is bound to always have a value between 0.2 and 2.&lt;br /&gt;
&lt;br /&gt;
This still leaves the need to calculate the world energy price. &amp;amp;nbsp;IFs actually tracks a world price including carbon taxes, WEP, and a world price ignoring carbon taxes, WEPNoTax.&amp;amp;nbsp; Carbon taxes are ignored in cases where the energy price is set exogenously using &#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In both cases, the world energy price is a weighted average of domestic energy prices:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEP=\frac{TENP}{TENPRI}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPNoTax=\frac{TENP}{TENPRINoTax}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENP=\sum_r\sum_eENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRINoTax=\sum_r\sum_e(ENPRI_r*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRI=\sum_r\sum_e((ENPRI_r+CarTaxEnPriAdd_r*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*WEP and WEPBYEAR convert CarTaxEnPriAdd from $/BBOE to an index value&lt;br /&gt;
*the term with CarTaxEnPriAdd is ignored in countries with exogenous energy prices in a given year&lt;br /&gt;
*CarTaxEnPriAdd is&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Finally, the value of WEPBYEAR is computed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPBYEAR=WEPBYEAR_{t=1}*\frac{WEP}{WEP_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Investment&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Investment in energy is relatively complex in IFs, because changes in investment are the key factor that allows us to clear the energy market in the long term.&amp;amp;nbsp; It is also different and perhaps slightly more complex in IFs than investment in agriculture.&amp;amp;nbsp; Whereas the latter involves computing a single investment need for agricultural capital, and subsequently dividing it between land and capital, in energy a separate demand or need is calculated for each energy type, based on profit levels specific to each energy type.&lt;br /&gt;
&lt;br /&gt;
We begin by calculating a total energy investment need (TINEED) to take to the economic model and place into the competition for investment among sectors.&amp;amp;nbsp; This investment need is a function of energy demand, adjusted by a number of factors, some global and some country-specific. To begin with, TINEED is calculated as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=ENDEM_r*mulendem*\frac{wkenenpri_t}{wkenenpri_{t-1}}*mulkenenpr*mulwst*mulstocks^{0.5}*mulrprof_r*mulrenew_r*sendeminvr_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*mulendem is the ratio of global energy demand per unit GDP in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{WENDEM_t/WGDP_t}{WENDEM_{t-1}/WGDP_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wkenenpri is the ratio of global energy capital to global energy production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulkenenpr is the ratio of wkenenpr in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{wkenenpr_t}{wkenenpr_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulwst and mulstocks are factors related to global energy stocks. mulwst is calculated using the ADJSTR function, where: the first order difference is that between global energy stocks, wenstks, and desired global energy stocks, DesStocks = &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase; the second order difference is between the level of world energy stocks in the current year and those in the past year; and the elasticities are given by the parameters &#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039; &#039;&#039;&#039;. mulstocks is also related to global energy stocks, but is more directly related to the desired level of global energy stocks:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulstocks=\frac{DesStocks}{MAX(0.5*DesStocks,MIN(4*DesStocks,enstks))}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that mulstocks will always take on a value between ¼ and 4.&lt;br /&gt;
&lt;br /&gt;
*mulrprof is a function of the expected level of profits in the energy sector as a whole in a country, EPROFITR.&amp;amp;nbsp; Energy profits are calculated as the ratio of returns, EnReturn, to costs, ProdCosts.&amp;amp;nbsp; EPROFITR is actually a moving average of these profits relative to those in the base year, with a historical weighting factor controlled by the parameter &#039;&#039;&#039;&#039;&#039;eprohw&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In full, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=WEPNoTax*\sum_eENP_{r,e}&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ProdCost_r=\sum_e\frac{ken_{e,r}}{MAX(5,\mathbf{lke_e})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=\frac{EnReturn_r}{ProdCost_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EPROFIT_{r,t}=\mathbf{eprohw}*EPROFIT_{r,t-1}+(1-\mathbf{eprohw})*\frac{EnReturn_{r,t}}{EnReturn_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now calculate mulrprof using the ADJSTR function.&amp;amp;nbsp; The first order difference is between the current value of EPROFITR and a target value of 1; the second order difference is the change in the value of EPROFITR from the previous year; the elasticities applied to these differences are given by the parameters &#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*mulrenew is a function of the share of other renewables in the energy mix in a country.&amp;amp;nbsp; It is assigned a value of 1 unless the production of energy from renewables exceeds 70% of total energy demand.&amp;amp;nbsp; If so, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulrenew_r=MAX(0.5,1-(\frac{ENP_{r,renew}}{ENDEM_r}-0.7)*1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given these conditions, mulrenew can take on values between 0.5 and 1, with larger values associated with larger amounts of renewable production.&lt;br /&gt;
&lt;br /&gt;
*sendeminvr is a moving average of the ratio of investment need to energy demand in a country, with an accounting for changes in the global capital production ratio since the first year and is updated as&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;sendeminvr_{r,t+1}=0.95*sendeminvr_{r,t}+0.05*\frac{TINEED_{r,t}}{ENDEM_{r,t=1}}*\frac{wkenenpr_{t=1}}{wkenenpr_t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this initial calculation, two further adjustments are made to TINEED.&amp;amp;nbsp; The first is a reduction related to a possible reduction of inventory, invreduc, carried over from the previous year.&amp;amp;nbsp; The calculation of invreduc is described later in this section, where we look at reductions in investment in specific energy types due to resource constraints or other factors. The effect on TINEED is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=TINEED_r-MIN(0.7*invreduc_{r,t-1},0.6*TINEED_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the reduction in TINEED can be no more than 60 percent.&lt;br /&gt;
&lt;br /&gt;
Finally, the user can adjust TINEED with the use of the multiplier &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Before this total investment need, TINEED, is passed to the Economic model, there is a chance that it may need to be further reduced.&amp;amp;nbsp; This depends on the calculation of a bound, TINeedBound.&amp;amp;nbsp; TINeedBound arises from a bottom-up calculation of the investment needs for each energy type individually, ineed.&amp;amp;nbsp; These depend upon the profits for each energy type and any possible bounds on production related to reserves and other factors.&lt;br /&gt;
&lt;br /&gt;
As with the estimate of total profits to energy, the returns by energy type depend upon production and costs.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturnS_{r,e}=\frac{ENP_{r,e}}{EnCost_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the non-fossil fuel energy types – hydro, nuclear, and other renewable – EnCost is based solely on capital depreciation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = hydro, nuclear, renew&lt;br /&gt;
&lt;br /&gt;
For the fossil fuel energy types – oil, gas, and coal – we must also consider any possible carbon taxes. EnCost is calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}+ENP_{r,e}*\mathbf{carfuel}_e*\mathbf{carbtax}_r+MAX(-0.5*\frac{ken_{r,e}}{\mathbf{lke_e}},ENP_{r,e}*(\mathbf{carfuel}_e-AvgCarFuel)*emtax_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, coal, gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carfuel&#039;&#039; &#039;&#039;&#039; is the carbon content of the fuel in tons per BBOE&lt;br /&gt;
*AvgCarFuel is the unweighted arithmetic average of the carbon content of oil, gas, and coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039; is an exogenously specified country-specific carbon tax in $ per BBOE&lt;br /&gt;
*emtax is the number of years since the first year plus one multiplied by 2&lt;br /&gt;
&lt;br /&gt;
The change in eprofitrs from the first year is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;eprofitrs_{r,e}=\frac{EnReturnS_{r,e,t}}{EnReturnS_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An average return, avgreturn, is calculated as the weighted sum of the individual returns:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;avgreturn_r=\sum_e(ENP_{r,e}*EnReturnS_{r,e})smoothentot_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Investment need by energy type, ineed, grows in proportion to capital and as a function of relative profits.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e,t}=ineed_{r,e,t=1}*\frac{ken_{r,e,t}}{ken_{r,e,t=1}}*eprofitrs^{elass_{r,e}}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;elass&#039;&#039; &#039;&#039;&#039; are country and energy-specific user controlled parameters&lt;br /&gt;
&lt;br /&gt;
At this point, ineed is checked to make sure that it does not fall by more than 20% or increase by more than 40% in any single year.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Also, if the user has set an exogenous target for production growth, i.e., &#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039; &#039;&#039;&#039; &amp;gt; 0, all of the above is overridden and ineed is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=\frac{ken_{r,e}*(1+\mathbf{enprodr}_e)}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These investment needs are checked to make sure that they do not exceed what the known reserve base can support.&amp;amp;nbsp; This applies only to oil, gas, coal, and hydro. An initial estimate of the maximum level of investment is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(\frac{RESER_{r,e}}{\mathbf{prodtf}_{r,e}}-\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
The first term in parentheses, when multiplied by QE, indicates the amount of capital that would be necessary in order to yield the maximum level of production given the lower bound of the reserve production ratio, &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;. The second term is simply the current level of capital and the third term indicates the level of depreciation of existing capital.&amp;amp;nbsp; This implies that countries will not make investments beyond those that would give it the maximum possible level of production for a given energy type.&lt;br /&gt;
&lt;br /&gt;
At the same time, IFs assumes there is a minimum level of investment, which is basically 30% of the capital depreciated during the current year:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mininv_{r,e}=0.3*\frac{ENP_{r,e}}{\mathbf{lke}_e}*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&lt;br /&gt;
In cases where the current production of oil, gas, or coal already equals or exceeds the exogenously specified maximum for a country – &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, or &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039; – maxinv is set equal to mininv.&amp;amp;nbsp; This again avoids useless investment.&lt;br /&gt;
&lt;br /&gt;
A further constraint is placed on the maximum investment level in capital for hydro production.&amp;amp;nbsp; This is done by simply replacing RESER/&#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039; in the calculation of maxinv with the value ENDEM * EnpHydroDemRI * 2, where EnpHydroDemRI is the ratio of energy produced by hydro in the base year to total energy demand in that year.&amp;amp;nbsp; In other words, the growth in energy production from hydro in the current year from the first year cannot exceed twice the growth in total energy demand over that period, even if reserves are available, and capital investments are restricted accordingly.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxHydroProd_{r,t}=2*\frac{ENDEM_{r,t}}{ENDEM_{r,t=1}}*ENP_{r,Hydro,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The constraints placed on investment in nuclear energy differ somewhat from these other fuels. IFs does not have an explicit measure of reserves for nuclear.&amp;amp;nbsp; Rather, it is assumed that the growth in capital in nuclear energy cannot exceed 1 percent of existing capital plus whatever is required to account for depreciation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(0.01*\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = nuclear&lt;br /&gt;
&lt;br /&gt;
Also, the minimum level of investment for nuclear energy is assumed to be 50 percent of the capital depreciated in the current year, rather than 30 percent as with oil, gas, coal, and hydro.&lt;br /&gt;
&lt;br /&gt;
There is no limit to the investments in capital for other renewables.&lt;br /&gt;
&lt;br /&gt;
Given these restrictions, the investment needs for oil, gas, coal, hydro, and nuclear are updated so that mininv &amp;lt;= ineed &amp;lt;= maxinv.&amp;amp;nbsp; Any reductions from the previous estimates of ineed are summed across energy types to yield the value of invreduc, which will affect the estimate of TINEED in the following year as described earlier.&lt;br /&gt;
&lt;br /&gt;
The final estimates of ineed for each energy type are summed to yield TINeedBound.&amp;amp;nbsp; If TINEED is greater than TINEEDBOUND, then TINEED is recalculated as the average of the two:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=0.5*(TINEED_r+TINeedBound_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value of TINEED is passed to the Economic model as IDS&amp;lt;sub&amp;gt;energy&amp;lt;/sub&amp;gt;,&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;IDS_{r,s=energy}=sidsf_r*TINEED_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*sidsf is an adjustment coefficient converting units of energy capital into monetary values. This gradually converges to a value of 1 after a number of years specified by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In the Economic model, the desired investment in energy must compete with other sectors for investment (see more about linkages between the Energy and Economic models in section 3.7).&amp;amp;nbsp; Once these sectoral investments are determined, a new value for investments in the energy sector, IDS&amp;lt;sub&amp;gt;s=energy&amp;lt;/sub&amp;gt;, is passed back to the Energy model.&amp;amp;nbsp; The adjustment coefficient is then applied to yield:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;inen_r=\frac{IDS_{r,s=energy}}{sidsf_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the meantime, the desired investment for each energy type can be modified with a country and energy-type specific parameter &#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039; &#039;&#039;&#039;, and a new value of TINEED is calculated as the sum of these new levels of desired investment.&amp;amp;nbsp; The amount of the available investment, inen, going to each energy type is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=inen_r*\frac{ineed_{r,e}*\mathbf{eninvtm}_{r,e}}{TINEED_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., all energy types receive the same proportional increase or decrease in investment.&lt;br /&gt;
&lt;br /&gt;
These investments are then translated into units of capital, KEN_Shr,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;KENShr_{r,e}=ineed_{r,e}-\frac{ken_{r,e}}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new level of capital is determined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ken_{r,e,t+1}=(ken_{r,e,t}+KENShr_{r,e})*(1-CIVDM_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*CIVDM is an exogenous factor reflecting civilian damage from war&lt;br /&gt;
&lt;br /&gt;
Note that there is no guarantee that KEN_Shr is positive, so it is theoretically possible for ken to fall below 0; IFs checks to make sure that this does not happen.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;World energy price is used to provide stability. The no tax world energy price is used as taxes do not contribute to returns.&lt;br /&gt;
&lt;br /&gt;
[2] Note the careful use of the time subscripts. sendeminvr is not updated until after the computation of the initial value of TINEED, so the initial calculation of TINEED needs to use the previous year’s value of sendeminvr. Furthermore, the updating of sendeminvr occurs after TINEED has been adjusted to reflect any inventory reductions, but before the investment multiplier, &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;, is applied.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Economic Linkages&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The economic model and the two physical models have many variables in common.&amp;amp;nbsp; As in the agricultural model, IFs generally uses the values in the physical model to override those in the economic model.&amp;amp;nbsp; To do so, it computes coefficients in the first year that serve to adjust the physical values subsequently. The adjustment coefficients serve double duty - they translate from physical terms to constant monetary ones, and they adjust for discrepancies in initial empirical values between the two models.&lt;br /&gt;
&lt;br /&gt;
[[Energy#Energy_Investment|The Energy Investment section]] already described how desired investment, TINEED, is passed to the Economic model using the adjustment coefficient sidsf.&amp;amp;nbsp; The adjustment coefficient, ZSR is used to convert production:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZS_{r,s=2}=ZSR_r*WEPBYear_{r,t=1}*\sum^EENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZSRI_r=\frac{ZS_{r,s=2,t=1}}{WEPBYear_{r,t=1}*\sum^EENP_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZSR is a convergence of ZSRI to a value of 1 in 30 years and WEPBYear converts the energy units, which are in BBOE to dollars.&lt;br /&gt;
&lt;br /&gt;
The adjustment coefficient SCSF is used to convert consumption:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CS_{r,s=2}=SCSF_r*ENDEM_r*0.6&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SCSF_r=\frac{CS_{r,s=2,t=1}}{ENDEM_{r,t=1}*0.6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this assumes that consumer make up a constant 60 percent of consumption of total primary energy.&amp;amp;nbsp; Also SCSF remains constant over time.&lt;br /&gt;
&lt;br /&gt;
For stocks, imports, and exports, WEBPBYear serves as the adjustment coefficient&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ST_{r,s=2}=WEPBYear_{r,t=1}*ENST_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XS_{r,s=2}=WEPBYear_{r,t=1_r}*ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MS_{r,s=2}=WEPBYear_{r,t=1}*ENM_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, the indexed price (with a base of 1) in the energy sector of the economic submodel (PRI) is simply the ratio of current to initial regional energy price (ENPRI) time the value of PRI in the first year.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PRI_{r,s=2}=PRI_{r,s=2,t=1}*\frac{ENPRI_r}{ENPRI_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Resources and Reserves: Capital-to-Output Ratios and Discoveries&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Capital-to-Output Ratios ===&lt;br /&gt;
&lt;br /&gt;
Resource base is important in selected energy categories of IFs: conventional oil, natural gas, coal, hydroelectric power, and unconventional oil.&amp;amp;nbsp; Resources are not important in the nuclear category, which represents an undefined mixture of burner, breeder and fusion power.&lt;br /&gt;
&lt;br /&gt;
Resource costs, as represented by the capital required to exploit them, increase as resource availability in the resource-constrained categories decreases.&amp;amp;nbsp; The capital-to-output ratio captures the increased cost.&amp;amp;nbsp; Kalymon (1975) took a similar approach.&lt;br /&gt;
&lt;br /&gt;
More specifically, the capital-to-output ratio (QE) increases in inverse proportion to the remaining resource base (as the base is cut in half, costs double&#039;&#039;&#039;; &#039;&#039;&#039;as it is cut to one fourth, costs quadruple).&amp;amp;nbsp; The model multiplies the initial capital output ratio by the initial resource base (RESOR) times a multiplier (RESORM) by which a model user can exogenously increase or decrease model assumptions.&amp;amp;nbsp; It then divides that product by initial resources minus cumulative production to date (CUMPR).&lt;br /&gt;
&lt;br /&gt;
Total available resources by energy type, ResorTot, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ResorTot_{r,e}=\mathbf{resorm}_{r,e}*\mathbf{resor}_{r,e}+\mathbf{resorunconm}_{r,e}*\mathbf{resoruncon}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039; are exogenously assumed levels of the ultimate amount of conventional and unconventional forms of each energy type.&amp;amp;nbsp; There is no assumption about conventional resources for nuclear and only oil and gas include unconventional resources&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039; are multipliers that can be used to change the amount of assumed ultimate resources by energy type&lt;br /&gt;
&lt;br /&gt;
All energy types begin with basic capital-to-output ratios, BQE and BQEUC.&amp;amp;nbsp; These are initially set equal to the same values of QE and QEUNCON, which are derived in the pre-processor, and then evolved according to exogenous assumptions about technological advance for each energy type:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQE_{r,e,t}=BQE_{r,e,t-1}*(1-\mathbf{etechadv}_e)&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQEUNCON_{r,e,t}=BQEUNCON_{r,e,t-1}*(1-\mathbf{etechadvuncon}_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recall that technological improvements result in declining amounts of capital required for each unit of energy produced.&lt;br /&gt;
&lt;br /&gt;
The initial translation of this basic capital-to-output ratio to the value actually used to determine energy production varies by energy type.&lt;br /&gt;
&lt;br /&gt;
This is most straightforward for nuclear and unconventional energy, which do not take into account remaining resources:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is nuclear&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qem&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QEUC_{r,e,t+1}=BQEUC_{r,e,t}*\mathbf{qeunconm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil or gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
For hydro and other renewables, QE depends upon the remaining resource, which is defined as the difference between the total resource available and a moving average of the difference in production vis-à-vis production in the first year. &amp;amp;nbsp;In other words, it is not cumulative production that is important, but rather the portion of resources used annually.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\frac{ResorTot_{r,e}}{resorrem_{r,e}}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-ENPGR_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPGR_{r,e}=SmoothENP_{r,e}-ENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SmoothENP_{r,e,t}=0.8*SmoothENP_{r,e,t-1}+0.2*ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*e = hydro or renew&lt;br /&gt;
&lt;br /&gt;
For oil, gas, and coal, the logic is similar, but the definition of remaining resources is somewhat different:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=MAX(ResorTot_{r,e}-CUMPR_{r,e},MaxFac_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CUMPR_{r,e,t}=CUMPR_{r,e,t-1}+ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MaxFac_{r,e}=0.1*ResorTot_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, the capital-to-output ratio is calculated as a moving average&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CompQE_{r,e}=BQE_{r,e}*(\frac{ResorTot_{r,e}}{resorrem_{r,e}})^{0.4}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=(0.8*QE_{r,e,t}+0.2*CompQE_{r,e})*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, or coal&lt;br /&gt;
&lt;br /&gt;
=== Discoveries ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Energy reserves decrease with production and increase with discoveries, the latter of which are limited by remaining resources and other factors. &amp;amp;nbsp;This only applies to oil, gas, and coal.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;RESER_{r,e,t+1}=RESER_{r,e,t}+rd_{r,e}-ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rate of discovery, rd, is initially computed as a function of a number of factors related to global energy prices, remaining resources, global and domestic production, and several exogenous assumptions&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rd_{r,e}=rdiaug_e*wepterm*reterm_{r,e}*\mathbf{rdm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;amp;nbsp;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039; is a country and energy-specific exogenous multiplier&lt;br /&gt;
*rdi_aug is an energy-specific factor driven entirely by exogenous assumptions about initial rates of discovery, &#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;, and annual increments, &#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rdiaug_e=\mathbf{rdi}_e+\mathbf{rdinr}_{r,e}*(t-firstyear)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wepterm is a global factor driven by the growth in world energy prices from the first year and an exogenously defined elasticity, &#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wepterm=1+\frac{WEP_t-WEP_{t=1}}{WEP_{t=1}}*\mathbf{elasdi}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*reterm is a country and energy-specific factor representing an average of a country’s remaining resources as a share of original resources and its share of current production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;reterm_{r,e}=0.5*(\frac{ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}}{\sum_e(ResorTot_{r,e,t=1}-RESER_{r,e,t=1})}+\frac{ENP_{r,e}}{WENP_e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further assumption is that the rate of discovery cannot exceed 4 percent of the remaining resources in a country, where remaining resources are specified as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*For oil the amount of unconventional oil in ResorTot is also affected by the parameter &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039;[2]&lt;br /&gt;
&amp;lt;div&amp;gt;[1] There used to be an additional impact of ICT broadband that would further reduce the BQE for other renewables, but that is currently not active in the model.&amp;amp;nbsp;&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[2] This only affects Canada, which has a value of &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039; = 0.3. Why this is not included in the QE calculations is unclear.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Indicators&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Among useful energy or energy-related indicators is the ratio (ENRGDP) of energy demand (ENDEM) to gross domestic product (GDP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENRGDP_r=\frac{ENDEM_r}{GDP_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global production of energy by energy type (WENP) is the sum of regional productions (ENP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum^RENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy production is the basis for examining the build-up of carbon dioxide and Climate Change, as described in the documentation of the Environmental model.&lt;br /&gt;
&lt;br /&gt;
The ratio of oil and gas production globally to total energy production (OILGPR) helps trace the transition to other fuels.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;OILGPR=\frac{WENP_{e=1}+WENP_{e=2}}{\sum^EWENP_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy reserves (WRESER) and global resources (WRESOR) are sums by energy type across regions, the latter taking into account any resource multiplier (RESORM) that a user specifies to modify basic model resource estimates.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESER_e=\sum^RRESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESOR_e=\sum^R(RESOR_{r,e}*RESORM_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Bibliography&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
Kalymon, Basil A. 1975. &amp;quot;Economic Incentives in OPEC Oil Pricing Policy.&amp;quot; &#039;&#039;Journal of Development Economics&#039;&#039; 2: 337-362.&lt;br /&gt;
&lt;br /&gt;
Naill, Roger F. 1977.&#039;&#039;Managing the Energy Transition.&#039;&#039; Vols. 1 and 2. Cambridge, Mass: Ballinger Publishing Co.&lt;br /&gt;
&lt;br /&gt;
Stanford University. 1978. &#039;&#039;Stanford Pilot Energy/Economic Model.&#039;&#039; Stanford: Department of Research, Interim Report, Vol. 1.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Figure_6-_Relationship_between_compendemperunit_and_GDP_per_capita_.png&amp;diff=13761</id>
		<title>File:Figure 6- Relationship between compendemperunit and GDP per capita .png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Figure_6-_Relationship_between_compendemperunit_and_GDP_per_capita_.png&amp;diff=13761"/>
		<updated>2026-02-13T23:48:26Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;N/A&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:IFs_Energy_Model_Overview._.png&amp;diff=13760</id>
		<title>File:IFs Energy Model Overview. .png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:IFs_Energy_Model_Overview._.png&amp;diff=13760"/>
		<updated>2026-02-13T23:00:38Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;N/A&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13759</id>
		<title>Energy</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13759"/>
		<updated>2026-02-13T22:50:18Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: working&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
Please cite as: Hughes, Barry B., José R. Solórzano, and Dale S. Rothman. 2014. &amp;quot;IFs Energy Model Documentation.&amp;quot; Working paper 2014.10.17. Pardee Center for International Futures, Josef Korbel School of International Studies, University of Denver, Denver, CO. Accessed DD Month YYYY &amp;amp;lt;https://pardee.du.edu/wiki/Energy&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy model combines a growth process in production with a partial equilibrium process.&amp;amp;nbsp; The energy model automatically replaces the energy sector in the full economic model unless the user disconnects that linkage.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
For energy, the partial equilibrium structures have distinct demand and supply sides, using price to seek a balance.&amp;amp;nbsp; As in the economic model, however, no effort is made to obtain a precise equilibrium in any time step.&amp;amp;nbsp; Instead stocks serve as a temporary buffer and the model again chases equilibrium over time.&lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the economic model provides the basis for energy demand calculations. &amp;amp;nbsp;Energy demand elasticities tend, however, to be quite high.&amp;amp;nbsp; Thus the physical constraints on the supply side are terribly important in determining the dynamics of the energy model.&lt;br /&gt;
&lt;br /&gt;
IFs distinguishes six energy production categories: oil, natural gas, coal, hydroelectric, nuclear, and other renewables. &amp;amp;nbsp;For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.&amp;amp;nbsp; IFs computes only aggregated regional or national energy demands and prices, however, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market.&amp;amp;nbsp; The model also conducts energy trade only in a single, combined energy category. &amp;amp;nbsp;Finally, at the moment, there is not a full connection between the energy model and access to electricity and electricity production (see the IFs Infrastructure Model Documentation for a description of the electricity aspects of IFs).&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Introductions&amp;lt;/span&amp;gt; =&lt;br /&gt;
{| class=&amp;quot;tableGrid&amp;quot; style=&amp;quot;width:100%;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 50%&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Energy&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Partial market&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Stocks&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Capital, resources, reserves&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; valign=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Flows&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Production, consumption, trade, discoveries, investment&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Key Aggregate&amp;amp;nbsp;&#039;&#039;&#039; &#039;&#039;&#039;Relationships&amp;amp;nbsp;&#039;&#039;&#039;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;(illustrative, not comprehensive)&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Production function with exogenous technology change;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Energy demand relative to GDP;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Price determination&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; valign=&amp;quot;center&amp;quot; | &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;&#039;&#039;&#039;Key Agent-Class Behavior&amp;amp;nbsp;&#039;&#039;&#039; &#039;&#039;&#039;Relationships&#039;&#039;&#039;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;(illustrative, not comprehensive)&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Government taxes, subsidies&amp;lt;br/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Dominant Relations: Energy&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.1 Overview &lt;br /&gt;
&lt;br /&gt;
The International Futures system (IFs) represents energy and electricity through integrated dynamics that span multiple IFs models: energy, economy, environment, and infrastructure. It captures patterns of energy consumption and electricity use, the drivers behind them, and the production of energy from both fossil and non-fossil sources using different technologies. IFs also incorporates trade in energy, using both a pooled approach and a bilateral version. The model accounts for the environmental implications of fossil fuel use, while broader development and sustainability outcomes such as access to electricity and improved fuel use, are also represented. &lt;br /&gt;
&lt;br /&gt;
Here we document the IFs energy model - a partial equilibrium model operating on physical energy, balancing consumption and production through a price variable that adjusts in response to supply-demand dynamics, with energy stocks serving as a buffer. Investment decisions are signalled by price and by cost, with cost shaped by resources, reserves, and technologies, and these dynamics in turn inform the treatment of the energy sector in the broader Economic Model. Ultimately, computations in the physical energy model feed into the Economic Model by replacing its sectoral calculations with the corresponding financial variables from the physical energy model. &lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the Economic Model provides the basis for energy demand calculations. Energy demand elasticity represents the responsiveness of demand to prices, which evolve over the long run with changes in technology and resource availability. Thus, the physical constraints on the supply side are very important in determining the dynamics of the energy model. &lt;br /&gt;
&lt;br /&gt;
IFs distinguishes nine energy production categories: oil, natural gas, coal, hydropower, nuclear, solar, wind, geothermal and other renewables. The other renewables category includes tidal, wave, biodiesel and biogas. For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.  Currently, the model does not generate projections for consumption or trade by specific energy types. IFs rather computes aggregated regional or national energy demands and prices, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market. The model also conducts energy trade only in a single, combined energy category. Finally, at the moment, there is no full reconciliation between the production of energy and electricity generation (see the IFs &lt;br /&gt;
&lt;br /&gt;
Infrastructure Model Documentation for a description of the electricity aspects of IFs). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1.2 Dominant Relations &lt;br /&gt;
&lt;br /&gt;
Energy demand (ENDEM) is a function of GDP and the energy demand per unit of GDP (ENRGDP). Energy production (ENP) is a function of capital stock in each energy type, the capital/output ratio (QE) for that energy type, and a capacity utilization factor (CPUTF). &lt;br /&gt;
&lt;br /&gt;
The following key dynamics are directly linked to the dominant relations:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;DEMAND:&#039;&#039;&#039; Energy demand per unit of GDP depends on GDP per capita, energy prices, and an autonomous trend in energy efficiency. The first two of these are computed endogenously, the latter exogenously. The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039;&#039;&#039;&#039;), speed at which energy price changes affect demand (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039;&#039;&#039;&#039;) and the autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039;&#039;&#039;&#039;).  The user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039;&#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;PRODUCTION&#039;&#039;&#039;: For fossil fuels and hydro, there are upper bounds on production. For fossil fuels, these are based on reserve-to-production ratios, as well as user-specified upper bounds (&#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039;&#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039;&#039;&#039;&#039;). For hydro, the upper bound relates to hydropower potential. The model user can also control production using an energy production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) to directly modify energy production by energy type. The user may also indirectly increase energy production through additional investment (&#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;), which will incorporate economic trade-offs. In contrast, a production multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039;&#039;&#039;&#039;) comes without any cost to increased production.For renewable categories other than hydro, the model uses potential capacity (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;) in lieu of reserves or resources. This reflects availability or potential based on data or estimated from drivers such as land area. Unlike fossil fuels, where &#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039; represents finite physical resources that directly constrain production, renewable potentials are effectively unlimited; instead of setting an upper bound, they influence capital costs and investment dynamics.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL/OUTPUT RATIO&#039;&#039;&#039;: The capital/output ratio provides a measure of production cost, with declines reflecting efficiency gains and reduced capital intensity. User-controllable parameters (&#039;&#039;&#039;&#039;&#039;etechadv&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;etechadvuncon&#039;&#039;&#039;&#039;&#039;), applied to each fuel type, implement these cost declines due to technological improvements at the global level. For fossil fuels, this is counteracted by a factor that increases the capital/output ratio as the amount of remaining resources decreases. The user can further modify the capital/output ratios with the multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;).For renewable energy sources such as wind, solar, and geothermal, the capital/output ratio is equivalent to the levelized cost of electricity (LCOE) generation from these sources, though users can still modify capital output ratios with multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039;&#039;&#039;&#039;). These energy sources are primarily used to generate electricity (except for geothermal, which can also provide direct heat).&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;CAPITAL:&#039;&#039;&#039; Energy capital, by fuel type, is initialized based on the initial levels of production and capital/output ratios. Energy capital depreciates at a rate determined by the lifetime of energy capital (&#039;&#039;&#039;&#039;&#039;lke&#039;&#039;&#039;&#039;&#039;) and grows with investment. Total desired investment in energy capital is influenced by many factors, including existing capital, domestic and global energy demand, the production of other renewables, changes in the global capital/output ratio, world and domestic energy stocks, expected overall profits in the energy sector, and imports. Users can control the effect of expected profits (&#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039;&#039;&#039;&#039;) and world energy stocks (&#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039;&#039;&#039;&#039;). Desired investment by energy type increases with individual profit expectations, but also by limits related to reserve production factors (for fossil fuels and hydro), any exogenous restrictions on maximum production (for fossil fuels), ultimate potential (for hydro), and other, unspecified factors (nuclear). Users can influence the effect of profit expectations by fuel type (via &#039;&#039;&#039;&#039;&#039;elass&#039;&#039;&#039;&#039;&#039;) as well as influence the desired investment by energy type (&#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039;)&#039;&#039;&#039;, or in the aggregate (via &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039;&#039;&#039;&#039;). The user can also specify an exogenous growth rate for energy investment by fuel type (&#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039;&#039;&#039;&#039;). The Economic Model ultimately determines whether all of the investment needs can be met; in case of shortfalls, the investment in each type of energy is reduced proportionately.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;RESOURCES/RESERVES/STOCKS&#039;&#039;&#039;: IFs separately represents ultimate resources and reserves, where the latter are the amount of energy resources available to be produced. Resources and reserves, both conventional and unconventional, are set in the pre-processor. The user can modify the default assumptions on ultimate resources, either directly (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039;&#039;&#039;&#039;) or via the use of multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039;&#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039;&#039;&#039;&#039;). Reserves decline with production and increase with discoveries. The rate of discovery depends on the ultimate resources remaining, the intensity of current production, world energy prices, and a base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039;&#039;&#039;&#039;). The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;), augment the base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039;&#039;&#039;&#039;), and use a multiplier to affect the rates of discovery (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039;&#039;&#039;&#039;). Finally, IFs keeps track of any production not used in the current year, i.e., stocks, and shortages.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ENERGY PRICES&#039;&#039;&#039;: Domestic energy prices are influenced by world stocks, domestic stocks, and the ratio of capital to production at the global level. The user can control the effect of domestic stocks on prices (&#039;&#039;&#039;&#039;&#039;epra&#039;&#039;&#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039;&#039;&#039;&#039;). Users can also include a “cartel premium” (&#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039;&#039;&#039;&#039;) and a carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039;&#039;&#039;&#039;). More directly users can set domestic energy prices exogenously for just the first year (&#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;&#039;&#039;&#039;) or for multiple future years (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039;&#039;&#039;&#039;). The world energy price is calculated as a weighted sum of the domestic prices.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;TRADE&#039;&#039;&#039;: The energy model also provides representation and model-user control over energy trade. The levels of imports (ENM) and exports (ENX), measured in physical terms (bboe), depend upon levels of production and demand, as well as past propensities to import and export energy. The user can set maximum limits on of energy imports (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039;&#039;&#039;&#039;) and energy exports (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039;&#039;&#039;&#039;), as well as general limits on trade (&#039;&#039;&#039;&#039;&#039;trademax&#039;&#039;&#039;&#039;&#039;).  &lt;br /&gt;
&lt;br /&gt;
----&amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt; Conventional sources refer to oil extracted through standard drilling methods, while unconventional sources include those requiring advanced techniques such as shale oil extraction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt; LCOE is expressed as the cost per kilowatt-hour of electricity generated and is computed by dividing the total electricity produced over the lifetime of a plant by the sum of its capital costs, operations, and maintenance expenditures (IRENA, 2024). We will revisit the implications of variable renewable energy (VRE), including system integration costs and their effect on capital/output ratios in more detail later. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1.3 Structure and Agent System&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Table 1: Model Structure and Agent System.&#039;&#039;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&lt;br /&gt;
|Energy &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&lt;br /&gt;
|Partial market &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Stocks&#039;&#039;&#039;&lt;br /&gt;
|Capital, resources, reserves&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Flows&#039;&#039;&#039;&lt;br /&gt;
|Production, consumption, trade, discoveries, investment &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Aggregate Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Production function with exogenous technology change;&lt;br /&gt;
&lt;br /&gt;
Energy demand relative to GDP;&lt;br /&gt;
&lt;br /&gt;
Price determination &lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;Key Agent-Class&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Behavior Relationships&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
(Illustrative, not comprehensive)&lt;br /&gt;
|Government taxes, subsidies&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= 1.    Flow Charts =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section presents several block diagrams that are central to the energy model: an energy system overview, energy production and energy consumption.&lt;br /&gt;
&lt;br /&gt;
== 1.1  Energy Overview ==&lt;br /&gt;
The production growth process in energy is simpler than that in Agriculture or the full Economic Model. Because energy is a very capital-intensive sector, production depends only on capital stocks and changes in the capital-output ratio, which represents technological sophistication and other factors (such as decreasing resource bases) that affect production costs.&lt;br /&gt;
&lt;br /&gt;
The key equilibrating variable is again inventories. It works via investment to control capital stock and therefore production, and via prices to control domestic consumption. Production and consumption, in turn, control trade.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Production Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Energy production is a function of the capital stock in energy and the capital-output ratios, modified by a capacity utilization factor and exogenous multipliers and production limits.&amp;amp;nbsp; The capital-output ratios are affected by the amount of remaining resources as a share of the initial levels, technological progress, and user-controlled multipliers.&amp;amp;nbsp; The capacity utilization factor is influenced by domestic stocks and shortages.&lt;br /&gt;
&lt;br /&gt;
[[File:Eng2.png|frame|center|Visual representation of energy production]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Capital and Investment Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The capital stock by energy type decreases with depreciation and grows with investment.&amp;amp;nbsp; Investment or growth in the capital stock, while affected by numerous factors, is driven heavily by energy profits and stocks (unless the user intervenes with a scenario multiplier), and constrained by the reserves available of each specific energy type and production constraints. &amp;amp;nbsp;The user can use a direct multiplier on total energy investment, multipliers on energy investment by energy type to influence investment, or specify a desired rate of growth in investment by energy type.&lt;br /&gt;
&lt;br /&gt;
[[File:Eng3.png|frame|center|Visual representation of energy capital and investment]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Demand Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Energy demand is estimated as a function of the energy demand per unit GDP (in PPP terms) and total GDP (in PPP terms), with adjustments related to energy prices and improvements in energy use efficiency.&amp;amp;nbsp; The energy demand per unit GDP depends on GDP per capita (in PPP Terms).&amp;amp;nbsp; The improvement in energy use efficiency is a combination of autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039; &#039;&#039;&#039;) and an additional amount that accelerates the improvements for (non-exporting) countries that have efficiencies below the global average. &amp;amp;nbsp;The price effect takes into account both the domestic and global prices of energy, as well as any carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039; &#039;&#039;&#039;) and the historical weight used to smooth energy prices (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; Finally, the user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039; &#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
[[File:Eng4.png|frame|center|Visual representation of energy demand]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Resources and Reserves Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
IFs distinguishes between ultimate resources and reserves, where the latter represent the amount of energy actually discovered and available for production.&amp;amp;nbsp; Ultimate resources are initially determined in the pre-processor, but the user can override these estimates using either absolute values (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039;) or multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; There is also a parameter controlling the portion of unconventional oil that is economic to produce (&#039;&#039;&#039;&#039;&#039;enresorunce&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; For non-renewable energy types, i.e., fossil fuels, reserves increase with discoveries and decrease with production.&amp;amp;nbsp; The rate of discovery includes a base rate (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;) and an annual increment (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; There are further adjustments related to the world energy price, the remaining resources, and the current rate of production.&amp;amp;nbsp; The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039; &#039;&#039;&#039;) and can also intervene with a discovery multiplier (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039;).[[File:Eng5.png|frame|center|551x255px|Visual representation of energy resources and reserves]]&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Energy Equations&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
&lt;br /&gt;
This section of the Help system will present and discuss the equations that are central to the functioning of the energy model: supply, demand, trade, stocks, price, investment, economic linkages, capital, natural resources and energy indicators.&amp;amp;nbsp; Here we follow the order of calculations in all years but the first, noting specific calculations that are made in the first year or pre-processor as necessary.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Demand&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The key energy demand variable in IFs, ENDEM, tracks total primary energy demand.&amp;amp;nbsp; For the most part, IFs does not represent the transformation of this primary energy into final energy forms, or end-user energy demand.&amp;amp;nbsp; The one exception relates to electricity use, which is described in the documentation of the Infrastructure model.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In the first year, total primary energy demand is calculated as an apparent demand, with attention paid to stocks and expected growth in production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEM_{r,t=1}=\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1}-ENST_{r,t=1}*AVEPR_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENP, ENM, ENX, ENST, and AVEPR are energy production, energy imports, energy exports, energy stocks, and an average of the expected growth in production across all energy types.&amp;amp;nbsp; The calculations of the initial values of these variables are described later in the Equations section under the appropriate headings.&lt;br /&gt;
&lt;br /&gt;
Note that this calculation does not directly use the historical data on total primary energy demand and there can be a significant difference between the initialized value of ENDEM and the actual historical data for the base year.&amp;amp;nbsp; This information is used by the variable ENDEMSH, which is described in the Infrastructure documentation.&lt;br /&gt;
&lt;br /&gt;
In future years, the calculation of total primary energy demand begins with an estimate of the predicted amount of energy demand per unit of GDP (in PPP terms), compendemperunit, as a function of GDP per capita (in PPP terms).[1] This function is show in the figure below[2]:[[File:Eng6.png|frame|right|Total primary energy demand]]&lt;br /&gt;
&lt;br /&gt;
A small amount, 0.0005, is added to this computed value to account for the fact that the demand data used to estimate the function above is less than apparent demand globally.&lt;br /&gt;
&lt;br /&gt;
The initial data for countries is unlikely to fall exactly on this function.&amp;amp;nbsp; To reconcile this fact, IFs calculates values for both predicted energy demand per unit GDP in the first year, compendemperuniti, and empirical demand per unit GDP (in PPP terms) in the first year, actendemperuniti. &amp;amp;nbsp;Over a time period controlled by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;, IFs gradually adjusts the difference between these two values so that the estimate of energy demand per unit GDP (in PPP terms) eventually does fall on the function.&lt;br /&gt;
&lt;br /&gt;
IFs then calculates an initial estimate of total energy demand, endemba, by multiplying this adjusted value of energy demand per unit GDP (in PPP terms), endemperunit, by GDP (in PPP terms).[3]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endemba_r=GDPP_r*endemperunit_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IFs then considers the effect of price on total primary energy demand.&amp;amp;nbsp; IFs keeps track of the global energy price as both an index (WEP, base year = 100) and as an actual dollar value (WEPBYEAR, $ per BBOE). It also tracks a country level energy price index (ENPRI, base year =100).[4]&amp;amp;nbsp; Finally, it can also consider a tax on carbon, expressed by the variable CarTaxEnPriAdd, which has the units $ per BBOE.&lt;br /&gt;
&lt;br /&gt;
The calculation of the effect of prices on total energy begins with the calculation of a variable called renpri. &amp;amp;nbsp;renpri is a moving average country-level price index that starts at the level of the country level price index in the base year, ENPRII, and then tracks changes in world energy prices and country-level carbon taxes.[5]&amp;amp;nbsp; The historical weight is controlled by the parameter &#039;&#039;&#039;&#039;&#039;ehw&#039;&#039; &#039;&#039;&#039;, so that:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;renpri_{r,t}=\mathbf{ehw}*renpri_{r,t-1}+(1-\mathbf{ehw})*(WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*renpri is the moving average country level price index&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039; &#039;&#039;&#039; is the weight given to the historical value of renpri&lt;br /&gt;
*&#039;&#039;WEP&#039;&#039; is the global energy price index&lt;br /&gt;
*&#039;&#039;WEPBYEAR&#039;&#039; is the global energy price in $ per BBOE&lt;br /&gt;
*CarTaxEnPriAdd is the country level carbon tax in $ per BBOE of total energy and is calculated as the exogenous value of the carbon tax in $ per ton of carbon, &#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039;, times a production weighted average of the carbon contents of oil, gas, and coal, &#039;&#039;&#039;&#039;&#039;carfuel1-3&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CarTaxEnPri_r=\frac{\sum_e(ENP_{r,e}*\mathbf{carfuel_e})}{\sum_eENP_{r,e}}*\mathbf{carbtax_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parameter specifying the price elasticity of energy demand, &#039;&#039;&#039;&#039;&#039;elasde&#039;&#039; &#039;&#039;&#039;, is adjusted based on the relationship between renpri and and ENPRII to yield a new parameter, elasadjusted.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;elasadjusted_r=\mathbf{elasde_r}*\frac{ENPRII_r}{renpri_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This, in effect, decreases the price elasticity of energy demand as prices increase.&lt;br /&gt;
&lt;br /&gt;
This adjusted elasticity is then used to calculate the impact on energy demand, elasterm, as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;elasterm_r=1+\frac{renpri_r+ENPRII_r}{ENPRII_r}*elasadjusted_{r^6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The user can also introduce a further adjustment to total primary energy demand with a multiplier, &#039;&#039;&#039;&#039;&#039;endemm&#039;&#039; &#039;&#039;&#039;, yielding:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEM_r=endemba_r*elasterm_r*\mathbf{endemm_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IFs makes a final adjustment to total primary energy demand related to changes in energy efficiency of the economy unrelated to prices.[6]&amp;amp;nbsp;All countries receive an annual boost in energy efficiency related to technology given by the parameter &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, if a country is not a major energy exporter and its economy is less energy efficient than the global average, measured as ENDEM divided by GDP (in PPP terms)[7], it gets an additional boost to its energy efficiency.&amp;amp;nbsp; This effect is cumulative, so ENDEM is adjusted as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEM_r=ENDEM_r*(1+\frac{EnRGDPGRCalc_r}{100})^{iy}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*EnRGDPGRCalc is the annual average boost in energy efficiency&lt;br /&gt;
*iy is the number of years since the base year plus 1&lt;br /&gt;
&lt;br /&gt;
Finally, IFs makes an initial estimate of energy use per unit GDP in MER terms, ENRGDP.&amp;amp;nbsp; An estimate of GDP based on the previous year’s GDP in MER terms and a growth rate is used due to the order of calculations, but this is corrected later in the model sequence.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1] Here, IFs uses GDP from the previous time cycle, with an estimate of growth, to calculate GDPPCP, because the recursive structure of IFs computes current GDP later.&amp;amp;nbsp; The current value of population, POP, has already been computed at this stage.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
[2] The exact equation is compendemperunit = 0.0023428 -0.0003878*ln(GDPPCP).&lt;br /&gt;
&lt;br /&gt;
[3]&amp;amp;nbsp;Again, IFs uses GDP from the previous time cycle here, because the recursive structure of IFs computes current GDP later.&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[4]&amp;amp;nbsp;The model also has a variable representing the price index in each economic sector, one of which is energy. This value is stored in the variable PRI, which uses an index value of 1 in the base year.&amp;amp;nbsp; ENPRI and PRI (energy) track each other, with former having a value 100 times that of the latter due to the different initial index values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
[5]&amp;amp;nbsp;Because energy prices and carbon taxes are computed later in the model sequence, the previous year’s values are used here.&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[6]&amp;amp;nbsp;This is generally referred to as autonomous energy efficiency improvement, or aeei.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
[7]&amp;amp;nbsp;An estimate of this year’s GDPP based on the previous year’s GDPP and a growth rate is used here due to the order of calculations.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Supply&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The computation of energy production (ENP) is considerably easier than that of gross sectoral production in the economic model or of agricultural production in the agricultural model.&amp;amp;nbsp; Only capital is considered important as a factor of production (not labor, land, or even weather).&amp;amp;nbsp; Energy production is initially estimated by dividing the quotient of capital in each energy category (ken) and the appropriate capital-to-output ratio (QE).&amp;amp;nbsp; A multiplier, &#039;&#039;&#039;&#039;&#039;enpm&#039;&#039; &#039;&#039;&#039;, can be used to increase or decrease production.&amp;amp;nbsp; This yields:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP1_{r,e}=\frac{ken_{r,e}}{QE_{r,e}}*\mathbf{enpm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The dynamics of the capital-to-output ratios, QE, are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Known reserves (RESER) and exogenously specified maximums pose constraints on production of certain energy types.&amp;amp;nbsp; The affected energy types are oil, gas, coal, and hydro.&amp;amp;nbsp; The impact of reserves is felt via a limit on the fraction of reserves that can be produce in any year. Specifically, the reserve-to-production ratio may not fall below the value of &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;, which is initially set in the pre-processor, but can be overridden by the user. &amp;amp;nbsp;In addition, as the actual reserve-to-production ratio approaches this limit, its rate of decrease is limited.&amp;amp;nbsp; The exogenously specified maximums apply only to oil, gas, and coal, and are given by the parameters &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This yields a second estimate for energy production, given as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP2_{r,e}=MIN(\frac{RESER_{r,e}}{MAX(\mathbf{prodtf}_{r,e},sResProdR_{r,e}-1)},enpmax_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e only applies to oil, gas, coal, and hydro&lt;br /&gt;
*&#039;&#039;enpmax&#039;&#039; takes on the value &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;,depending upon the fuel.&lt;br /&gt;
*sResProdR is the reserve-to-production ratio from the previous year; this limit only takes effect when sResProdR falls below 30 and remains above &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IFs then selects the minimum of ENP1 and ENP2 as the estimate of energy production ENP.&amp;amp;nbsp; The dynamics of energy reserves are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
Two final adjustments are made to energy production.&amp;amp;nbsp; The first accounts for capacity utilization, &#039;&#039;CPUTF&#039;&#039;, and the second only comes into play when a restriction is placed on energy exports.&amp;amp;nbsp; Since these are not calculated until the calculation of energy stocks and shortages, they are described in the appropriate places in the [[Energy#Domestic_Energy_Stocks|Domestic Energy Stocks]] section and the [[Energy#Energy_Prices_and_Final_Adjustments_to_Domestic_Energy_Stocks_and_Capacity_Utilization|Energy Prices and Final Adjustments]] section.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Trade&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The energy model in IFs keeps track of trade in energy in physical quantities; the trade in energy in monetary terms is handled in the economic model. &amp;amp;nbsp;As opposed to the agricultural model, where trade in crops, meat, and fish are treated separately, the energy model considers trade in energy in the aggregate.&amp;amp;nbsp; Furthermore, it only considers production from oil, gas, coal, and hydro as being available for export.&amp;amp;nbsp; Finally, as with other aspects of trade, IFs uses a pooled trade model rather than representing bilateral trade.&lt;br /&gt;
&lt;br /&gt;
The first estimate of energy imports and exports by country are determined based upon a country’s propensity to export, propensity to import, and moving averages of its energy production and demand.&lt;br /&gt;
&lt;br /&gt;
The moving average of energy production, identified as smoothentot, is calculated simply as a moving average of production of energy from oil, gas, coal, and hydro. In the first year of the model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t=1}=EnTot_{r,t=1}=\sum_eENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
In future years,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t}=0.9*smoothentot_{r,t-1}+0.1*\sum_eENP_{r,e,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
The moving average of energy demand, identified as smoothpendem has a few more nuances, particularly after the first year.&amp;amp;nbsp; In the first year, IFs calculates:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t=1}=ENDEM_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In future years, rather than using the value of ENDEM calculated earlier, the model uses a slightly different measure of energy demand, referred to as pendem.&amp;amp;nbsp; pendem differs from ENDEM in two main ways:&lt;br /&gt;
&lt;br /&gt;
1. rather than using the moving average country-level price index, renpri, to calculate the effect of prices on energy demand, it uses only current values:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PEnPri_{r,t}=WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. it does not include the additional boost in energy efficiency beyond &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039; in calculating the autonomous changes in energy efficiency&lt;br /&gt;
&lt;br /&gt;
Thus, in future years, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t}=0.8*smoothpendem_{r,t-1}+0.2*pendem_{r,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A country’s propensities to import and export energy are given by the variables MKAVE and XKAVE.&amp;amp;nbsp; These are moving averages of the ratios of imports to an import base related to energy demand and exports to an export base related to energy production and demand, respectively.&amp;amp;nbsp; MKAVE is initialized to the ratio of energy imports to energy demand in the first year.&amp;amp;nbsp; A maximum value, MKAVMax is also set at this time to the maximum of 1.5 times this initial value or the value of the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; XKAVE is initialized to the ratio of energy exports to the sum of energy production from oil, gas, coal and hydro and energy demand from all energy types in the first year.&amp;amp;nbsp; Its maximum value, XKAVMAX is set to the maximum of this initial value and the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; The updating of MKAVE and XKAVE occur after the calculation of imports and exports, so we will return to that at the end of this section.&lt;br /&gt;
&lt;br /&gt;
The initial estimates of energy exports, ENX, and energy imports, ENM, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MIN(XKAVE_r,XKAVMAX_r)*exportbase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MIN(MKAVE_r*pendem_r,MKAVMAX_r*smoothpendem_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;exportbase_r=smoothentot_r+smoothpendem_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, IFs makes some adjustments to energy imports and exports depending upon whether a country is considered in energy surplus or deficit.&amp;amp;nbsp; Where a country sits in this regard involves considering domestic and global stocks in addition to current production and demand.&lt;br /&gt;
&lt;br /&gt;
Domestic energy stocks are computed as the sum of stocks carried over from the previous year, while also considering any shortages&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;stocks_{r,t}=ENST_{r,t-1}-ENSHO_{r,t-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A stock base is also calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;StBase_r=smoothpendem_r+smoothpendemr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ratio of stocks to StBase can be defined as domesticstockratio. A moving average of a trade base, smoothtradebase, is also calculated for each country:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradebase_{r,t}=MAX(ENDEM_r,0.9*smoothtradebase_{r,t-1}+0.1*2*(ENX_r+ENM_r))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradbase_{r,t+1}=MAX(ENDEM_{r,t=1},2*(ENX_{r,t=1}+ENM_{r,t=1}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy stocks, GlobalStocks, and the global stock base, GlobalStBase, are the sum of the domestic stocks and stock bases across countries, and the value of the globalstockratio is defined as GlobalStocks divided by GlobalStBase.&lt;br /&gt;
&lt;br /&gt;
For each country, the level of deficit or surplus, endefsurp, is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endefsurp_r=(globalstockratio-domesticstockratio_r)*StBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that if a countries stock ratio is less (greater) than the global average, it is considered in deficit (surplus).&lt;br /&gt;
&lt;br /&gt;
If a country is in deficit, i.e., endefsurp &amp;gt; 0, IFs will act to reduce its exports and increase its exports.&amp;amp;nbsp; The recomputed value of exports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MAX(0.5*ENX_r,ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy exports is determined by the ratio of the level of deficit to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a maximum level given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENMMax_r=ENM_r+(\frac{pendem_r*MKAVMAX_r-ENM_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, if a country is in surplus, i.e., endefsurp &amp;lt; 0, IFs will act to increase exports and reduce imports.&amp;amp;nbsp; The amount of increase in exports is controlled, in part, by the exchange rate for the country, EXRATE, specifically its difference from a target level of 1 and its change from the previous year.&amp;amp;nbsp; As with other adjustment factors of this type, the ADJSTR function is used, yielding a factor named mul.&amp;amp;nbsp; After first multiplying ENX by a value that is bound from above by 1.05 and from below by the maximum of 0.95 and mul, the recomputed value of ENX is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, a maximum level is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENXMax_r=ENX_r+(\frac{exportbase_r*XKAVMAX_r-ENX_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039; this maximum value is computed prior to the adjustments to ENX noted above.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MAX(0.5*ENM_r,ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy imports is determined by the ratio of the level of surplus to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
Because of the frequent use and importance of government trade restrictions in energy trade, model users may want to establish absolute export (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;) &amp;amp;nbsp;or import (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039; &#039;&#039;&#039;) limits, which can further constrain energy exports and imports.&amp;amp;nbsp; An export constraint may also affect the production of oil and gas as described in the next section.&lt;br /&gt;
&lt;br /&gt;
As it is unlikely that the sums of these values of ENX and ENM across countries will be equal, which is necessary for trade to balance.&amp;amp;nbsp; To address this, IFs computes actual world energy trade (WET) as the average of the global sums of exports and imports.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WET=\frac{\sum_rENX_r+\sum_rENM_r}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and recomputes energy exports and imports, as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=WET*\frac{ENX_r}{\sum_rENX_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=WET*\frac{ENM_r}{\sum_rENM_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This maintains each country’s share of total global energy exports and imports.&lt;br /&gt;
&lt;br /&gt;
IFs can now update the moving average export (XKAVE) and import (MKAVE) propensities for the next time step.&amp;amp;nbsp; This requires historic weights for exports (&#039;&#039;&#039;&#039;&#039;xhw&#039;&#039; &#039;&#039;&#039;) and imports (&#039;&#039;&#039;&#039;&#039;mhw&#039;&#039; &#039;&#039;&#039;), yielding the equations:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XKAVE_{r,t+1}=XKAVE_r*\mathbf{xhw}+(1-\mathbf{xhw})*\frac{ENX_r}{exportbase_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MKAVE_{r,t+1}=MKAVE_r*\mathbf{mhw}+(1-\mathbf{mhw})*\frac{ENM_r}{smoothpendem_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further adjustment is made related to the import propensity, MKAVE, related to the difference between this propensity and a target level, ImportTarget, and the change in this difference since the previous year. &amp;amp;nbsp;This target starts at the level of MKAVE in the first year and gradually declines to 0 over a 150 year period.&amp;amp;nbsp; As in many other situations in IFs, this process makes use of the ADJUSTR function to determine the adjustment factor.&amp;amp;nbsp; The value of mulmlev is not allowed to exceed 1, so its effect can only be to reduce the value of MKAVE.&lt;br /&gt;
&lt;br /&gt;
Finally, XKAVE and MKAVE are checked to make sure that they do not exceed their maximum values, XKAVMAX and MKAVMAX, respectively.&lt;br /&gt;
&lt;br /&gt;
[1] The previous year’s values of WEP and CarTaxEnPriAdd are used as the current year’s values are not calculated until later in the model sequence.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Domestic Energy Stocks&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs sets a target for energy stocks in each country as a fraction of a domestic stock base, StBase, which was defined earlier as the sum of a moving average of energy demand, smoothpendem, and a moving average of the production of oil, gas, coal, and hydro, smoothentot.&amp;amp;nbsp; This fraction is defined by the parameter &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Stocks are initialized in the first year as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;multiplied by the initial domestic stock base, which is the sum of production of all energy types and an estimated value of apparent energy demand.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_{r,t=1}=\mathbf{dstlen}*(\sum_cENP_{r,e,t=1}+ENDEMEst_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*ENDEMEst is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEMEst_r=(1-\mathbf{dstlen}*AVEPR_r)*\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*AVEPR is a weighted average energy production growth rate&lt;br /&gt;
&lt;br /&gt;
In future years, IFs begins by summing the moving average energy demand, smoothpendem, across countries, storing this value as WENDEM and the same for moving average energy production from oil, gas, coal, and hydro, smoothentot, which it stores as WorldEnp.&amp;amp;nbsp; It also sums the moving average energy demand just for countries that have low propensity for exports, XKAVE &amp;lt; 0.2, and stores this value as WEnDemIm.&lt;br /&gt;
&lt;br /&gt;
At this point, IFs adjusts energy production by multiplying by a capacity utilization factor, CPUTF, which is assumed to be the same for all energy types in a country.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP_{r,e}=ENP_{r,e}*CPUTF_r&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
The value of CPUTF is initialized to 1 in the first year.&amp;amp;nbsp; How it changes in time is described in the next section after the description of the calculation of the domestic price index.&lt;br /&gt;
&lt;br /&gt;
An initial estimate of energy stocks, ENST, is then calculated as the previous year’s stocks augmented by production and imports and reduced by use and exports&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_r=ENST_{r,t-1}+-ENDEM_r-ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after this calculation, there are excess stocks, i.e., ENST &amp;gt; &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and there is an export constraint, given by &#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;, adjustments are made to the production of oil and gas&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;, and, in turn, to energy stocks.&amp;amp;nbsp; The total reduction in oil and gas production is given as the amount of excess stocks, with a maximum reduction being the total amount of oil and gas production.&amp;amp;nbsp; This total amount of reduced production is then shared proportionately between oil and gas.&amp;amp;nbsp; The total reduction is also removed from ENST.&lt;br /&gt;
&lt;br /&gt;
Later, after the determination of prices, ENST is modified to: 1) ensure that they are not less than zero and 2) to account for any global shortfalls.&amp;amp;nbsp; These modifications are described in the next section.&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;This is the first of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&lt;br /&gt;
[2] This is the second of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Prices and Final Adjustments to Domestic Energy Stocks and Capacity Utilization&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs keeps track of separate domestic, ENPRI, and world, WEP, energy price indices, that apply to all forms of energy.&amp;amp;nbsp; These are initialized to a value of 100 in the first year.&amp;amp;nbsp; It also tracks the world energy price in terms of dollars per BBOE, WEPBYEAR, which is initialized as a global parameter.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;A number of pieces are needed for the calculation of energy prices.&amp;amp;nbsp; These include a world stock base, wstbase, world energy stocks, wenst, world energy production by energy type, WENP, world energy capital, WorldKen, and a global capital output ratio, wkenenpr.&amp;amp;nbsp; These are calculated as follows:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wstkbase=\sum_rStBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wenstks=\sum_r(ENST_r-ENSHO_{r,t-1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum_rENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldKen=\sum_r\sum_e(ken_e*\frac{CPUTF_r}{MAX(5,\mathbf{lke_e})})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENSHO is domestic energy shortage (described below)&lt;br /&gt;
*ken is capital for each energy type&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;lke&#039;&#039; &#039;&#039;&#039; is the average lifetime of capital for each energy type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In cases when at least one country has an exogenous restriction on the production of oil, i.e., enpm(oil) &amp;lt; 1 for at least one country, a few additional variables are calculated:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;GlobalShortFall=\sum_r\sum_eMax(0,ENP_{r,e,t-1}-1.05*ENP_{r,e,t})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldEnProd=\sum_eWENP_e&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ShortFallSub=GlobalShortFall*MIN(10,\frac{WorldEnProd}{WENP(oil)})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Otherwise these three variables all take on a value of 0.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;These values are used to calculate an adjustment factor driven by global energy stocks that affects domestic energy prices.&amp;amp;nbsp; The effect in the current year, wmul, is calculated using the ADJSTR function, which looks at the difference between world energy stocks, wenstks and the desired level, given by &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase, and the change in world energy stocks from the previous year.&amp;amp;nbsp; The presence of an exogenous restriction on the production of oil has two effects on the calculation of wmul.&amp;amp;nbsp; First, the value of ShortFallSub affects the two differences that feed into the ADJSTR function.&amp;amp;nbsp; Second, the elasticities applied in the ADJSTR function are tripled.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The adjustment factor calculated in the current year is not applied directly to the calculation of domestic energy prices.&amp;amp;nbsp; Rather, a cumulative value, cumwmul, is calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;cumwmul_t=cumwmul_{t-1}*(1+(wmul-1)*\mathbf{eprohw})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Other factors affect the domestic energy price index – domestic energy stocks, possible cartel price premiums, &#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039; &#039;&#039;&#039;, the first year value of the world energy price index, IWEP, changes in the global capita output ratio from the first year, whether the user has set a global energy price override. &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;and whether there are any restriction on oil production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy stocks affect a country-specific “markup” factor, MarkUpEn.&amp;amp;nbsp; This starts at a value of 1 and changes as a function of the value of mul, which is calculated using the ADJSTR function.&amp;amp;nbsp; Here the differences are those between domestic energy stocks and desired stocks, given as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and the changes in energy stocks from the previous year.&amp;amp;nbsp; Shortages from the previous year are also taken into account.&amp;amp;nbsp; The user can also control the elasticities used in the ADJSTR function with the parameters &#039;&#039;&#039;&#039;&#039;epra&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This markup evolves over time as&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MarkUpEn_{r,t}=MarkUpEn_{r,t-1}*mu&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy price index, ENPRI, is first calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=\mathbf{X}*mul_r*cumwmul+\mathbf{encartpp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; = &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;when this parameter is set to a value greater than 1 and IWEP otherwise&lt;br /&gt;
&lt;br /&gt;
It is then recomputed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=MIN(ENPRI_r,ENPRI_{r,t-1}+\mathbf{encartpp}_t-\mathbf{encartpp}_{t-1}+\mathbf{X})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; is 100 whenthere is a restriction on oil production in at least one country and 20 otherwise&lt;br /&gt;
&lt;br /&gt;
Furthermore, ENPRI is not allowed to fall by more than 10 in a given year.&lt;br /&gt;
&lt;br /&gt;
It is possible for the user to override this price calculation altogether.&amp;amp;nbsp; Any positive value of the exogenous country-specific energy price specification (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;) will do so.&lt;br /&gt;
&lt;br /&gt;
It is only now that a country’s energy stocks and shortages are finalized for the current year.&amp;amp;nbsp; If ENST is less than 0, then a shortage is recorded as ENSHO = -ENST and ENST is set to 0.&amp;amp;nbsp; In addition, for countries that have a low propensity for exports, XKAVE &amp;lt; 0.2, a share of any global shortfall is added to their shortage, with the share determined by the country’s share of moving average energy demand among those countries:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENSHO_r=ENSHO_r+GlobalShortFall*\frac{smoothpendem_r}{WEnDemIm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy shortage enters the Economic model in the calculation of gross sectoral production.&lt;br /&gt;
&lt;br /&gt;
The same differences in domestic stock from their target level and their change since the previous year, taking into account shortages from the previous year, are used to update the value of capacity utilization in energy, CPUTF, which was introduced earlier.&amp;amp;nbsp; The multiplier affecting CPUTF, Mul, is calculated using the ADJSTR function, with elasticities given by &#039;&#039;&#039;&#039;&#039;elenpst&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpst2&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, the capacity utilization is smoothed over time.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CPUTF_{r,t}=0.5*CPUTF_{r,t-1}+0.5*Mul&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is further assumed to converge to a value of 1 over a period of 100 years and is bound to always have a value between 0.2 and 2.&lt;br /&gt;
&lt;br /&gt;
This still leaves the need to calculate the world energy price. &amp;amp;nbsp;IFs actually tracks a world price including carbon taxes, WEP, and a world price ignoring carbon taxes, WEPNoTax.&amp;amp;nbsp; Carbon taxes are ignored in cases where the energy price is set exogenously using &#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In both cases, the world energy price is a weighted average of domestic energy prices:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEP=\frac{TENP}{TENPRI}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPNoTax=\frac{TENP}{TENPRINoTax}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENP=\sum_r\sum_eENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRINoTax=\sum_r\sum_e(ENPRI_r*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRI=\sum_r\sum_e((ENPRI_r+CarTaxEnPriAdd_r*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*WEP and WEPBYEAR convert CarTaxEnPriAdd from $/BBOE to an index value&lt;br /&gt;
*the term with CarTaxEnPriAdd is ignored in countries with exogenous energy prices in a given year&lt;br /&gt;
*CarTaxEnPriAdd is&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Finally, the value of WEPBYEAR is computed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPBYEAR=WEPBYEAR_{t=1}*\frac{WEP}{WEP_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Investment&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Investment in energy is relatively complex in IFs, because changes in investment are the key factor that allows us to clear the energy market in the long term.&amp;amp;nbsp; It is also different and perhaps slightly more complex in IFs than investment in agriculture.&amp;amp;nbsp; Whereas the latter involves computing a single investment need for agricultural capital, and subsequently dividing it between land and capital, in energy a separate demand or need is calculated for each energy type, based on profit levels specific to each energy type.&lt;br /&gt;
&lt;br /&gt;
We begin by calculating a total energy investment need (TINEED) to take to the economic model and place into the competition for investment among sectors.&amp;amp;nbsp; This investment need is a function of energy demand, adjusted by a number of factors, some global and some country-specific. To begin with, TINEED is calculated as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=ENDEM_r*mulendem*\frac{wkenenpri_t}{wkenenpri_{t-1}}*mulkenenpr*mulwst*mulstocks^{0.5}*mulrprof_r*mulrenew_r*sendeminvr_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*mulendem is the ratio of global energy demand per unit GDP in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{WENDEM_t/WGDP_t}{WENDEM_{t-1}/WGDP_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wkenenpri is the ratio of global energy capital to global energy production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulkenenpr is the ratio of wkenenpr in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{wkenenpr_t}{wkenenpr_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulwst and mulstocks are factors related to global energy stocks. mulwst is calculated using the ADJSTR function, where: the first order difference is that between global energy stocks, wenstks, and desired global energy stocks, DesStocks = &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase; the second order difference is between the level of world energy stocks in the current year and those in the past year; and the elasticities are given by the parameters &#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039; &#039;&#039;&#039;. mulstocks is also related to global energy stocks, but is more directly related to the desired level of global energy stocks:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulstocks=\frac{DesStocks}{MAX(0.5*DesStocks,MIN(4*DesStocks,enstks))}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that mulstocks will always take on a value between ¼ and 4.&lt;br /&gt;
&lt;br /&gt;
*mulrprof is a function of the expected level of profits in the energy sector as a whole in a country, EPROFITR.&amp;amp;nbsp; Energy profits are calculated as the ratio of returns, EnReturn, to costs, ProdCosts.&amp;amp;nbsp; EPROFITR is actually a moving average of these profits relative to those in the base year, with a historical weighting factor controlled by the parameter &#039;&#039;&#039;&#039;&#039;eprohw&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In full, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=WEPNoTax*\sum_eENP_{r,e}&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ProdCost_r=\sum_e\frac{ken_{e,r}}{MAX(5,\mathbf{lke_e})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=\frac{EnReturn_r}{ProdCost_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EPROFIT_{r,t}=\mathbf{eprohw}*EPROFIT_{r,t-1}+(1-\mathbf{eprohw})*\frac{EnReturn_{r,t}}{EnReturn_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now calculate mulrprof using the ADJSTR function.&amp;amp;nbsp; The first order difference is between the current value of EPROFITR and a target value of 1; the second order difference is the change in the value of EPROFITR from the previous year; the elasticities applied to these differences are given by the parameters &#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*mulrenew is a function of the share of other renewables in the energy mix in a country.&amp;amp;nbsp; It is assigned a value of 1 unless the production of energy from renewables exceeds 70% of total energy demand.&amp;amp;nbsp; If so, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulrenew_r=MAX(0.5,1-(\frac{ENP_{r,renew}}{ENDEM_r}-0.7)*1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given these conditions, mulrenew can take on values between 0.5 and 1, with larger values associated with larger amounts of renewable production.&lt;br /&gt;
&lt;br /&gt;
*sendeminvr is a moving average of the ratio of investment need to energy demand in a country, with an accounting for changes in the global capital production ratio since the first year and is updated as&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;sendeminvr_{r,t+1}=0.95*sendeminvr_{r,t}+0.05*\frac{TINEED_{r,t}}{ENDEM_{r,t=1}}*\frac{wkenenpr_{t=1}}{wkenenpr_t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this initial calculation, two further adjustments are made to TINEED.&amp;amp;nbsp; The first is a reduction related to a possible reduction of inventory, invreduc, carried over from the previous year.&amp;amp;nbsp; The calculation of invreduc is described later in this section, where we look at reductions in investment in specific energy types due to resource constraints or other factors. The effect on TINEED is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=TINEED_r-MIN(0.7*invreduc_{r,t-1},0.6*TINEED_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the reduction in TINEED can be no more than 60 percent.&lt;br /&gt;
&lt;br /&gt;
Finally, the user can adjust TINEED with the use of the multiplier &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Before this total investment need, TINEED, is passed to the Economic model, there is a chance that it may need to be further reduced.&amp;amp;nbsp; This depends on the calculation of a bound, TINeedBound.&amp;amp;nbsp; TINeedBound arises from a bottom-up calculation of the investment needs for each energy type individually, ineed.&amp;amp;nbsp; These depend upon the profits for each energy type and any possible bounds on production related to reserves and other factors.&lt;br /&gt;
&lt;br /&gt;
As with the estimate of total profits to energy, the returns by energy type depend upon production and costs.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturnS_{r,e}=\frac{ENP_{r,e}}{EnCost_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the non-fossil fuel energy types – hydro, nuclear, and other renewable – EnCost is based solely on capital depreciation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = hydro, nuclear, renew&lt;br /&gt;
&lt;br /&gt;
For the fossil fuel energy types – oil, gas, and coal – we must also consider any possible carbon taxes. EnCost is calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}+ENP_{r,e}*\mathbf{carfuel}_e*\mathbf{carbtax}_r+MAX(-0.5*\frac{ken_{r,e}}{\mathbf{lke_e}},ENP_{r,e}*(\mathbf{carfuel}_e-AvgCarFuel)*emtax_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, coal, gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carfuel&#039;&#039; &#039;&#039;&#039; is the carbon content of the fuel in tons per BBOE&lt;br /&gt;
*AvgCarFuel is the unweighted arithmetic average of the carbon content of oil, gas, and coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039; is an exogenously specified country-specific carbon tax in $ per BBOE&lt;br /&gt;
*emtax is the number of years since the first year plus one multiplied by 2&lt;br /&gt;
&lt;br /&gt;
The change in eprofitrs from the first year is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;eprofitrs_{r,e}=\frac{EnReturnS_{r,e,t}}{EnReturnS_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An average return, avgreturn, is calculated as the weighted sum of the individual returns:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;avgreturn_r=\sum_e(ENP_{r,e}*EnReturnS_{r,e})smoothentot_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Investment need by energy type, ineed, grows in proportion to capital and as a function of relative profits.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e,t}=ineed_{r,e,t=1}*\frac{ken_{r,e,t}}{ken_{r,e,t=1}}*eprofitrs^{elass_{r,e}}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;elass&#039;&#039; &#039;&#039;&#039; are country and energy-specific user controlled parameters&lt;br /&gt;
&lt;br /&gt;
At this point, ineed is checked to make sure that it does not fall by more than 20% or increase by more than 40% in any single year.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Also, if the user has set an exogenous target for production growth, i.e., &#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039; &#039;&#039;&#039; &amp;gt; 0, all of the above is overridden and ineed is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=\frac{ken_{r,e}*(1+\mathbf{enprodr}_e)}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These investment needs are checked to make sure that they do not exceed what the known reserve base can support.&amp;amp;nbsp; This applies only to oil, gas, coal, and hydro. An initial estimate of the maximum level of investment is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(\frac{RESER_{r,e}}{\mathbf{prodtf}_{r,e}}-\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
The first term in parentheses, when multiplied by QE, indicates the amount of capital that would be necessary in order to yield the maximum level of production given the lower bound of the reserve production ratio, &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;. The second term is simply the current level of capital and the third term indicates the level of depreciation of existing capital.&amp;amp;nbsp; This implies that countries will not make investments beyond those that would give it the maximum possible level of production for a given energy type.&lt;br /&gt;
&lt;br /&gt;
At the same time, IFs assumes there is a minimum level of investment, which is basically 30% of the capital depreciated during the current year:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mininv_{r,e}=0.3*\frac{ENP_{r,e}}{\mathbf{lke}_e}*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&lt;br /&gt;
In cases where the current production of oil, gas, or coal already equals or exceeds the exogenously specified maximum for a country – &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, or &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039; – maxinv is set equal to mininv.&amp;amp;nbsp; This again avoids useless investment.&lt;br /&gt;
&lt;br /&gt;
A further constraint is placed on the maximum investment level in capital for hydro production.&amp;amp;nbsp; This is done by simply replacing RESER/&#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039; in the calculation of maxinv with the value ENDEM * EnpHydroDemRI * 2, where EnpHydroDemRI is the ratio of energy produced by hydro in the base year to total energy demand in that year.&amp;amp;nbsp; In other words, the growth in energy production from hydro in the current year from the first year cannot exceed twice the growth in total energy demand over that period, even if reserves are available, and capital investments are restricted accordingly.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxHydroProd_{r,t}=2*\frac{ENDEM_{r,t}}{ENDEM_{r,t=1}}*ENP_{r,Hydro,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The constraints placed on investment in nuclear energy differ somewhat from these other fuels. IFs does not have an explicit measure of reserves for nuclear.&amp;amp;nbsp; Rather, it is assumed that the growth in capital in nuclear energy cannot exceed 1 percent of existing capital plus whatever is required to account for depreciation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(0.01*\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = nuclear&lt;br /&gt;
&lt;br /&gt;
Also, the minimum level of investment for nuclear energy is assumed to be 50 percent of the capital depreciated in the current year, rather than 30 percent as with oil, gas, coal, and hydro.&lt;br /&gt;
&lt;br /&gt;
There is no limit to the investments in capital for other renewables.&lt;br /&gt;
&lt;br /&gt;
Given these restrictions, the investment needs for oil, gas, coal, hydro, and nuclear are updated so that mininv &amp;lt;= ineed &amp;lt;= maxinv.&amp;amp;nbsp; Any reductions from the previous estimates of ineed are summed across energy types to yield the value of invreduc, which will affect the estimate of TINEED in the following year as described earlier.&lt;br /&gt;
&lt;br /&gt;
The final estimates of ineed for each energy type are summed to yield TINeedBound.&amp;amp;nbsp; If TINEED is greater than TINEEDBOUND, then TINEED is recalculated as the average of the two:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=0.5*(TINEED_r+TINeedBound_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value of TINEED is passed to the Economic model as IDS&amp;lt;sub&amp;gt;energy&amp;lt;/sub&amp;gt;,&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;IDS_{r,s=energy}=sidsf_r*TINEED_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*sidsf is an adjustment coefficient converting units of energy capital into monetary values. This gradually converges to a value of 1 after a number of years specified by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In the Economic model, the desired investment in energy must compete with other sectors for investment (see more about linkages between the Energy and Economic models in section 3.7).&amp;amp;nbsp; Once these sectoral investments are determined, a new value for investments in the energy sector, IDS&amp;lt;sub&amp;gt;s=energy&amp;lt;/sub&amp;gt;, is passed back to the Energy model.&amp;amp;nbsp; The adjustment coefficient is then applied to yield:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;inen_r=\frac{IDS_{r,s=energy}}{sidsf_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the meantime, the desired investment for each energy type can be modified with a country and energy-type specific parameter &#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039; &#039;&#039;&#039;, and a new value of TINEED is calculated as the sum of these new levels of desired investment.&amp;amp;nbsp; The amount of the available investment, inen, going to each energy type is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=inen_r*\frac{ineed_{r,e}*\mathbf{eninvtm}_{r,e}}{TINEED_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., all energy types receive the same proportional increase or decrease in investment.&lt;br /&gt;
&lt;br /&gt;
These investments are then translated into units of capital, KEN_Shr,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;KENShr_{r,e}=ineed_{r,e}-\frac{ken_{r,e}}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new level of capital is determined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ken_{r,e,t+1}=(ken_{r,e,t}+KENShr_{r,e})*(1-CIVDM_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*CIVDM is an exogenous factor reflecting civilian damage from war&lt;br /&gt;
&lt;br /&gt;
Note that there is no guarantee that KEN_Shr is positive, so it is theoretically possible for ken to fall below 0; IFs checks to make sure that this does not happen.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;World energy price is used to provide stability. The no tax world energy price is used as taxes do not contribute to returns.&lt;br /&gt;
&lt;br /&gt;
[2] Note the careful use of the time subscripts. sendeminvr is not updated until after the computation of the initial value of TINEED, so the initial calculation of TINEED needs to use the previous year’s value of sendeminvr. Furthermore, the updating of sendeminvr occurs after TINEED has been adjusted to reflect any inventory reductions, but before the investment multiplier, &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;, is applied.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Economic Linkages&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The economic model and the two physical models have many variables in common.&amp;amp;nbsp; As in the agricultural model, IFs generally uses the values in the physical model to override those in the economic model.&amp;amp;nbsp; To do so, it computes coefficients in the first year that serve to adjust the physical values subsequently. The adjustment coefficients serve double duty - they translate from physical terms to constant monetary ones, and they adjust for discrepancies in initial empirical values between the two models.&lt;br /&gt;
&lt;br /&gt;
[[Energy#Energy_Investment|The Energy Investment section]] already described how desired investment, TINEED, is passed to the Economic model using the adjustment coefficient sidsf.&amp;amp;nbsp; The adjustment coefficient, ZSR is used to convert production:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZS_{r,s=2}=ZSR_r*WEPBYear_{r,t=1}*\sum^EENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZSRI_r=\frac{ZS_{r,s=2,t=1}}{WEPBYear_{r,t=1}*\sum^EENP_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZSR is a convergence of ZSRI to a value of 1 in 30 years and WEPBYear converts the energy units, which are in BBOE to dollars.&lt;br /&gt;
&lt;br /&gt;
The adjustment coefficient SCSF is used to convert consumption:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CS_{r,s=2}=SCSF_r*ENDEM_r*0.6&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SCSF_r=\frac{CS_{r,s=2,t=1}}{ENDEM_{r,t=1}*0.6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this assumes that consumer make up a constant 60 percent of consumption of total primary energy.&amp;amp;nbsp; Also SCSF remains constant over time.&lt;br /&gt;
&lt;br /&gt;
For stocks, imports, and exports, WEBPBYear serves as the adjustment coefficient&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ST_{r,s=2}=WEPBYear_{r,t=1}*ENST_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XS_{r,s=2}=WEPBYear_{r,t=1_r}*ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MS_{r,s=2}=WEPBYear_{r,t=1}*ENM_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, the indexed price (with a base of 1) in the energy sector of the economic submodel (PRI) is simply the ratio of current to initial regional energy price (ENPRI) time the value of PRI in the first year.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PRI_{r,s=2}=PRI_{r,s=2,t=1}*\frac{ENPRI_r}{ENPRI_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Resources and Reserves: Capital-to-Output Ratios and Discoveries&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Capital-to-Output Ratios ===&lt;br /&gt;
&lt;br /&gt;
Resource base is important in selected energy categories of IFs: conventional oil, natural gas, coal, hydroelectric power, and unconventional oil.&amp;amp;nbsp; Resources are not important in the nuclear category, which represents an undefined mixture of burner, breeder and fusion power.&lt;br /&gt;
&lt;br /&gt;
Resource costs, as represented by the capital required to exploit them, increase as resource availability in the resource-constrained categories decreases.&amp;amp;nbsp; The capital-to-output ratio captures the increased cost.&amp;amp;nbsp; Kalymon (1975) took a similar approach.&lt;br /&gt;
&lt;br /&gt;
More specifically, the capital-to-output ratio (QE) increases in inverse proportion to the remaining resource base (as the base is cut in half, costs double&#039;&#039;&#039;; &#039;&#039;&#039;as it is cut to one fourth, costs quadruple).&amp;amp;nbsp; The model multiplies the initial capital output ratio by the initial resource base (RESOR) times a multiplier (RESORM) by which a model user can exogenously increase or decrease model assumptions.&amp;amp;nbsp; It then divides that product by initial resources minus cumulative production to date (CUMPR).&lt;br /&gt;
&lt;br /&gt;
Total available resources by energy type, ResorTot, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ResorTot_{r,e}=\mathbf{resorm}_{r,e}*\mathbf{resor}_{r,e}+\mathbf{resorunconm}_{r,e}*\mathbf{resoruncon}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039; are exogenously assumed levels of the ultimate amount of conventional and unconventional forms of each energy type.&amp;amp;nbsp; There is no assumption about conventional resources for nuclear and only oil and gas include unconventional resources&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039; are multipliers that can be used to change the amount of assumed ultimate resources by energy type&lt;br /&gt;
&lt;br /&gt;
All energy types begin with basic capital-to-output ratios, BQE and BQEUC.&amp;amp;nbsp; These are initially set equal to the same values of QE and QEUNCON, which are derived in the pre-processor, and then evolved according to exogenous assumptions about technological advance for each energy type:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQE_{r,e,t}=BQE_{r,e,t-1}*(1-\mathbf{etechadv}_e)&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQEUNCON_{r,e,t}=BQEUNCON_{r,e,t-1}*(1-\mathbf{etechadvuncon}_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recall that technological improvements result in declining amounts of capital required for each unit of energy produced.&lt;br /&gt;
&lt;br /&gt;
The initial translation of this basic capital-to-output ratio to the value actually used to determine energy production varies by energy type.&lt;br /&gt;
&lt;br /&gt;
This is most straightforward for nuclear and unconventional energy, which do not take into account remaining resources:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is nuclear&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qem&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QEUC_{r,e,t+1}=BQEUC_{r,e,t}*\mathbf{qeunconm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil or gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
For hydro and other renewables, QE depends upon the remaining resource, which is defined as the difference between the total resource available and a moving average of the difference in production vis-à-vis production in the first year. &amp;amp;nbsp;In other words, it is not cumulative production that is important, but rather the portion of resources used annually.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\frac{ResorTot_{r,e}}{resorrem_{r,e}}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-ENPGR_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPGR_{r,e}=SmoothENP_{r,e}-ENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SmoothENP_{r,e,t}=0.8*SmoothENP_{r,e,t-1}+0.2*ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*e = hydro or renew&lt;br /&gt;
&lt;br /&gt;
For oil, gas, and coal, the logic is similar, but the definition of remaining resources is somewhat different:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=MAX(ResorTot_{r,e}-CUMPR_{r,e},MaxFac_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CUMPR_{r,e,t}=CUMPR_{r,e,t-1}+ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MaxFac_{r,e}=0.1*ResorTot_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, the capital-to-output ratio is calculated as a moving average&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CompQE_{r,e}=BQE_{r,e}*(\frac{ResorTot_{r,e}}{resorrem_{r,e}})^{0.4}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=(0.8*QE_{r,e,t}+0.2*CompQE_{r,e})*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, or coal&lt;br /&gt;
&lt;br /&gt;
=== Discoveries ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Energy reserves decrease with production and increase with discoveries, the latter of which are limited by remaining resources and other factors. &amp;amp;nbsp;This only applies to oil, gas, and coal.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;RESER_{r,e,t+1}=RESER_{r,e,t}+rd_{r,e}-ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rate of discovery, rd, is initially computed as a function of a number of factors related to global energy prices, remaining resources, global and domestic production, and several exogenous assumptions&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rd_{r,e}=rdiaug_e*wepterm*reterm_{r,e}*\mathbf{rdm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;amp;nbsp;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039; is a country and energy-specific exogenous multiplier&lt;br /&gt;
*rdi_aug is an energy-specific factor driven entirely by exogenous assumptions about initial rates of discovery, &#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;, and annual increments, &#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rdiaug_e=\mathbf{rdi}_e+\mathbf{rdinr}_{r,e}*(t-firstyear)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wepterm is a global factor driven by the growth in world energy prices from the first year and an exogenously defined elasticity, &#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wepterm=1+\frac{WEP_t-WEP_{t=1}}{WEP_{t=1}}*\mathbf{elasdi}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*reterm is a country and energy-specific factor representing an average of a country’s remaining resources as a share of original resources and its share of current production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;reterm_{r,e}=0.5*(\frac{ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}}{\sum_e(ResorTot_{r,e,t=1}-RESER_{r,e,t=1})}+\frac{ENP_{r,e}}{WENP_e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further assumption is that the rate of discovery cannot exceed 4 percent of the remaining resources in a country, where remaining resources are specified as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*For oil the amount of unconventional oil in ResorTot is also affected by the parameter &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039;[2]&lt;br /&gt;
&amp;lt;div&amp;gt;[1] There used to be an additional impact of ICT broadband that would further reduce the BQE for other renewables, but that is currently not active in the model.&amp;amp;nbsp;&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[2] This only affects Canada, which has a value of &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039; = 0.3. Why this is not included in the QE calculations is unclear.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Indicators&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Among useful energy or energy-related indicators is the ratio (ENRGDP) of energy demand (ENDEM) to gross domestic product (GDP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENRGDP_r=\frac{ENDEM_r}{GDP_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global production of energy by energy type (WENP) is the sum of regional productions (ENP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum^RENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy production is the basis for examining the build-up of carbon dioxide and Climate Change, as described in the documentation of the Environmental model.&lt;br /&gt;
&lt;br /&gt;
The ratio of oil and gas production globally to total energy production (OILGPR) helps trace the transition to other fuels.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;OILGPR=\frac{WENP_{e=1}+WENP_{e=2}}{\sum^EWENP_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy reserves (WRESER) and global resources (WRESOR) are sums by energy type across regions, the latter taking into account any resource multiplier (RESORM) that a user specifies to modify basic model resource estimates.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESER_e=\sum^RRESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESOR_e=\sum^R(RESOR_{r,e}*RESORM_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Bibliography&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
Kalymon, Basil A. 1975. &amp;quot;Economic Incentives in OPEC Oil Pricing Policy.&amp;quot; &#039;&#039;Journal of Development Economics&#039;&#039; 2: 337-362.&lt;br /&gt;
&lt;br /&gt;
Naill, Roger F. 1977.&#039;&#039;Managing the Energy Transition.&#039;&#039; Vols. 1 and 2. Cambridge, Mass: Ballinger Publishing Co.&lt;br /&gt;
&lt;br /&gt;
Stanford University. 1978. &#039;&#039;Stanford Pilot Energy/Economic Model.&#039;&#039; Stanford: Department of Research, Interim Report, Vol. 1.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13690</id>
		<title>Energy</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Energy&amp;diff=13690"/>
		<updated>2026-01-27T22:10:06Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: working&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
Please cite as: Hughes, Barry B., José R. Solórzano, and Dale S. Rothman. 2014. &amp;quot;IFs Energy Model Documentation.&amp;quot; Working paper 2014.10.17. Pardee Center for International Futures, Josef Korbel School of International Studies, University of Denver, Denver, CO. Accessed DD Month YYYY &amp;amp;lt;https://pardee.du.edu/wiki/Energy&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy model combines a growth process in production with a partial equilibrium process.&amp;amp;nbsp; The energy model automatically replaces the energy sector in the full economic model unless the user disconnects that linkage.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
For energy, the partial equilibrium structures have distinct demand and supply sides, using price to seek a balance.&amp;amp;nbsp; As in the economic model, however, no effort is made to obtain a precise equilibrium in any time step.&amp;amp;nbsp; Instead stocks serve as a temporary buffer and the model again chases equilibrium over time.&lt;br /&gt;
&lt;br /&gt;
Gross domestic product (GDP) from the economic model provides the basis for energy demand calculations. &amp;amp;nbsp;Energy demand elasticities tend, however, to be quite high.&amp;amp;nbsp; Thus the physical constraints on the supply side are terribly important in determining the dynamics of the energy model.&lt;br /&gt;
&lt;br /&gt;
IFs distinguishes six energy production categories: oil, natural gas, coal, hydroelectric, nuclear, and other renewables. &amp;amp;nbsp;For each category both conventional and unconventional sources are considered, but these have only been fully implemented for oil.&amp;amp;nbsp; IFs computes only aggregated regional or national energy demands and prices, however, on the assumption of high levels of long-term substitutability across energy types and a highly integrated market.&amp;amp;nbsp; The model also conducts energy trade only in a single, combined energy category. &amp;amp;nbsp;Finally, at the moment, there is not a full connection between the energy model and access to electricity and electricity production (see the IFs Infrastructure Model Documentation for a description of the electricity aspects of IFs).&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Introductions&amp;lt;/span&amp;gt; =&lt;br /&gt;
{| class=&amp;quot;tableGrid&amp;quot; style=&amp;quot;width:100%;&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width: 50%&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;System/Subsystem&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Energy&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Organizing Structure&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Partial market&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Stocks&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Capital, resources, reserves&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; valign=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Flows&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Production, consumption, trade, discoveries, investment&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; | &amp;lt;div&amp;gt;&#039;&#039;&#039;Key Aggregate&amp;amp;nbsp;&#039;&#039;&#039; &#039;&#039;&#039;Relationships&amp;amp;nbsp;&#039;&#039;&#039;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;(illustrative, not comprehensive)&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Production function with exogenous technology change;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Energy demand relative to GDP;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;Price determination&amp;lt;/div&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: left&amp;quot; valign=&amp;quot;center&amp;quot; | &amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;&#039;&#039;&#039;Key Agent-Class Behavior&amp;amp;nbsp;&#039;&#039;&#039; &#039;&#039;&#039;Relationships&#039;&#039;&#039;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;text-align: left&amp;quot;&amp;gt;(illustrative, not comprehensive)&amp;lt;/div&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: left; padding-left: 10px&amp;quot; align=&amp;quot;center&amp;quot; | &amp;lt;div&amp;gt;Government taxes, subsidies&amp;lt;br/&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Dominant Relations: Energy&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
Energy demand (ENDEM) is a function of GDP and the energy demand per unit of GDP (ENRGDP). &amp;amp;nbsp;Energy production (ENP) is a function of capital stock in each energy type, the capital/output ratio (QE) for that energy type, and a capacity utilization factor (CPUTF).&lt;br /&gt;
&lt;br /&gt;
The following key dynamics are directly linked to the dominant relations:&lt;br /&gt;
&lt;br /&gt;
DEMAND Energy demand per unit of GDP depends on GDP per capita, energy prices, and an autonomous trend in energy efficiency. &amp;amp;nbsp;The first two of these are computed endogenously, the latter exogenously. &amp;amp;nbsp;The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039; &#039;&#039;&#039;) and the autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039; &#039;&#039;&#039;). &amp;amp;nbsp;The user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039; &#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
PRODUCTION For fossils fuels and hydro, there are upper bounds on production.&amp;amp;nbsp; For fossil fuels, these are based on reserve production ratios, as well as user-specified upper bounds (&#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; For hydro, the upper bound relates to hydropower potential. &amp;amp;nbsp;The model user can also control production using an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;enpm&#039;&#039; &#039;&#039;&#039;) to directly modify energy production by energy type.&lt;br /&gt;
&lt;br /&gt;
CAPITAL/OUTPUT RATIO The capital/output (capital/production) ratios for all fuel types decline over time due to technological improvements at rates determined by two user controllable parameters (&#039;&#039;&#039;&#039;&#039;etechadv&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;etechadvuncon&#039;&#039; &#039;&#039;&#039;). &amp;amp;nbsp;For fossil fuels, this is counteracted by a factor that increases the capital/output ratio as the amount of remaining resources decreases. &amp;amp;nbsp;Something similar happens for hydro and other renewables, but here the capital/output ratios increase as production approaches a maximum possible level. &amp;amp;nbsp;The user can further modify the capital/output ratios with the multipliers (&#039;&#039;&#039;&#039;&#039;qem&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039; &#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
CAPITAL Energy capital, by fuel type, is initialized based on the initial levels of production and capital/output ratios.&amp;amp;nbsp; Energy capital depreciates at a rate determined by the lifetime of energy capital (&#039;&#039;&#039;&#039;&#039;lke&#039;&#039; &#039;&#039;&#039;) and it grows with investment.&amp;amp;nbsp; Total desired investment in energy capital is influenced by many factors, including existing capital, domestic and global energy demand, the production of other renewables, changes in the global capital/output ratio, world and domestic energy stocks, expected overall profits in the energy sector, and imports.&amp;amp;nbsp; Users can influence this in the aggregate (via &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;) and can also control the effect of expected profits (&#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039; &#039;&#039;&#039;) and world energy stocks (&#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039; &#039;&#039;&#039;). &amp;amp;nbsp;Desired investment by energy type increases with individual profit expectations, but also by limits related to reserve production factors (for fossil fuels and hydro), any exogenous restrictions on maximum production (for fossil fuels), ultimate potential (for hydro), and other, unspecified factors (nuclear).&amp;amp;nbsp; Users can influence the effect of profit expectations by fuel type (via &#039;&#039;&#039;&#039;&#039;elass&#039;&#039; &#039;&#039;&#039;) as well as influence the desired investment by energy type in the aggregate (via &#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; The user can also specify an exogenous growth rate for energy investment by fuel type (&#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039; &#039;&#039;&#039;). &amp;amp;nbsp;The economic model ultimately determines whether all of the investment needs can be met; in case of shortfalls, the investment in each type of energy is reduced proportionately.&lt;br /&gt;
&lt;br /&gt;
RESOURCES/RESERVES/STOCKS IFs separately represents ultimate resources and reserves, where the latter are the amount of energy resources available to be produced. &amp;amp;nbsp;Resources and reserves, both conventional and unconventional, are set in the pre-processor.&amp;amp;nbsp; The user can modify the default assumptions on ultimate resources, either directly (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039;) or via the use of multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; Reserves decline with production and increase with discoveries. &amp;amp;nbsp;The rate of discovery depends on the ultimate resources remaining, the intensity of current production, world energy prices, and a base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;). &amp;amp;nbsp;The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039; &#039;&#039;&#039;), augment the base rate of discovery (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;), and use a multiplier to affect the rates of discovery (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; Finally, IFs keeps track of any production not used in the current year, i.e., stocks, and shortages.&lt;br /&gt;
&lt;br /&gt;
ENERGY PRICES Domestic energy prices are influenced by world stocks, domestic stocks, and the ratio of capital to production at the global level. &amp;amp;nbsp;The user can control the effect of domestic stocks on prices (&#039;&#039;&#039;&#039;&#039;epra&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; Users can also include a “cartel premium” (&#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039; &#039;&#039;&#039;) and a carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039;). &amp;amp;nbsp;More directly users can set domestic energy prices exogenously for just the first year (&#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039; &#039;&#039;&#039;) or for multiple future years (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; The world energy price is calculated as a weighted sum of the domestic prices.&lt;br /&gt;
&lt;br /&gt;
TRADE The energy model also provides representation and control over energy trade.&amp;amp;nbsp; The levels of imports and exports depend upon levels of production and demand, as well as past propensities to import and export energy.&amp;amp;nbsp; The user can set maximum limits on of energy imports (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039; &#039;&#039;&#039;) and energy exports (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;), as well as general limits on trade (&#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Energy Flow Charts&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
&lt;br /&gt;
The production growth process in energy is simpler than that in agriculture or the full economic model.&amp;amp;nbsp; Because energy is a very capital-intensive sector, production depends only on capital stocks and changes in the capital-output ratio, which represents technological sophistication and other factors (such as decreasing resource bases) that affect production costs.&lt;br /&gt;
&lt;br /&gt;
The key equilibrating variable is again inventories.&amp;amp;nbsp; It works via investment to control capital stock and therefore production, and via prices to control domestic consumption.&amp;amp;nbsp; Production and consumption, in turn, control trade.&lt;br /&gt;
&lt;br /&gt;
Specifically, as inventories rise, investment falls, restraining capital stock and energy production, and thus holding down inventory growth.&amp;amp;nbsp; As inventories rise, prices fall, thereby increasing domestic consumption, which also holds down inventory growth.&lt;br /&gt;
&lt;br /&gt;
[[File:Eng1.png|frame|center|Visual representation of the energy production growth process]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Production Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Energy production is a function of the capital stock in energy and the capital-output ratios, modified by a capacity utilization factor and exogenous multipliers and production limits.&amp;amp;nbsp; The capital-output ratios are affected by the amount of remaining resources as a share of the initial levels, technological progress, and user-controlled multipliers.&amp;amp;nbsp; The capacity utilization factor is influenced by domestic stocks and shortages.&lt;br /&gt;
&lt;br /&gt;
[[File:Eng2.png|frame|center|Visual representation of energy production]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Capital and Investment Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The capital stock by energy type decreases with depreciation and grows with investment.&amp;amp;nbsp; Investment or growth in the capital stock, while affected by numerous factors, is driven heavily by energy profits and stocks (unless the user intervenes with a scenario multiplier), and constrained by the reserves available of each specific energy type and production constraints. &amp;amp;nbsp;The user can use a direct multiplier on total energy investment, multipliers on energy investment by energy type to influence investment, or specify a desired rate of growth in investment by energy type.&lt;br /&gt;
&lt;br /&gt;
[[File:Eng3.png|frame|center|Visual representation of energy capital and investment]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Demand Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Energy demand is estimated as a function of the energy demand per unit GDP (in PPP terms) and total GDP (in PPP terms), with adjustments related to energy prices and improvements in energy use efficiency.&amp;amp;nbsp; The energy demand per unit GDP depends on GDP per capita (in PPP Terms).&amp;amp;nbsp; The improvement in energy use efficiency is a combination of autonomous trend in efficiency of energy use (&#039;&#039;&#039;&#039;&#039;enrgdpgr&#039;&#039; &#039;&#039;&#039;) and an additional amount that accelerates the improvements for (non-exporting) countries that have efficiencies below the global average. &amp;amp;nbsp;The price effect takes into account both the domestic and global prices of energy, as well as any carbon tax (&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; The user can control the price elasticity of energy demand (&#039;&#039;&#039;&#039;&#039;elasde&#039;&#039; &#039;&#039;&#039;) and the historical weight used to smooth energy prices (&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; Finally, the user can also use an energy demand multiplier (&#039;&#039;&#039;&#039;&#039;endemm&#039;&#039; &#039;&#039;&#039;) to directly modify energy demand.&lt;br /&gt;
&lt;br /&gt;
[[File:Eng4.png|frame|center|Visual representation of energy demand]]&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Resources and Reserves Detail&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
IFs distinguishes between ultimate resources and reserves, where the latter represent the amount of energy actually discovered and available for production.&amp;amp;nbsp; Ultimate resources are initially determined in the pre-processor, but the user can override these estimates using either absolute values (&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039;) or multipliers (&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; There is also a parameter controlling the portion of unconventional oil that is economic to produce (&#039;&#039;&#039;&#039;&#039;enresorunce&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; For non-renewable energy types, i.e., fossil fuels, reserves increase with discoveries and decrease with production.&amp;amp;nbsp; The rate of discovery includes a base rate (&#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;) and an annual increment (&#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;).&amp;amp;nbsp; There are further adjustments related to the world energy price, the remaining resources, and the current rate of production.&amp;amp;nbsp; The user can control the effect of world prices on discovery (&#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039; &#039;&#039;&#039;) and can also intervene with a discovery multiplier (&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039;).[[File:Eng5.png|frame|center|551x255px|Visual representation of energy resources and reserves]]&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:xx-large;&amp;quot;&amp;gt;Energy Equations&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
=== Overview ===&lt;br /&gt;
&lt;br /&gt;
This section of the Help system will present and discuss the equations that are central to the functioning of the energy model: supply, demand, trade, stocks, price, investment, economic linkages, capital, natural resources and energy indicators.&amp;amp;nbsp; Here we follow the order of calculations in all years but the first, noting specific calculations that are made in the first year or pre-processor as necessary.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Demand&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The key energy demand variable in IFs, ENDEM, tracks total primary energy demand.&amp;amp;nbsp; For the most part, IFs does not represent the transformation of this primary energy into final energy forms, or end-user energy demand.&amp;amp;nbsp; The one exception relates to electricity use, which is described in the documentation of the Infrastructure model.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In the first year, total primary energy demand is calculated as an apparent demand, with attention paid to stocks and expected growth in production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEM_{r,t=1}=\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1}-ENST_{r,t=1}*AVEPR_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENP, ENM, ENX, ENST, and AVEPR are energy production, energy imports, energy exports, energy stocks, and an average of the expected growth in production across all energy types.&amp;amp;nbsp; The calculations of the initial values of these variables are described later in the Equations section under the appropriate headings.&lt;br /&gt;
&lt;br /&gt;
Note that this calculation does not directly use the historical data on total primary energy demand and there can be a significant difference between the initialized value of ENDEM and the actual historical data for the base year.&amp;amp;nbsp; This information is used by the variable ENDEMSH, which is described in the Infrastructure documentation.&lt;br /&gt;
&lt;br /&gt;
In future years, the calculation of total primary energy demand begins with an estimate of the predicted amount of energy demand per unit of GDP (in PPP terms), compendemperunit, as a function of GDP per capita (in PPP terms).[1] This function is show in the figure below[2]:[[File:Eng6.png|frame|right|Total primary energy demand]]&lt;br /&gt;
&lt;br /&gt;
A small amount, 0.0005, is added to this computed value to account for the fact that the demand data used to estimate the function above is less than apparent demand globally.&lt;br /&gt;
&lt;br /&gt;
The initial data for countries is unlikely to fall exactly on this function.&amp;amp;nbsp; To reconcile this fact, IFs calculates values for both predicted energy demand per unit GDP in the first year, compendemperuniti, and empirical demand per unit GDP (in PPP terms) in the first year, actendemperuniti. &amp;amp;nbsp;Over a time period controlled by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;, IFs gradually adjusts the difference between these two values so that the estimate of energy demand per unit GDP (in PPP terms) eventually does fall on the function.&lt;br /&gt;
&lt;br /&gt;
IFs then calculates an initial estimate of total energy demand, endemba, by multiplying this adjusted value of energy demand per unit GDP (in PPP terms), endemperunit, by GDP (in PPP terms).[3]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endemba_r=GDPP_r*endemperunit_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IFs then considers the effect of price on total primary energy demand.&amp;amp;nbsp; IFs keeps track of the global energy price as both an index (WEP, base year = 100) and as an actual dollar value (WEPBYEAR, $ per BBOE). It also tracks a country level energy price index (ENPRI, base year =100).[4]&amp;amp;nbsp; Finally, it can also consider a tax on carbon, expressed by the variable CarTaxEnPriAdd, which has the units $ per BBOE.&lt;br /&gt;
&lt;br /&gt;
The calculation of the effect of prices on total energy begins with the calculation of a variable called renpri. &amp;amp;nbsp;renpri is a moving average country-level price index that starts at the level of the country level price index in the base year, ENPRII, and then tracks changes in world energy prices and country-level carbon taxes.[5]&amp;amp;nbsp; The historical weight is controlled by the parameter &#039;&#039;&#039;&#039;&#039;ehw&#039;&#039; &#039;&#039;&#039;, so that:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;renpri_{r,t}=\mathbf{ehw}*renpri_{r,t-1}+(1-\mathbf{ehw})*(WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*renpri is the moving average country level price index&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;ehw&#039;&#039; &#039;&#039;&#039; is the weight given to the historical value of renpri&lt;br /&gt;
*&#039;&#039;WEP&#039;&#039; is the global energy price index&lt;br /&gt;
*&#039;&#039;WEPBYEAR&#039;&#039; is the global energy price in $ per BBOE&lt;br /&gt;
*CarTaxEnPriAdd is the country level carbon tax in $ per BBOE of total energy and is calculated as the exogenous value of the carbon tax in $ per ton of carbon, &#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039;, times a production weighted average of the carbon contents of oil, gas, and coal, &#039;&#039;&#039;&#039;&#039;carfuel1-3&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CarTaxEnPri_r=\frac{\sum_e(ENP_{r,e}*\mathbf{carfuel_e})}{\sum_eENP_{r,e}}*\mathbf{carbtax_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The parameter specifying the price elasticity of energy demand, &#039;&#039;&#039;&#039;&#039;elasde&#039;&#039; &#039;&#039;&#039;, is adjusted based on the relationship between renpri and and ENPRII to yield a new parameter, elasadjusted.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;elasadjusted_r=\mathbf{elasde_r}*\frac{ENPRII_r}{renpri_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This, in effect, decreases the price elasticity of energy demand as prices increase.&lt;br /&gt;
&lt;br /&gt;
This adjusted elasticity is then used to calculate the impact on energy demand, elasterm, as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;elasterm_r=1+\frac{renpri_r+ENPRII_r}{ENPRII_r}*elasadjusted_{r^6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The user can also introduce a further adjustment to total primary energy demand with a multiplier, &#039;&#039;&#039;&#039;&#039;endemm&#039;&#039; &#039;&#039;&#039;, yielding:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEM_r=endemba_r*elasterm_r*\mathbf{endemm_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IFs makes a final adjustment to total primary energy demand related to changes in energy efficiency of the economy unrelated to prices.[6]&amp;amp;nbsp;All countries receive an annual boost in energy efficiency related to technology given by the parameter &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, if a country is not a major energy exporter and its economy is less energy efficient than the global average, measured as ENDEM divided by GDP (in PPP terms)[7], it gets an additional boost to its energy efficiency.&amp;amp;nbsp; This effect is cumulative, so ENDEM is adjusted as follows:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEM_r=ENDEM_r*(1+\frac{EnRGDPGRCalc_r}{100})^{iy}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*EnRGDPGRCalc is the annual average boost in energy efficiency&lt;br /&gt;
*iy is the number of years since the base year plus 1&lt;br /&gt;
&lt;br /&gt;
Finally, IFs makes an initial estimate of energy use per unit GDP in MER terms, ENRGDP.&amp;amp;nbsp; An estimate of GDP based on the previous year’s GDP in MER terms and a growth rate is used due to the order of calculations, but this is corrected later in the model sequence.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1] Here, IFs uses GDP from the previous time cycle, with an estimate of growth, to calculate GDPPCP, because the recursive structure of IFs computes current GDP later.&amp;amp;nbsp; The current value of population, POP, has already been computed at this stage.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
[2] The exact equation is compendemperunit = 0.0023428 -0.0003878*ln(GDPPCP).&lt;br /&gt;
&lt;br /&gt;
[3]&amp;amp;nbsp;Again, IFs uses GDP from the previous time cycle here, because the recursive structure of IFs computes current GDP later.&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[4]&amp;amp;nbsp;The model also has a variable representing the price index in each economic sector, one of which is energy. This value is stored in the variable PRI, which uses an index value of 1 in the base year.&amp;amp;nbsp; ENPRI and PRI (energy) track each other, with former having a value 100 times that of the latter due to the different initial index values.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
[5]&amp;amp;nbsp;Because energy prices and carbon taxes are computed later in the model sequence, the previous year’s values are used here.&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[6]&amp;amp;nbsp;This is generally referred to as autonomous energy efficiency improvement, or aeei.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;ftn2&amp;quot;&amp;gt;&lt;br /&gt;
[7]&amp;amp;nbsp;An estimate of this year’s GDPP based on the previous year’s GDPP and a growth rate is used here due to the order of calculations.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Supply&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The computation of energy production (ENP) is considerably easier than that of gross sectoral production in the economic model or of agricultural production in the agricultural model.&amp;amp;nbsp; Only capital is considered important as a factor of production (not labor, land, or even weather).&amp;amp;nbsp; Energy production is initially estimated by dividing the quotient of capital in each energy category (ken) and the appropriate capital-to-output ratio (QE).&amp;amp;nbsp; A multiplier, &#039;&#039;&#039;&#039;&#039;enpm&#039;&#039; &#039;&#039;&#039;, can be used to increase or decrease production.&amp;amp;nbsp; This yields:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP1_{r,e}=\frac{ken_{r,e}}{QE_{r,e}}*\mathbf{enpm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The dynamics of the capital-to-output ratios, QE, are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Known reserves (RESER) and exogenously specified maximums pose constraints on production of certain energy types.&amp;amp;nbsp; The affected energy types are oil, gas, coal, and hydro.&amp;amp;nbsp; The impact of reserves is felt via a limit on the fraction of reserves that can be produce in any year. Specifically, the reserve-to-production ratio may not fall below the value of &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;, which is initially set in the pre-processor, but can be overridden by the user. &amp;amp;nbsp;In addition, as the actual reserve-to-production ratio approaches this limit, its rate of decrease is limited.&amp;amp;nbsp; The exogenously specified maximums apply only to oil, gas, and coal, and are given by the parameters &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This yields a second estimate for energy production, given as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP2_{r,e}=MIN(\frac{RESER_{r,e}}{MAX(\mathbf{prodtf}_{r,e},sResProdR_{r,e}-1)},enpmax_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e only applies to oil, gas, coal, and hydro&lt;br /&gt;
*&#039;&#039;enpmax&#039;&#039; takes on the value &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, and &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039;,depending upon the fuel.&lt;br /&gt;
*sResProdR is the reserve-to-production ratio from the previous year; this limit only takes effect when sResProdR falls below 30 and remains above &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
IFs then selects the minimum of ENP1 and ENP2 as the estimate of energy production ENP.&amp;amp;nbsp; The dynamics of energy reserves are discussed in [[Energy#Resources_and_Reserves:_Capital-to-Output_Ratios_and_Discoveries|this section]].&lt;br /&gt;
&lt;br /&gt;
Two final adjustments are made to energy production.&amp;amp;nbsp; The first accounts for capacity utilization, &#039;&#039;CPUTF&#039;&#039;, and the second only comes into play when a restriction is placed on energy exports.&amp;amp;nbsp; Since these are not calculated until the calculation of energy stocks and shortages, they are described in the appropriate places in the [[Energy#Domestic_Energy_Stocks|Domestic Energy Stocks]] section and the [[Energy#Energy_Prices_and_Final_Adjustments_to_Domestic_Energy_Stocks_and_Capacity_Utilization|Energy Prices and Final Adjustments]] section.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Trade&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The energy model in IFs keeps track of trade in energy in physical quantities; the trade in energy in monetary terms is handled in the economic model. &amp;amp;nbsp;As opposed to the agricultural model, where trade in crops, meat, and fish are treated separately, the energy model considers trade in energy in the aggregate.&amp;amp;nbsp; Furthermore, it only considers production from oil, gas, coal, and hydro as being available for export.&amp;amp;nbsp; Finally, as with other aspects of trade, IFs uses a pooled trade model rather than representing bilateral trade.&lt;br /&gt;
&lt;br /&gt;
The first estimate of energy imports and exports by country are determined based upon a country’s propensity to export, propensity to import, and moving averages of its energy production and demand.&lt;br /&gt;
&lt;br /&gt;
The moving average of energy production, identified as smoothentot, is calculated simply as a moving average of production of energy from oil, gas, coal, and hydro. In the first year of the model:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t=1}=EnTot_{r,t=1}=\sum_eENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
In future years,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothentot_{r,t}=0.9*smoothentot_{r,t-1}+0.1*\sum_eENP_{r,e,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, coal, and hydro&lt;br /&gt;
&lt;br /&gt;
The moving average of energy demand, identified as smoothpendem has a few more nuances, particularly after the first year.&amp;amp;nbsp; In the first year, IFs calculates:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t=1}=ENDEM_{r,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In future years, rather than using the value of ENDEM calculated earlier, the model uses a slightly different measure of energy demand, referred to as pendem.&amp;amp;nbsp; pendem differs from ENDEM in two main ways:&lt;br /&gt;
&lt;br /&gt;
1. rather than using the moving average country-level price index, renpri, to calculate the effect of prices on energy demand, it uses only current values:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PEnPri_{r,t}=WEP_{t-1}+CarTaxEnPriAdd_{r,t-1}*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. it does not include the additional boost in energy efficiency beyond &#039;&#039;&#039;&#039;&#039;enrgdpr&#039;&#039; &#039;&#039;&#039; in calculating the autonomous changes in energy efficiency&lt;br /&gt;
&lt;br /&gt;
Thus, in future years, we have&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothpendem_{r,t}=0.8*smoothpendem_{r,t-1}+0.2*pendem_{r,t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A country’s propensities to import and export energy are given by the variables MKAVE and XKAVE.&amp;amp;nbsp; These are moving averages of the ratios of imports to an import base related to energy demand and exports to an export base related to energy production and demand, respectively.&amp;amp;nbsp; MKAVE is initialized to the ratio of energy imports to energy demand in the first year.&amp;amp;nbsp; A maximum value, MKAVMax is also set at this time to the maximum of 1.5 times this initial value or the value of the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; XKAVE is initialized to the ratio of energy exports to the sum of energy production from oil, gas, coal and hydro and energy demand from all energy types in the first year.&amp;amp;nbsp; Its maximum value, XKAVMAX is set to the maximum of this initial value and the parameter &#039;&#039;&#039;&#039;&#039;trademax&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; The updating of MKAVE and XKAVE occur after the calculation of imports and exports, so we will return to that at the end of this section.&lt;br /&gt;
&lt;br /&gt;
The initial estimates of energy exports, ENX, and energy imports, ENM, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MIN(XKAVE_r,XKAVMAX_r)*exportbase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MIN(MKAVE_r*pendem_r,MKAVMAX_r*smoothpendem_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;exportbase_r=smoothentot_r+smoothpendem_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, IFs makes some adjustments to energy imports and exports depending upon whether a country is considered in energy surplus or deficit.&amp;amp;nbsp; Where a country sits in this regard involves considering domestic and global stocks in addition to current production and demand.&lt;br /&gt;
&lt;br /&gt;
Domestic energy stocks are computed as the sum of stocks carried over from the previous year, while also considering any shortages&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;stocks_{r,t}=ENST_{r,t-1}-ENSHO_{r,t-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A stock base is also calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;StBase_r=smoothpendem_r+smoothpendemr&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ratio of stocks to StBase can be defined as domesticstockratio. A moving average of a trade base, smoothtradebase, is also calculated for each country:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradebase_{r,t}=MAX(ENDEM_r,0.9*smoothtradebase_{r,t-1}+0.1*2*(ENX_r+ENM_r))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;smoothtradbase_{r,t+1}=MAX(ENDEM_{r,t=1},2*(ENX_{r,t=1}+ENM_{r,t=1}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy stocks, GlobalStocks, and the global stock base, GlobalStBase, are the sum of the domestic stocks and stock bases across countries, and the value of the globalstockratio is defined as GlobalStocks divided by GlobalStBase.&lt;br /&gt;
&lt;br /&gt;
For each country, the level of deficit or surplus, endefsurp, is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;endefsurp_r=(globalstockratio-domesticstockratio_r)*StBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies that if a countries stock ratio is less (greater) than the global average, it is considered in deficit (surplus).&lt;br /&gt;
&lt;br /&gt;
If a country is in deficit, i.e., endefsurp &amp;gt; 0, IFs will act to reduce its exports and increase its exports.&amp;amp;nbsp; The recomputed value of exports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=MAX(0.5*ENX_r,ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy exports is determined by the ratio of the level of deficit to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
with a maximum level given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENMMax_r=ENM_r+(\frac{pendem_r*MKAVMAX_r-ENM_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, if a country is in surplus, i.e., endefsurp &amp;lt; 0, IFs will act to increase exports and reduce imports.&amp;amp;nbsp; The amount of increase in exports is controlled, in part, by the exchange rate for the country, EXRATE, specifically its difference from a target level of 1 and its change from the previous year.&amp;amp;nbsp; As with other adjustment factors of this type, the ADJSTR function is used, yielding a factor named mul.&amp;amp;nbsp; After first multiplying ENX by a value that is bound from above by 1.05 and from below by the maximum of 0.95 and mul, the recomputed value of ENX is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=ENX_r*(1-\frac{endefsurp_r}{smoothtradebase_r})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, a maximum level is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENXMax_r=ENX_r+(\frac{exportbase_r*XKAVMAX_r-ENX_r}{5})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039; this maximum value is computed prior to the adjustments to ENX noted above.&lt;br /&gt;
&lt;br /&gt;
The recomputed value of imports is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=MAX(0.5*ENM_r,ENM_r*(1+\frac{endefsurp_r}{smoothtradebase_r}))&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In words, the decrease in energy imports is determined by the ratio of the level of surplus to the smoothed trade base, but can be no greater than 50 percent.&lt;br /&gt;
&lt;br /&gt;
Because of the frequent use and importance of government trade restrictions in energy trade, model users may want to establish absolute export (&#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;) &amp;amp;nbsp;or import (&#039;&#039;&#039;&#039;&#039;enml&#039;&#039; &#039;&#039;&#039;) limits, which can further constrain energy exports and imports.&amp;amp;nbsp; An export constraint may also affect the production of oil and gas as described in the next section.&lt;br /&gt;
&lt;br /&gt;
As it is unlikely that the sums of these values of ENX and ENM across countries will be equal, which is necessary for trade to balance.&amp;amp;nbsp; To address this, IFs computes actual world energy trade (WET) as the average of the global sums of exports and imports.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WET=\frac{\sum_rENX_r+\sum_rENM_r}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and recomputes energy exports and imports, as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENX_r=WET*\frac{ENX_r}{\sum_rENX_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENM_r=WET*\frac{ENM_r}{\sum_rENM_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This maintains each country’s share of total global energy exports and imports.&lt;br /&gt;
&lt;br /&gt;
IFs can now update the moving average export (XKAVE) and import (MKAVE) propensities for the next time step.&amp;amp;nbsp; This requires historic weights for exports (&#039;&#039;&#039;&#039;&#039;xhw&#039;&#039; &#039;&#039;&#039;) and imports (&#039;&#039;&#039;&#039;&#039;mhw&#039;&#039; &#039;&#039;&#039;), yielding the equations:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XKAVE_{r,t+1}=XKAVE_r*\mathbf{xhw}+(1-\mathbf{xhw})*\frac{ENX_r}{exportbase_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MKAVE_{r,t+1}=MKAVE_r*\mathbf{mhw}+(1-\mathbf{mhw})*\frac{ENM_r}{smoothpendem_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further adjustment is made related to the import propensity, MKAVE, related to the difference between this propensity and a target level, ImportTarget, and the change in this difference since the previous year. &amp;amp;nbsp;This target starts at the level of MKAVE in the first year and gradually declines to 0 over a 150 year period.&amp;amp;nbsp; As in many other situations in IFs, this process makes use of the ADJUSTR function to determine the adjustment factor.&amp;amp;nbsp; The value of mulmlev is not allowed to exceed 1, so its effect can only be to reduce the value of MKAVE.&lt;br /&gt;
&lt;br /&gt;
Finally, XKAVE and MKAVE are checked to make sure that they do not exceed their maximum values, XKAVMAX and MKAVMAX, respectively.&lt;br /&gt;
&lt;br /&gt;
[1] The previous year’s values of WEP and CarTaxEnPriAdd are used as the current year’s values are not calculated until later in the model sequence.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Domestic Energy Stocks&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs sets a target for energy stocks in each country as a fraction of a domestic stock base, StBase, which was defined earlier as the sum of a moving average of energy demand, smoothpendem, and a moving average of the production of oil, gas, coal, and hydro, smoothentot.&amp;amp;nbsp; This fraction is defined by the parameter &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Stocks are initialized in the first year as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039;multiplied by the initial domestic stock base, which is the sum of production of all energy types and an estimated value of apparent energy demand.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_{r,t=1}=\mathbf{dstlen}*(\sum_cENP_{r,e,t=1}+ENDEMEst_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*ENDEMEst is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENDEMEst_r=(1-\mathbf{dstlen}*AVEPR_r)*\sum_eENP_{r,e,t=1}+ENM_{r,t=1}-ENX_{r,t=1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e includes all energy types&lt;br /&gt;
*AVEPR is a weighted average energy production growth rate&lt;br /&gt;
&lt;br /&gt;
In future years, IFs begins by summing the moving average energy demand, smoothpendem, across countries, storing this value as WENDEM and the same for moving average energy production from oil, gas, coal, and hydro, smoothentot, which it stores as WorldEnp.&amp;amp;nbsp; It also sums the moving average energy demand just for countries that have low propensity for exports, XKAVE &amp;lt; 0.2, and stores this value as WEnDemIm.&lt;br /&gt;
&lt;br /&gt;
At this point, IFs adjusts energy production by multiplying by a capacity utilization factor, CPUTF, which is assumed to be the same for all energy types in a country.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENP_{r,e}=ENP_{r,e}*CPUTF_r&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
The value of CPUTF is initialized to 1 in the first year.&amp;amp;nbsp; How it changes in time is described in the next section after the description of the calculation of the domestic price index.&lt;br /&gt;
&lt;br /&gt;
An initial estimate of energy stocks, ENST, is then calculated as the previous year’s stocks augmented by production and imports and reduced by use and exports&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENST_r=ENST_{r,t-1}+-ENDEM_r-ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If after this calculation, there are excess stocks, i.e., ENST &amp;gt; &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and there is an export constraint, given by &#039;&#039;&#039;&#039;&#039;enxl&#039;&#039; &#039;&#039;&#039;, adjustments are made to the production of oil and gas&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;, and, in turn, to energy stocks.&amp;amp;nbsp; The total reduction in oil and gas production is given as the amount of excess stocks, with a maximum reduction being the total amount of oil and gas production.&amp;amp;nbsp; This total amount of reduced production is then shared proportionately between oil and gas.&amp;amp;nbsp; The total reduction is also removed from ENST.&lt;br /&gt;
&lt;br /&gt;
Later, after the determination of prices, ENST is modified to: 1) ensure that they are not less than zero and 2) to account for any global shortfalls.&amp;amp;nbsp; These modifications are described in the next section.&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;This is the first of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&lt;br /&gt;
[2] This is the second of the two adjustments to energy production noted at the end of the [[Energy#Energy_Supply|Energy Supply]] section.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Prices and Final Adjustments to Domestic Energy Stocks and Capacity Utilization&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;IFs keeps track of separate domestic, ENPRI, and world, WEP, energy price indices, that apply to all forms of energy.&amp;amp;nbsp; These are initialized to a value of 100 in the first year.&amp;amp;nbsp; It also tracks the world energy price in terms of dollars per BBOE, WEPBYEAR, which is initialized as a global parameter.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;A number of pieces are needed for the calculation of energy prices.&amp;amp;nbsp; These include a world stock base, wstbase, world energy stocks, wenst, world energy production by energy type, WENP, world energy capital, WorldKen, and a global capital output ratio, wkenenpr.&amp;amp;nbsp; These are calculated as follows:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wstkbase=\sum_rStBase_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wenstks=\sum_r(ENST_r-ENSHO_{r,t-1})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum_rENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldKen=\sum_r\sum_e(ken_e*\frac{CPUTF_r}{MAX(5,\mathbf{lke_e})})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*ENSHO is domestic energy shortage (described below)&lt;br /&gt;
*ken is capital for each energy type&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;lke&#039;&#039; &#039;&#039;&#039; is the average lifetime of capital for each energy type&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;In cases when at least one country has an exogenous restriction on the production of oil, i.e., enpm(oil) &amp;lt; 1 for at least one country, a few additional variables are calculated:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;GlobalShortFall=\sum_r\sum_eMax(0,ENP_{r,e,t-1}-1.05*ENP_{r,e,t})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WorldEnProd=\sum_eWENP_e&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ShortFallSub=GlobalShortFall*MIN(10,\frac{WorldEnProd}{WENP(oil)})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Otherwise these three variables all take on a value of 0.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;These values are used to calculate an adjustment factor driven by global energy stocks that affects domestic energy prices.&amp;amp;nbsp; The effect in the current year, wmul, is calculated using the ADJSTR function, which looks at the difference between world energy stocks, wenstks and the desired level, given by &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase, and the change in world energy stocks from the previous year.&amp;amp;nbsp; The presence of an exogenous restriction on the production of oil has two effects on the calculation of wmul.&amp;amp;nbsp; First, the value of ShortFallSub affects the two differences that feed into the ADJSTR function.&amp;amp;nbsp; Second, the elasticities applied in the ADJSTR function are tripled.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The adjustment factor calculated in the current year is not applied directly to the calculation of domestic energy prices.&amp;amp;nbsp; Rather, a cumulative value, cumwmul, is calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;cumwmul_t=cumwmul_{t-1}*(1+(wmul-1)*\mathbf{eprohw})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Other factors affect the domestic energy price index – domestic energy stocks, possible cartel price premiums, &#039;&#039;&#039;&#039;&#039;encartpp&#039;&#039; &#039;&#039;&#039;, the first year value of the world energy price index, IWEP, changes in the global capita output ratio from the first year, whether the user has set a global energy price override. &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;and whether there are any restriction on oil production.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy stocks affect a country-specific “markup” factor, MarkUpEn.&amp;amp;nbsp; This starts at a value of 1 and changes as a function of the value of mul, which is calculated using the ADJSTR function.&amp;amp;nbsp; Here the differences are those between domestic energy stocks and desired stocks, given as &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * StBase, and the changes in energy stocks from the previous year.&amp;amp;nbsp; Shortages from the previous year are also taken into account.&amp;amp;nbsp; The user can also control the elasticities used in the ADJSTR function with the parameters &#039;&#039;&#039;&#039;&#039;epra&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eprafs&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; This markup evolves over time as&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MarkUpEn_{r,t}=MarkUpEn_{r,t-1}*mu&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;The domestic energy price index, ENPRI, is first calculated as:&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=\mathbf{X}*mul_r*cumwmul+\mathbf{encartpp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; = &#039;&#039;&#039;&#039;&#039;enprixi&#039;&#039;, &#039;&#039;&#039;when this parameter is set to a value greater than 1 and IWEP otherwise&lt;br /&gt;
&lt;br /&gt;
It is then recomputed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPRI_r=MIN(ENPRI_r,ENPRI_{r,t-1}+\mathbf{encartpp}_t-\mathbf{encartpp}_{t-1}+\mathbf{X})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;X&#039;&#039;&#039; is 100 whenthere is a restriction on oil production in at least one country and 20 otherwise&lt;br /&gt;
&lt;br /&gt;
Furthermore, ENPRI is not allowed to fall by more than 10 in a given year.&lt;br /&gt;
&lt;br /&gt;
It is possible for the user to override this price calculation altogether.&amp;amp;nbsp; Any positive value of the exogenous country-specific energy price specification (&#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;) will do so.&lt;br /&gt;
&lt;br /&gt;
It is only now that a country’s energy stocks and shortages are finalized for the current year.&amp;amp;nbsp; If ENST is less than 0, then a shortage is recorded as ENSHO = -ENST and ENST is set to 0.&amp;amp;nbsp; In addition, for countries that have a low propensity for exports, XKAVE &amp;lt; 0.2, a share of any global shortfall is added to their shortage, with the share determined by the country’s share of moving average energy demand among those countries:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENSHO_r=ENSHO_r+GlobalShortFall*\frac{smoothpendem_r}{WEnDemIm}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The energy shortage enters the Economic model in the calculation of gross sectoral production.&lt;br /&gt;
&lt;br /&gt;
The same differences in domestic stock from their target level and their change since the previous year, taking into account shortages from the previous year, are used to update the value of capacity utilization in energy, CPUTF, which was introduced earlier.&amp;amp;nbsp; The multiplier affecting CPUTF, Mul, is calculated using the ADJSTR function, with elasticities given by &#039;&#039;&#039;&#039;&#039;elenpst&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpst2&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In addition, the capacity utilization is smoothed over time.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CPUTF_{r,t}=0.5*CPUTF_{r,t-1}+0.5*Mul&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value is further assumed to converge to a value of 1 over a period of 100 years and is bound to always have a value between 0.2 and 2.&lt;br /&gt;
&lt;br /&gt;
This still leaves the need to calculate the world energy price. &amp;amp;nbsp;IFs actually tracks a world price including carbon taxes, WEP, and a world price ignoring carbon taxes, WEPNoTax.&amp;amp;nbsp; Carbon taxes are ignored in cases where the energy price is set exogenously using &#039;&#039;&#039;&#039;&#039;enprix&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In both cases, the world energy price is a weighted average of domestic energy prices:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEP=\frac{TENP}{TENPRI}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPNoTax=\frac{TENP}{TENPRINoTax}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENP=\sum_r\sum_eENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRINoTax=\sum_r\sum_e(ENPRI_r*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TENPRI=\sum_r\sum_e((ENPRI_r+CarTaxEnPriAdd_r*\frac{WEP_{t=1}}{WEPBYEAR_{t=1}})*ENP_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*WEP and WEPBYEAR convert CarTaxEnPriAdd from $/BBOE to an index value&lt;br /&gt;
*the term with CarTaxEnPriAdd is ignored in countries with exogenous energy prices in a given year&lt;br /&gt;
*CarTaxEnPriAdd is&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Finally, the value of WEPBYEAR is computed as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WEPBYEAR=WEPBYEAR_{t=1}*\frac{WEP}{WEP_{t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Investment&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Investment in energy is relatively complex in IFs, because changes in investment are the key factor that allows us to clear the energy market in the long term.&amp;amp;nbsp; It is also different and perhaps slightly more complex in IFs than investment in agriculture.&amp;amp;nbsp; Whereas the latter involves computing a single investment need for agricultural capital, and subsequently dividing it between land and capital, in energy a separate demand or need is calculated for each energy type, based on profit levels specific to each energy type.&lt;br /&gt;
&lt;br /&gt;
We begin by calculating a total energy investment need (TINEED) to take to the economic model and place into the competition for investment among sectors.&amp;amp;nbsp; This investment need is a function of energy demand, adjusted by a number of factors, some global and some country-specific. To begin with, TINEED is calculated as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=ENDEM_r*mulendem*\frac{wkenenpri_t}{wkenenpri_{t-1}}*mulkenenpr*mulwst*mulstocks^{0.5}*mulrprof_r*mulrenew_r*sendeminvr_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*mulendem is the ratio of global energy demand per unit GDP in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{WENDEM_t/WGDP_t}{WENDEM_{t-1}/WGDP_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wkenenpri is the ratio of global energy capital to global energy production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wkenenpr=\frac{WorldKen}{WorldEnp}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulkenenpr is the ratio of wkenenpr in the current year to that in the previous year&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulkenenpr=\frac{wkenenpr_t}{wkenenpr_{t-1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*mulwst and mulstocks are factors related to global energy stocks. mulwst is calculated using the ADJSTR function, where: the first order difference is that between global energy stocks, wenstks, and desired global energy stocks, DesStocks = &#039;&#039;&#039;&#039;&#039;dstlen&#039;&#039; &#039;&#039;&#039; * wstbase; the second order difference is between the level of world energy stocks in the current year and those in the past year; and the elasticities are given by the parameters &#039;&#039;&#039;&#039;&#039;elenpr&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;elenpr2&#039;&#039; &#039;&#039;&#039;. mulstocks is also related to global energy stocks, but is more directly related to the desired level of global energy stocks:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulstocks=\frac{DesStocks}{MAX(0.5*DesStocks,MIN(4*DesStocks,enstks))}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that mulstocks will always take on a value between ¼ and 4.&lt;br /&gt;
&lt;br /&gt;
*mulrprof is a function of the expected level of profits in the energy sector as a whole in a country, EPROFITR.&amp;amp;nbsp; Energy profits are calculated as the ratio of returns, EnReturn, to costs, ProdCosts.&amp;amp;nbsp; EPROFITR is actually a moving average of these profits relative to those in the base year, with a historical weighting factor controlled by the parameter &#039;&#039;&#039;&#039;&#039;eprohw&#039;&#039; &#039;&#039;&#039;.&amp;amp;nbsp; In full, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=WEPNoTax*\sum_eENP_{r,e}&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ProdCost_r=\sum_e\frac{ken_{e,r}}{MAX(5,\mathbf{lke_e})}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturn_r=\frac{EnReturn_r}{ProdCost_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EPROFIT_{r,t}=\mathbf{eprohw}*EPROFIT_{r,t-1}+(1-\mathbf{eprohw})*\frac{EnReturn_{r,t}}{EnReturn_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now calculate mulrprof using the ADJSTR function.&amp;amp;nbsp; The first order difference is between the current value of EPROFITR and a target value of 1; the second order difference is the change in the value of EPROFITR from the previous year; the elasticities applied to these differences are given by the parameters &#039;&#039;&#039;&#039;&#039;eleniprof&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;eleniprof2&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
*mulrenew is a function of the share of other renewables in the energy mix in a country.&amp;amp;nbsp; It is assigned a value of 1 unless the production of energy from renewables exceeds 70% of total energy demand.&amp;amp;nbsp; If so, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mulrenew_r=MAX(0.5,1-(\frac{ENP_{r,renew}}{ENDEM_r}-0.7)*1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given these conditions, mulrenew can take on values between 0.5 and 1, with larger values associated with larger amounts of renewable production.&lt;br /&gt;
&lt;br /&gt;
*sendeminvr is a moving average of the ratio of investment need to energy demand in a country, with an accounting for changes in the global capital production ratio since the first year and is updated as&amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;sendeminvr_{r,t+1}=0.95*sendeminvr_{r,t}+0.05*\frac{TINEED_{r,t}}{ENDEM_{r,t=1}}*\frac{wkenenpr_{t=1}}{wkenenpr_t}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this initial calculation, two further adjustments are made to TINEED.&amp;amp;nbsp; The first is a reduction related to a possible reduction of inventory, invreduc, carried over from the previous year.&amp;amp;nbsp; The calculation of invreduc is described later in this section, where we look at reductions in investment in specific energy types due to resource constraints or other factors. The effect on TINEED is given as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=TINEED_r-MIN(0.7*invreduc_{r,t-1},0.6*TINEED_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the reduction in TINEED can be no more than 60 percent.&lt;br /&gt;
&lt;br /&gt;
Finally, the user can adjust TINEED with the use of the multiplier &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Before this total investment need, TINEED, is passed to the Economic model, there is a chance that it may need to be further reduced.&amp;amp;nbsp; This depends on the calculation of a bound, TINeedBound.&amp;amp;nbsp; TINeedBound arises from a bottom-up calculation of the investment needs for each energy type individually, ineed.&amp;amp;nbsp; These depend upon the profits for each energy type and any possible bounds on production related to reserves and other factors.&lt;br /&gt;
&lt;br /&gt;
As with the estimate of total profits to energy, the returns by energy type depend upon production and costs.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnReturnS_{r,e}=\frac{ENP_{r,e}}{EnCost_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the non-fossil fuel energy types – hydro, nuclear, and other renewable – EnCost is based solely on capital depreciation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = hydro, nuclear, renew&lt;br /&gt;
&lt;br /&gt;
For the fossil fuel energy types – oil, gas, and coal – we must also consider any possible carbon taxes. EnCost is calculated as&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;EnCost_{r,e}=\frac{ken_{r,e}}{\mathbf{lke_e}}+ENP_{r,e}*\mathbf{carfuel}_e*\mathbf{carbtax}_r+MAX(-0.5*\frac{ken_{r,e}}{\mathbf{lke_e}},ENP_{r,e}*(\mathbf{carfuel}_e-AvgCarFuel)*emtax_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, coal, gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carfuel&#039;&#039; &#039;&#039;&#039; is the carbon content of the fuel in tons per BBOE&lt;br /&gt;
*AvgCarFuel is the unweighted arithmetic average of the carbon content of oil, gas, and coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;carbtax&#039;&#039; &#039;&#039;&#039; is an exogenously specified country-specific carbon tax in $ per BBOE&lt;br /&gt;
*emtax is the number of years since the first year plus one multiplied by 2&lt;br /&gt;
&lt;br /&gt;
The change in eprofitrs from the first year is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;eprofitrs_{r,e}=\frac{EnReturnS_{r,e,t}}{EnReturnS_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An average return, avgreturn, is calculated as the weighted sum of the individual returns:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;avgreturn_r=\sum_e(ENP_{r,e}*EnReturnS_{r,e})smoothentot_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Investment need by energy type, ineed, grows in proportion to capital and as a function of relative profits.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e,t}=ineed_{r,e,t=1}*\frac{ken_{r,e,t}}{ken_{r,e,t=1}}*eprofitrs^{elass_{r,e}}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;elass&#039;&#039; &#039;&#039;&#039; are country and energy-specific user controlled parameters&lt;br /&gt;
&lt;br /&gt;
At this point, ineed is checked to make sure that it does not fall by more than 20% or increase by more than 40% in any single year.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Also, if the user has set an exogenous target for production growth, i.e., &#039;&#039;&#039;&#039;&#039;eprodr&#039;&#039; &#039;&#039;&#039; &amp;gt; 0, all of the above is overridden and ineed is calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=\frac{ken_{r,e}*(1+\mathbf{enprodr}_e)}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These investment needs are checked to make sure that they do not exceed what the known reserve base can support.&amp;amp;nbsp; This applies only to oil, gas, coal, and hydro. An initial estimate of the maximum level of investment is given by:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(\frac{RESER_{r,e}}{\mathbf{prodtf}_{r,e}}-\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&amp;lt;div&amp;gt;&lt;br /&gt;
The first term in parentheses, when multiplied by QE, indicates the amount of capital that would be necessary in order to yield the maximum level of production given the lower bound of the reserve production ratio, &#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039;. The second term is simply the current level of capital and the third term indicates the level of depreciation of existing capital.&amp;amp;nbsp; This implies that countries will not make investments beyond those that would give it the maximum possible level of production for a given energy type.&lt;br /&gt;
&lt;br /&gt;
At the same time, IFs assumes there is a minimum level of investment, which is basically 30% of the capital depreciated during the current year:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;mininv_{r,e}=0.3*\frac{ENP_{r,e}}{\mathbf{lke}_e}*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal, or hydro&lt;br /&gt;
&lt;br /&gt;
In cases where the current production of oil, gas, or coal already equals or exceeds the exogenously specified maximum for a country – &#039;&#039;&#039;&#039;&#039;enpoilmax&#039;&#039; &#039;&#039;&#039;, &#039;&#039;&#039;&#039;&#039;enpgasmax&#039;&#039; &#039;&#039;&#039;, or &#039;&#039;&#039;&#039;&#039;enpcoalmax&#039;&#039; &#039;&#039;&#039; – maxinv is set equal to mininv.&amp;amp;nbsp; This again avoids useless investment.&lt;br /&gt;
&lt;br /&gt;
A further constraint is placed on the maximum investment level in capital for hydro production.&amp;amp;nbsp; This is done by simply replacing RESER/&#039;&#039;&#039;&#039;&#039;prodtf&#039;&#039; &#039;&#039;&#039; in the calculation of maxinv with the value ENDEM * EnpHydroDemRI * 2, where EnpHydroDemRI is the ratio of energy produced by hydro in the base year to total energy demand in that year.&amp;amp;nbsp; In other words, the growth in energy production from hydro in the current year from the first year cannot exceed twice the growth in total energy demand over that period, even if reserves are available, and capital investments are restricted accordingly.&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxHydroProd_{r,t}=2*\frac{ENDEM_{r,t}}{ENDEM_{r,t=1}}*ENP_{r,Hydro,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The constraints placed on investment in nuclear energy differ somewhat from these other fuels. IFs does not have an explicit measure of reserves for nuclear.&amp;amp;nbsp; Rather, it is assumed that the growth in capital in nuclear energy cannot exceed 1 percent of existing capital plus whatever is required to account for depreciation:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;maxinv_{r,e}=(0.01*\frac{ken_{r,e}}{QE_{r,e}}+\frac{ENP_{r,e}}{\mathbf{lke}_e})*QE_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = nuclear&lt;br /&gt;
&lt;br /&gt;
Also, the minimum level of investment for nuclear energy is assumed to be 50 percent of the capital depreciated in the current year, rather than 30 percent as with oil, gas, coal, and hydro.&lt;br /&gt;
&lt;br /&gt;
There is no limit to the investments in capital for other renewables.&lt;br /&gt;
&lt;br /&gt;
Given these restrictions, the investment needs for oil, gas, coal, hydro, and nuclear are updated so that mininv &amp;lt;= ineed &amp;lt;= maxinv.&amp;amp;nbsp; Any reductions from the previous estimates of ineed are summed across energy types to yield the value of invreduc, which will affect the estimate of TINEED in the following year as described earlier.&lt;br /&gt;
&lt;br /&gt;
The final estimates of ineed for each energy type are summed to yield TINeedBound.&amp;amp;nbsp; If TINEED is greater than TINEEDBOUND, then TINEED is recalculated as the average of the two:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;TINEED_r=0.5*(TINEED_r+TINeedBound_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This value of TINEED is passed to the Economic model as IDS&amp;lt;sub&amp;gt;energy&amp;lt;/sub&amp;gt;,&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;IDS_{r,s=energy}=sidsf_r*TINEED_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*sidsf is an adjustment coefficient converting units of energy capital into monetary values. This gradually converges to a value of 1 after a number of years specified by the parameter &#039;&#039;&#039;&#039;&#039;enconv&#039;&#039; &#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
In the Economic model, the desired investment in energy must compete with other sectors for investment (see more about linkages between the Energy and Economic models in section 3.7).&amp;amp;nbsp; Once these sectoral investments are determined, a new value for investments in the energy sector, IDS&amp;lt;sub&amp;gt;s=energy&amp;lt;/sub&amp;gt;, is passed back to the Energy model.&amp;amp;nbsp; The adjustment coefficient is then applied to yield:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;inen_r=\frac{IDS_{r,s=energy}}{sidsf_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the meantime, the desired investment for each energy type can be modified with a country and energy-type specific parameter &#039;&#039;&#039;&#039;&#039;eninvtm&#039;&#039; &#039;&#039;&#039;, and a new value of TINEED is calculated as the sum of these new levels of desired investment.&amp;amp;nbsp; The amount of the available investment, inen, going to each energy type is then calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ineed_{r,e}=inen_r*\frac{ineed_{r,e}*\mathbf{eninvtm}_{r,e}}{TINEED_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., all energy types receive the same proportional increase or decrease in investment.&lt;br /&gt;
&lt;br /&gt;
These investments are then translated into units of capital, KEN_Shr,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;KENShr_{r,e}=ineed_{r,e}-\frac{ken_{r,e}}{\mathbf{lke}_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The new level of capital is determined as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ken_{r,e,t+1}=(ken_{r,e,t}+KENShr_{r,e})*(1-CIVDM_r)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*CIVDM is an exogenous factor reflecting civilian damage from war&lt;br /&gt;
&lt;br /&gt;
Note that there is no guarantee that KEN_Shr is positive, so it is theoretically possible for ken to fall below 0; IFs checks to make sure that this does not happen.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[1]&amp;amp;nbsp;World energy price is used to provide stability. The no tax world energy price is used as taxes do not contribute to returns.&lt;br /&gt;
&lt;br /&gt;
[2] Note the careful use of the time subscripts. sendeminvr is not updated until after the computation of the initial value of TINEED, so the initial calculation of TINEED needs to use the previous year’s value of sendeminvr. Furthermore, the updating of sendeminvr occurs after TINEED has been adjusted to reflect any inventory reductions, but before the investment multiplier, &#039;&#039;&#039;&#039;&#039;eninvm&#039;&#039; &#039;&#039;&#039;, is applied.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Economic Linkages&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
The economic model and the two physical models have many variables in common.&amp;amp;nbsp; As in the agricultural model, IFs generally uses the values in the physical model to override those in the economic model.&amp;amp;nbsp; To do so, it computes coefficients in the first year that serve to adjust the physical values subsequently. The adjustment coefficients serve double duty - they translate from physical terms to constant monetary ones, and they adjust for discrepancies in initial empirical values between the two models.&lt;br /&gt;
&lt;br /&gt;
[[Energy#Energy_Investment|The Energy Investment section]] already described how desired investment, TINEED, is passed to the Economic model using the adjustment coefficient sidsf.&amp;amp;nbsp; The adjustment coefficient, ZSR is used to convert production:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZS_{r,s=2}=ZSR_r*WEPBYear_{r,t=1}*\sum^EENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ZSRI_r=\frac{ZS_{r,s=2,t=1}}{WEPBYear_{r,t=1}*\sum^EENP_{r,e,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
ZSR is a convergence of ZSRI to a value of 1 in 30 years and WEPBYear converts the energy units, which are in BBOE to dollars.&lt;br /&gt;
&lt;br /&gt;
The adjustment coefficient SCSF is used to convert consumption:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CS_{r,s=2}=SCSF_r*ENDEM_r*0.6&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SCSF_r=\frac{CS_{r,s=2,t=1}}{ENDEM_{r,t=1}*0.6}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this assumes that consumer make up a constant 60 percent of consumption of total primary energy.&amp;amp;nbsp; Also SCSF remains constant over time.&lt;br /&gt;
&lt;br /&gt;
For stocks, imports, and exports, WEBPBYear serves as the adjustment coefficient&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ST_{r,s=2}=WEPBYear_{r,t=1}*ENST_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;XS_{r,s=2}=WEPBYear_{r,t=1_r}*ENX_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MS_{r,s=2}=WEPBYear_{r,t=1}*ENM_r&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, the indexed price (with a base of 1) in the energy sector of the economic submodel (PRI) is simply the ratio of current to initial regional energy price (ENPRI) time the value of PRI in the first year.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;PRI_{r,s=2}=PRI_{r,s=2,t=1}*\frac{ENPRI_r}{ENPRI_{r,t=1}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Resources and Reserves: Capital-to-Output Ratios and Discoveries&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
=== Capital-to-Output Ratios ===&lt;br /&gt;
&lt;br /&gt;
Resource base is important in selected energy categories of IFs: conventional oil, natural gas, coal, hydroelectric power, and unconventional oil.&amp;amp;nbsp; Resources are not important in the nuclear category, which represents an undefined mixture of burner, breeder and fusion power.&lt;br /&gt;
&lt;br /&gt;
Resource costs, as represented by the capital required to exploit them, increase as resource availability in the resource-constrained categories decreases.&amp;amp;nbsp; The capital-to-output ratio captures the increased cost.&amp;amp;nbsp; Kalymon (1975) took a similar approach.&lt;br /&gt;
&lt;br /&gt;
More specifically, the capital-to-output ratio (QE) increases in inverse proportion to the remaining resource base (as the base is cut in half, costs double&#039;&#039;&#039;; &#039;&#039;&#039;as it is cut to one fourth, costs quadruple).&amp;amp;nbsp; The model multiplies the initial capital output ratio by the initial resource base (RESOR) times a multiplier (RESORM) by which a model user can exogenously increase or decrease model assumptions.&amp;amp;nbsp; It then divides that product by initial resources minus cumulative production to date (CUMPR).&lt;br /&gt;
&lt;br /&gt;
Total available resources by energy type, ResorTot, are calculated as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ResorTot_{r,e}=\mathbf{resorm}_{r,e}*\mathbf{resor}_{r,e}+\mathbf{resorunconm}_{r,e}*\mathbf{resoruncon}_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resor&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resoruncon&#039;&#039; &#039;&#039;&#039; are exogenously assumed levels of the ultimate amount of conventional and unconventional forms of each energy type.&amp;amp;nbsp; There is no assumption about conventional resources for nuclear and only oil and gas include unconventional resources&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;resorm&#039;&#039; &#039;&#039;&#039; and &#039;&#039;&#039;&#039;&#039;resorunconm&#039;&#039; &#039;&#039;&#039; are multipliers that can be used to change the amount of assumed ultimate resources by energy type&lt;br /&gt;
&lt;br /&gt;
All energy types begin with basic capital-to-output ratios, BQE and BQEUC.&amp;amp;nbsp; These are initially set equal to the same values of QE and QEUNCON, which are derived in the pre-processor, and then evolved according to exogenous assumptions about technological advance for each energy type:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQE_{r,e,t}=BQE_{r,e,t-1}*(1-\mathbf{etechadv}_e)&amp;lt;/math&amp;gt; [1]&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;BQEUNCON_{r,e,t}=BQEUNCON_{r,e,t-1}*(1-\mathbf{etechadvuncon}_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recall that technological improvements result in declining amounts of capital required for each unit of energy produced.&lt;br /&gt;
&lt;br /&gt;
The initial translation of this basic capital-to-output ratio to the value actually used to determine energy production varies by energy type.&lt;br /&gt;
&lt;br /&gt;
This is most straightforward for nuclear and unconventional energy, which do not take into account remaining resources:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is nuclear&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qem&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QEUC_{r,e,t+1}=BQEUC_{r,e,t}*\mathbf{qeunconm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil or gas&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;qeunconm&#039;&#039; &#039;&#039;&#039; is an exogenous multiplier&lt;br /&gt;
&lt;br /&gt;
For hydro and other renewables, QE depends upon the remaining resource, which is defined as the difference between the total resource available and a moving average of the difference in production vis-à-vis production in the first year. &amp;amp;nbsp;In other words, it is not cumulative production that is important, but rather the portion of resources used annually.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=BQE_{r,e,t}*\frac{ResorTot_{r,e}}{resorrem_{r,e}}*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-ENPGR_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENPGR_{r,e}=SmoothENP_{r,e}-ENP_{r,e,t=1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;SmoothENP_{r,e,t}=0.8*SmoothENP_{r,e,t-1}+0.2*ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*e = hydro or renew&lt;br /&gt;
&lt;br /&gt;
For oil, gas, and coal, the logic is similar, but the definition of remaining resources is somewhat different:&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=MAX(ResorTot_{r,e}-CUMPR_{r,e},MaxFac_{r,e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CUMPR_{r,e,t}=CUMPR_{r,e,t-1}+ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MaxFac_{r,e}=0.1*ResorTot_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Furthermore, the capital-to-output ratio is calculated as a moving average&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;CompQE_{r,e}=BQE_{r,e}*(\frac{ResorTot_{r,e}}{resorrem_{r,e}})^{0.4}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;QE_{r,e,t+1}=(0.8*QE_{r,e,t}+0.2*CompQE_{r,e})*\mathbf{qem_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e is oil, gas, or coal&lt;br /&gt;
&lt;br /&gt;
=== Discoveries ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span&amp;gt;Energy reserves decrease with production and increase with discoveries, the latter of which are limited by remaining resources and other factors. &amp;amp;nbsp;This only applies to oil, gas, and coal.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;RESER_{r,e,t+1}=RESER_{r,e,t}+rd_{r,e}-ENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The rate of discovery, rd, is initially computed as a function of a number of factors related to global energy prices, remaining resources, global and domestic production, and several exogenous assumptions&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rd_{r,e}=rdiaug_e*wepterm*reterm_{r,e}*\mathbf{rdm_{r,e}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&amp;amp;nbsp;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;rdm&#039;&#039; &#039;&#039;&#039; is a country and energy-specific exogenous multiplier&lt;br /&gt;
*rdi_aug is an energy-specific factor driven entirely by exogenous assumptions about initial rates of discovery, &#039;&#039;&#039;&#039;&#039;rdi&#039;&#039; &#039;&#039;&#039;, and annual increments, &#039;&#039;&#039;&#039;&#039;rdinr&#039;&#039; &#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;rdiaug_e=\mathbf{rdi}_e+\mathbf{rdinr}_{r,e}*(t-firstyear)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*wepterm is a global factor driven by the growth in world energy prices from the first year and an exogenously defined elasticity, &#039;&#039;&#039;&#039;&#039;elasdi&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;wepterm=1+\frac{WEP_t-WEP_{t=1}}{WEP_{t=1}}*\mathbf{elasdi}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*reterm is a country and energy-specific factor representing an average of a country’s remaining resources as a share of original resources and its share of current production&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;reterm_{r,e}=0.5*(\frac{ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}}{\sum_e(ResorTot_{r,e,t=1}-RESER_{r,e,t=1})}+\frac{ENP_{r,e}}{WENP_e})&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A further assumption is that the rate of discovery cannot exceed 4 percent of the remaining resources in a country, where remaining resources are specified as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;resorrem_{r,e}=ResorTot_{r,e}-CUMPR_{r,e}-RESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;where&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*e = oil, gas, coal&lt;br /&gt;
*For oil the amount of unconventional oil in ResorTot is also affected by the parameter &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039;[2]&lt;br /&gt;
&amp;lt;div&amp;gt;[1] There used to be an additional impact of ICT broadband that would further reduce the BQE for other renewables, but that is currently not active in the model.&amp;amp;nbsp;&amp;lt;div id=&amp;quot;ftn1&amp;quot;&amp;gt;&lt;br /&gt;
[2] This only affects Canada, which has a value of &#039;&#039;&#039;&#039;&#039;enresunce&#039;&#039; &#039;&#039;&#039; = 0.3. Why this is not included in the QE calculations is unclear.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Indicators&amp;lt;/span&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Among useful energy or energy-related indicators is the ratio (ENRGDP) of energy demand (ENDEM) to gross domestic product (GDP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;ENRGDP_r=\frac{ENDEM_r}{GDP_r}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global production of energy by energy type (WENP) is the sum of regional productions (ENP).&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WENP_e=\sum^RENP_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy production is the basis for examining the build-up of carbon dioxide and Climate Change, as described in the documentation of the Environmental model.&lt;br /&gt;
&lt;br /&gt;
The ratio of oil and gas production globally to total energy production (OILGPR) helps trace the transition to other fuels.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;OILGPR=\frac{WENP_{e=1}+WENP_{e=2}}{\sum^EWENP_e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Global energy reserves (WRESER) and global resources (WRESOR) are sums by energy type across regions, the latter taking into account any resource multiplier (RESORM) that a user specifies to modify basic model resource estimates.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESER_e=\sum^RRESER_{r,e}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;WRESOR_e=\sum^R(RESOR_{r,e}*RESORM_e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= &amp;lt;span style=&amp;quot;font-size:x-large;&amp;quot;&amp;gt;Energy Bibliography&amp;lt;/span&amp;gt; =&lt;br /&gt;
&lt;br /&gt;
Kalymon, Basil A. 1975. &amp;quot;Economic Incentives in OPEC Oil Pricing Policy.&amp;quot; &#039;&#039;Journal of Development Economics&#039;&#039; 2: 337-362.&lt;br /&gt;
&lt;br /&gt;
Naill, Roger F. 1977.&#039;&#039;Managing the Energy Transition.&#039;&#039; Vols. 1 and 2. Cambridge, Mass: Ballinger Publishing Co.&lt;br /&gt;
&lt;br /&gt;
Stanford University. 1978. &#039;&#039;Stanford Pilot Energy/Economic Model.&#039;&#039; Stanford: Department of Research, Interim Report, Vol. 1.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13650</id>
		<title>Flexible Displays (Download)</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13650"/>
		<updated>2026-01-05T17:26:36Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Flexible Displays can be found under Display on the Main Menu. This display feature of IFs allows users more flexibility than the&amp;amp;nbsp;[[Geographically-fixed_Displays_(Download)|Geographically-fixed Displays]]&amp;amp;nbsp;by allowing for the display of data sets by specific country or group.&lt;br /&gt;
&lt;br /&gt;
[[File:Flexibledisplay.gif|frame|right|Example of the Flexible Display window in IFs]]The Flexible Displays is designed to allow users to graph information on a specific&amp;amp;nbsp;[[Country/Region,_Group_or_G-List|country/region or groups]].&lt;br /&gt;
&lt;br /&gt;
The display variables are located in a list on the left hand side of the screen called the &#039;&#039;&#039;Display Macro Categories&#039;&#039;&#039;. These are the broad, top-level domains (like &amp;quot;Health&amp;quot; or &amp;quot;Infrastructure&amp;quot;) that organize the overall scope of data. Beneath is &#039;&#039;&#039;Display Meso Categories.&#039;&#039;&#039; This allow the user to select specific, second-level sub-sectors (like &amp;quot;Communicable Disease&amp;quot; or &amp;quot;Water and Sanitation&amp;quot;) that drill down into the detailed components within each macro domain.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Horizon&#039;&#039;&#039; is the last on this thread, which allows the user to set the forecast period, displaying target years from 2022 to 2100, starting with near-term annual steps and shifting to continuous five-year intervals after 2025.&lt;br /&gt;
&lt;br /&gt;
To the right of this list of variables is a list of general categories. Each display belongs to one of the broader categories. If you are interested in one specific category, click on it and the general list of displays will be reduced to only those that pertain to the category you have selected.&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Learn how to incorporate your own categories]].&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Scenarios:&#039;&#039;&#039; These are the lists at the very bottom of the screen of the different Run-Result-Files that accompanied your version of the software. If you would like to learn more about specifically what parameters and variables are affected by these Run-Result-Files, simply highlight one and click on the&amp;amp;nbsp;[[Annotation]]&amp;amp;nbsp;button. Every user can access the IFSBase.run and other add-on Run files integrated with a specific version of the model. The user is also able to select more than one country or more than one Run-Result-File for graphing. Simply click on one country/region, hold in the control button (ctrl), and click on another country/region. Do the same to see a graph displaying results as the product of more than one Run-Result-File. Additionally, one is able to generate a Table, Line graph, Export selected variables, Explain scenario, Map and manage a list of variables by categories. Flexible Display has a number of general lists on the title page, through which the user is able to explore or manipulate the graph. These are described below.&lt;br /&gt;
* &#039;&#039;&#039;Display Format:&#039;&#039;&#039; Firstly&#039;&#039;&#039;,&#039;&#039;&#039; the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select a list of currencies for which one wants to display data other than US dollars (and find its equivalent with USD). Within this space, the user can adjust the horizon setting, which defines the limits of the run horizon, with a maximum of 2100 and a minimum of 2022, as well as allowing the user to run file horizon choice. &#039;&#039;Use estimation to complete data&#039;&#039; options instruct the model to use existing data to fill in missing values based on the patterns found in a complete dataset to predict future outcomes. Slightly different from the Use estimation to complete data, the &#039;&#039;Use estimation to complete data (only holes no extrapolation) option&#039;&#039; tells the model to fill in missing values within the existing data range, without predicting beyond that. Lastly, the &#039;&#039;&amp;quot;Use all available Historical Data&amp;quot;&#039;&#039; option tells the model to learn from past information and provide the most up-to-date historical data available to make predictions.&lt;br /&gt;
* &#039;&#039;&#039;Other Grouping Options:&#039;&#039;&#039; Users can improve the accuracy of data by selecting options such as Using Intersection for &amp;quot;Decomposed Groups,&amp;quot; &amp;quot;G-Lists,&amp;quot; or &amp;quot;Grouping Aggregations,&amp;quot; which allow for extracting data within specific geographic segments to create a representative value.&lt;br /&gt;
* &#039;&#039;&#039;Other Graphs&#039;&#039;&#039;: When the user has chosen the display to graph and the countries/regions or groups that you to display, click on&amp;amp;nbsp; [[General_Display_Options#Graph_Use|Bar Graph]]. The user is also able to display pie charts and&amp;amp;nbsp;[[General_Display_Options#Radial_Graph|radial graphs]], stacked bars, and scatter plot located under the Other Graphs heading. For an explanation on how to use the Map feature, click on&amp;amp;nbsp;[[General_Display_Options#Map_Use|Map Use]].&lt;br /&gt;
* &#039;&#039;&#039;Explain:&#039;&#039;&#039; in the heading is an option that, when selected, will provide a definition, show the historic formula, and list any dimensions available for any selected variable.&lt;br /&gt;
* &#039;&#039;&#039;Edit List&#039;&#039;&#039;: User is able to manage or update the list of categories in this section by entering or manually inputting a new variable. The user is able to edit the variables listed in Flexible Displays by first selecting [./Http://localhost/ifs/ifsweb/frm%20Varsel.aspx Self-Managed Display] and then selecting&amp;amp;nbsp;[[Variable_Selection_Options#Edit_Variable_List|Edit Variable Lists]]. Note: once the List is updated, click Exported Select List and Save Changes to complete the process. The results will be saved to the VarList in IFS.&lt;br /&gt;
* &#039;&#039;&#039;Search Lists:&#039;&#039;&#039; This option allows the user to find Variable List, Variable name or description of categories that the model uses to identify relevant data in the heading. The user can then load the pop-up information and return to Flexible display.&lt;br /&gt;
* &#039;&#039;&#039;Help&#039;&#039;&#039;: When you hover over this button, it provides you with guidance about the model&#039;s features to complete a task.&lt;br /&gt;
* &#039;&#039;&#039;The Geography Options&#039;&#039;&#039; is the sub-section found beneath the general list in the title of the flexible display menu. This presents the user with options to select a category (or categories) of variables vis-à-vis its specific location(s). These options enable the user to navigate among countries and regions or the classification of the aforementioned. These include &#039;&#039;Country/Regions, Groups, Decomposed Group, Geography-ListsCountry/Regions and Groups, Country/Regions and Decomposed Groups&#039;&#039;. Additionally, the user could make these set options/groups appear fully or partially via the &#039;&#039;Hide Non-Core option&#039;&#039;. The &#039;&#039;View History plus Forecast&#039;&#039; option enables users to view/pull previous and future datasets of variables.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13640</id>
		<title>Flexible Displays (Download)</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13640"/>
		<updated>2025-12-17T19:24:06Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: Major Changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Flexible Displays can be found under Display on the Main Menu. This display feature of IFs allows users more flexibility than the&amp;amp;nbsp;[[Geographically-fixed_Displays_(Download)|Geographically-fixed Displays]]&amp;amp;nbsp;by allowing for the display of data sets by specific country or group.&lt;br /&gt;
&lt;br /&gt;
[[File:Flexibledisplay.gif|frame|right|Example of the Flexible Display window in IFs]]The Flexible Displays is designed to allow users to graph information on a specific&amp;amp;nbsp;[[Country/Region,_Group_or_G-List|country/region or groups]].&lt;br /&gt;
&lt;br /&gt;
The display variables are located in a list on the left hand side of the screen called the &#039;&#039;&#039;Display Macro Categories&#039;&#039;&#039;. These are the broad, top-level domains (like &amp;quot;Health&amp;quot; or &amp;quot;Infrastructure&amp;quot;) that organize the overall scope of data. Beneath is &#039;&#039;&#039;Display Meso Categories.&#039;&#039;&#039; This allow the user to select specific, second-level sub-sectors (like &amp;quot;Communicable Disease&amp;quot; or &amp;quot;Water and Sanitation&amp;quot;) that drill down into the detailed components within each macro domain.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Horizon&#039;&#039;&#039; is the last on this thread, which allows the user to set the forecast period, displaying target years from 2022 to 2100, starting with near-term annual steps and shifting to continuous five-year intervals after 2025.&lt;br /&gt;
&lt;br /&gt;
To the right of this list of variables is a list of general categories. Each display belongs to one of the broader categories. If you are interested in one specific category, click on it and the general list of displays will be reduced to only those that pertain to the category you have selected.&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Learn how to incorporate your own categories]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Scenarios:&#039;&#039;&#039; These are the lists at the very bottom of the screen of the different Run-Result-Files that accompanied your version of the software. If you would like to learn more about specifically what parameters and variables are affected by these Run-Result-Files, simply highlight one and click on the&amp;amp;nbsp;[[Annotation]]&amp;amp;nbsp;button. Every user can access the IFSBase.run and other add-on Run files integrated with a specific version of the model. The user is also able to select more than one country or more than one Run-Result-File for graphing. Simply click on one country/region, hold in the control button (ctrl), and click on another country/region. Do the same to see a graph displaying results as the product of more than one Run-Result-File. Additionally, one is able to generate a Table, Line graph, Export selected variables, Explain scenario, Map and manage a list of variables by categories. Flexible Display has a number of general lists on the title page, through which the user is able to explore or manipulate the graph. These are described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display Format:&#039;&#039;&#039; Firstly&#039;&#039;&#039;,&#039;&#039;&#039; the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select a list of currencies for which one wants to display data other than US dollars (and find its equivalent with USD). Within this space, the user can adjust the horizon setting, which defines the limits of the run horizon, with a maximum of 2100 and a minimum of 2022, as well as allowing the user to run file horizon choice. &#039;&#039;Use estimation to complete data&#039;&#039; options instruct the model to use existing data to fill in missing values based on the patterns found in a complete dataset to predict future outcomes. Slightly different from the Use estimation to complete data, the &#039;&#039;Use estimation to complete data (only holes no extrapolation) option&#039;&#039; tells the model to fill in missing values within the existing data range, without predicting beyond that. Lastly, the &#039;&#039;&amp;quot;Use all available Historical Data&amp;quot;&#039;&#039; option tells the model to learn from past information and provide the most up-to-date historical data available to make predictions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Grouping Options:&#039;&#039;&#039; Users can improve the accuracy of data by selecting options such as Using Intersection for &amp;quot;Decomposed Groups,&amp;quot; &amp;quot;G-Lists,&amp;quot; or &amp;quot;Grouping Aggregations,&amp;quot; which allow for extracting data within specific geographic segments to create a representative value.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Graphs&#039;&#039;&#039;: When the user has chosen the display to graph and the countries/regions or groups that you to display, click on&amp;amp;nbsp; [[General_Display_Options#Graph_Use|Bar Graph]]. The user is also able to display pie charts and&amp;amp;nbsp;[[General_Display_Options#Radial_Graph|radial graphs]], stacked bars, and scatter plot located under the Other Graphs heading. For an explanation on how to use the Map feature, click on&amp;amp;nbsp;[[General_Display_Options#Map_Use|Map Use]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Explain:&#039;&#039;&#039; in the heading is an option that, when selected, will provide a definition, show the historic formula, and list any dimensions available for any selected variable.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit List&#039;&#039;&#039;: User is able to manage or update the list of categories in this section by entering or manually inputting a new variable. The user is able to edit the variables listed in Flexible Displays by first selecting [./Http://localhost/ifs/ifsweb/frm%20Varsel.aspx Self-Managed Display] and then selecting&amp;amp;nbsp;[[Variable_Selection_Options#Edit_Variable_List|Edit Variable Lists]]. Note: once the List is updated, click Exported Select List and Save Changes to complete the process. The results will be saved to the VarList in IFS. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Search Lists:&#039;&#039;&#039; This option allows the user to find Variable List, Variable name or description of categories that the model uses to identify relevant data in the heading. The user can then load the pop-up information and return to Flexible display.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039;: When you hover over this button, it provides you with guidance about the model&#039;s features to complete a task.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The Geography Options&#039;&#039;&#039; is the sub-section found beneath the general list in the title of the flexible display menu. This presents the user with options to select a category (or categories) of variables vis-à-vis its specific location(s). These options enable the user to navigate among countries and regions or the classification of the aforementioned. These include &#039;&#039;Country/Regions, Groups, Decomposed Group, Geography-ListsCountry/Regions and Groups, Country/Regions and Decomposed Groups&#039;&#039;. Additionally, the user could make these set options/groups appear fully or partially via the &#039;&#039;Hide Non-Core option&#039;&#039;. The &#039;&#039;View History plus Forecast&#039;&#039; option enables users to view/pull previous and future datasets of variables.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13639</id>
		<title>Flexible Displays (Download)</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13639"/>
		<updated>2025-12-17T19:15:24Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: Major Changes&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Flexible Displays can be found under Display on the Main Menu. This display feature of IFs allows users more flexibility than the&amp;amp;nbsp;[[Geographically-fixed_Displays_(Download)|Geographically-fixed Displays]]&amp;amp;nbsp;by allowing for the display of data sets by specific country or group.&lt;br /&gt;
&lt;br /&gt;
[[File:Flexibledisplay.gif|frame|right|Example of the Flexible Display window in IFs]]The Flexible Displays is designed to allow users to graph information on a specific&amp;amp;nbsp;[[Country/Region,_Group_or_G-List|country/region or groups]].&lt;br /&gt;
&lt;br /&gt;
The display variables are located in a list on the left hand side of the screen called the &#039;&#039;&#039;Display Macro Categories&#039;&#039;&#039;. These are the broad, top-level domains (like &amp;quot;Health&amp;quot; or &amp;quot;Infrastructure&amp;quot;) that organize the overall scope of data. Beneath is &#039;&#039;&#039;Display Meso Categories.&#039;&#039;&#039; This allow the user to select specific, second-level sub-sectors (like &amp;quot;Communicable Disease&amp;quot; or &amp;quot;Water and Sanitation&amp;quot;) that drill down into the detailed components within each macro domain.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Horizon&#039;&#039;&#039; is the last on this thread, which allows the user to set the forecast period, displaying target years from 2022 to 2100, starting with near-term annual steps and shifting to continuous five-year intervals after 2025.&lt;br /&gt;
&lt;br /&gt;
To the right of this list of variables is a list of general categories. Each display belongs to one of the broader categories. If you are interested in one specific category, click on it and the general list of displays will be reduced to only those that pertain to the category you have selected.&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Learn how to incorporate your own categories]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Scenarios:&#039;&#039;&#039; The list at the very bottom of the screen is of the different Run-Result-Files that accompanied your version of the software. If you would like to learn more about specifically what parameters and variables are affected by these Run-Result-Files, simply highlight one and click on the&amp;amp;nbsp;[[Annotation]]&amp;amp;nbsp;button. The user is also able to select more than one country or more than one Run-Result-File for graphing. Simply click on one country/region, hold in the control button (ctrl), and click on another country/region. Do the same to see a graph displaying results as the product of more than one Run-Result-File. Additionally, one is able to generate a Table, Line graph, Export selected variables, Explain scenario, Map and manage a list of variables by categories. Flexible Display has a number of general lists on the title page, through which the user is able to explore or manipulate the graph. These are described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display Format:&#039;&#039;&#039; Firstly&#039;&#039;&#039;,&#039;&#039;&#039; the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select a list of currencies for which one wants to display data other than US dollars (and find its equivalent with USD). Within this space, the user can adjust the horizon setting, which defines the limits of the run horizon, with a maximum of 2100 and a minimum of 2022, as well as allowing the user to run file horizon choice. &#039;&#039;Use estimation to complete data&#039;&#039; options instruct the model to use existing data to fill in missing values based on the patterns found in a complete dataset to predict future outcomes. Slightly different from the Use estimation to complete data, the &#039;&#039;Use estimation to complete data (only holes no extrapolation) option&#039;&#039; tells the model to fill in missing values within the existing data range, without predicting beyond that. Lastly, the &#039;&#039;&amp;quot;Use all available Historical Data&amp;quot;&#039;&#039; option tells the model to learn from past information and provide the most up-to-date historical data available to make predictions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Grouping Options:&#039;&#039;&#039; Users can improve the accuracy of data by selecting options such as Using Intersection for &amp;quot;Decomposed Groups,&amp;quot; &amp;quot;G-Lists,&amp;quot; or &amp;quot;Grouping Aggregations,&amp;quot; which allow for extracting data within specific geographic segments to create a representative value.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Graphs&#039;&#039;&#039;: When the user has chosen the display to graph and the countries/regions or groups that you to display, click on&amp;amp;nbsp; [[General_Display_Options#Graph_Use|Bar Graph]]. The user is also able to display pie charts and&amp;amp;nbsp;[[General_Display_Options#Radial_Graph|radial graphs]], stacked bars, and scatter plot located under the Other Graphs heading. For an explanation on how to use the Map feature, click on&amp;amp;nbsp;[[General_Display_Options#Map_Use|Map Use]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Explain:&#039;&#039;&#039; in the heading is an option that, when selected, will provide a definition, show the historic formula, and list any dimensions available for any selected variable.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit List&#039;&#039;&#039;: User is able to manage or update the list of categories in this section by entering or manually inputting a new variable. The user is able to edit the variables listed in Flexible Displays by first selecting [./Http://localhost/ifs/ifsweb/frm%20Varsel.aspx Self-Managed Display] and then selecting&amp;amp;nbsp;[[Variable_Selection_Options#Edit_Variable_List|Edit Variable Lists]]. Note: once the List is updated, click Exported Select List and Save Changes to complete the process. The results will be saved to the VarList in IFS. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Search Lists:&#039;&#039;&#039; This option allows the user to find Variable List, Variable name or description of categories that the model uses to identify relevant data in the heading. The user can then load the pop-up information and return to Flexible display.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039;: When you hover over this button, it provides you with guidance about the model&#039;s features to complete a task.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The Geography Options&#039;&#039;&#039; is the sub-section found beneath the general list in the title of the flexible display menu. This presents the user with options to select a category (or categories) of variables vis-à-vis its specific location(s). These options enable the user to navigate among countries and regions or the classification of the aforementioned. These include &#039;&#039;Country/Regions, Groups, Decomposed Group, Geography-ListsCountry/Regions and Groups, Country/Regions and Decomposed Groups&#039;&#039;. Additionally, the user could make these set options/groups appear fully or partially via the &#039;&#039;Hide Non-Core option&#039;&#039;. The &#039;&#039;View History plus Forecast&#039;&#039; option enables users to view/pull previous and future datasets of variables.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Flex_display.png&amp;diff=13592</id>
		<title>File:Flex display.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Flex_display.png&amp;diff=13592"/>
		<updated>2025-11-18T22:26:18Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Example of the Flexible Display window in IFs&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13591</id>
		<title>Flexible Displays (Download)</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13591"/>
		<updated>2025-11-18T16:21:24Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: In- progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edits here, Add another&lt;br /&gt;
&lt;br /&gt;
The Flexible Displays can be found under Display on the Main Menu.&lt;br /&gt;
&lt;br /&gt;
This display feature of IFs allows users more flexibility than the&amp;amp;nbsp;[[Geographically-fixed_Displays_(Download)|Geographically-fixed Displays]]&amp;amp;nbsp;by allowing for the display of data sets by specific country or group.&lt;br /&gt;
&lt;br /&gt;
[[File:Flexibledisplay.gif|frame|right|Example of the Flexible Display window in IFs]]The Flexible Displays is designed to allow users to graph information on a specific&amp;amp;nbsp;[[Country/Region,_Group_or_G-List|country/region or group]].&lt;br /&gt;
&lt;br /&gt;
The display variables are located in a list on the left hand side of the screen. To the right of this list of variables is a list of general categories. Each display belongs to one of the broader categories. If you are interested in one specific category, click on it and the general list of displays will be reduced to only those that pertain to the category you have selected.&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Learn how to incorporate your own categories]].&lt;br /&gt;
&lt;br /&gt;
To the right of the general categories is a list of every country. If, instead of displaying countries/regions, you would like to display groups, simply click on the Using Countries/Regions option on the Flexible Displays&#039; Main Menu. The list at the very bottom of the screen is of the different Run-Result-Files that accompanied your version of the software. If you would like to learn more about specifically what parameters and variables are affected by these Run-Result-Files, simply highlight one and click on the&amp;amp;nbsp;[[Annotation|Annotation]]&amp;amp;nbsp;button.&lt;br /&gt;
&lt;br /&gt;
Certain variables and &#039;&#039;&#039;categories&#039;&#039;&#039;, such as education, when selected, will cause other windows to appear that display different dimensions, or ways of disaggregating the data. For example, selecting the file Education Tertiary Student Flow brings up another dimension, in this case gender, from which the user is able to choose.&lt;br /&gt;
&lt;br /&gt;
The user is also able to select more than one country or more than one Run-Result-File for graphing. Simply click on one country/region, hold in the control button (ctrl), and click on another country/region. Do the same to see a graph displaying results as the product of more than one Run-Result-File.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One is able to generate a Table, Line graph, Export selected variable, Explain scenario, Map and manage list of variables.&lt;br /&gt;
&lt;br /&gt;
Flexible Display has a number of general lists on the title page, through which the user is able to explore or manipulate the graph. These are described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display Format:&#039;&#039;&#039; Firstly&#039;&#039;&#039;,&#039;&#039;&#039; the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select a list of currencies for which one wants to display data other than US dollars (and find its equivalent with USD). Within this space, the user can adjust the horizon setting, which defines the limits of the run horizon, with a maximum of 2100 and a minimum of 2022, as well as allowing the user to run file horizon choice. &#039;&#039;Use estimation to complete data&#039;&#039; options instruct the model to use existing data to fill in missing values based on the patterns found in a complete dataset to predict future outcomes. Slightly different from the Use estimation to complete data, the &#039;&#039;Use estimation to complete data (only holes no extrapolation) option&#039;&#039; tells the model to fill in missing values within the existing data range, without predicting beyond that. Lastly, the &#039;&#039;&amp;quot;Use all available Historical Data&amp;quot;&#039;&#039; option tells the model to learn from past information and provide the most up-to-date historical data available to make predictions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Grouping Options:&#039;&#039;&#039; Users can improve the accuracy of data by selecting options such as Using Intersection for &amp;quot;Decomposed Groups,&amp;quot; &amp;quot;G-Lists,&amp;quot; or &amp;quot;Grouping Aggregations,&amp;quot; which allow for extracting data within specific geographic segments to create a representative value.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Graphs&#039;&#039;&#039;: When the user has chosen the display to graph and the countries/regions or groups that you to display, click on&amp;amp;nbsp; [[General_Display_Options#Graph_Use|Bar Graph]]. The user is also able to display pie charts and&amp;amp;nbsp;[[General_Display_Options#Radial_Graph|radial graphs]], stacked bars, and scatter plot located under the Other Graphs heading. For an explanation on how to use the Map feature, click on&amp;amp;nbsp;[[General_Display_Options#Map_Use|Map Use]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Explain:&#039;&#039;&#039; in the heading is an option that, when selected, will provide a definition, show the historic formula, and list any dimensions available for any selected variable.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit List&#039;&#039;&#039;: User is able to manage or update the list of categories in this section by entering or manually inputting a new variable. The user is able to edit the variables listed in Flexible Displays by first selecting [./Http://localhost/ifs/ifsweb/frm%20Varsel.aspx Self-Managed Display] and then selecting&amp;amp;nbsp;[[Variable_Selection_Options#Edit_Variable_List|Edit Variable Lists]]. Note: once the List is updated, click Exported Select List and Save Changes to complete the process. The results will be saved to the VarList in IFS. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Search Lists:&#039;&#039;&#039; This option allows the user to find Variable List, Variable name or description of categories that the model uses to identify relevant data in the heading. The user can then load the pop-up information and return to Flexible display.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039;: When you hover over this button, it provides you with guidance about the model&#039;s features to complete a task.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The Geography Options&#039;&#039;&#039; is the sub-section found beneath the general list in the title of the flexible display menu. This presents the user with options to select a category (or categories) of variables vis-à-vis its specific location(s). These options enable the user to navigate among countries and regions or the classification of the aforementioned. These include &#039;&#039;Country/Regions, Groups, Decomposed Group, Geography-ListsCountry/Regions and Groups, Country/Regions and Decomposed Groups&#039;&#039;. Additionally, the user could make these set options/groups appear fully or partially via the &#039;&#039;Hide Non-Core option&#039;&#039;. The &#039;&#039;View History plus Forecast&#039;&#039; option enables users to view/pull previous and future datasets of variables.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=File:Screenshot_2025-11-18_at_9.06.20_AM.png&amp;diff=13590</id>
		<title>File:Screenshot 2025-11-18 at 9.06.20 AM.png</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=File:Screenshot_2025-11-18_at_9.06.20_AM.png&amp;diff=13590"/>
		<updated>2025-11-18T16:09:03Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Example of the Flexible Display window in IFs&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13589</id>
		<title>Flexible Displays (Download)</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13589"/>
		<updated>2025-11-18T16:02:11Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: In- progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edits here, Add another&lt;br /&gt;
&lt;br /&gt;
The Flexible Displays can be found under Display on the Main Menu.&lt;br /&gt;
&lt;br /&gt;
This display feature of IFs allows users more flexibility than the&amp;amp;nbsp;[[Geographically-fixed_Displays_(Download)|Geographically-fixed Displays]]&amp;amp;nbsp;by allowing for the display of data sets by specific country or group.&lt;br /&gt;
&lt;br /&gt;
[[File:Flexibledisplay.gif|frame|right|Example of the Flexible Display window in IFs]]The Flexible Displays is designed to allow users to graph information on a specific&amp;amp;nbsp;[[Country/Region,_Group_or_G-List|country/region or group]].&lt;br /&gt;
&lt;br /&gt;
The display variables are located in a list on the left hand side of the screen. To the right of this list of variables is a list of general categories. Each display belongs to one of the broader categories. If you are interested in one specific category, click on it and the general list of displays will be reduced to only those that pertain to the category you have selected.&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Learn how to incorporate your own categories]].&lt;br /&gt;
&lt;br /&gt;
To the right of the general categories is a list of every country. If, instead of displaying countries/regions, you would like to display groups, simply click on the Using Countries/Regions option on the Flexible Displays&#039; Main Menu. The list at the very bottom of the screen is of the different Run-Result-Files that accompanied your version of the software. If you would like to learn more about specifically what parameters and variables are affected by these Run-Result-Files, simply highlight one and click on the&amp;amp;nbsp;[[Annotation|Annotation]]&amp;amp;nbsp;button.&lt;br /&gt;
&lt;br /&gt;
Certain variables and &#039;&#039;&#039;categories&#039;&#039;&#039;, such as education, when selected, will cause other windows to appear that display different dimensions, or ways of disaggregating the data. For example, selecting the file Education Tertiary Student Flow brings up another dimension, in this case gender, from which the user is able to choose.&lt;br /&gt;
&lt;br /&gt;
The user is also able to select more than one country or more than one Run-Result-File for graphing. Simply click on one country/region, hold in the control button (ctrl), and click on another country/region. Do the same to see a graph displaying results as the product of more than one Run-Result-File.&lt;br /&gt;
&lt;br /&gt;
Flexible Display has a number of general lists on the title page, through which the user is able to explore or manipulate the graph. These are described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display Format:&#039;&#039;&#039; Firstly&#039;&#039;&#039;,&#039;&#039;&#039; the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select a list of currencies for which one wants to display data other than US dollars (and find its equivalent with USD). Within this space, the user can adjust the horizon setting, which defines the limits of the run horizon, with a maximum of 2100 and a minimum of 2022, as well as allowing the user to run file horizon choice. &#039;&#039;Use estimation to complete data&#039;&#039; options instruct the model to use existing data to fill in missing values based on the patterns found in a complete dataset to predict future outcomes. Slightly different from the Use estimation to complete data, the &#039;&#039;Use estimation to complete data (only holes no extrapolation) option&#039;&#039; tells the model to fill in missing values within the existing data range, without predicting beyond that. Lastly, the &#039;&#039;&amp;quot;Use all available Historical Data&amp;quot;&#039;&#039; option tells the model to learn from past information and provide the most up-to-date historical data available to make predictions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Grouping Options:&#039;&#039;&#039; Users can improve the accuracy of data by selecting options such as Using Intersection for &amp;quot;Decomposed Groups,&amp;quot; &amp;quot;G-Lists,&amp;quot; or &amp;quot;Grouping Aggregations,&amp;quot; which allow for extracting data within specific geographic segments to create a representative value.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Graphs&#039;&#039;&#039;: When the user has chosen the display to graph and the countries/regions or groups that you to display, click on&amp;amp;nbsp;[[General_Display_Options#Graph_Use|Line Graph or Bar Graph]]. The user is also able to display pie charts and&amp;amp;nbsp;[[General_Display_Options#Radial_Graph|radial graphs]], stacked bars, and scatter plot located under the Other Graphs heading. For an explanation on how to use the Map feature, click on&amp;amp;nbsp;[[General_Display_Options#Map_Use|Map Use]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Explain:&#039;&#039;&#039; in the heading is an option that, when selected, will provide a definition, show the historic formula, and list any dimensions available for any selected variable.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Edit List&#039;&#039;&#039;: User is able to manage or update the list of categories in this section by entering or manually inputting a new variable. The user is able to edit the variables listed in Flexible Displays by first selecting&amp;amp;nbsp;[./Http://localhost/ifs/ifsweb/frm%20Varsel.aspx Self-Managed Display], and then selecting&amp;amp;nbsp;[[Variable_Selection_Options#Edit_Variable_List|Edit Variable Lists]]. Note: once the List is updated, click Exported Select List and Save Changes to complete the process. The results will be saved to the VarList in IFS. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Search Lists:&#039;&#039;&#039; This option allows the user to find Variable List, Variable name or description of categories that the model uses to identify relevant data in the heading. The user can then load the pop-up information and return to Flexible display.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Help&#039;&#039;&#039;: When you hover over this button, it provides you with guidance about the model&#039;s features to complete a task.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The Geography Options&#039;&#039;&#039; is the sub-section found beneath the general list in the title of the flexible display menu. This presents the user with options to select a category (or categories) of variables vis-à-vis its specific location(s). These options enable the user to navigate among countries and regions or the classification of the aforementioned. These include &#039;&#039;Country/Regions, Groups, Decomposed Group, Geography-ListsCountry/Regions and Groups, Country/Regions and Decomposed Groups&#039;&#039;. Additionally, the user could make these set options/groups appear fully or partially via the &#039;&#039;Hide Non-Core option&#039;&#039;. The &#039;&#039;View History plus Forecast&#039;&#039; option enables users to view/pull previous and future datasets of variables.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
	<entry>
		<id>https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13588</id>
		<title>Flexible Displays (Download)</title>
		<link rel="alternate" type="text/html" href="https://pardeewiki.du.edu//index.php?title=Flexible_Displays_(Download)&amp;diff=13588"/>
		<updated>2025-11-13T16:11:52Z</updated>

		<summary type="html">&lt;p&gt;Simon.Kyeremeh: In- progress&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edits here, Add another&lt;br /&gt;
&lt;br /&gt;
The Flexible Displays can be found under Display on the Main Menu.&lt;br /&gt;
&lt;br /&gt;
This display feature of IFs allows users more flexibility than the&amp;amp;nbsp;[[Geographically-fixed_Displays_(Download)|Geographically-fixed Displays]]&amp;amp;nbsp;by allowing for the display of data sets by specific country or group.&lt;br /&gt;
&lt;br /&gt;
[[File:Flexibledisplay.gif|frame|right|Example of the Flexible Display window in IFs]]The Flexible Displays is designed to allow users to graph information on a specific&amp;amp;nbsp;[[Country/Region,_Group_or_G-List|country/region or group]].&lt;br /&gt;
&lt;br /&gt;
The display variables are located in a list on the left hand side of the screen. To the right of this list of variables is a list of general categories. Each display belongs to one of the broader categories. If you are interested in one specific category, click on it and the general list of displays will be reduced to only those that pertain to the category you have selected.&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Learn how to incorporate your own categories]].&lt;br /&gt;
&lt;br /&gt;
To the right of the general categories is a list of every country. If, instead of displaying countries/regions, you would like to display groups, simply click on the Using Countries/Regions option on the Flexible Displays&#039; Main Menu. The list at the very bottom of the screen is of the different Run-Result-Files that accompanied your version of the software. If you would like to learn more about specifically what parameters and variables are affected by these Run-Result-Files, simply highlight one and click on the&amp;amp;nbsp;[[Annotation|Annotation]]&amp;amp;nbsp;button.&lt;br /&gt;
&lt;br /&gt;
Certain variables and &#039;&#039;&#039;categories&#039;&#039;&#039;, such as education, when selected, will cause other windows to appear that display different dimensions, or ways of disaggregating the data. For example, selecting the file Education Tertiary Student Flow brings up another dimension, in this case gender, from which the user is able to choose.&lt;br /&gt;
&lt;br /&gt;
The user is also able to select more than one country or more than one Run-Result-File for graphing. Simply click on one country/region, hold in the control button (ctrl), and click on another country/region. Do the same to see a graph displaying results as the product of more than one Run-Result-File.&lt;br /&gt;
&lt;br /&gt;
Flexible Display has a number of general lists on the title page, through which the user is able to explore or manipulate the graph. These are described below.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Display Format:&#039;&#039;&#039; Firstly&#039;&#039;&#039;,&#039;&#039;&#039; the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select a list of currencies for which one wants to display data other than US dollars (and find its equivalent with USD). Within this space, the user can adjust the horizon setting, which defines the limits of the run horizon, with a maximum of 2100 and a minimum of 2022, as well as allowing the user to run file horizon choice. &#039;&#039;Use estimation to complete data&#039;&#039; options instruct the model to use existing data to fill in missing values based on the patterns found in a complete dataset to predict future outcomes. Slightly different from the Use estimation to complete data, the &#039;&#039;Use estimation to complete data (only holes no extrapolation) option&#039;&#039; tells the model to fill in missing values within the existing data range, without predicting beyond that. Lastly, the &#039;&#039;&amp;quot;Use all available Historical Data&amp;quot;&#039;&#039; option tells the model to learn from past information and provide the most up-to-date historical data available to make predictions.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Grouping Options:&#039;&#039;&#039; Users can improve the accuracy of data by selecting options such as Using Intersection for &amp;quot;Decomposed Groups,&amp;quot; &amp;quot;G-Lists,&amp;quot; or &amp;quot;Grouping Aggregations,&amp;quot; which allow for extracting data within specific geographic segments to create a representative value.&lt;br /&gt;
&lt;br /&gt;
Explain &lt;br /&gt;
&lt;br /&gt;
Edit List&lt;br /&gt;
&lt;br /&gt;
Search Lists&lt;br /&gt;
&lt;br /&gt;
Help&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Other Graphs&#039;&#039;&#039;: When the user has chosen the display to graph and the countries/regions or groups that you to display, click on&amp;amp;nbsp;[[General_Display_Options#Graph_Use|Line Graph or Bar Graph]]. The user is also able to display pie charts and&amp;amp;nbsp;[[General_Display_Options#Radial_Graph|radial graphs]], located under the Other Graphs heading. For an explanation on how to use the Map feature, click on&amp;amp;nbsp;[[General_Display_Options#Map_Use|Map Use]].&lt;br /&gt;
&lt;br /&gt;
Additionally, choosing the Display Format option located on the Flexible Displays menu allows the user to more professionally tailor the graphs as needed. Firstly, the user can change the titles for tables and graphs, and the titles of the X and Y axes for graphs. The user can also edit the table display interval, as well as edit the year for a pie chart, scatterplot, or map. Secondly, the user is able to select the currency in which to display data that is otherwise displayed in US dollars. Thirdly, the user can set the limits of the run horizon, with a maximum horizon of 2100 and a minimum of 1960. Fourthly, check the “Use all historic data” feature, and the model will provide the most up to date historical data available. The last option, the “Use Estimation” option, tells the model to extrapolate from the historic data to fill in any possible holes in the data that exist.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;Explain List&#039;&#039;&#039; in the heading is an option that, when selected, will provide a definition, show the historic formula, and list any dimensions available for any selected variable.&lt;br /&gt;
&lt;br /&gt;
Clicking on the the Search option in the heading allows the user to search for any variable in the IFs database, and add that variable to the list of available variables in the Flexible Displays.&lt;br /&gt;
&lt;br /&gt;
The user is able to edit the variables listed in Flexible Displays by first selecting&amp;amp;nbsp;[[Self-Managed_Display_(Download)|Self-Managed Display]], and then selecting&amp;amp;nbsp;[[Variable_Selection_Options#Edit_Variable_List|Edit Variable Lists]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The Geography Options&#039;&#039;&#039; is the sub-section found beneath the general list in the title of the flexible display menu. This presents the user with options to select a category (or categories) of variables vis-à-vis its specific location(s). These options enable the user to navigate among countries and regions or the classification of the aforementioned. These include &#039;&#039;Country/Regions, Groups, Decomposed Group, Geography-ListsCountry/Regions and Groups, Country/Regions and Decomposed Groups&#039;&#039;. Additionally, the user could make these set options/groups appear fully or partially via the &#039;&#039;Hide Non-Core option&#039;&#039;. The &#039;&#039;View History plus Forecast&#039;&#039; option enables users to view/pull previous and future datasets of variables.&lt;/div&gt;</summary>
		<author><name>Simon.Kyeremeh</name></author>
	</entry>
</feed>