a serious game on sustainable development using agent ......figure 2.4 - world tree diagram using,...

10
A Serious Game on Sustainable Development Using Agent Based Modelling- Energy Wars Andrรฉ Gonรงalo Liberato Folgado Under supervision of Prof. Tรขnia Alexandra dos Santos Costa e Sousa and Prof. Tanya Vianna de Araรบjo Instituto Superior Tรฉcnico (IST), Lisbon May, 2014 Abstract The continuing depletion of natural resources and their increasing exploration costs have become a major focus for society. There is a growing recognition of the need to sustain an ecologically-balanced environment, while at the same time, the need of exploiting natural resources (at affordable prices) to satisfy the ever-increasing demands. Serious Games are a tool that can add entertainment to the increase awareness towards a more sustainable future. In this work, an energy model was developed to become the serious part of a Serious Game โ€“ Energy Wars. The game pretends to simulate an oil scarcity scenario, where energy supply has to be progressively substituted by renewable resource. The objective of this game is to simulate the dispute for the last fossil fuels available on Earth. A platform was built to reproduce the gameโ€™s environment. This platform is built under compromises between the reproduction of how real world works and the restrictions imposed by game designers. The model here presented intends to provide tools to simulate the energy companiesโ€™ behaviour. These companies are able to compete for new concessions through auctions, build structures, hire units, and produce energy to supply marketโ€™s demand. At each iteration, a company sees all possible investment options and based on its present situation and intentions, can choose according to its goals. A fieldsโ€™ evaluation framework was developed, computing several economic metrics to support the decision process. This evaluation shows that oil fields have higher return when compared with renewable resources, however, with a higher risk. Keywords: Serious Games, Oil&Gas, Energy Projectsโ€™ Evaluation, Forecasting, Monte Carlo, Risk Management 1 Introduction This works describes a model that aims to simulate oil/energy companies in a scarcity scenario. However, this work has the objective to provide, along with other models, the background for a game called โ€“ Energy Wars (EW). This means that the model has to be contextualized in a gaming reality. This game aims, besides entertainment, to raise the awareness on sustainable development, which defines it as a โ€“ Serious Game. Compared with similar products, this game has the following innovative characteristics: (1) it includes an agent- based financial model that captures oil prices fluctuations that are essential to understand this commodityโ€™ behaviour; and (2) also includes a framework to access investment risks on energyโ€™s projects, such as oil exploitation investments. A platform was developed to include all gameโ€™s aspects pretended by Biodroid. The platform allows the player to perform actions such as build facilities, hire units that can attack opponents and contract scientists to research, allowing the release of new features. This platform simulates the environment where the energy companies are immersed. Energy related elements were given more detail. An oil upstream industry was simulated since its exploration to the production phase. Were implemented aspects like: (1) licensing; (2) fiscal systems; (3) field evaluation; (4) auctions; and (5) production profile were included. Renewable technologies were evaluated to substitute the natural resources. The objective of this work is to create a model able to simulate Energy companiesยด using agents based modelling (ABM). In the future, this model has to be integrated with a macroeconomic and financial model to serve as a background for a computer game called EW. Being a serious game, this game aims to educate, not just to entertain. Therefore real features had to be included in order to provide some realism to the game. This game creates a scenario where oil is a scarce resource and progressively had to be substituted for renewable resources. Moreover, the model aims to evaluate renewable resources technologies and to propose substitutes for the only natural (finite) resource here considered โ€“ Oil. The modelโ€™s output pretends to provide decision tools that can be used by an artificial Intelligence (AI) that will be developed by Biodroid. Both the platform and the energy companyโ€™s simulation allow to test and advise designers on the gameโ€™s balance.

Upload: others

Post on 13-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

A Serious Game on Sustainable Development Using Agent Based Modelling - Energy Wars

Andrรฉ Gonรงalo Liberato Folgado Under supervision of Prof. Tรขnia Alexandra dos Santos Costa e Sousa

and Prof. Tanya Vianna de Araรบjo Instituto Superior Tรฉcnico (IST), Lisbon

May, 2014

Abstract

The continuing depletion of natural resources and their increasing exploration costs have become a major focus for society. There is a growing recognition of the need to sustain an ecologically-balanced environment, while at the same time, the need of exploiting natural resources (at affordable prices) to satisfy the ever-increasing demands. Serious Games are a tool that can add entertainment to the increase awareness towards a more sustainable future.

In this work, an energy model was developed to become the serious part of a Serious Game โ€“ Energy Wars. The game pretends to simulate an oil scarcity scenario, where energy supply has to be progressively substituted by renewable resource. The objective of this game is to simulate the dispute for the last fossil fuels available on Earth. A platform was built to reproduce the gameโ€™s environment. This platform is built under compromises between the reproduction of how real world works and the restrictions imposed by game designers.

The model here presented intends to provide tools to simulate the energy companiesโ€™ behaviour. These companies are able to compete for new concessions through auctions, build structures, hire units, and produce energy to supply marketโ€™s demand. At each iteration, a company sees all possible investment options and based on its present situation and intentions, can choose according to its goals. A fieldsโ€™ evaluation framework was developed, computing several economic metrics to support the decision process. This evaluation shows that oil fields have higher return when compared with renewable resources, however, with a higher risk.

Keywords: Serious Games, Oil&Gas, Energy Projectsโ€™ Evaluation, Forecasting, Monte Carlo, Risk Management

1 Introduction

This works describes a model that aims to simulate oil/energy companies in a scarcity scenario. However, this work has the objective to provide, along with other models, the background for a game called โ€“ Energy Wars (EW). This means that the model has to be contextualized in a gaming reality. This game aims, besides entertainment, to raise the awareness on sustainable development, which defines it as a โ€“ Serious Game. Compared with similar products, this game has the following innovative characteristics: (1) it includes an agent-based financial model that captures oil prices fluctuations that are essential to understand this commodityโ€™ behaviour; and (2) also includes a framework to access investment risks on energyโ€™s projects, such as oil exploitation investments. A platform was developed to include all gameโ€™s aspects pretended by Biodroid. The platform allows the player to perform actions such as build facilities, hire units that can attack opponents and contract scientists to research, allowing the release of new features. This platform simulates the environment where the energy companies are immersed. Energy related elements were given more detail. An oil upstream industry was simulated since its exploration to the production phase. Were implemented aspects like: (1) licensing; (2) fiscal systems; (3) field evaluation; (4) auctions; and (5) production profile were included. Renewable technologies were evaluated to substitute the natural resources.

The objective of this work is to create a model able to simulate Energy companiesยด using agents based modelling (ABM). In the future, this model has to be integrated with a macroeconomic and financial model to serve as a background for a computer game called EW. Being a serious game, this game aims to educate, not just to entertain. Therefore real features had to be included in order to provide some realism to the game. This game creates a scenario where oil is a scarce resource and progressively had to be substituted for renewable resources. Moreover, the model aims to evaluate renewable resources technologies and to propose substitutes for the only natural (finite) resource here considered โ€“ Oil. The modelโ€™s output pretends to provide decision tools that can be used by an artificial Intelligence (AI) that will be developed by Biodroid. Both the platform and the energy companyโ€™s simulation allow to test and advise designers on the gameโ€™s balance.

Page 2: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

2 Model description

This model is developed to simulate energy companies immersed in a non-real environment. The model can be integrated into the macroeconomic and financial models initially proposed. A balance between gamesโ€™ aspects, required by Biodroid, and real elements from energy industry had to be made in order to attain the initial objective, which was to use this model (along with the others) as a background for the Energy Wars game.

2.1 Energy Wars

The game pretends to simulate an oil scarcity scenario, where energy supply has to be progressively substituted by renewable resources. World four major companies begin the game in their respective region. Each company can build facilities in different cities, which allows the chief executive officer (CEO) to hire units. The companyโ€™s portfolio increases by buying fields and building structures to produce Oil and Electricity. The only source of revenues is selling either forms of energy. When others regions become available, companies are able to expand, build headquarters (HQ) abroad and disputing new fields with host enemies, through auctions. After building a HQ in a new region, the player needs first to build facilities in order to hire their respective units. These characters possess special abilities which allow them to perform specific actions, such as: (1) defend and/or repair to guaranty portfolio security; (2) upgrade structures to increase energy output, and consequently profits; (3) attack enemies; (4) spy to steal technology and corporate data. In Figure 2.1, as it was described before, it is possible to see that there are two different paths that the player can follow when considering his investments โ€“ Energy and Non-Energy. The latter captures all sort of options non-energy related. To win the game, the player must reach a victory condition that can be chosen by the player in the beginning of the game (Duarte and Folhadela, 2013): (1) World Tycoon: reaching a net value of a certain amount; (2) World Domination: having more than 50% of the lands; and (3) Oligarch: getting the Oligarch rank.

Figure 2.1 - EW Gameplay

Biodroid provided gameโ€™s components to be implemented in the game designed document (GDD) (Duarte and Folhadela, 2013). After careful consideration of the GDD, different clusters were created to group similar components: (1) World; (2) Structures; (3) Companies; (4) Facilities; (5) Units, see Figure 2.2. This was made to facilitate further on the modelโ€™s implementation, see section 2.2, where this clusters are used to create classes in the sense of object oriented programing (OOP). The environment can be considered everything that is external to the playerโ€™s company, which follows the same interpretation used by agent based modelling (ABM). The environment can have its own identity and/or, for an agent point of view, is any other set of agents (Araรบjo, 2011). Resuming, is every exterior object on which an agent can apprehend, act or be affected. The environment properties, in the model are both macroeconomics variables, on which companies (i.e. agents) will have to considerate during the decision process and opponentsโ€™ data and interactions. In Figure 2.3 a), those properties are classified in four different classes: (1) Economy; (2) Companies; (3) Regions; (4) Cities. In order to organize companyโ€™s data, classes were also developed: (1) Fields; (2) Capital; (3) HQ; (4) Decision, see Figure 2.3 b).

Page 3: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

Figure 2.2 โ€“ EWโ€™s components

a) b)

Figure 2.3 โ€“ Modelโ€™s properties: a) environment and b) company

2.2 Model Implementation

The software used for the modelยดs implementation was Matlabยฎ, using an OOP approach. The companies on EW can deliver two types of energy carriers: (1) oil; and (2) renewable electricity. In the model, oil is the only finite natural resource. Its price is given by an agent based pricing model of futures oil contracts, which simulates financial markets behaviour, mainly pretending to capture traderโ€™s speculation (Sousa et al., 2012). There are four different renewable electricity sources: (1) hydro; (2) Solar; (3) Wind; (4) Nuclear. To run this model is necessary to introduce some initial conditions, created to maintain the gameโ€™s balance. The space where action unfolds โ€“ World โ€“ was built to be as flexible as possible, to undertake any resource and rank combination. A tree diagram design was adopted to establish different fieldโ€™s ranking per resource for each region, seeError! Reference source not found. The steps to configure the world are: (1) define the total number of fields available in the world (t_fields); (2) split t_fields by regions in proportion to their area (Ar), where ๐‘Ÿ is defined as the regionโ€™s index; (3) for each region, distribute energy resources (D); (4) attribute a rank to each field (R); and (5) percentage of offshore fields per region (O). The control of the fieldsโ€™ release process is done by four variables: (1) initial period that any field is released (stunlock); (2) mean frequency which a field be released (pull_field); (3) maximum number of fields released at a turn (fields_number); and (4) the overlapping parameter which allows to release higher ranksโ€™ fields, compared with the lower existing ones (overlap). Regarding the fieldโ€™s resource, it was used a uniformly probability distribution, which means the resource released is equally random. Initially there is defined a period (stunlock), which no field is released. Afterwards, the parameter pull_field, see Equation 2.1, keeps under control the frequency of fields released. Similarly of what was done to characterised offshore fields, a random variable with normal distribution is obtained. If pull_field is signed positive, then the field is released.

๐‘๐‘ข๐‘™๐‘™_๐‘“๐‘–๐‘’๐‘™๐‘‘ = {

1, ๐‘(0.2 , 0.5) โ‰ฅ 00, ๐‘œ๐‘กโ„Ž๐‘’๐‘Ÿ๐‘ค๐‘–๐‘ ๐‘’

2.1

Page 4: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

Figure 2.4 - World tree diagram

Using, in the Equation 2.1, the values (๐œ‡ = 0.2 , ฯƒ2 = 0.5), the fields are expected to be released every 2/3 turns, as requested by the game designers. Furthermore, if pull_field is positive then fields_number is used to obtain the number of fields to be freed. A random integer between 1 and fields_number is computed, with uniform probability, to decide the amount of fields for companies to purchase at a turn. Finally the overlap parameter depends on the number of lower rank fields available. As less low ranks exist, higher is the probability of higher ranks fields to be released. For every region where companies are already installed, i.e. that have at least one HQ, every investment option is procured within each decision cluster released. The clusters defined were: (1) build HQ; (2) buy lands; (3) build structures; (4) upgrade structures; (5) build facilities; (6) Hire units; (7) Attack; (8) Repair; (9) move units; and (10) Research. The points (2)-(4) are Energy investments, see Figure 2.1. Points (5)-(9) are Non-Energy investments, while both (1) and (10) can be applied for both investment types. This implementation allows to know the exact amount of states to which the company can evolve at every turn proved to be advantageous to the model. To know the complete list of actions at every turn, made it possible to be a model that can be played.

It was used deliberative agents to apply ABM. This agents use a Belief-Desire-Intention (BDI) architecture (Bratman, 1987). The main components for the BDI agentโ€™s architectures are: (1) beliefs, (2) desires, (3) intentions and (4) plans, see Figure 2.5. BDI theory is based on the philosophy of practical reasoning (Bratman, 1987). It offers flexibility in planning by reasoning over different goals.

Figure 2.5 - BDI agent's architecture (Bratman, 1987)

Figure 2.6 a) describes a gameโ€™s, turn from a player point of view. A turn begins with the player perceiving the changes in the environment, updating his data from all classes, Figure 2.3 b). Afterwards, the player evaluates its current status within his ambience and execute every actions for him available. To organize the companyโ€™s agenda, due to the actionsโ€™ time lag, the investments undertook were classified into three different categories: (1) Planned; (2) Pending; and (3) Executed. If a concession is released in the present turn, company will assess its net present value (NPV) estimation. Moreover if at least one more opponent had intended to purchase the same field, an auction will take place, see section 3.4. Considering all investments made its time for the company to update its status. All expenditures are deducted in companyโ€™s current capital. Both Oil and Electricity produced are sold at the actual respective price.

Page 5: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

Figure 2.6 represents a diagram of the main script source code. It is possible to observe that it has a structure of a BDI agent. At first, the model initialize by reading the initial conditions. Afterwards builds the game components: (1) Configures the world, (2) creates companies and (3) constructs the environment. Thereafter, at each turn, is randomly assigned playersโ€™ playing order. Companies start their course of actions by perceiving the changes in the environment, seeError! Reference source not found., and update companyโ€™s beliefs, which are the new available fields and both oil and electricity prices. Afterwards it procure all investment options at that turn. In the model companies invest on every possible action. Subsequently, these actions are scheduled in the Planned matrixโ€™s status. Afterwards, all actions assigned in the Execute matrix are executed at the present turn. Each action undergoes the following procedure, when being executed: (1) identify the action cluster that it belongs; (2) find an available unit to perform the action; (3) randomly attributes a unit and execute the action; (4) updates company properties, discounts the actions costs and subtracts the used unit; and (5) if it is the case, releases a decision cluster or a feature. The last operations to be done in the companiesโ€™ cycle are: (1) to receive do the payments; (2) update the reserves values and (3) update the aggregate production. Thereafter, if more than one company decides to purchase the same field, an auction will occur, see section 3.4. The last operation is to verify if any victory condition was achieved. If any company achieves such condition the game ends and that company is declared the winner. If it does not happen, the game continues until the maximum number of turns is reached.

a) b)

Figure 2.6 โ€“ Modelโ€™s algorithm diagram

3 Decision Process

The energy related aspects were the most developed throughout the model. The methodology used for projectsโ€™ evaluation and risk analysis is similar to those used in the real world, especially the ones concerning the natural resource fieldโ€™s evaluation. In the model, the only source of revenues comes from both oil and electricity sold into the market. Therefore the only way to increase the revenues is to purchase more fields and upgrade structures. Biodroid wanted that the fieldsโ€™ acquisition were made through auctions, see section 3.4, in order to increase competition between companies. Consequently, companies had to be able to access what was the fieldโ€™s economic interest.

An evaluation model was developed to enable companies to estimate the concessionโ€™s economic potential, as in Pergler and Rasmussen (2014). The objective was that companies could compute a bidding value for the available fields. Furthermore, this model allows companies to forecast several scenarios (n_sim) using Monte Carlo (MC) on both energy carriersโ€™ prices and interest rates, see section 3.1. With this information, is developed a discount cash flow model to achieve a concessionโ€™s net present value (NPV). Moreover, applying a normal distribution fitting on the n_sim NPV obtained, are able to make an investment field analysis. When a field becomes available to be acquired, a company can decide if proceeds for the fieldโ€™s evaluation or not. A field can only be bought if it has been evaluated. Companies know beforehand: (1) the number of opponents within the same region; (2) current energyโ€™s prices; and (3) fieldsโ€™ properties.

Page 6: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

3.1 Energy Prices and Interest Rates Forecast To forecast either energy pricesโ€™ or interest rates it was implemented two models: (1) a geometric Brownian motion (GBM), see Equation 3.1, and a mean reverting model MRM, Equation 3.2. Brent prices were chosen because they represent two thirds of the oil commercialized in the market (ICE Crude & Refined Oil Products, 2014). The GBM was used to simulate the oil prices, while the MRM was used on the residential and industrial average end-user (after tax) prices modelled by Brito (2013) and the real interest rates. However, there is not any empirical evidence, of a model proved to be better than other to forecast either commodity prices or real interest rates (Meade, 2010).

dX๐‘ก = ๐œ‡(๐‘ก)๐‘‹๐‘ก๐‘‘๐‘ก + ๐ท(๐‘ก, ๐‘‹๐‘ก)๐‘‰(๐‘ก)๐‘‘๐‘Š๐‘ก 3.1

dX๐‘ก = ๐‘†(๐‘ก)[๐ฟ(๐‘ก) โˆ’ ๐‘‹๐‘ก]๐‘‘๐‘ก + ๐‘‰(๐‘ก)๐‘‘๐‘Š๐‘ก 3.2

The MC approach has the benefits that the accuracy of the density forecasted is far more informative than the accuracy of a forecasted point or a prediction interval (Meade, 2010). Each scenario is a set of both price and interest rateโ€™s simulations. A simulation is a result of the random walks set from the last known value, where the number of random walks performed is defined as n_sim. The number of values that are pretended to be forecasted, from the last data known (i.e. the current month) is defined as nv_forcast. Therefore, each random walk will evolve from the current month to nv_forcast months ahead. In the case of the oil fields, nv_forcast is the amount of turns that a field is expected to last, defined as ๐‘€. The parameter nv_forcast was calculated by dividing the fieldโ€™s reserves by the average production available (๐‘ž๐‘—ฬ…ฬ… ฬ…), i.e. production level II. The renewable resourcesโ€™ are infinite, therefore to evaluate a concession should be discounting a perpetuity cash flow (Brealey and Myers, 2012). However to simplify the implementation, i.e. to not have different discount formulas, a sufficient large nv_forcast was selected for the effect on the NPV be less than 1%, see section Error! Reference source not found.. Therefore, when used to discount oil fields nv_forcast is equal to ๐‘€, while on renewable fields, the value is fixed to 100.

Both models need data to be calibrated. As stated above each turn represents a month. One of the inputs is the Initial Date, which represents the first, i.e. old, data retrieve to from the database to calibrate the models. This parameter can be of great significance because if a most recent Initial Date is chosen, it can suppress the influence of long age data that was affected by special events, such as wars, e.g. World War I (1914-1918), Six-day War (1967) and recently the Iraqโ€™s conflict (2003). Moreover, oil embargos can also cause considerable supply shocks or even disruptions, such as the Suez Crisis (1956) and UN Iraq embargo (1990) (Yergin, 2011). Consequently, these incidents have great impact on energy prices resulting on significant effects on countriesโ€™ macroeconomics (Barsky and Kilian, 2004). For every evaluation, each model does a thousand simulations (๐‘›_๐‘ ๐‘–๐‘š = 1000), to perceive the scenariosโ€™ statistical properties stabilization. The inputs necessary to run the models are in Table 3.1.

Table 3.1 โ€“ Inputs for the forecast models

n_sim nv_forcast Model Initial Date Historical Data

OIL 1000 ๐‘€ GBM Jan -1991 (BP - Statistical review of world energy,

2012)

ELECTRICITY 1000 100 MRM Jan - 1991 (Brito and Sousa, 2013)

INTEREST RATES

1000 ๐‘€ MRM Jan - 1991 (Interest Rates and Yields - Money

Market - Monthly, 2014)

Figure 3.1 illustrates a Brent oil prices forecasting using a MC simulation. As mentioned above the benefits of the MC approach is the information provided by the forecasted density. In Figure 3.1, random walks start from Feb-2013 (inclusive). It is possible to perceive a clear trend for the oil price to increase. Moreover, is observed a higher density between the 100 $ and 200 $ interval. Therefore is possible to deduce that crude oil Brent prices should remain high, above 100 $, with a clear tendency to increase (Annual Energy Outlook, 2014). The GBM model experience some overshooting pricesโ€™ random walks, which could be explained by data calibration relative to the Iraq War (2003) and the start of last economic crises (2008).

Page 7: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

Figure 3.1 โ€“ MC simulation of Brent crude oil prices

Error! Reference source not found. illustrates North America residential and industrial average end-user (after tax) prices. It is clear a decreasing trend of the electricity prices in the following two decades, which is in line with the results of Brito (2013). Is observed a forecasted density between the 9 USโ‚ต and 12 USโ‚ต interval. This result is in consonance with the last Annual Energy Report (Annual Energy Outlook, 2014) from the Energy Information Agency (EIA). The EIA report forecast that residential prices stabilize around the 9 USโ‚ต and the industrial price will secure around 12 USโ‚ต. The average prices, including residential, commercial industrial and transportation, will stabilize around 11 USโ‚ต. Due to the MRM mean reverting characteristic, the electricity prices random walks, see Error! Reference source not found. are much better behaved when compared with the oil prices, see Figure 3.1.

It can be observed in Figure 3.2 b) an annual average of the simulated real interest rates. It is perceived the mean reverting property of the MRM model. The interest rate tend to oscillate around 2%, which is in consonance with the last report from the International Monetary Fund (World Economic Outlook: Recovery Strengthens, Remains Uneven, 2014).

a) b) Figure 3.2 โ€“ MC MRM forecast of a) annual average of the real interest rates simulation average and b) North America

end-user electricity prices

3.2 Fieldโ€™s Economics

Four key economic metrics are used to rank projects and to decide whether or not they should be accepted for inclusion in the capital budget: (1) discounted payback (DP), (2) NPV, (3) internal rate of return (IRR), (4) profitability index (PI) (Brealey and Myers, 2012). To compute these parameters was necessary to develop a discounted cash flow model to calculate economic metrics to support the decision making, see Table 3.2. Moreover, elements from the fiscal system type adopted โ€“ concession (Tordo, 2007) โ€“ were also include:(1) royalties (๐‘Ÿ๐‘œ๐‘ฆ๐‘ฆ); and (2) corporate taxes (๐‘ก๐‘Ž๐‘ฅ๐‘ฆ). The forecasted prices and interest rates were computed in a

monthly period, the same as a gameโ€™s turn. Consequently, a year average had to be applied to both in order to fit the data in the discount cash flow process. The year averages of price and discount rate correspond to ๐‘๐‘ฆ

Page 8: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

and ๐‘Ÿ๐‘ฆ, respectively. The capital expenditure (๐‘๐‘Ž๐‘๐‘’๐‘ฅ) is obtain multiplying ๐‘ž๐‘—ฬ…ฬ… ฬ… by the specific capital costs for each

resource ๐‘—, within region ๐‘Ÿ ( ๐‘Ÿ๐‘๐‘๐‘—,๐‘Ÿ).

Table 3.2 โ€“ Discount cash flow model

Financial variables Year 0 Yr ๐’š Units Equations/References

Oil production ๐’’๐’š Mbbl ๐’’๐’‹

Oil price ๐’‘๐’š $/bbl 3.1

SALES REVENUE ๐’“๐’†๐’—๐’š MM$ ๐’’๐’š ร— ๐’‘๐’š๐’Š

Transport Costs

๐’•๐’„๐’š MM$ ๐ŸŽ

OPEX Production Costs ๐’‘๐’„๐’š MM$ (Brito and Folgado, 2012)

Royalty ๐’“๐’๐’š๐’š % 7%*

Depreciation ๐’…๐’†๐’‘๐’š % ๐Ÿ“%*

OPERATIONAL EXPENDITURE ๐’๐’‘๐’†๐’™๐’š MM$ (๐’“๐’†๐’—๐’•)๐’“๐’๐’š๐’š๐’“ โˆ’ ๐’•๐’„๐’š โˆ’ ๐’‘๐’„๐’š

TAX Corporate Tax ๐’•๐’‚๐’™๐’š % ๐Ÿ‘๐Ÿ“%*

OPERATING PROFIT BEFORE TAX ๐’‘๐’“๐’๐’‡๐’Š๐’•_๐’ƒ๐’•๐’š MM$ ๐’“๐’†๐’—๐’š โˆ’ ๐’๐’‘๐’†๐’™๐’š

CAPEX Capital Expenditure ๐’„๐’‚๐’‘๐’†๐’™ MM$ ๐’“๐’„๐’„๐’‹,๐’“ ร— ๐’’๏ฟฝฬ…๏ฟฝ UNDISCOUNTED NET CASH FLOW ๐’„๐’‡๐’š MM$ (๐’‘๐’“๐’๐’‡๐’Š๐’•_๐’ƒ๐’•๐’š)(๐Ÿ โˆ’ ๐’•๐’‚๐’™๐’š

๐’“)

Discount rate ๐’“๐’š % 3.2

Cash Flow Present Value MM$

Cumulative Cash Flow MM$

NPV ๐๐๐•๐’‘

๐’Š

MM$ โˆ’ ๐’„๐’‚๐’‘๐’†๐’™ + โˆ‘ ๐’„๐’‡๐’š (๐Ÿ + ๐’“๐’š๐’Š )

๐’šโ„

๐’€

๐’š=๐ŸŽ

IRR ๐‘ฐ๐‘น๐‘น๐’‘

๐’Š

% โˆ‘ ๐œ๐Ÿ๐’š (๐Ÿ + ๐‘ฐ๐‘น๐‘น๐’‘๐’Š )

๐’šโ„

๐’

๐’•=๐ŸŽ

= ๐ŸŽ

DP ๐‘ซ๐‘ท๐’‘๐’Š Years (Brealey and Myers, 2012)

PI ๐๐ˆ๐’‘๐’Š % ๐๐๐•๐’‘

๐’Š ๐’„๐’‚๐’‘๐’†๐’™โ„

Legend: Costs; Decision Variables * World Average (Tordo, 2007)

The discount cash flow model is applied for the n_sim scenarios obtained from the MC method. Thereafter, is computed n_sim values for each economic metrics, resulting in vectors with size equal to n_sim.

3.3 Risk Management

A normal distribution fitting is applied on the NPV vector. This process was only applied for the NPV, although it can be performed to any of the economic metrics. Due the high number of simulated scenarios (๐‘›_๐‘ ๐‘–๐‘š = 1000) is possible to extract significant statistical properties from normal distribution, see Figure 3.3.

Figure 3.3 - NPV normal distribution fitting

A long right tail indicate a considerable amount of outliers. The reason is the influence of the oil price simulations. Due to the oil historical prices, affected for instance by Iraq War (2003) and the financial crises in 2008, simulated random paths tend easily to increase drastically, see Figure 3.1. Four different scenarios are evaluated in the normal fitting: (1) NPVโ€™s mean value; (2) NPVโ€™s confidence level at 95%; (3) zero profit probability; and (4) Base case with 100$ a barrel. Figure 3.3 shows the results of the concessionโ€™s evaluation model applied on a bronze

Page 9: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

oil field (6 Gb) situated in North America ( ๐‘Ÿ๐‘๐‘๐‘—,๐‘Ÿ = 8.445 [$ ๐‘๐‘๐‘™โ„ ]). It was used for oil fields, a constant level II

production, ๐‘๐‘— = 3 ๐‘€๐‘๐‘๐‘™/๐‘š๐‘œ๐‘›๐‘กโ„Ž through all projectsโ€™ life cycle. By analysing the figure is possible to perceive that this is an investment with a low risk of being unprofitable. It has 2% probability of having negative NPV. Also, at a confidence level at 95% has PI equal to 3.44 (244 %) and mean IRR of 40.66 %. This values are unrealistic (significantly higher than found in literature) because they use the modelโ€™s calibration for the desired gameโ€™s balance, which is this works propose. Table 3.3 resumes the concessions evaluation results. It is presented projectโ€™s economic metrics mean values for an oil field and an electricity project. Comparing both Bronze fields, oil and solar, it is clearly that the oil investment is much more profitable than the solar one. However, oil NPV

mean standard deviation ฯƒNPV๐‘๐‘– is relatively higher, with the same order of magnitude that the mean expected

NPV ฮผNPV๐‘๐‘– . While in the solar case, the investment is less profitable, although the risk is considerably inferior.

Table 3.3 โ€“ Projectโ€™s economic metrics mean values results

FIELD ๐›๐๐๐•๐’‘

๐’Š

$MM

๐›”๐๐๐•๐’‘๐’Š

$2MM

๐๐ˆ๐’‘๐’Š

%

๐‘ฐ๐‘น๐‘น๐’‘๐’Š

%

๐‘ซ๐‘ท๐’‘๐’Š

YEARS LCOE

EU_O_B_3 882 228 201 147 244 40.66 3.25 8.88 $/bbl

EU_S_B_1 78.191 5.073 11 19.02 16.51 0.19 $/kWh

3.4 Auction The selected blockโ€™s license, necessary for companies to explore and exploit natural resources within the host countries, were the auctions. Before any proposal, first companies should analyse two key elements: (1) the fiscal, system suggested by the host governments; and (2) geologic properties of the block, such as porosity and permeability (Gomes and Alves, 2011). The latter is outside of this workโ€™s scope, where is assumed that are known the initial reserves of the license area. The fiscal system defined for all fields were the concessions, as discussed above. The type of auction selected was a derivation of the first sealed price (Tordo et al., 2010). At a turn if more than one company desire to acquire the same field, an action occurs. As mentioned, companies order is randomly established in the beginning of each turn. The first in line gets to hold a token that allows him to bid twice in the same turn. This twist gives to the token holder the options to deviate the field from an opponent if the highest bid is not his own. Due to the risks and uncertainties, companies bid based in a worst-case scenario. Therefore, the NPV at a 95% confidence is the value used. After estimate the fieldsโ€™ profitability, a random value is computed between 0 and 1 with a distribution positive skewed, i.e. higher probability of getting a value close to 0. This implementation is consistent with Afualo (1997), which affirms that: โ€œthe bid underestimates value, since the bidder is bidding for some profitโ€. The random distribution used was the exponential, with mean parameter ๐‘š๐‘ข equal to 0.1 (๐‘š๐‘ข = 0.1), see Equation 3.3, to expect bidding prices

around 1% of NPV๐‘๐‘– (5%).The softwareโ€™s random algorithm provides ๐‘ฅ at each call.

bid๐‘

๐‘–,1 =1

๐‘š๐‘ข๐‘’

โˆ’๐‘ฅ๐‘š๐‘ข ร— NPV๐‘

๐‘– (5%) 3.3

The company that hold the token , offers 1% more, than the highest bid if decides to acquire the field, is defined

as bid๐‘๐‘–,2. The decision to buy is related with the current capital. If the highest bid is inferior than25% of companyโ€™s

current capital, the field is purchased.

4 Conclusion and Future Work

The main objective of the model was to provide decision tools to use in the decision process being implemented posteriorly. The decisions that were made throughout the conception of the model took into account the trade-off between the flexibility needed by the game designers and the increasing complexity of the model. To aim for the gameโ€™s scenario, where oil was a scarce resource that progressively is being substituted by renewable resources, the oil upstream industry was implemented to capture all oil process since its exploration to market. To calibrate the model with costs and production values that are similar to reality, a database was developed together with Mรกrio Brito. Although the main objective for the model is to support the Energy Wars development it can be calibrated to be used for more serious studies. Using the model implementation for the world configuration, it is possible to replicate the finite amount available of natural resources. Regarding the renewables resources, they could be calibrated for the maximum power capacity. Ranks could be a fuzzy classifications for different irradiation levels (solar) or average wind velocities (wind). Throughout the model implementation, it was concluded t_fields can have huge impact. If it is small (e.g. 100), companies rapidly feel

Page 10: A Serious Game on Sustainable Development Using Agent ......Figure 2.4 - World tree diagram Using, in the Equation 2.1, the values (๐œ‡=0.2 ,ฯƒ2=0.5), the fields are expected to be

the necessity to explore new regions and the interaction between players happens much earlier in the game. While in the opposite case, companies might not leave the region where they have started. In the current condition, the model is driven by the new fields that are being released. After an initial period, where companies do everything that is possible to do, they achieve a state where no more HQ and facilities can be built and the limit of units have been reached. This happens because only energy related actions were fully implemented. Regarding to the forecasting exercise of energy prices and interest rates the conclusions obtained are the following. Oil Brent price is observed to have a higher forecasted density between the 100 $ and 200 $ interval. Therefore, it is possible to deduce that crude oil Brent prices should remain high, above 100 $, with a clear tendency to increase. While for the residential and industrial average end-user electricity price, is observed that the forecasted density stabilizes between the 9 USโ‚ต and 12 USโ‚ต interval. Furthermore, the GBM model experiences some overshooting pricesโ€™ random walks, which could be explained by the data calibration relative to the Iraqโ€™s War (2003) and the start of last economic crises (2008). It is observed the mean reverting property of the real interest rate that tend to oscillate around 2%. It can be concluded in the results of the risk analysis for both fields, oil and solar, that an investment on an oil field can be much more profitable comparing with a renewable one. However, implies a considerable higher risk, which can be explained by the oil pricesโ€™ volatility.

The main focus of an extension to this work should be the development of an independent AI. In this thesis, is proposed a partial observed Markov decision process (POMDP) to support companies in the decision process. Game theory aspects could be implemented both in auction and on the quantity of product supplied to the market using a Cournotโ€™s Nash equilibrium under Oligopoly market. For this, it would be necessary to provide the ability for companies to store non sold product. An important ABM characteristic that was not addressed in the model is the possibility of bankruptcy, where an agent/company is withdrawn from the market and replaced by other. Moreover, could also be implemented the possibility of a company to contract loans to support any investment.

5 References Afualo, V.I., McMillan, J., 1997. Auctions of rights to public property, The New Palgrave Dictionary of Economics

and the Law, ed. Peter Newman. Graduate School of International Relations and Pacific Studies, University of California, San Diego.

Annual Energy Outlook, 2014.

Araรบjo, T., 2011. Introduรงao ร  Economia Computacional, 2a ed. Almedina, Coimbra.

Barsky, R., Kilian, L., 2004. Oil and the Macroeconomy Since the 1970s ( No. 10855), NBER. Cambridge.

BP - Statistical review of world energy, 2012.

Bratman, M., 1987. Intention, plans, and practical reason.

Brealey, R.A., Myers, S.C., 2012. Principles of corporate finance. Tata McGraw-Hill Education.

Brito, M., Folgado, A., 2012. Energy wars - Energy Resources and Costs.

Brito, M., Sousa, T., 2013. Development of a โ€œenergy mix scenarioโ€ and a โ€œelectricity as main energy resource scenarioโ€ for electricity demand up to 2010. Int. J. Sustain. Energy Plan. Manag. XX, 18.

Duarte, P., Folhadela, N., 2013. Game Design Document. Biodroid Entertainment Group, Lisbon.

Gomes, J.S., Alves, F.B., 2011. O universo da indรบstria petrolรญfera: da pesquisa ร  refinaรงรฃo, 2o ed. Calouste Gulbenkian.

ICE Crude & Refined Oil Products, 2014.

Interest Rates and Yields - Money Market - Monthly, 2014. . Sydney.

Meade, N., 2010. Oil prices - Brownian motion or mean reversion? A study using a one year ahead density forecast criterion. Energy Econ. 32, 1485โ€“1498.

Pergler, M., Rasmussen, A., 2014. Making better decisions about the risks of capital projects. Ottawa.

Sousa, T., Boavida, J., Carvalho, O., Brito, M., 2012. Projecto โ€œEnergy Wars - Relatรณrio tรฉcnico-cientรญfico n.o 2. Lisbon.

Tordo, S., 2007. Fiscal Systems for Hydrocarbons Design Issues ( No. 123). Washington.

Tordo, S., Johnston, D., Johnston, D., 2010. Petroleum Exploration and Production Rights: Allocation Strategies and Design Issues ( No. 179). Washington.

World Economic Outlook: Recovery Strengthens, Remains Uneven, 2014. . Washinton.

Yergin, D., 2011. The quest: energy, security, and the remaking of the modern world. Penguin Press, New York, NY.