Documentation

Calculations and BOM formulas

This is where Solvera turns customer selections into an accurate bill of materials. Every formula ships with a sensible default, so you can launch without changing anything here. When you are ready to fine tune for your specific products and suppliers, this section gives you full control.

The Calculations section has three pages, plus the per item type Quantity tab inside the product catalog. To reach the Calculations pages, open Configuration in the app's left navigation; they are grouped under Calculations in the sidebar.

Plan requirement The three Calculations pages (Storefront Questions, Calculated Values, Custom Variables) require the Growth plan or above.

How the engine fits together

  1. The customer answers Storefront Questions (mount type, manufacturer, panel count, and so on).
  2. Solvera computes Calculated Values from those answers (total panels, row length, number of attachments, and many more).
  3. Each item type's Quantity formula uses those values to decide how many to include.
  4. Match criteria decide which specific product is chosen for each item type.

You can adjust any of these layers.

Storefront Questions Growth+

Open Calculations > Storefront Questions.

This page is a reference and override center for the inputs that come from your storefront questions (the questions themselves are managed elsewhere - see Where storefront questions are created below). It is organized by module tabs (Racking, Inverters, BOS, and any custom modules), and each tab shows two groups:

A test calculator (currently for Racking) lets you enter sample values and see how the inputs resolve.

The Calculations Storefront Questions page with Racking tab selected, showing the System Inputs section with cards for Number of Arrays, Total Rows, Panels Per Row, and Attachment Span. Each input shows a Default formula and an 'Add Override' button. Total Rows and Panels Per Row have conditional overrides applied 'WHEN mountType eq carport' with formulas that use Round Down and references to Panel Length and Panel Width
The Storefront Questions page with two existing overrides for the carport mount type. Each System Input card shows its default and any conditional overrides stacked beneath it. The "+ Add Override" button on each card opens the chip-based formula editor.

Overrides

An override changes a built in input under a condition you define. For example, you might force a different value when a particular mount type or manufacturer is selected. You build the override with the same chip based expression editor used for calculated values: choose a condition (a variable, an operator, and a value), then the formula or fixed value to use when that condition is met. Overrides are optional. Without one, the input uses its default.

Where storefront questions are created

The questions themselves live in two places, not on this page:

Calculated Values Growth+

Open Calculations > Calculated Values.

Solvera includes a large library of built in calculation variables, such as total panels, row length, number of attachments, pier count, microinverter quantity, and maximum panels per string. These are the values your quantity formulas use.

Each variable shows its default formula. You can override any variable's formula using the chip based expression editor, where variables appear as colored, atomic tokens and you insert them from a palette. A real time test calculator panel lets you plug in sample inputs and see the result immediately.

The Calculated Values page with the Racking tab selected, showing several variables with their default formulas using green chips. Variables shown include Panel Gap (default value 1), Row Length (Panels in Row x Panel Dim + Panel Gap - Panel Gap + 2 x End Clamp Length), Attachments Per Row, and Total Rows. Two variables have carport-specific override rules visible
The Calculated Values page showing default formulas with their chip-based syntax. Variables are colored tokens that flow into each other, and conditional override rules (like the carport-specific Attachments Per Row formula) stack below the defaults. The Test Calculator button at the top right opens a panel for sampling formula results.

Custom Variables Growth+

Open Calculations > Custom Variables.

Create your own computed variables with full create, edit, and delete control. A custom variable can use any built in or other custom variable in its formula. Use these to capture business specific logic once and reuse it across many item type formulas.

The New Computed Variable creation modal showing fields for Variable Key, Label, Unit, Description, and Formula. Below the formula area is a palette of available building blocks grouped into System (Total Rows, Total Panels, Panels/Row, # Arrays, Total Attachments, Total Row Length, Avg Row Length, Max Row Length, Span, Panel Gap), Panel (Panel Width, Panel Length, End Clamp Length), Per Row (Panels in Row, Row Length (ft), Attachments/Row, Panel Dim), Functions (Sigma Rows, Round Up, Round Down, Round, Max, Min, Abs), and Operators (+, -, x, /, parentheses)
The New Computed Variable modal. The palette of available building blocks, grouped into System, Panel, Per Row, Functions, and Operators, lets you compose formulas by clicking tokens rather than typing free-form expressions. This keeps custom variables consistent with the same chip syntax used everywhere else.

BOM Quantity formulas (per item type)

Each item type has a Quantity tab inside its product card (in the Racking, Inverters, BOS, or custom module pages). This is where you control how many of that item are added to the BOM.

Formula rules

An item type can have one or more formula rules. Rules are evaluated top to bottom and the first matching rule wins. A default rule with no condition acts as the fallback.

The available formula types cover real solar quantity logic:

The Microinverters Quantity tab showing two formula rules. Rule 1: When Inverter Type equals 'micro', formula is Round Up (Total Panels divided by Panels per MI) with a preview showing ceil(30 / 1) = 30 per row. Rule 2: When Number of Panels is greater than 0, the same formula applies. Both rules have Formula and Fixed Qty toggle buttons
A Quantity tab with two stacked conditional rules. Each rule has a condition row (When inverter type equals micro), a formula built from chips, and a live preview showing the computed result for a sample configuration. The "+ Add Conditional Rule" button at the bottom adds another rule below.

Conditional rules

Add conditions to a rule so it only applies in certain cases. For example, a deflector quantity might differ for the south row versus other rows. Conditions reference variables and use simple comparisons.

Per manufacturer overrides

Different suppliers package and count parts differently. You can override a formula for a specific manufacturer without changing the default. You can also:

Pack sizes

If a product has a quantity per pack property, the default formula automatically buys whole packs (rounding up), so customers are quoted realistic order quantities.

Match Criteria Editor

For each item type you choose which customer selections participate in matching the right product. For example, rails might match on manufacturer, profile, and color, while a grounding kit matches on manufacturer only.

You also set the selection mode per item type:

Built in solar engineering

Several calculations are built into the engine and require no setup beyond adding the right product properties:

These give you accurate, professional quotes without building the logic yourself.

Recommended approach

  1. Launch with the defaults.
  2. Run a few real configurations and compare the BOM to what you would quote manually.
  3. Adjust only the item types where your products or suppliers differ from the defaults.
  4. Use per manufacturer overrides for supplier specific differences instead of changing the global default.