# Mini-Grid A-Z Model

Modelling a mini-grid can seem to be very complex when you get a model. Mini-grids seem to be quite complex where you have to add up demands of households, estimate energy generation, compute the costs of alternatives, make a project finance model, account for distribution costs, incrorporate battery storage and other items. In fact, a mini-grid is like a mini-utility company — a mini Meralco, Tenaga, EDF or ConEd. When modelling an integrated utility company you would use a corporate model and not a project finance model. It is a corporate model because of continuing capital expenditures, replacement capital expenditures, financing and other items. You would have to understand the demand and energy balance, you would determine revenue requirements from the regulated cost of capital and there would be continuing capital expenditures. This is not how a mini-grid model is typically modelled. The elemets of creating a mini-grid include:

• Setting up inputs derived from the number of households
• Include hourly demand profiles
• Include costs of different capacity options and amounts of capacity
• Include distribution costs
• Creating an hourly solar generation analysis
• Modelling hour by hours dispatch from demand profiles and solar analysis
• Solar is next and find surplus solar
• Set-up battery balance with minimum constraints
• Model remaining load and diesel or other thermal
• Create Financial Model
• Move to Load and Capacity Analysis
• Then you put in the capital expenditures
• Include retirements

I suggest that you get a summary page that tells you what is going on while you are working on the model. This should allow you to evaluate whether things make sense when you are working on the model.

## Demand

In the other file I worked a lot on the demad by adding together the lightbulbs and the fans and other things at each household. The assumption is that households will not change their behaviour when resources are avaiable (for example, charging batteries when the sun is shining). This can take (and waste) a lot of time. So for this exercise, I just take some hourly demand estimates from other sources. When you do this, you could also add some uncertainty with Monte Carlo simulation.

An example of estimated demand is illustrated in the screenshots below.

When you will create the model, you will want to make an analysis of the solar power. With the hour-by-hour solar you can combine the demand and the solar power to evaluate how to meet (or not meet) the remaining demand. You need to get the solar resource and make adjustments for the performance ratio to evaluate this hour-by-hour solar power that you will combine with the demand. I have used the solar analysis on an hour by hour basis from the UN model. It is nice because you can go and get the hour by hour solar from the PV GIS website.

## Computing Terminal Value

One of the painful things to do if you want to prove that your computations of PMT and economic depreciation are correct is to compute the terminal value. In this case you cannot compute the terminal value from some kind of model where you divide by the discount rate minus the growth or something similar. Instead, you can go through asset by asset and compute the remaining present value of the payment. Then you can add the present value of the remaining payment in the terminal period. The formulas include:

• Derive the replacement expenditures from the OFFSET function
• Replacement = OFFSET(Capital Expenditure, 0 , – Life)
• Put the replacement in separate line with AND relative to the prior replacement (the first formula is different)
• Note the vintage structure in the screenshot below

• Create a counter and the remaining life of the asset
• Use an AND function to with the prior flag and the first time you find a positive capital expenditure to create a counter
• This should be the period after the first capital expenditure
• The manner in which you compute the remaining life is shown in the screenshot below.

• Compute the PMT that will recover the total capital expenditures
• Use the PMT with the total capital expenditure (shown in column E)
• See a full explanation of the PMT formula in the LCOE section