Skip to content

Financial Modeling Examples

These example models are complete .openm script bundles. Each bundle includes build.openm and numbered script files that can be loaded into OM Core.

For the full modeling conventions and agent instructions, see SKILLS.md or download the raw file directly from GitHub.

These examples are intended as educational script-bundle patterns. They were generated by an LLM from a simple prompt and have not been independently validated. They are not investment advice, accounting advice, tax advice, valuation advice, or production-ready financial templates.

To run a model, load the bundle in the OM Core REPL:

om> source build.openm

Three-Statement Model

The flagship example. Shows an integrated P&L, Balance Sheet, and Cash Flow Statement with scenarios, checks, and dimensional structure.

Three-Statement model running in the OM Core UI

Budget vs Actual / Forecast Variance Model

The FP&A example. Shows Actual, Budget, and Forecast as a Version dimension, with calculated Variance and VariancePct across Account, Month, and Department.

Budget vs Actual model running in the OM Core UI

Headcount and Payroll Planning

A core FP&A use case. Plans headcount by role, department, month, and scenario, then rolls it up into base salary, benefits, taxes, and total compensation. Demonstrates dimensional grouping for roles, departments, and account lines.

Headcount and Payroll Planning model running in the OM Core UI

Agroforestry Model

Agroforestry model running in the OM Core UI

Business Valuation Model

A DCF-style valuation built from integrated P&L, Balance Sheet, and Driver assumptions. Working-capital items (Accounts Receivable, Inventory, Accounts Payable) tie to Driver days; Net Fixed Assets roll forward with CapEx and Depreciation; Equity and Debt feed the balance sheet; and Cash is the balancing plug.

Business Valuation model running in the OM Core UI

Fixed Asset Depreciation by Tranche

Tracks each annual asset acquisition as a separate tranche and depreciates it over its useful life. Uses two sequential base dimensions (AcqYear and DepYear) plus a supplementary Status dimension that flags whether any net book value remains or the tranche is fully depreciated.

Note: When using @.fill or @.font_color with conditional formatting, color values must be passed as string literals inside the formula, e.g. "#EF4444" rather than #EF4444.

Fixed Asset Depreciation model running in the OM Core UI

SaaS Revenue Model

SaaS Revenue model running in the OM Core UI

Manufacturing CapEx & Depreciation Model

Manufacturing CapEx & Depreciation model running in the OM Core UI