This example uses standalone streams for revenue and opex (per guidance); pack contract for exit.
Revenue line with growth_rate > 0 (e.g. 3%). Demonstrates the industry lever for recurring revenue growth in DCF.
Compile
./target/debug/cfdl compile examples/opco_with_growth --out /tmp/opco_growth.ir.json --packs packsRun
./target/debug/cfdl run /tmp/opco_growth.ir.json --out /tmp/opco_growth.results.json --config examples/opco_with_growth/run.json --packs packsGenerated from
examples/opco_with_growth/. Code is shown below so you can see structure and elements without repo access.
model.cfdl
version 0.1
model "opco-with-growth-example"
use pack "opco" version "0.1.0"
time calendar monthly from 2026-01 for 72
entity operating business
// Revenue and opex as standalone streams (individual items per guidance). Growth via expressions.
stream operating.revenue on entity operating.business inflow currency USD {
schedule every monthly from 2026-01 to 2031-12
amount = 120000 * pow(1.03, time.t - 1)
}
stream operating.opex on entity operating.business outflow currency USD {
schedule every monthly from 2026-01 to 2031-12
amount = 70000
}
contract opco.exit_multiple {
term 2031-12..2031-12
terms {
exit_period = 72
exit_multiple = 6.5
base_value = 800000
}
}