Skip to content
ZukipanyPublic

About

3D solar, battery and energy-renovation planner on the Bavarian 3D building model, for installers and renovation companies. Source code is private.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facet icon

Facet

Solar, batteries, roofs, facades, windows and heat pumps, planned on a real 3D map of every building in Bavaria.

Note

The source code of this project is private. This repository is its public showcase: the README, screenshots and every source file with its types and function signatures, but none of the code inside them. For a demo or access to the source code, email me at [email protected].

Flying from the globe down to a house in Munich-Trudering, then a summer day: the sun moves, and shadows of neighbouring houses and trees cross the panels

From the globe to one house, then a summer day from 6:00 to 21:00 with real shadows. Full-quality video

Facet turns free government data (3D buildings, 20 cm aerial photos, surface models) and satellite weather into a planning and sales tool. You fly from the globe down to a single house, watch the sun move across its roof hour by hour, place panels where they earn the most, and price insulation, windows, a new roof or a heat pump from measured quantities.

It is built for the companies that sell these things. A solar installer, an insulation contractor, a window maker or a roofer enters their own products and prices once. From then on every building in an area is priced with them, offers carry the company's name, and a list shows where the likely customers are.

A house selected on the 3D map with its roof faces and yearly yield House planner with customer profile, offer variants and the sun simulation

Measured windows and balconies drawn on the 3D building Heat-loss view of a building for the energy renovation

What it does

Solar and batteries

  • Any address in Bavaria. Search an address and the area around it loads: roofs from the official 3D building model, 20 cm aerial photos, trees and solar data for that exact spot.
  • Real roofs. Every roof face comes with its true area, tilt and direction. Panels are fitted with edge margins, flat roofs get racks aligned to the building.
  • Sun simulation. The sun's position is calculated for the place, date and time. Shadows from neighbouring buildings and trees are ray-traced onto each panel, and the house planner plays a whole day.
  • Best spots first. Panels go where the roof gets the most direct sun over the year. Choose the panel size, or let it pick the best one for the roof.
  • Offer variants. Small, matched to use, full roof and budget variants, each with and without a battery, with cost, own use, savings and a payback range.
  • Pro layout tools. Panels at their true size and thickness on rails. Per roof face: turn the layout to any angle, shift it in centimetres, set gaps and edge distance, find the best angle, line it up with a roof edge, and copy the panel plan for the installer.
  • Objects and trees. Chimneys, roof windows, vents, dishes, AC units, walkways, rails and trees: drag them into place; panels keep away and the sun simulation counts their shade.
  • Battery placement. Pick basement, utility room, garage, top floor or an outside wall. The battery, inverter and cable route are shown inside the building, with the rules for each place.
  • Hour by hour. Every result comes from a simulation of all 8,760 hours of a year: PVGIS weather for three real years, the official BDEW profiles for homes (H25) and businesses (G25), battery losses, the 60 % feed-in cap and negative-price hours.

Energy renovation

  • Building shell from the 3D model. Wall area per direction, roof, floors and heated floor area. Walls shared with a neighbour are left out.
  • Balconies and loggias as objects. Construction, railing type, side walls and slab thickness; loggias are cut into the wall with their windows inside. Floor, soffit, slab edges, cold-bridge length and walls are measured for each one.
  • Facades and openings. Every outside wall, including slightly bent pieces, can be opened in an editor: windows, doors, balcony doors, balconies and loggias with exact sizes. Open Street View or Mapillary in front of the facade, paste a screenshot or a photo, pin the four corners with a magnifier, straighten it, check it against red 90° lines and fine-tune the angle. Openings snap to the edges in the photo to the centimetre, any line can be measured, and a measured neighbour's layout can be copied. Real windows and balconies are then drawn in 3D.
  • Before and after. Heat demand from the building age, the real hourly temperatures at the address and the measured windows. Efficiency class A+ to H.
  • Measures. Facade, roof and basement insulation, new windows and a heat pump, each with cost, federal subsidy (BEG), savings, CO₂ and payback.
  • What has to be covered. A full list of quantities for quotes: scaffolding, net wall area, window reveals, sills, plinth, balcony slabs, roof overhang, downpipes, shutter boxes, windows and doors. Every price per unit can be changed.
  • Roof replacement. Roof edges are classified from the 3D roof (eaves, ridges, hips, valleys, verges, flat-roof edges) and drawn in colour. Covering, underlay, insulation, gutters and downpipes are priced, with solar on top of the roof or built into it.

Selling the power

  • Sell everything is a variant of its own: every kWh goes to the grid at the fixed EEG price for 20 years, with all size tiers up to 750 kWp and direct marketing above 100 kWp.
  • Earn with the roof compares three ways for the whole roof: use the power and sell the rest, sell all of it, or rent the roof to an investor.

Designing the system

  • Place panels by hand: click a panel to remove it, click an empty spot to add one; any panel size can be typed from a data sheet.
  • Sales assistant: what the customer wants, which building, a few questions, then the best option in plain words with two alternatives and the offer text.
  • Guide: the ? button walks through every feature, and each step can do the action on the live map.

For companies

  • Houses first. Buildings are told apart as detached, semi-detached and terraced houses or apartment buildings; houses lead the customer list, since one owner decides.
  • Your clients and existing panels. Client addresses and roofs that already have panels (from the aerial photo or Google) are kept out of the new-customer list.
  • Saved versions. Every design for a building can be saved, compared and reopened.
  • Google Solar data. Google's roof data, its panel layout and panels already on the roof appear on each building automatically. It runs in the background with the owner's key, a monthly cap and each house fetched at most once per 30 days; users never see keys or costs.
  • Your products. Panels (power, size, price per kWp), batteries (capacity, size, weight, price), insulation systems (thickness, λ, price per m²), windows (Uw, price per m²), doors, roof coverings, roof insulation and heat pumps. The calculations use them instead of typical market prices.
  • Potential customers. For each trade, every building in the loaded area is ranked by the size of the job and its value at your prices. The list copies straight into a spreadsheet.
  • Your name on offers. Offers and reports carry the company name and contact.
  • Shareable catalogs. A catalog is a single file that can be passed to colleagues or sales partners.

Solar on open land

  • Fields for landowners and investors. Draw a field, fit rack rows, and see the size, power, investment, payback and land rent.

For cities and energy co-ops

  • Area potential. Every roof in an area coloured by yield, with totals and the best roofs listed.

How it works

Data Source Used for
3D buildings (LoD2) Bavarian Surveying Administration (LDBV), open data roof faces, walls, heights, addresses
Aerial photos 20 cm and infrared LDBV DOP20 / DOP20 CIR ground texture, tree detection
Surface model 20 cm, terrain 1 m LDBV DOM20, DGM1 tree heights and crowns
Solar radiation and temperature PVGIS 5.3 (EU Joint Research Centre) hourly yield per roof direction, heating hours
Load profiles BDEW H25 and G25 hourly use of homes and businesses
Market prices Energy-Charts (Fraunhofer ISE) negative-price hours
Address search OpenStreetMap Nominatim finding an address
Solar data, optional Google Maps Platform Solar API, with your own key second opinion, panels already on a roof

The interface is a single page built with three.js. A small Python engine downloads and caches the open data for any address, detects trees, and stores facades and catalogs. The same engine runs inside the Mac app and on a server.

Project layout

src/app.html, src/app.js   the whole interface
desktop/server.py          engine: address search, 3D buildings, aerial photos, PVGIS, facades, catalogs
desktop/trees.py           tree detection from the surface model and infrared photos
desktop/mac/main.swift     native macOS window around the engine
server/                    container and deploy files
tools/                     data packing, builds, app icon
PLAN.md                    roadmap

Accuracy

Results are estimates for a first conversation, not a binding offer, an energy certificate or financial advice. Roof geometry and sun position are precise; yields use measured weather; heat demand uses typical values per building age until an energy advisor measures the building. Windows and balconies are not in any public dataset, so they are suggested until someone measures them.

Data licences

  • 3D buildings, aerial photos, surface and terrain models: © Bayerische Vermessungsverwaltung, CC BY 4.0
  • PVGIS: © European Union
  • Price data: Energy-Charts / SMARD, CC BY 4.0
  • Address search: © OpenStreetMap contributors, ODbL
  • Google Solar data, when used: includes data from Google Maps, under your own Google Maps Platform agreement
  • three.js: MIT

Licence

© 2026 Zukipany. All rights reserved.

About

3D solar, battery and energy-renovation planner on the Bavarian 3D building model, for installers and renovation companies. Source code is private.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages