Every example on this page is a complete model that runs. They come in three kinds: eight short lessons that build the language one construct at a time, a few longer domain models, and twenty-five benchmark models checked against published references.
Lessons
Read in order. Each adds one construct to the model before it.
- Minimal model
- Your first stream
- A simple contract
- Using an industry pack
- Multi-file model
- Curves
- Uncertainty and Monte Carlo
- Events and options
Domain models
Longer models that put the constructs together.
- CRE examples — lease-up, developer lifecycle, phased development, multi-file, development with financing.
- Operating business examples — revenue, opex, working capital, exit multiple, growth, multi-file.
Benchmark models
Complete models for every pack, each checked period by period against an independent reference implementation. These detailed examples have been verified. How that is done is on the validation page.
Energy
- Energy: cost-based solar feed-in tariff — A distributed solar project paid a cost-based feed-in tariff, with an abating payment in lieu of property tax and a revenue-linked royalty.
- Energy: merchant generator with capacity revenue — A merchant generator earning both energy and capacity revenue, exposed to price rather than to a contracted offtake.
- Energy: a merchant battery dispatched on the day-ahead spread — A 20 MW / 80 MWh merchant battery dispatched on the day-ahead spread, with the run/idle decision as a state machine in IEEE Std 762's vocabulary and cycling as an output rather than an assumption.
- Energy: solar PPA microgrid — A solar microgrid selling under a long-term power purchase agreement, with production degradation and a fixed escalator on the contracted price.
- Energy: a tax-equity flip, with the date derived — A tax-equity partnership whose flip date is derived from the investor's return rather than stated, reconciled against an external model.
- Energy: a tax-equity flip, distributing from an account — The twin of tax_equity_flip, with the project's cash as streams settling into an account rather than a hand-carried field.
- Energy: utility-scale PV, single owner — A utility-scale photovoltaic project in a single-owner structure, carrying its own tax position rather than allocating to an investor.
- Energy: wind with PTC and MACRS — A wind project claiming the production tax credit over ten years and depreciating on the MACRS five-year schedule.
Commercial real estate
- CRE: a stabilized acquisition and a terminal cap rate — A stabilized commercial property bought on a going-in cap rate, held ten years with fully reimbursed expenses, and sold by capping the final year's net operating income.
- CRE: HOME-funded affordable multifamily — A 29-year affordable multifamily underwriting from HUD's HOME Multifamily template, with restricted rents reverting to market at year 15 and a first mortgage, stated from its sizing terms, that stops paying before the hold ends.
- CRE: rent-regulated plaza — A five-year office acquisition and disposition from MIT's real estate finance course, valued on a levered before-tax cash flow with an exit at a stated cap rate.
- CRE: a renewal option on a lease — The two-tenant office DCF with Tenant A's expiry as a renewal option on the lease: exercised at expiry when the market rent exceeds the option rent, and a re-let at market when it does not.
- CRE: two-tenant office — An institutional two-tenant office DCF: free rent, anniversary escalations, recoveries above expense stops, tenant improvements and leasing commissions, probability-blended rollover, and a forward-NOI exit over ten years.
- CRE: office development joint venture — A ground-up office development drawing on a construction facility, capitalizing interest through the build, then stabilizing and refinancing.
- CRE: office development, through the pack contract — The same published construction schedule as the native case, declared as one cre.construction_loan contract — equity first, the facility behind it, interest on the drawn balance.
- CRE: retail strip with expense stops — A retail strip center with base-year expense gross-ups, percentage rent over a breakpoint, and staggered tenant rollover across a ten-year hold.
Credit
- Credit: auto ABS with a step-down and a turbo — The note classes of a sub-prime auto ABS that builds its own overcollateralization: a 22-step waterfall where excess cash accelerates principal toward a target and principal beyond it is retained rather than paid.
- Credit: auto ABS at 0.5x prepayment speed — An auto loan pool prepaying at 0.5 ABS, amortizing to schedule with prepayments taken as a constant share of the original balance.
- Credit: auto ABS at 1.5x prepayment speed — The same auto loan pool at 1.5 ABS, three times the prepayment speed, showing how the collection profile shortens.
- Credit: auto ABS note classes — The note classes of an auto ABS: the trust as a container, collections as accounts, and ordered waterfalls paying seven classes by seniority, reconciled against the issuer's published percent-outstanding grid at every distribution date.
- Credit: auto ABS weighted average life — An auto loan pool measured for weighted average life, the standard summary of when principal actually comes back.
- Credit: floating-rate bridge pool — A floating-rate bridge loan pool priced off a forward curve, where the coupon resets each period rather than being fixed at origination.
- Credit: Fannie Mae REMIC with a stripped coupon, at six prepayment speeds — Security Group 3 of a Fannie Mae REMIC: a seasoned mortgage pool passing through to a single class, with the coupon stripped between it and an interest-only class that carries no principal.
- Credit: Fannie Mae REMIC at 0% PSA — Group 3 of a Fannie Mae REMIC with the mortgage loans never prepaying — the supplement's own alternative collateral of new 7.50% thirty-year loans, amortizing on schedule for thirty years.
- Credit: IO/bullet bridge loan — An interest-only loan repaying its entire principal in a single balloon at maturity.
- Credit: level-pay auto pool — A level-payment amortizing loan pool — the constant instalment that splits into shrinking interest and growing principal.
- Credit: a mortgage pool modeled loan by loan — The same mortgage pool declared loan by loan, with the published pool schedule asserted against the aggregate the engine rolls up from its children.
- Credit: mortgage pool conventions — A mortgage pool priced under standard market conventions, reconciling published factors, CPR and SMM against a fixed prepayment vector.
- Credit: mortgage pool on a prepayment ramp — A mortgage pool on a ramping prepayment curve, where speeds build over the first thirty months before levelling off.
Operating businesses
- OpCo: banker DCF conventions — An operating company discounted cash flow built to standard banking conventions, from revenue through unlevered free cash flow to enterprise value.
- OpCo: free cash flow to firm — A free cash flow to firm valuation following Damodaran's published method, with reinvestment driven by growth and return on capital.
- OpCo: working capital and a terminal exit multiple — An operating company discounted cash flow with an explicit working-capital line and a terminal value struck as a multiple of trailing EBITDA.
- OpCo: stable-growth dividend discount — A Gordon growth valuation of a regulated utility, where a perpetual dividend growing at a constant rate collapses to a closed form.
- OpCo: leveraged buyout — A leveraged buyout: entry at a stated multiple, debt paid down out of operating cash flow, and an exit that returns the sponsor's equity.
- OpCo: LBO debt schedule with average-balance interest — A leveraged buyout's debt schedule, where interest accrues on the average balance and every dollar of free cash flow sweeps against the term loan.
- OpCo: one buyout at three capital structures — One sponsor buyout run at three capital structures, with the published five-year multiple and return reproduced for each.
- OpCo: LBO exit waterfall with an option pool — A leveraged buyout's exit waterfall, splitting proceeds between an accruing preferred, rolled-over management equity and a laddered management option pool.
- OpCo: SaaS DCF and the stock-compensation fork — A subscription software business valued on discounted cash flow, with stock-based compensation carried as its own line so the same model states value before and after it.
Without a pack
- Bespoke: open-pit copper mine — A 41-year open-pit copper mine whose production plan is derived from its reserve statement, with the pit's strip ratio drawn from a distribution and the valuation reported as a range.
- Bespoke: tolled highway PPP concession — A 125 km toll highway concession from the World Bank's highway PPP toolkit, financed with three debt tranches and topped up each year by an availability subsidy sized to hold debt service cover at 1.30x.