{
 "schema": "spawner-tool/v1",
 "id": "bot_029",
 "name": "Stromspeicher Kapazität berechnen: kWh und Ah",
 "description": "Berechnen Sie die nutzbare und die Nennkapazität eines Stromspeichers aus Tagesverbrauch, Autonomiezeit, Entladetiefe und Wirkungsgrad.",
 "url": "https://fachrechner.com/de/stromspeicher-kapazitaet-berechnen/",
 "spec_url": "https://fachrechner.com/de/stromspeicher-kapazitaet-berechnen/spec.json",
 "language": "de",
 "market": "CH",
 "live_since": null,
 "inputs": [
  {
   "id": "daily_energy",
   "label": "Tagesverbrauch",
   "unit": "kWh/Tag",
   "min": 0.5,
   "max": 50.0,
   "step": 0.5,
   "default": 10.0
  },
  {
   "id": "autonomy_days",
   "label": "Autonomiezeit ohne Ladung",
   "unit": "Tage",
   "min": 0.5,
   "max": 7.0,
   "step": 0.5,
   "default": 1.0
  },
  {
   "id": "dod",
   "label": "Maximale Entladetiefe (DoD)",
   "unit": "%",
   "min": 10.0,
   "max": 100.0,
   "step": 5.0,
   "default": 80.0
  },
  {
   "id": "efficiency",
   "label": "Round-Trip-Wirkungsgrad",
   "unit": "%",
   "min": 50.0,
   "max": 100.0,
   "step": 1.0,
   "default": 90.0
  },
  {
   "id": "voltage",
   "label": "Systemspannung",
   "unit": "V",
   "min": 12.0,
   "max": 800.0,
   "step": 1.0,
   "default": 48.0
  }
 ],
 "constants": [
  {
   "id": "kwh_to_wh",
   "value": 1000,
   "source": "SI-Präfix Kilo: 1 kWh = 1000 Wh, Umrechnungsfaktor"
  }
 ],
 "outputs": [
  {
   "id": "usable_kwh",
   "label": "Nutzbare Energie",
   "unit": "kWh",
   "decimals": 2,
   "expression": "daily_energy * autonomy_days"
  },
  {
   "id": "nominal_kwh",
   "label": "Nennkapazität des Speichers",
   "unit": "kWh",
   "decimals": 2,
   "expression": "usable_kwh / (dod / 100) / (efficiency / 100)"
  },
  {
   "id": "nominal_ah",
   "label": "Nennkapazität in Ah bei Systemspannung",
   "unit": "Ah",
   "decimals": 0,
   "expression": "nominal_kwh * kwh_to_wh / voltage"
  }
 ],
 "formula": "Nutzbare Energie = Tagesverbrauch × Autonomiezeit; Nennkapazität [kWh] = Nutzbare Energie / (Entladetiefe / 100) / (Wirkungsgrad / 100); Nennkapazität [Ah] = Nennkapazität [kWh] × 1000 / Systemspannung [V].",
 "expression_language": {
  "name": "safeexpr",
  "syntax": "Python arithmetic subset: + - * / ** %, parentheses, numbers, input/constant ids and ids of earlier outputs, functions abs sqrt log log10 exp floor ceil sin cos tan min max round(x,n), constants pi e, conditionals (a if x > y else b)",
  "semantics": "% is fmod; round() rounds half away from zero; outputs are evaluated in the listed order"
 },
 "example": {
  "inputs": {
   "daily_energy": 10.0,
   "autonomy_days": 1.0,
   "dod": 80.0,
   "efficiency": 90.0,
   "voltage": 48.0
  },
  "outputs": {
   "usable_kwh": 10.0,
   "nominal_kwh": 13.89,
   "nominal_ah": 289.0
  }
 },
 "verification": "formula checked against independent test vectors; browser JS equals the reference evaluator",
 "commercial_action": {
  "type": "product_search",
  "label": "Speicher-Angebote vergleichen",
  "product_category": "Batteriespeicher und Akkus",
  "store": "eBay.ch",
  "query_template": "Batteriespeicher {nominal_kwh} kWh",
  "search_url_template": "https://www.ebay.ch/sch/i.html?_nkw={q}",
  "example": {
   "query": "Batteriespeicher 13,89 kWh",
   "url": "https://www.ebay.ch/sch/i.html?_nkw=Batteriespeicher%2013%2C89%20kWh"
  },
  "bom": [
   {
    "slot": 1,
    "kind": "primary",
    "label": "Passend zum Ergebnis (Normgröße)",
    "query_template": "Batteriespeicher {nominal_kwh} kWh",
    "standard_size_step": 0,
    "search_url_template": "https://www.ebay.ch/sch/i.html?_nkw={q}",
    "example": {
     "query": "Batteriespeicher 13,89 kWh",
     "url": "https://www.ebay.ch/sch/i.html?_nkw=Batteriespeicher%2013%2C89%20kWh"
    }
   },
   {
    "slot": 2,
    "kind": "accessory",
    "label": "Montagezubehör / Messgerät",
    "query_template": "Batteriewächter Shunt",
    "standard_size_step": 0,
    "search_url_template": "https://www.ebay.ch/sch/i.html?_nkw={q}",
    "example": {
     "query": "Batteriewächter Shunt",
     "url": "https://www.ebay.ch/sch/i.html?_nkw=Batteriew%C3%A4chter%20Shunt"
    }
   }
  ],
  "standard_series": null,
  "affiliate": false,
  "rel": "sponsored nofollow",
  "note": "Parts list (bom) in display order. Replace {placeholders} in query_template with the user's computed values (inputs or outputs); for placeholders listed in standard_series use the smallest series value >= the computed value, then move standard_size_step positions up the series; URL-encode the query and substitute {q} in search_url_template."
 },
 "api": {
  "endpoint": "https://fachrechner.com/api/v1/calc/bot_029",
  "method": "GET",
  "parameters": "input ids as query parameters (missing = default); response JSON with outputs",
  "free_calls_per_day": 10,
  "auth": null,
  "on_limit": "HTTP 402 daily_limit_reached (no paid tier; quota resets 00:00 UTC, Retry-After)",
  "pro_checkout": null,
  "expression_tree": "https://fachrechner.com/m2m/bot_029.json"
 }
}