JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Body
application/json
Input model with all available parameters to set.
Main input model for the savings calculator.
Combines panel, battery, distribution, and electricity pricing configurations.
totalKWp
number<float>
required
Total installed PV power - kWp.
Constraints:
The system currently supports only a single PV array, so this represents the total capacity.
If you need to create custom production profiles, use the CustomProductionConsumptionData property instead.
battery
object
required
Configuration of the battery system used in the simulation.
Show child attributes
distribution
object
required
Settings related to the electricity distributor and regulated fees.
Show child attributes
electricityBuyingSettings
FixBuyingSettings · object
required
Configuration for electricity purchasing strategy (either fixed or spot-based).
FixBuyingSettings
SpotBuyingSettings
Show child attributes
periodType
string | null
Type of time period to evaluate — a specific year like "2024", "2025", or the rolling range "12M"
(last 12 completed months). Accepted values come from GET /api/v1/reference/periods.
Optional: leave it null and set from + to instead to evaluate an explicit date range.
When both from and to are provided this field is ignored. Exactly one of
{ periodType } or { from + to } must be supplied.
from
string<date> | null
Optional explicit start of the evaluation period (date only, inclusive), e.g. "2025-01-01". Must be set
together with to. When both are set, periodType is ignored — this lets you pin the exact
window a study was computed over (e.g. a "last 12 months" run) so it can be reproduced later. The range
must fall within the available data window (see the 400 response for the allowed bounds).
to
string<date> | null
Optional explicit end of the evaluation period (date only, inclusive), e.g. "2025-12-31". Must be set
together with from. The whole day is included. A full calendar year (from = Jan 1, to = Dec 31)
yields the same result as the matching periodType year.
yearlyConsumptionKWh
number<float>
Estimated total annual electricity consumption of the household in kilowatt-hours (kWh).
electricitySellingSettings
FixSellingSettings · object
Configuration for electricity selling strategy (if can't sell, set null).
FixSellingSettings
SpotSellingSettings
Show child attributes
customProductionConsumptionData
object[] | null
Optional custom production and consumption data for more accurate modeling.
This is not required; if not provided, the model will use default estimations based on
TotalKWp and YearlyConsumptionKWh.
Model requires 1 hour granularity data for the entire period specified in PeriodType.
Show child attributes
Response
OK
Represents the final results of the savings calculation,
including aggregated energy usage and cost data for different system configurations,
as well as a breakdown by month.
withoutPV
object
Represents aggregated energy and cost data for a specific PV system configuration.
Show child attributes
basicPV
object
Represents aggregated energy and cost data for a specific PV system configuration.
Show child attributes
smartPV
object
Represents aggregated energy and cost data for a specific PV system configuration.
Show child attributes
savingsComparedToBasicPV
number<double>
The amount of money saved by using the smart PV system with Cubee
compared to the basic PV system without optimization.
months
object[] | null
A list of monthly breakdowns showing energy data and savings
for each individual month in the evaluation period.
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Cubee dokumentace","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/cubee/_K1pnXkKeN0h36y4/logo/cubee-logo-light.svg?fit=max\u0026auto=format\u0026n=_K1pnXkKeN0h36y4\u0026q=85\u0026s=2f25a1c5b84a22d061493953cb95dc00","dark":"https://mintcdn.com/cubee/_K1pnXkKeN0h36y4/logo/cubee-logo-dark.svg?fit=max\u0026auto=format\u0026n=_K1pnXkKeN0h36y4\u0026q=85\u0026s=b556279b92f6e0b2ff7f625f0380940f"},"favicon":"https://mintcdn.com/cubee/byh7l6eIZz6Lpud-/favicon.svg?fit=max\u0026auto=format\u0026n=byh7l6eIZz6Lpud-\u0026q=85\u0026s=88a22f6213b21d28cb2fa1028b1e90d8","api":{"examples":{"languages":["curl","csharp","javascript","python"],"prefill":true}},"navbar":{},"footer":{"socials":{"facebook":"https://www.facebook.com/profile.php?id=61559187165459","linkedin":"https://www.linkedin.com/showcase/cubee-energetick-managment"},"links":[{"header":"Kompatibilní zařízení","items":[{"label":"Střídače","href":"https://cubee.cz/kompatibilita/stridace"},{"label":"Wallboxy","href":"https://cubee.cz/kompatibilita/wallboxy"},{"label":"Zásuvky a stykače","href":"https://cubee.cz/kompatibilita/dalsi-zarizeni"}]},{"header":"Další služby","items":[{"label":"Instalace Cubee","href":"https://cubee.cz/instalace"},{"label":"Kalkulačka úspor","href":"https://cubee.cz/kalkulacka"}]},{"header":"Kontakt","items":[{"label":"podpora@cubee.cz","href":"mailto:podpora@cubee.cz"}]}]},"integrations":{"ga4":{"measurementId":"G-L6TY45JJG0"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Cubee Web","icon":"book-open-cover","href":"https://cubee.cz"},{"anchor":"Blog","icon":"newspaper","href":"https://cubee.cz/blog"},{"anchor":"Kalkulace úspor","icon":"calculator","href":"https://cubee.cz/kalkulacka"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"cubee","hasAudioNarration":false,"actualSubdomain":"cubee","customDomains":["podpora.cubee.cz"],"gitSource":{"type":"github","owner":"cubeitgit","repo":"cubee-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af5c7aac7a2465f2886933a","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Podpora k zařízením Cubee","count":174},{"language":"default","tag":"Návody na zapojení","count":51},{"language":"default","tag":"Zapojení střídačů","count":48},{"language":"default","tag":"Zařízení třetích stran","count":35},{"language":"default","tag":"Aplikace Cubee","count":31},{"language":"default","tag":"Manuály","count":26},{"language":"default","tag":"Chytrá optimalizace","count":24},{"language":"default","tag":"Partner","count":24},{"language":"default","tag":"Endpoints","count":19},{"language":"default","tag":"Nastavení cen","count":14}],"searchSettings":{"showContentSnippets":true}},"assistantConfig":{"deflection":{"enabled":true,"email":"podpora@cubee.cz","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".mockup-image{width:100%;display:flex;justify-content:center;background:#E1F4E1;border-radius:24px}.dark .mockup-image{background:#02190D}.mockup-image img{max-height:460px;margin:0}[data-component-part=\"tabs-list\"]{display:flex!important;align-items:flex-end;gap:0.4rem;padding:0!important;padding-top:0.5rem!important;background:transparent!important;border:none!important;border-bottom:1.5px solid #C8DCD4!important;border-radius:0;margin-bottom:1.5rem;overflow:visible!important}[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]{position:relative;border-radius:0!important;padding:0.45rem 1.1rem!important;font-weight:600!important;color:#569B77!important;background-color:transparent!important;border:none!important;box-shadow:none!important;transition:color 0.2s ease, background 0.2s ease;white-space:nowrap}[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]:hover{color:#3a7a5a!important;background-color:transparent!important}[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][aria-selected=\"true\"],[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-state=\"active\"],[data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:#2d6a4a!important;background-color:#EDF5F0!important;border-left:1.5px solid #C8DCD4!important;border-right:1.5px solid #C8DCD4!important;border-top:1.5px solid #C8DCD4!important;border-bottom:1.5px solid transparent!important;border-radius:8px 8px 0 0!important;box-shadow:none!important;margin-bottom:-1.5px;padding-bottom:calc(0.45rem + 1.5px)!important}.dark [data-component-part=\"tabs-list\"]{border-bottom-color:#3a6450!important}.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][aria-selected=\"true\"],.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-state=\"active\"],.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:#a8dbb8!important;background-color:#1e3028!important;border-left-color:#3a6450!important;border-right-color:#3a6450!important;border-top-color:#3a6450!important}"}]}
{"page":{"pagePath":"api-reference/calculator/savings-calculator","slug":"/api-reference/calculator/savings-calculator","pageMetadata":{"title":"Savings calculator","description":"Calculates savings for Basic PV, smart PV and No PV installations.","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v2/savings-calculator","href":"/api-reference/calculator/savings-calculator","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Calculates savings for Basic PV, smart PV and No PV installations.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Savings calculator","description":"Calculates savings for Basic PV, smart PV and No PV installations.","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v2/savings-calculator","href":"/api-reference/calculator/savings-calculator","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/cubee/4c874de165da4b0a/script.js"],"openApiReferenceData":{"operation":{"tags":["Calculator"],"summary":"Savings calculator","description":"Calculates savings for Basic PV, smart PV and No PV installations.","operationId":"Calculate Savings","requestBody":"e39dafb9-0303-4e9e-ab20-51021372c54b","responses":{"200":"6cc4b972-40e9-42e3-a7d7-2a1f22374800","400":"0e0f0506-5529-4efa-8290-27b92008d38d","401":"9fc9ee6f-d888-4ae3-8cf4-437340e4346e","403":"877c31cb-7996-4923-8223-d868c73f4a4f","500":"b46accbf-71fd-4d86-9a12-3901452e4537"},"security":["c6fd9ea8-ec92-4f11-9a4c-f8825e01796c"],"method":"post","type":"path","servers":["c27d83aa-87d8-4e01-ac6b-be8d3bbfd069"],"path":"/api/v2/savings-calculator","baseUrlOptions":["https://api.partner.cubee.cz"],"title":"Savings calculator","codeSamples":[],"requestExampleLanguages":["bash","csharp","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.totalKWp":7,"body.battery.batterySizeKwh":10,"body.battery.reservedBatteryCapacityPercentage":15,"body.distribution.distributor":"CEZ","body.distribution.distributionRate":"D02d","body.distribution.distributorFeeHighPerMWh":2000,"body.distribution.renewableEnergyFeePerMWh":0,"body.distribution.systemServicesFeePerMWh":212,"body.distribution.circuitBreakerMonthlyFee":236,"body.distribution.distributorFeeLowPerMWh":0,"body.electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMWh":3500,"body.electricityBuyingSettings.oneOf.0.buyingType":"FIX","body.electricityBuyingSettings.oneOf.0.monthlyFeeCzk":100,"body.electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMwhInLowTariff":3500,"body.electricityBuyingSettings.oneOf.0.vat.oneOf.0":21,"body.periodType.oneOf.0":"2025","body.yearlyConsumptionKWh":4000,"body.electricitySellingSettings.oneOf.0.fixedSellPriceCzkPerMWh":500,"body.electricitySellingSettings.oneOf.0.sellingType":"FIX","body.electricitySellingSettings.oneOf.0.monthlyFeeCzk":0},{"body.totalKWp":10,"body.battery.batterySizeKwh":10,"body.battery.reservedBatteryCapacityPercentage":15,"body.battery.maximumBatteryChargingPowerWatt.oneOf.0":5000,"body.battery.maximumBatteryDischargingPowerWatt.oneOf.0":5000,"body.distribution.distributor":"CEZ","body.distribution.distributionRate":"D57d","body.distribution.distributorFeeHighPerMWh":2000,"body.distribution.renewableEnergyFeePerMWh":0,"body.distribution.systemServicesFeePerMWh":212,"body.distribution.circuitBreakerMonthlyFee":236,"body.distribution.lowTariffCommand.oneOf.0":"A1B4DP6","body.distribution.lowTariffRegion.oneOf.0":"STRED","body.distribution.distributorFeeLowPerMWh":721,"body.electricityBuyingSettings.oneOf.1.feeType":"PerMWh","body.electricityBuyingSettings.oneOf.1.fee":250,"body.electricityBuyingSettings.oneOf.1.spotPriceMinZero":true,"body.electricityBuyingSettings.oneOf.1.buyingType":"SPOT","body.electricityBuyingSettings.oneOf.1.monthlyFeeCzk":100,"body.electricityBuyingSettings.oneOf.1.vat.oneOf.0":21,"body.periodType.oneOf.0":"12M","body.yearlyConsumptionKWh":10000,"body.electricitySellingSettings.oneOf.1.feeType":"PerMWh","body.electricitySellingSettings.oneOf.1.fee":250,"body.electricitySellingSettings.oneOf.1.spotPriceMinZero":false,"body.electricitySellingSettings.oneOf.1.sellingType":"SPOT","body.electricitySellingSettings.oneOf.1.monthlyFeeCzk":100},{"body.totalKWp":7,"body.battery.batterySizeKwh":10,"body.battery.reservedBatteryCapacityPercentage":15,"body.distribution.distributor":"CEZ","body.distribution.distributionRate":"D02d","body.distribution.distributorFeeHighPerMWh":2000,"body.distribution.renewableEnergyFeePerMWh":0,"body.distribution.systemServicesFeePerMWh":212,"body.distribution.circuitBreakerMonthlyFee":236,"body.distribution.distributorFeeLowPerMWh":0,"body.electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMWh":3500,"body.electricityBuyingSettings.oneOf.0.buyingType":"FIX","body.electricityBuyingSettings.oneOf.0.monthlyFeeCzk":100,"body.electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMwhInLowTariff":3500,"body.electricityBuyingSettings.oneOf.0.vat.oneOf.0":21,"body.from.oneOf.0":"2025-01-01","body.to.oneOf.0":"2025-12-31","body.yearlyConsumptionKWh":4000,"body.electricitySellingSettings.oneOf.0.fixedSellPriceCzkPerMWh":500,"body.electricitySellingSettings.oneOf.0.sellingType":"FIX","body.electricitySellingSettings.oneOf.0.monthlyFeeCzk":0}]},"dependencies":{"parameters":{},"requestBody":{"description":"Input model with all available parameters to set.","content":{"application/json":{"schema":{"required":["battery","distribution","electricityBuyingSettings","totalKWp"],"type":"object","properties":{"totalKWp":{"type":"number","description":"Total installed PV power - kWp.\n \nConstraints:\nThe system currently supports only a single PV array, so this represents the total capacity.\n \nIf you need to create custom production profiles, use the CustomProductionConsumptionData property instead.","format":"float","isRequired":true,"uniqueKey":"totalKWp","typeLabel":"number\u003cfloat>"},"battery":{"required":["batterySizeKwh","reservedBatteryCapacityPercentage"],"type":"object","properties":{"batterySizeKwh":{"type":"number","description":"Battery storage capacity in kilowatt-hours (kWh).","format":"float","isRequired":true,"uniqueKey":"battery.batterySizeKwh","typeLabel":"number\u003cfloat>"},"reservedBatteryCapacityPercentage":{"maximum":100,"minimum":0,"type":"integer","description":"Percentage of battery capacity reserved and not used for optimization (0–100) %.","format":"int32","isRequired":true,"uniqueKey":"battery.reservedBatteryCapacityPercentage","typeLabel":"integer\u003cint32>"},"maximumBatteryChargingPowerWatt":{"oneOf":[{"type":"integer","description":"Maximum power at which the battery can charge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryChargingPowerWatt.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Maximum power at which the battery can charge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryChargingPowerWatt.oneOf.1","typeLabel":"null"}],"uniqueKey":"battery.maximumBatteryChargingPowerWatt","typeLabel":"integer\u003cint32> | null"},"maximumBatteryDischargingPowerWatt":{"oneOf":[{"type":"integer","description":"Maximum power at which the battery can discharge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryDischargingPowerWatt.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","description":"Maximum power at which the battery can discharge, in watts (W).","format":"int32","uniqueKey":"battery.maximumBatteryDischargingPowerWatt.oneOf.1","typeLabel":"null"}],"uniqueKey":"battery.maximumBatteryDischargingPowerWatt","typeLabel":"integer\u003cint32> | null"}},"additionalProperties":false,"description":"Configuration of the battery system used in the simulation.","isRequired":true,"uniqueKey":"battery","typeLabel":"object"},"distribution":{"required":["circuitBreakerMonthlyFee","distributionRate","distributor","distributorFeeHighPerMWh","renewableEnergyFeePerMWh","systemServicesFeePerMWh"],"type":"object","properties":{"distributor":{"maxLength":100,"minLength":1,"type":"string","description":"Key identifying the electricity distributor (e.g., CEZ, PRE, EGD).\nValid keys come from `GET /api/v1/reference/distributors`.","isRequired":true,"uniqueKey":"distribution.distributor","typeLabel":"string"},"distributionRate":{"maxLength":50,"minLength":1,"type":"string","description":"Distribution rate (sazba), e.g. \"D02d\", \"D57d\". The calculator resolves it to the correct TDD\nload-profile class. A raw \"TDDx\" value is also accepted for backward compatibility.\nValid rates come from `GET /api/v1/reference/distribution-rates`.","isRequired":true,"uniqueKey":"distribution.distributionRate","typeLabel":"string"},"distributorFeeHighPerMWh":{"type":"number","description":"Fee for distribution during high-tariff periods, in CZK per MWh.\nPrefill from `GET /api/v1/reference/fees` (field `distributorFeeHighPerMWh`).","format":"double","isRequired":true,"uniqueKey":"distribution.distributorFeeHighPerMWh","typeLabel":"number\u003cdouble>"},"renewableEnergyFeePerMWh":{"type":"number","description":"Renewable energy fee applied per MWh, in CZK.\nPrefill from `GET /api/v1/reference/fees` (field `renewableEnergyFeePerMWh`).","format":"double","isRequired":true,"uniqueKey":"distribution.renewableEnergyFeePerMWh","typeLabel":"number\u003cdouble>"},"systemServicesFeePerMWh":{"type":"number","description":"System services fee applied per MWh, in CZK.\nPrefill from `GET /api/v1/reference/fees` (field `systemServicesFeePerMWh`).","format":"double","isRequired":true,"uniqueKey":"distribution.systemServicesFeePerMWh","typeLabel":"number\u003cdouble>"},"circuitBreakerMonthlyFee":{"type":"number","description":"Monthly fee for circuit breaker capacity, in CZK.\nPrefill from `GET /api/v1/reference/circuit-breakers` (field `monthlyFeeCzk` for the chosen breaker size).","format":"double","isRequired":true,"uniqueKey":"distribution.circuitBreakerMonthlyFee","typeLabel":"number\u003cdouble>"},"lowTariffCommand":{"oneOf":[{"maxLength":100,"type":"string","description":"Distributor-defined code used to trigger low-tariff periods.\nOptional — leave null/empty for single-tariff rates (e.g. D01d, D02d, D61d) that have no HDO command.\nValid commands come from `GET /api/v1/reference/distributors/{distributor}/commands`.","uniqueKey":"distribution.lowTariffCommand.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"Distributor-defined code used to trigger low-tariff periods.\nOptional — leave null/empty for single-tariff rates (e.g. D01d, D02d, D61d) that have no HDO command.\nValid commands come from `GET /api/v1/reference/distributors/{distributor}/commands`.","uniqueKey":"distribution.lowTariffCommand.oneOf.1","typeLabel":"null"}],"uniqueKey":"distribution.lowTariffCommand","typeLabel":"string | null"},"lowTariffRegion":{"oneOf":[{"maxLength":100,"type":"string","description":"Optional distributor region key for the low-tariff command (e.g. ČEZ regions).\nNeeded to resolve the correct HDO schedule when the same command exists in multiple regions.\nValid region keys come from `GET /api/v1/reference/distributors/{distributor}/regions`.","uniqueKey":"distribution.lowTariffRegion.oneOf.0","typeLabel":"string"},{"maxLength":100,"type":"null","description":"Optional distributor region key for the low-tariff command (e.g. ČEZ regions).\nNeeded to resolve the correct HDO schedule when the same command exists in multiple regions.\nValid region keys come from `GET /api/v1/reference/distributors/{distributor}/regions`.","uniqueKey":"distribution.lowTariffRegion.oneOf.1","typeLabel":"null"}],"uniqueKey":"distribution.lowTariffRegion","typeLabel":"string | null"},"distributorFeeLowPerMWh":{"type":"number","description":"Fee for distribution during low-tariff periods, in CZK per MWh.\nPrefill from `GET /api/v1/reference/fees` (field `distributorFeeLowPerMWh`).","format":"double","uniqueKey":"distribution.distributorFeeLowPerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Settings related to the electricity distributor and regulated fees.","isRequired":true,"uniqueKey":"distribution","typeLabel":"object"},"electricityBuyingSettings":{"oneOf":[{"type":"object","title":"FixBuyingSettings","description":"Configuration for electricity purchasing strategy (either fixed or spot-based).","required":["buyingType","monthlyFeeCzk","fixedBuyPriceCzkPerMWh"],"properties":{"fixedBuyPriceCzkPerMWh":{"type":"number","description":"Fixed electricity price in CZK/MWh during high-tariff periods.","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMWh","typeLabel":"number\u003cdouble>"},"buyingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of buying strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0.buyingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the electricity supplier, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0.monthlyFeeCzk","typeLabel":"number\u003cdouble>"},"fixedBuyPriceCzkPerMwhInLowTariff":{"type":"number","description":"Fixed electricity price in CZK/MWh during low-tariff periods.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.0.fixedBuyPriceCzkPerMwhInLowTariff","typeLabel":"number\u003cdouble>"},"vat":{"oneOf":[{"type":"number","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.0.vat.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.0.vat.oneOf.1","typeLabel":"null"}],"uniqueKey":"electricityBuyingSettings.oneOf.0.vat","typeLabel":"number\u003cdouble> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.0","typeLabel":"FixBuyingSettings · object"},{"type":"object","title":"SpotBuyingSettings","description":"Configuration for electricity purchasing strategy (either fixed or spot-based).","required":["buyingType","monthlyFeeCzk","fee","feeType","spotPriceMinZero"],"properties":{"feeType":{"minLength":1,"required":["Percentage","PerMWh"],"type":"string","description":"Type of fee applied: \"PerMWh\" (fixed amount per energy unit) or \"Percentage\".","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.feeType","typeLabel":"string"},"fee":{"type":"number","description":"Fee amount in CZK or percentage per MWh depending on FeeType.\nFor PerMWh, it's amount in CZK/MWh.\nFor Percentage, it's percentage of the power price of the electricity spot market (0.1 = 10% of power price)","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.fee","typeLabel":"number\u003cdouble>"},"spotPriceMinZero":{"type":"boolean","description":"Indicates whether the electricity supplier sets the minimum spot price to 0 CZK if the market price drops below zero.","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.spotPriceMinZero","typeLabel":"boolean"},"buyingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of buying strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.buyingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the electricity supplier, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1.monthlyFeeCzk","typeLabel":"number\u003cdouble>"},"vat":{"oneOf":[{"type":"number","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.1.vat.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","description":"Value-added tax (VAT) percentage applied to electricity prices. Defaults to 21%.","format":"double","uniqueKey":"electricityBuyingSettings.oneOf.1.vat.oneOf.1","typeLabel":"null"}],"uniqueKey":"electricityBuyingSettings.oneOf.1.vat","typeLabel":"number\u003cdouble> | null"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"electricityBuyingSettings.oneOf.1","typeLabel":"SpotBuyingSettings · object"}],"isRequired":true,"uniqueKey":"electricityBuyingSettings","typeLabel":"FixBuyingSettings · object | SpotBuyingSettings · object"},"periodType":{"oneOf":[{"required":["12M","2024","2025"],"type":"string","description":"Type of time period to evaluate — a specific year like \"2024\", \"2025\", or the rolling range \"12M\"\n(last 12 completed months). Accepted values come from `GET /api/v1/reference/periods`.\n \nOptional: leave it null and set `from` + `to` instead to evaluate an explicit date range.\nWhen both `from` and `to` are provided this field is ignored. Exactly one of\n{ periodType } or { from + to } must be supplied.","uniqueKey":"periodType.oneOf.0","typeLabel":"string"},{"required":["12M","2024","2025"],"type":"null","description":"Type of time period to evaluate — a specific year like \"2024\", \"2025\", or the rolling range \"12M\"\n(last 12 completed months). Accepted values come from `GET /api/v1/reference/periods`.\n \nOptional: leave it null and set `from` + `to` instead to evaluate an explicit date range.\nWhen both `from` and `to` are provided this field is ignored. Exactly one of\n{ periodType } or { from + to } must be supplied.","uniqueKey":"periodType.oneOf.1","typeLabel":"null"}],"uniqueKey":"periodType","typeLabel":"string | null"},"from":{"oneOf":[{"type":"string","description":"Optional explicit start of the evaluation period (date only, inclusive), e.g. \"2025-01-01\". Must be set\ntogether with `to`. When both are set, `periodType` is ignored — this lets you pin the exact\nwindow a study was computed over (e.g. a \"last 12 months\" run) so it can be reproduced later. The range\nmust fall within the available data window (see the 400 response for the allowed bounds).","format":"date","uniqueKey":"from.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","description":"Optional explicit start of the evaluation period (date only, inclusive), e.g. \"2025-01-01\". Must be set\ntogether with `to`. When both are set, `periodType` is ignored — this lets you pin the exact\nwindow a study was computed over (e.g. a \"last 12 months\" run) so it can be reproduced later. The range\nmust fall within the available data window (see the 400 response for the allowed bounds).","format":"date","uniqueKey":"from.oneOf.1","typeLabel":"null"}],"uniqueKey":"from","typeLabel":"string\u003cdate> | null"},"to":{"oneOf":[{"type":"string","description":"Optional explicit end of the evaluation period (date only, inclusive), e.g. \"2025-12-31\". Must be set\ntogether with `from`. The whole day is included. A full calendar year (from = Jan 1, to = Dec 31)\nyields the same result as the matching `periodType` year.","format":"date","uniqueKey":"to.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","description":"Optional explicit end of the evaluation period (date only, inclusive), e.g. \"2025-12-31\". Must be set\ntogether with `from`. The whole day is included. A full calendar year (from = Jan 1, to = Dec 31)\nyields the same result as the matching `periodType` year.","format":"date","uniqueKey":"to.oneOf.1","typeLabel":"null"}],"uniqueKey":"to","typeLabel":"string\u003cdate> | null"},"yearlyConsumptionKWh":{"type":"number","description":"Estimated total annual electricity consumption of the household in kilowatt-hours (kWh).","format":"float","uniqueKey":"yearlyConsumptionKWh","typeLabel":"number\u003cfloat>"},"electricitySellingSettings":{"oneOf":[{"type":"object","title":"FixSellingSettings","description":"Configuration for electricity selling strategy (if can't sell, set null).","required":["monthlyFeeCzk","sellingType","fixedSellPriceCzkPerMWh"],"properties":{"fixedSellPriceCzkPerMWh":{"type":"number","description":"Fixed electricity selling price in CZK/MWh.","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.0.fixedSellPriceCzkPerMWh","typeLabel":"number\u003cdouble>"},"sellingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of selling strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.0.sellingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the aggregator/seller, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.0.monthlyFeeCzk","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"electricitySellingSettings.oneOf.0","typeLabel":"FixSellingSettings · object"},{"type":"object","title":"SpotSellingSettings","description":"Configuration for electricity selling strategy (if can't sell, set null).","required":["monthlyFeeCzk","sellingType","fee","feeType","spotPriceMinZero"],"properties":{"feeType":{"minLength":1,"required":["Percentage","PerMWh"],"type":"string","description":"Type of fee applied: \"PerMWh\" (fixed amount per energy unit) or \"Percentage\".","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.feeType","typeLabel":"string"},"fee":{"type":"number","description":"Fee amount in CZK or percentage per MWh depending on FeeType.\nFor PerMWh, it's amount in CZK/MWh.\nFor Percentage, it's percentage of the power price of the electricity spot market (0.1 = 10% of power price)","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.fee","typeLabel":"number\u003cdouble>"},"spotPriceMinZero":{"type":"boolean","description":"Indicates whether the electricity supplier sets the minimum spot price to 0 CZK if the market price drops below zero.","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.spotPriceMinZero","typeLabel":"boolean"},"sellingType":{"minLength":1,"required":["FIX","SPOT"],"type":"string","description":"Type of selling strategy — either \"FIX\" or \"SPOT\".","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.sellingType","typeLabel":"string"},"monthlyFeeCzk":{"type":"number","description":"Monthly fixed fee paid to the aggregator/seller, in CZK.","format":"double","isRequired":true,"uniqueKey":"electricitySellingSettings.oneOf.1.monthlyFeeCzk","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"uniqueKey":"electricitySellingSettings.oneOf.1","typeLabel":"SpotSellingSettings · object"},{"type":"null","uniqueKey":"electricitySellingSettings.oneOf.2","typeLabel":"null"}],"uniqueKey":"electricitySellingSettings","typeLabel":"FixSellingSettings · object | SpotSellingSettings · object | null"},"customProductionConsumptionData":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"time":{"type":"string","description":"Timestamp of the data point in ISO 8601 format.","format":"date-time","uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX].time","typeLabel":"string\u003cdate-time>"},"productionWh":{"type":"integer","description":"Production of energy from the PV system in watt-hours (Wh).","format":"int32","uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX].productionWh","typeLabel":"integer\u003cint32>"},"consumptionWh":{"type":"integer","description":"Consumption of energy by the household in watt-hours (Wh).","format":"int32","uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX].consumptionWh","typeLabel":"integer\u003cint32>"}},"additionalProperties":false,"uniqueKey":"customProductionConsumptionData.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Optional custom production and consumption data for more accurate modeling.\n \nThis is not required; if not provided, the model will use default estimations based on\nTotalKWp and YearlyConsumptionKWh.\n \nModel requires 1 hour granularity data for the entire period specified in PeriodType.","uniqueKey":"customProductionConsumptionData.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"time":{"type":"string","description":"Timestamp of the data point in ISO 8601 format.","format":"date-time"},"productionWh":{"type":"integer","description":"Production of energy from the PV system in watt-hours (Wh).","format":"int32"},"consumptionWh":{"type":"integer","description":"Consumption of energy by the household in watt-hours (Wh).","format":"int32"}},"additionalProperties":false},"description":"Optional custom production and consumption data for more accurate modeling.\n \nThis is not required; if not provided, the model will use default estimations based on\nTotalKWp and YearlyConsumptionKWh.\n \nModel requires 1 hour granularity data for the entire period specified in PeriodType.","uniqueKey":"customProductionConsumptionData.oneOf.1","typeLabel":"null"}],"uniqueKey":"customProductionConsumptionData","typeLabel":"object[] | null"}},"additionalProperties":false,"description":"Main input model for the savings calculator. \nCombines panel, battery, distribution, and electricity pricing configurations.","uniqueKey":"","typeLabel":"object"},"examples":{"single-tariff-fix":{"title":"single-tariff-fix","summary":"Single-tariff (D02d), fixed price","value":{"periodType":"2025","yearlyConsumptionKWh":4000,"totalKWp":7,"battery":{"batterySizeKwh":10,"reservedBatteryCapacityPercentage":15},"distribution":{"distributor":"CEZ","distributionRate":"D02d","distributorFeeHighPerMWh":2000,"distributorFeeLowPerMWh":0,"renewableEnergyFeePerMWh":0,"systemServicesFeePerMWh":212,"circuitBreakerMonthlyFee":236},"electricityBuyingSettings":{"fixedBuyPriceCzkPerMWh":3500,"fixedBuyPriceCzkPerMwhInLowTariff":3500,"buyingType":"FIX","monthlyFeeCzk":100,"vat":21},"electricitySellingSettings":{"fixedSellPriceCzkPerMWh":500,"sellingType":"FIX","monthlyFeeCzk":0}}},"two-tariff-spot":{"title":"two-tariff-spot","summary":"Two-tariff (D57d + HDO), spot price","value":{"periodType":"12M","yearlyConsumptionKWh":10000,"totalKWp":10,"battery":{"batterySizeKwh":10,"reservedBatteryCapacityPercentage":15,"maximumBatteryChargingPowerWatt":5000,"maximumBatteryDischargingPowerWatt":5000},"distribution":{"distributor":"CEZ","distributionRate":"D57d","lowTariffCommand":"A1B4DP6","lowTariffRegion":"STRED","distributorFeeHighPerMWh":2000,"distributorFeeLowPerMWh":721,"renewableEnergyFeePerMWh":0,"systemServicesFeePerMWh":212,"circuitBreakerMonthlyFee":236},"electricityBuyingSettings":{"feeType":"PerMWh","fee":250,"spotPriceMinZero":true,"buyingType":"SPOT","monthlyFeeCzk":100,"vat":21},"electricitySellingSettings":{"feeType":"PerMWh","fee":250,"spotPriceMinZero":false,"sellingType":"SPOT","monthlyFeeCzk":100}}},"explicit-date-range":{"title":"explicit-date-range","summary":"Explicit from/to range (reproducible)","value":{"from":"2025-01-01","to":"2025-12-31","yearlyConsumptionKWh":4000,"totalKWp":7,"battery":{"batterySizeKwh":10,"reservedBatteryCapacityPercentage":15},"distribution":{"distributor":"CEZ","distributionRate":"D02d","distributorFeeHighPerMWh":2000,"distributorFeeLowPerMWh":0,"renewableEnergyFeePerMWh":0,"systemServicesFeePerMWh":212,"circuitBreakerMonthlyFee":236},"electricityBuyingSettings":{"fixedBuyPriceCzkPerMWh":3500,"fixedBuyPriceCzkPerMwhInLowTariff":3500,"buyingType":"FIX","monthlyFeeCzk":100,"vat":21},"electricitySellingSettings":{"fixedSellPriceCzkPerMWh":500,"sellingType":"FIX","monthlyFeeCzk":0}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"6cc4b972-40e9-42e3-a7d7-2a1f22374800":{"description":"OK","content":{"application/json":{"schema":{"type":"object","description":"Represents the final results of the savings calculation,\nincluding aggregated energy usage and cost data for different system configurations,\nas well as a breakdown by month.","properties":{"withoutPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double","uniqueKey":"withoutPV.energyProducedKWh","typeLabel":"number\u003cdouble>"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double","uniqueKey":"withoutPV.energyConsumedKWh","typeLabel":"number\u003cdouble>"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"withoutPV.energyPurchasedKWh","typeLabel":"number\u003cdouble>"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"withoutPV.energySoldKWh","typeLabel":"number\u003cdouble>"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double","uniqueKey":"withoutPV.costOfPurchasedEnergy","typeLabel":"number\u003cdouble>"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double","uniqueKey":"withoutPV.revenueFromSoldEnergy","typeLabel":"number\u003cdouble>"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double","uniqueKey":"withoutPV.energyNotSoldDueToNegativePriceLimitationKWh","typeLabel":"number\u003cdouble>"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double","uniqueKey":"withoutPV.savingsFromNotSoldEnergyToNegativePrice","typeLabel":"number\u003cdouble>"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true,"uniqueKey":"withoutPV.netEnergyCost","typeLabel":"number\u003cdouble>"},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true,"uniqueKey":"withoutPV.averagePurchasePricePerMWh","typeLabel":"number\u003cdouble>"},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true,"uniqueKey":"withoutPV.averageSellPricePerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration.","uniqueKey":"withoutPV","typeLabel":"object"},"basicPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double","uniqueKey":"basicPV.energyProducedKWh","typeLabel":"number\u003cdouble>"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double","uniqueKey":"basicPV.energyConsumedKWh","typeLabel":"number\u003cdouble>"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"basicPV.energyPurchasedKWh","typeLabel":"number\u003cdouble>"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"basicPV.energySoldKWh","typeLabel":"number\u003cdouble>"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double","uniqueKey":"basicPV.costOfPurchasedEnergy","typeLabel":"number\u003cdouble>"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double","uniqueKey":"basicPV.revenueFromSoldEnergy","typeLabel":"number\u003cdouble>"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double","uniqueKey":"basicPV.energyNotSoldDueToNegativePriceLimitationKWh","typeLabel":"number\u003cdouble>"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double","uniqueKey":"basicPV.savingsFromNotSoldEnergyToNegativePrice","typeLabel":"number\u003cdouble>"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true,"uniqueKey":"basicPV.netEnergyCost","typeLabel":"number\u003cdouble>"},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true,"uniqueKey":"basicPV.averagePurchasePricePerMWh","typeLabel":"number\u003cdouble>"},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true,"uniqueKey":"basicPV.averageSellPricePerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration.","uniqueKey":"basicPV","typeLabel":"object"},"smartPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double","uniqueKey":"smartPV.energyProducedKWh","typeLabel":"number\u003cdouble>"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double","uniqueKey":"smartPV.energyConsumedKWh","typeLabel":"number\u003cdouble>"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"smartPV.energyPurchasedKWh","typeLabel":"number\u003cdouble>"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"smartPV.energySoldKWh","typeLabel":"number\u003cdouble>"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double","uniqueKey":"smartPV.costOfPurchasedEnergy","typeLabel":"number\u003cdouble>"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double","uniqueKey":"smartPV.revenueFromSoldEnergy","typeLabel":"number\u003cdouble>"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double","uniqueKey":"smartPV.energyNotSoldDueToNegativePriceLimitationKWh","typeLabel":"number\u003cdouble>"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double","uniqueKey":"smartPV.savingsFromNotSoldEnergyToNegativePrice","typeLabel":"number\u003cdouble>"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true,"uniqueKey":"smartPV.netEnergyCost","typeLabel":"number\u003cdouble>"},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true,"uniqueKey":"smartPV.averagePurchasePricePerMWh","typeLabel":"number\u003cdouble>"},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true,"uniqueKey":"smartPV.averageSellPricePerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration.","uniqueKey":"smartPV","typeLabel":"object"},"savingsComparedToBasicPV":{"type":"number","description":"The amount of money saved by using the smart PV system with Cubee\ncompared to the basic PV system without optimization.","format":"double","uniqueKey":"savingsComparedToBasicPV","typeLabel":"number\u003cdouble>"},"months":{"oneOf":[{"type":"array","items":{"type":"object","description":"Base class for storing energy and cost results for different PV setups.\nUsed for both overall results and per-period (e.g., monthly) results.","properties":{"withoutPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.energyProducedKWh","typeLabel":"number\u003cdouble>"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.energyConsumedKWh","typeLabel":"number\u003cdouble>"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.energyPurchasedKWh","typeLabel":"number\u003cdouble>"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.energySoldKWh","typeLabel":"number\u003cdouble>"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.costOfPurchasedEnergy","typeLabel":"number\u003cdouble>"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.revenueFromSoldEnergy","typeLabel":"number\u003cdouble>"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.energyNotSoldDueToNegativePriceLimitationKWh","typeLabel":"number\u003cdouble>"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.savingsFromNotSoldEnergyToNegativePrice","typeLabel":"number\u003cdouble>"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.netEnergyCost","typeLabel":"number\u003cdouble>"},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.averagePurchasePricePerMWh","typeLabel":"number\u003cdouble>"},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV.averageSellPricePerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration.","uniqueKey":"months.oneOf.0.items.[INDEX].withoutPV","typeLabel":"object"},"basicPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.energyProducedKWh","typeLabel":"number\u003cdouble>"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.energyConsumedKWh","typeLabel":"number\u003cdouble>"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.energyPurchasedKWh","typeLabel":"number\u003cdouble>"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.energySoldKWh","typeLabel":"number\u003cdouble>"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.costOfPurchasedEnergy","typeLabel":"number\u003cdouble>"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.revenueFromSoldEnergy","typeLabel":"number\u003cdouble>"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.energyNotSoldDueToNegativePriceLimitationKWh","typeLabel":"number\u003cdouble>"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.savingsFromNotSoldEnergyToNegativePrice","typeLabel":"number\u003cdouble>"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.netEnergyCost","typeLabel":"number\u003cdouble>"},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.averagePurchasePricePerMWh","typeLabel":"number\u003cdouble>"},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].basicPV.averageSellPricePerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration.","uniqueKey":"months.oneOf.0.items.[INDEX].basicPV","typeLabel":"object"},"smartPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.energyProducedKWh","typeLabel":"number\u003cdouble>"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.energyConsumedKWh","typeLabel":"number\u003cdouble>"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.energyPurchasedKWh","typeLabel":"number\u003cdouble>"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.energySoldKWh","typeLabel":"number\u003cdouble>"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.costOfPurchasedEnergy","typeLabel":"number\u003cdouble>"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.revenueFromSoldEnergy","typeLabel":"number\u003cdouble>"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.energyNotSoldDueToNegativePriceLimitationKWh","typeLabel":"number\u003cdouble>"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.savingsFromNotSoldEnergyToNegativePrice","typeLabel":"number\u003cdouble>"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.netEnergyCost","typeLabel":"number\u003cdouble>"},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.averagePurchasePricePerMWh","typeLabel":"number\u003cdouble>"},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true,"uniqueKey":"months.oneOf.0.items.[INDEX].smartPV.averageSellPricePerMWh","typeLabel":"number\u003cdouble>"}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration.","uniqueKey":"months.oneOf.0.items.[INDEX].smartPV","typeLabel":"object"},"savingsComparedToBasicPV":{"type":"number","description":"The amount of money saved by using the smart PV system with Cubee\ncompared to the basic PV system without optimization.","format":"double","uniqueKey":"months.oneOf.0.items.[INDEX].savingsComparedToBasicPV","typeLabel":"number\u003cdouble>"},"month":{"type":"string","description":"The month for which this data applies.","format":"date","uniqueKey":"months.oneOf.0.items.[INDEX].month","typeLabel":"string\u003cdate>"}},"additionalProperties":false,"uniqueKey":"months.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"A list of monthly breakdowns showing energy data and savings\nfor each individual month in the evaluation period.","uniqueKey":"months.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","description":"Base class for storing energy and cost results for different PV setups.\nUsed for both overall results and per-period (e.g., monthly) results.","properties":{"withoutPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration."},"basicPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration."},"smartPV":{"type":"object","properties":{"energyProducedKWh":{"type":"number","description":"Total amount of energy produced by the PV system, in kilowatt-hours (kWh).","format":"double"},"energyConsumedKWh":{"type":"number","description":"Total amount of energy consumed by the household, in kilowatt-hours (kWh).","format":"double"},"energyPurchasedKWh":{"type":"number","description":"Total amount of energy purchased from the grid, in kilowatt-hours (kWh).","format":"double"},"energySoldKWh":{"type":"number","description":"Total amount of energy sold to the grid, in kilowatt-hours (kWh).","format":"double"},"costOfPurchasedEnergy":{"type":"number","description":"Total monetary cost of energy purchased from the grid.\nThis is the sum of (energy purchased × price per kWh) across all intervals.","format":"double"},"revenueFromSoldEnergy":{"type":"number","description":"Total monetary revenue from selling energy to the grid.\nThis is the sum of (energy sold × price per kWh) across all intervals.","format":"double"},"energyNotSoldDueToNegativePriceLimitationKWh":{"type":"number","description":"Total amount of energy not sold to the grid due to negative price limitations, in kilowatt-hours (kWh).","format":"double"},"savingsFromNotSoldEnergyToNegativePrice":{"type":"number","description":"Total monetary value of energy not sold to the grid due to negative price limitation => Savings.\nThis is the sum of (energy not sold × price per kWh) across all intervals.","format":"double"},"netEnergyCost":{"type":"number","description":"Net cost of energy = CostOfPurchasedEnergy - RevenueFromSoldEnergy.\nPositive means more money was spent than earned.","format":"double","readOnly":true},"averagePurchasePricePerMWh":{"type":"number","description":"Average price paid per megawatt-hour (MWh) of purchased energy.\nReturns 0 if EnergyPurchasedKWh is 0.","format":"double","readOnly":true},"averageSellPricePerMWh":{"type":"number","description":"Average revenue earned per megawatt-hour (MWh) of sold energy.\nReturns 0 if EnergySoldKWh is 0.","format":"double","readOnly":true}},"additionalProperties":false,"description":"Represents aggregated energy and cost data for a specific PV system configuration."},"savingsComparedToBasicPV":{"type":"number","description":"The amount of money saved by using the smart PV system with Cubee\ncompared to the basic PV system without optimization.","format":"double"},"month":{"type":"string","description":"The month for which this data applies.","format":"date"}},"additionalProperties":false},"description":"A list of monthly breakdowns showing energy data and savings\nfor each individual month in the evaluation period.","uniqueKey":"months.oneOf.1","typeLabel":"null"}],"uniqueKey":"months","typeLabel":"object[] | null"}},"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"withoutPV":{"energyProducedKWh":123,"energyConsumedKWh":123,"energyPurchasedKWh":123,"energySoldKWh":123,"costOfPurchasedEnergy":123,"revenueFromSoldEnergy":123,"energyNotSoldDueToNegativePriceLimitationKWh":123,"savingsFromNotSoldEnergyToNegativePrice":123,"netEnergyCost":123,"averagePurchasePricePerMWh":123,"averageSellPricePerMWh":123},"basicPV":{"energyProducedKWh":123,"energyConsumedKWh":123,"energyPurchasedKWh":123,"energySoldKWh":123,"costOfPurchasedEnergy":123,"revenueFromSoldEnergy":123,"energyNotSoldDueToNegativePriceLimitationKWh":123,"savingsFromNotSoldEnergyToNegativePrice":123,"netEnergyCost":123,"averagePurchasePricePerMWh":123,"averageSellPricePerMWh":123},"smartPV":{"energyProducedKWh":123,"energyConsumedKWh":123,"energyPurchasedKWh":123,"energySoldKWh":123,"costOfPurchasedEnergy":123,"revenueFromSoldEnergy":123,"energyNotSoldDueToNegativePriceLimitationKWh":123,"savingsFromNotSoldEnergyToNegativePrice":123,"netEnergyCost":123,"averagePurchasePricePerMWh":123,"averageSellPricePerMWh":123},"savingsComparedToBasicPV":123,"months":[{"withoutPV":{"energyProducedKWh":123,"energyConsumedKWh":123,"energyPurchasedKWh":123,"energySoldKWh":123,"costOfPurchasedEnergy":123,"revenueFromSoldEnergy":123,"energyNotSoldDueToNegativePriceLimitationKWh":123,"savingsFromNotSoldEnergyToNegativePrice":123,"netEnergyCost":123,"averagePurchasePricePerMWh":123,"averageSellPricePerMWh":123},"basicPV":{"energyProducedKWh":123,"energyConsumedKWh":123,"energyPurchasedKWh":123,"energySoldKWh":123,"costOfPurchasedEnergy":123,"revenueFromSoldEnergy":123,"energyNotSoldDueToNegativePriceLimitationKWh":123,"savingsFromNotSoldEnergyToNegativePrice":123,"netEnergyCost":123,"averagePurchasePricePerMWh":123,"averageSellPricePerMWh":123},"smartPV":{"energyProducedKWh":123,"energyConsumedKWh":123,"energyPurchasedKWh":123,"energySoldKWh":123,"costOfPurchasedEnergy":123,"revenueFromSoldEnergy":123,"energyNotSoldDueToNegativePriceLimitationKWh":123,"savingsFromNotSoldEnergyToNegativePrice":123,"netEnergyCost":123,"averagePurchasePricePerMWh":123,"averageSellPricePerMWh":123},"savingsComparedToBasicPV":123,"month":"2023-12-25"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"0e0f0506-5529-4efa-8290-27b92008d38d":{"description":"Bad Request","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.0.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.1.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.instance","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.errors","typeLabel":"object | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"9fc9ee6f-d888-4ae3-8cf4-437340e4346e":{"description":"Unauthorized","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.0.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.1.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.instance","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.errors","typeLabel":"object | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"877c31cb-7996-4923-8223-d868c73f4a4f":{"description":"Forbidden","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.0.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.0.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.0.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.0.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.instance","typeLabel":"string | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","properties":{"type":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.type.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.type","typeLabel":"string | null"},"title":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.title.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.title.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.title","typeLabel":"string | null"},"status":{"oneOf":[{"type":"integer","format":"int32","uniqueKey":"oneOf.1.status.oneOf.0","typeLabel":"integer\u003cint32>"},{"type":"null","format":"int32","uniqueKey":"oneOf.1.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.status","typeLabel":"integer\u003cint32> | null"},"detail":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.detail.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.detail.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.detail","typeLabel":"string | null"},"instance":{"oneOf":[{"type":"string","uniqueKey":"oneOf.1.instance.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.1.instance.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.instance","typeLabel":"string | null"},"errors":{"oneOf":[{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.0.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.1.errors.oneOf.1.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.1.errors.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.errors","typeLabel":"object | null"}},"additionalProperties":{"oneOf":[{}],"uniqueKey":"oneOf.1.additionalProperties","typeLabel":"any"},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b46accbf-71fd-4d86-9a12-3901452e4537":{"description":"Internal Server Error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"c6fd9ea8-ec92-4f11-9a4c-f8825e01796c":{"bearerAuth":{"type":"http","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c27d83aa-87d8-4e01-ac6b-be8d3bbfd069":{"url":"https://api.partner.cubee.cz","description":"Partnerý API server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/swagger-partner.json"},"subdomain":"cubee","siteName":"Cubee dokumentace","title":"Savings calculator - Cubee dokumentace","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T11:04:38.036Z","originalFileLocation":"api-reference/calculator/savings-calculator.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Calculates savings for Basic PV, smart PV and No PV installations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Cubee dokumentace\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Savings calculator - Cubee dokumentace\">\u003cmeta data-mint-head property=\"og:description\" content=\"Calculates savings for Basic PV, smart PV and No PV installations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Cubee dokumentace\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cubee.mintlify.site/_mintlify/api/og/v2?division=Calculator\u0026amp;title=Savings+calculator\u0026amp;description=Calculates+savings+for+Basic+PV%2C+smart+PV+and+No+PV+installations.\u0026amp;theme=7ad2798ce12c188bbeadb3a5\u0026amp;signature=571af7c14d36f1d26a96eec17f4223a4d042ab6f5cb965fe442f7215d0b1e222\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Savings calculator - Cubee dokumentace\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Calculates savings for Basic PV, smart PV and No PV installations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cubee.mintlify.site/_mintlify/api/og/v2?division=Calculator\u0026amp;title=Savings+calculator\u0026amp;description=Calculates+savings+for+Basic+PV%2C+smart+PV+and+No+PV+installations.\u0026amp;theme=7ad2798ce12c188bbeadb3a5\u0026amp;signature=571af7c14d36f1d26a96eec17f4223a4d042ab6f5cb965fe442f7215d0b1e222\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/cubee/kuhiGzFM5wb1jnKq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Cubee dokumentace\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/calculator/savings-calculator.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://podpora.cubee.cz/#organization\",\"name\":\"Cubee dokumentace\",\"url\":\"https://podpora.cubee.cz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/cubee/_K1pnXkKeN0h36y4/logo/cubee-logo-light.svg?fit=max\u0026auto=format\u0026n=_K1pnXkKeN0h36y4\u0026q=85\u0026s=2f25a1c5b84a22d061493953cb95dc00\"}},{\"@type\":\"WebSite\",\"@id\":\"https://podpora.cubee.cz#website\",\"name\":\"Cubee dokumentace\",\"url\":\"https://podpora.cubee.cz\",\"publisher\":{\"@id\":\"https://podpora.cubee.cz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator#webpage\",\"url\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator\",\"name\":\"Savings calculator\",\"description\":\"Calculates savings for Basic PV, smart PV and No PV installations.\",\"dateModified\":\"2026-11-09T11:04:38.036Z\",\"isPartOf\":{\"@id\":\"https://podpora.cubee.cz#website\"},\"breadcrumb\":{\"@id\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://podpora.cubee.cz/api-reference/aggregated-data/aggregated-electricity-prices\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Savings calculator\",\"item\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator#apireference\",\"headline\":\"Savings calculator\",\"name\":\"Savings calculator\",\"description\":\"Calculates savings for Basic PV, smart PV and No PV installations.\",\"url\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator\",\"mainEntityOfPage\":{\"@id\":\"https://podpora.cubee.cz/api-reference/calculator/savings-calculator#webpage\"},\"dateModified\":\"2026-11-09T11:04:38.036Z\",\"publisher\":{\"@id\":\"https://podpora.cubee.cz/#organization\"},\"isPartOf\":{\"@id\":\"https://podpora.cubee.cz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Cubee dokumentace\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Cubee dokumentace\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/calculator/savings-calculator.md","siteName":"Cubee dokumentace","nav":{"global":{"anchors":[{"anchor":"Cubee Web","icon":"book-open-cover","href":"https://cubee.cz"},{"anchor":"Blog","icon":"newspaper","href":"https://cubee.cz/blog"},{"anchor":"Kalkulace úspor","icon":"calculator","href":"https://cubee.cz/kalkulacka"}]},"tabs":[{"tab":"Podpora k zařízením Cubee","pages":[{"title":"Podpora k zařízením Cubee","href":"/introduction"}]},{"tab":"Partner","groups":[{"group":"Začínáme","pages":[{"title":"Začínáme","icon":"brake-warning","href":"/partner/introduction"}]},{"group":"Kalkulačka","pages":[{"title":"Kalkulačka na váš web","icon":"brake-warning","href":"/partner/calculator"},{"title":"Jak kalkulátor funguje","icon":"calculator","href":"/partner/calculator-description"},{"title":"Číselníky pro kalkulačku","icon":"list","href":"/partner/calculator-reference-data"},{"title":"Uložené studie zákazníka","icon":"folder-open","href":"/partner/saved-calculations"}]},{"group":"Endpoints","pages":[{"group":"Aggregated Data","pages":[{"title":"Aggregated electricity prices","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json get /api/v1/aggregated-data/aggregated-prices","href":"/api-reference/aggregated-data/aggregated-electricity-prices"}]},{"group":"Authentication","pages":[{"title":"Refresh JWT access token","description":"Accepts a refresh token and returns a new JWT access token if the refresh token is valid.","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/auth","href":"/api-reference/authentication/refresh-jwt-access-token"}]},{"group":"Calculator","pages":[{"title":"Savings calculator","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v2/savings-calculator","href":"/api-reference/calculator/savings-calculator"}]},{"group":"CalculatorControllerV1","pages":[]},{"group":"InvoiceExtraction","pages":[{"title":"Extract invoice data","description":"Extracts structured data from an uploaded energy invoice PDF (multipart/form-data, field `file`) —\nthe meta, distribution, buy/sell contract and observations the savings calculator consumes, plus any\nnon-fatal validation warnings. Every upload first passes a cheap pre-flight gate that rejects anything\nthat isn't an energy invoice.","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/invoice-extraction","href":"/api-reference/invoiceextraction/extract-invoice-data"},{"title":"Check if a PDF is an invoice","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/invoice-extraction/validate","href":"/api-reference/invoiceextraction/check-if-a-pdf-is-an-invoice"}]},{"group":"Public","pages":[]},{"group":"Reference data","pages":[{"title":"Get distributors","deprecated":null,"version":null,"sidebarTitle":"Distributors","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors","href":"/api-reference/calculator/get-distributors"},{"title":"Get distribution rates","deprecated":null,"version":null,"sidebarTitle":"Distribution rates","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distribution-rates","href":"/api-reference/calculator/get-distribution-rates"},{"title":"Get HDO regions","deprecated":null,"version":null,"sidebarTitle":"HDO regions","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/regions","href":"/api-reference/calculator/get-hdo-regions"},{"title":"Get HDO commands","deprecated":null,"version":null,"sidebarTitle":"HDO commands","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/commands","href":"/api-reference/calculator/get-hdo-commands"},{"title":"Get HDO command schedule","deprecated":null,"version":null,"sidebarTitle":"HDO command schedule","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/distributors/{distributor}/commands/{command}/periods","href":"/api-reference/calculator/get-hdo-command-schedule"},{"title":"Get fee baseline","deprecated":null,"version":null,"sidebarTitle":"Fee baseline","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/fees","href":"/api-reference/calculator/get-fee-baseline"},{"title":"Get circuit breakers","deprecated":null,"version":null,"sidebarTitle":"Circuit breakers","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/circuit-breakers","href":"/api-reference/calculator/get-circuit-breakers"},{"title":"Get consumption profile","deprecated":null,"version":null,"sidebarTitle":"Consumption profile","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/consumption-profile","href":"/api-reference/calculator/get-consumption-profile"},{"title":"Get periods","deprecated":null,"version":null,"sidebarTitle":"Periods","openapi":"/api-reference/swagger-partner.json get /api/v1/reference/periods","href":"/api-reference/calculator/get-periods"}]},{"group":"Studies","pages":[{"title":"List the partner's studies","deprecated":null,"version":null,"sidebarTitle":"List studies","openapi":"/api-reference/swagger-partner.json get /api/v1/studies","href":"/api-reference/studies/list-studies"},{"title":"Create a savings study","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/studies","href":"/api-reference/studies/create-a-savings-study"},{"title":"Get a study","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json get /api/v1/studies/{id}","href":"/api-reference/studies/get-a-study"},{"title":"Open a study PDF","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json get /api/v1/studies/{id}/pdf","href":"/api-reference/studies/open-a-study-pdf"},{"title":"Redact a study (GDPR)","deprecated":null,"version":null,"openapi":"/api-reference/swagger-partner.json post /api/v1/studies/{id}/redact","href":"/api-reference/studies/redact-a-study-gdpr"}]}]}]},{"tab":"Přehled změn","pages":[{"title":"Přehled změn","href":"/changelog/mobile-app"}]}]},"basePath":"","title":"Savings calculator - Cubee dokumentace","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}