Example 1-7: Net Cash Flow in a Simplified Production Sharing Contract

Anthony Jimenez
16 August 2021
http://www.fa-jimenez.com/

Assumptions:

Pandas Dataframe Computations for Cash Flow Analysis

Import necessary libraries
Define input streams (from text)
Main function for computing net cash flow (NCF)
Main function for generating the output summary tables
Net Cash Flow Table (NCF)
Cost Recovery Table
Production Sharing Contract (PSC) Income Tax Table

Visualizing the Outputted Cash Flow Tables

Net Cash Flow Visuals

Utilizing the Plotly plotting library, we can create interactive plots. However, plotly works best with data in long-form, not wide-form (as is a typical cash flow table.

Thus, we should first reformat our data to long-form by using the Pandas function pd.melt().

Basic line plot illustrating how Net Cash Flow (NCF) is computed

The basic equation for NCF in this case is:

$NCF = NOI - Investment$

Because no additional investments are made after the first year, we see that NOI equals NCF for years 2-8.

Payout Timing as an Example Yardstick

While our net cash flow table shows us the yearly received cash after paying all expenses, the cumulative sum of this cash stream is very helpful in idenitifying if the project is valuable over its entire life.

In a more realistic case, the cash flows of future years would be discounted in order to account for the time value of money. However, in this naive case, a direct cumulative sum suffices.

Although a positive net cash flow is returned in Year 2 on the annual basis, the cumulative net cash flow does not become positive until Year 4.

Thus, the time to payout is 4 years.