# From the electricity bill to the solar proposal, in one system

Case study · Solar energy · Leiria · Delivered

At a solar energy company in Leiria, we built a simulator for the sales team. It calculates production, savings, and CO2 for each customer and sends the proposal as a PDF.

## The context

A solar energy company in Leiria with more than 20 years in the market and a sales team that prepares a proposal for each customer.

## The problem

A good solar proposal depends on many inputs: the address and roof, consumption, tariff, and equipment kit. Gathering it all, calculating production and savings, and presenting the result clearly for every customer takes the sales team's time and leaves room for errors.

## What we built

An internal application for the sales team and management. The salesperson records the customer, roof, and consumption, picks the kit, and the system runs the numbers with real solar radiation data for that address. The result is a PDF proposal, emailed to the customer.

- Locates the address and uses hourly European solar radiation data
- Calculates production, savings, and avoided CO2 with fixed, checkable rules
- Generates the branded PDF proposal and sends it by email
- Tracks each simulation through statuses, with internal review before sending
- Lets management update equipment, kits, contracted power options, and proposal terms

## What changed

- Every proposal uses the same calculation rules, whoever prepares it
- The equipment catalog and commercial terms change without code changes
- Each simulation's history is recorded and backed up daily
- The system was delivered to the sales team in production

## Do your company's proposals depend on spreadsheets?

On the first call, we look at which calculations and documents repeat in every proposal and what the system could take over.

[Book a call](https://calendar.app.google/wzfT51cBvNT5i3x86) · <joao.santos@funnysoft.pt>

---

FunnySoft · Forward Deployed Engineering · Leiria, Portugal

João Paulo Santos, sole trader. Trade name FunnySoft. Tax number 239506308. Registered office: Leiria, Portugal.

+351 916 439 451 · Call to the national mobile network

If you have a consumer dispute, you can use [CNIACC](https://www.cniacc.pt).

[Electronic complaints book](https://www.livroreclamacoes.pt/Inicio/)

<https://www.funnysoft.pt/en/case-studies/solar-proposals>
