CFDL

Operating Business (OpCo) examples show revenue, opex, working capital, and exit multiple for DCF-style valuation. All use the OpCo pack (use pack "opco"). For when to use streams vs contracts (e.g. individual revenue/opex items → stream), see the Language guide.

Example ladder

ExamplePurpose
with_packRevenue + opex only (tutorial).
opco_with_growthRevenue line with growth_rate > 0.
opco_basicFull OpCo: revenue, opex, working capital, exit multiple.
opco_multi_fileFull OpCo split across structure.cfdl, contracts.cfdl.

Run configurations

Each example directory includes a run.json for deterministic runs. Example:

cfdl compile examples/opco_basic --out /tmp/opco.ir.json --packs packs
cfdl run /tmp/opco.ir.json --out /tmp/opco.results.json --config examples/opco_basic/run.json --packs packs

Structure

  • Entities: Examples use operating business; multi-entity (e.g. company + LOBs) can be added when needed.
  • Pack contracts: opco.revenue_line, opco.opex_line, opco.working_capital, opco.exit_multiple — see Packs and the OpCo pack guide.