# A Fiscal Regime Modelling Example in Excel

What I am going to do is first talk about upstream fiscal modelling as I see it–demonstrating a basic Excel model. Then I will show how my model can be extended to do a crude Monte Carlo Simulation in Excel.

##### 1. Fiscal Regime Modelling

This is something I did when trying to get to grips with fiscal regime modelling in Oil and Gas. I created this model after carefully working through most of Ken Kasriel’s book entitled, take a deep breath… Upstream Petroleum Fiscal and Valuation Modeling in Excel: A Worked Examples Approach. That book is a great resource if you are good with Excel but new to oil and gas economics; and from what I’ve seen of the oil industry, the approaches to upstream portfolio economics are based mostly on the kind of stuff from that book and what I am doing in this article… mostly in Excel also! It is a crying shame that petroleum economists and planners cannot use SQL, MS Access, or ideally SAS (or similar) but in 2015 they cannot. So that is where Palantir, Merak Peep, and other software vendors come into play–offering tools that enable ‘beyond-Excel’ analysis and data management solutions.

However, it seems that despite these, Excel is the bread and butter mainstay of upstream modelling, probably since that is where the technical skills base of the modelers/economists exists! In early 2014, I looked at the fiscal terms of Trinidad & Tobago’s fiscal regime then ventured to model these terms in a simple Excel model. My goal was to understand how the regime performed from an operator or contractor perspective.

If you open my model file you will see that I have stored all my assumptions or single number inputs to the left of the sheet (see below).

These values then feed my time-series calculations situated toward the middle of the sheet; then to the right I have put all my outputs. I found that to do the calculations, all that is really happening is repeated formulas and calculated columns to derive the variables you require (in my example, the calculations are going from left to right–but Ken Kasriel’s book has them going from top to bottom–either way is OK). You start off with production, royalty, gross revenue, and a few other variables–but then the thing grows since you need intermittent formulas to get economic limit, recoverable costs, depreciation, etc.

These upstream model calculations generally follow along a line of calculations/steps in roughly this order:

1. Get production forecast rates by product (e.g. oil, gas, ngl, etc.)
2. Calculate gross revenue and royalties
3. Calculate bonuses
4. Calculate the economic limited (pre-tax only!)
5. Calculate abandonment and depreciation
6. Calculate recoverable costs
7. Determine profit oil
8. Calculate before tax cashflow
9. Calculate taxes and after tax cashflow
10. Calculate the present value of after tax cashflows
11. Sum these to get the net present value (NPV) of the project
12. Create additional variables or calculations if you want to see additional outputs
##### 2. Monte Carlo Simulation

You should see these 12 steps and the sequence of calculations playing out in the attached model (going from left to right in the sheet)–but I have added a further twist here. Since I wanted to see how the fiscal terms would play out across a range of possible production profiles and cost assumptions I made flagrant use of Excel’s RANDBETWEEN function to return random inputs between lower and upper limits for each input variable (e.g. recoverable reserves in place, licence start year, capex outlay, etc.). Every time the sheet recalculates (e.g. by clicking F9) these randomized inputs change and a different production profile and eventual NPV is calculated.

The last thing I did was write a very very short VBA subroutine (see below) to iterate 1000 calculations, each time outputting the results to the region starting in cell AS9 on my model. So what you get is 1000 possible NPV scenarios based on the assumptions made at the outset. The results of these scenarios are in columns BF:BK on my sheet. Currently showing that the company (contractor) will take 15% of profit 45% of the time (the other 85% goes to the government in case you were wondering 🙂 ).

##### Data Management and Upstream Planning

Although this is the essential basis of upstream economic modelling (and there are some added complexities when it comes to tariff share, abandonment modelling, carry backs and other complexities), additional VBA or other code is required when ring-fence tax calculations, hub dependency modelling, or other multi-project analysis is required.

To do these kinds of thing, data from multiple projects must be combined into consolidated entities for tax calculations, tariff calculation, or contract farm in/out purposes. Managing these kinds of aggregations and their combination with economic calculations while at the same time making the process user-intuitive is the challenge for software developers in this area as at 2015.