{
  "node": {
    "id": "term:capacitor",
    "type": "Term",
    "label": "Capacitor",
    "properties": {
      "id": "capacitor",
      "name": "Capacitor",
      "section": "topic-units",
      "definition": "A component that stores energy as charge on two conducting plates separated by an insulator; its voltage rises in proportion to the charge, unlike a battery’s nearly flat curve. The large DC-link capacitors at an inverter’s input draw a huge inrush current when connected to a pack, which is why a pre-charge circuit fills them first.",
      "formula": "Q = C·V; E = ½·C·V²",
      "unit": "F (farad)",
      "related": [
        "pre-charge",
        "inverter",
        "supercapacitor",
        "double-layer",
        "contactor"
      ],
      "example": {
        "title": "Calculate stored charge and energy",
        "text": "An ideal 100 F capacitor charged to 2 V stores 200 C and 200 J. Doubling voltage quadruples its stored energy when capacitance remains constant."
      },
      "url": "https://lemonergy.com/learn/glossary/capacitor/",
      "mentions": [
        "inrush-current"
      ]
    }
  },
  "edges": [
    {
      "id": "edge:usedIn/term:capacitor/workflow:rc-response",
      "source": "term:capacitor",
      "target": "workflow:rc-response",
      "type": "usedIn",
      "properties": {
        "sourceFile": "wiki-blocks.json"
      }
    },
    {
      "id": "edge:usedIn/term:capacitor/workflow:native-variable-gap-capacitor",
      "source": "term:capacitor",
      "target": "workflow:native-variable-gap-capacitor",
      "type": "usedIn",
      "properties": {
        "sourceFile": "wiki-blocks.json"
      }
    },
    {
      "id": "edge:belongsTo/term:capacitor/topic:topic-units",
      "source": "term:capacitor",
      "target": "topic:topic-units",
      "type": "belongsTo",
      "properties": {
        "sourceFile": "terms.json"
      }
    },
    {
      "id": "edge:relatedTo/term:capacitor/term:pre-charge",
      "source": "term:capacitor",
      "target": "term:pre-charge",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:relatedTo/term:capacitor/term:inverter",
      "source": "term:capacitor",
      "target": "term:inverter",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:relatedTo/term:capacitor/term:supercapacitor",
      "source": "term:capacitor",
      "target": "term:supercapacitor",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:relatedTo/term:capacitor/term:double-layer",
      "source": "term:capacitor",
      "target": "term:double-layer",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:relatedTo/term:capacitor/term:contactor",
      "source": "term:capacitor",
      "target": "term:contactor",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:mentions/capacitor/inrush-current",
      "source": "term:capacitor",
      "target": "term:inrush-current",
      "type": "mentions",
      "properties": {
        "sourceFile": "terms.json",
        "method": "build_glossary.mention_index + mentions",
        "field": "definition",
        "meaning": "Text mention; not a causal claim"
      }
    },
    {
      "id": "edge:illustratedBy/term:capacitor/visual:capacitor",
      "source": "term:capacitor",
      "target": "visual:capacitor",
      "type": "illustratedBy",
      "properties": {
        "sourceFile": "visual-pages.json"
      }
    }
  ],
  "neighbors": [
    {
      "id": "workflow:rc-response",
      "type": "Workflow",
      "label": "Observe an RC time constant",
      "properties": {
        "id": "rc-response",
        "title": "Observe an RC time constant",
        "kind": "studio",
        "summary": "An RC circuit uses source, resistor, capacitor and reference blocks.",
        "steps": [
          "Keep R = 1 Ω and C = 1 F.",
          "Inspect capacitor voltage after one and two time constants."
        ],
        "example": "From zero initial voltage with a 1 V step, ideal capacitor voltage is about 0.632 V at 1 s and 0.865 V at 2 s.",
        "observe": "Doubling resistance or capacitance doubles the time constant.",
        "limits": "This generic circuit does not identify cell parameters from measurements.",
        "url": "https://design.lemonergy.com/cosim.html?example=physical-rc",
        "label": "Open the RC example",
        "evidence": [
          "js/physical-network.js",
          "js/studio-examples.js"
        ]
      }
    },
    {
      "id": "workflow:native-variable-gap-capacitor",
      "type": "Workflow",
      "label": "Electromechanical variable-gap capacitor worked example",
      "properties": {
        "id": "native-variable-gap-capacitor",
        "title": "Electromechanical variable-gap capacitor worked example",
        "kind": "studio",
        "summary": "Parallel-plate field energy and attractive force; a-minus-b motion closes the gap. No fringing or contact model; gap closure refuses.",
        "steps": [
          "Review the interface, units and model limits.",
          "Open the Studio example and run its bundled model.",
          "Compare outputs with the numerical checks; change one input and run again."
        ],
        "example": "Editable first-party network. mass: massKg=0.001; target: initialVoltageV=10. Checks below were verified in the native execution engine.",
        "observe": "Inspect the output channels and checks on the block reference page.",
        "limits": "Parallel-plate field energy and attractive force; a-minus-b motion closes the gap. No fringing or contact model; gap closure refuses. Demonstration parameters are not calibrated hardware data. Singular or incompatible ideal constraints and unsupported state ranges stop the run.",
        "url": "https://design.lemonergy.com/cosim.html?example=physical-variable-gap-capacitor",
        "label": "Open Studio example",
        "evidence": [
          "docs/glossary/native-block-verification.json"
        ]
      }
    },
    {
      "id": "topic:topic-units",
      "type": "Topic",
      "label": "Units and electrical basics",
      "properties": {
        "id": "topic-units",
        "name": "Units and electrical basics",
        "lede": "The quantities every datasheet is written in, and how they relate.",
        "context": "Use consistent units and cell/pack basis.",
        "example": "10 A for 30 min transfers 5 Ah. At constant 3.6 V this is 18 Wh; varying voltage requires integration.",
        "lesson_url": "https://lemonergy.com/learn/fundamentals/capacity-and-c-rate/",
        "lesson_label": "Open capacity and C-rate"
      }
    },
    {
      "id": "term:pre-charge",
      "type": "Term",
      "label": "Pre-charge circuit",
      "properties": {
        "id": "pre-charge",
        "name": "Pre-charge circuit",
        "section": "topic-hvsafety",
        "definition": "A resistor and small contactor that charge the inverter’s capacitors slowly before the main contactor closes. Without it the inrush into empty capacitors can reach thousands of amperes and weld the main contactor shut.",
        "related": [
          "contactor",
          "battery-disconnect-unit",
          "inverter"
        ],
        "url": "https://lemonergy.com/learn/glossary/pre-charge/",
        "mentions": [
          "inrush-current"
        ]
      }
    },
    {
      "id": "term:inverter",
      "type": "Term",
      "label": "Inverter",
      "properties": {
        "id": "inverter",
        "name": "Inverter",
        "aka": [
          "power conversion system",
          "PCS"
        ],
        "section": "topic-pack",
        "definition": "The power electronics that turn the battery’s DC into AC for a motor or the grid, and back again for charging. In stationary storage it is called the power conversion system and its rating in kW or MW sets the system’s power independently of the battery’s energy.",
        "related": [
          "pre-charge",
          "dc-dc-converter",
          "stationary-storage",
          "energy-management-system",
          "direct-current",
          "iec-62477-1"
        ],
        "url": "https://lemonergy.com/learn/glossary/inverter/",
        "mentions": []
      }
    },
    {
      "id": "term:supercapacitor",
      "type": "Term",
      "label": "Supercapacitor",
      "properties": {
        "id": "supercapacitor",
        "name": "Supercapacitor",
        "aka": [
          "ultracapacitor",
          "EDLC"
        ],
        "section": "topic-electrochemistry",
        "definition": "A device that stores charge in the electric double layer on high-surface-area carbon rather than in a reaction. It delivers very high power and lasts a million cycles but stores only a few watt-hours per kilogram.",
        "related": [
          "double-layer",
          "specific-power",
          "ragone-plot",
          "hybrid-energy-storage-system"
        ],
        "url": "https://lemonergy.com/learn/glossary/supercapacitor/",
        "mentions": []
      }
    },
    {
      "id": "term:double-layer",
      "type": "Term",
      "label": "Electric double layer",
      "properties": {
        "id": "double-layer",
        "name": "Electric double layer",
        "section": "topic-electrochemistry",
        "definition": "The thin region at an electrode surface where ions in the electrolyte line up against the charge on the electrode, behaving like a capacitor. It stores a little charge without any reaction and shapes the high-frequency part of an impedance spectrum.",
        "related": [
          "charge-transfer",
          "electrochemical-impedance-spectroscopy",
          "supercapacitor"
        ],
        "url": "https://lemonergy.com/learn/glossary/double-layer/",
        "mentions": [
          "impedance",
          "electrode",
          "electrolyte",
          "capacitor"
        ]
      }
    },
    {
      "id": "term:contactor",
      "type": "Term",
      "label": "Contactor",
      "properties": {
        "id": "contactor",
        "name": "Contactor",
        "section": "topic-hvsafety",
        "definition": "A heavy-duty electrically operated switch that connects the pack to the vehicle or inverter and opens it on fault or shutdown. Packs use at least two, one per pole, plus a pre-charge path to avoid welding them on the first connection.",
        "related": [
          "pre-charge",
          "battery-disconnect-unit",
          "pyrofuse",
          "bms"
        ],
        "url": "https://lemonergy.com/learn/glossary/contactor/",
        "mentions": [
          "inverter"
        ]
      }
    },
    {
      "id": "term:inrush-current",
      "type": "Term",
      "label": "Inrush current",
      "properties": {
        "id": "inrush-current",
        "name": "Inrush current",
        "aka": [
          "inrush",
          "surge current",
          "switch-on surge"
        ],
        "section": "topic-hvsafety",
        "definition": "The brief current peak when a circuit is first energised, before its capacitors have charged or its magnetic parts have settled. Connected straight to a pack, an inverter’s empty DC-link capacitors would draw thousands of amperes, so a pre-charge circuit brings them to about 95% of pack voltage before the main contactor closes.",
        "related": [
          "pre-charge",
          "contactor",
          "inverter",
          "blanking-delay",
          "fuse-coordination"
        ],
        "url": "https://lemonergy.com/learn/glossary/inrush-current/",
        "mentions": [
          "pack-voltage"
        ]
      }
    },
    {
      "id": "visual:capacitor",
      "type": "Visual",
      "label": "Capacitor charge and energy",
      "properties": {
        "title": "Capacitor charge and energy",
        "summary": "Charge rises linearly with voltage; energy rises with voltage squared.",
        "readout": "At 5 V: 25 C and 62.5 J.",
        "formula": "Q = CV; E = ½CV²",
        "note": "Ideal constant capacitance; leakage, series resistance and voltage rating excluded.",
        "software": {
          "status": "reference",
          "label": "Reference concept",
          "body": "Q = CV and E = ½CV² explain capacitor storage. The battery nominal-energy helper alone does not simulate capacitor precharge.",
          "href": "../fundamentals/battery-basics/"
        },
        "html": "<figure class=\"visual-figure\"><figcaption>Stored charge</figcaption><svg class=\"visual-chart\" viewBox=\"0 0 360 330\" role=\"img\" aria-labelledby=\"static-capacitor-0-title static-capacitor-0-desc\"><title id=\"static-capacitor-0-title\">Stored charge</title><desc id=\"static-capacitor-0-desc\">Voltage (V) versus Charge (C). Q = CV. Interpretation follows the graphs.</desc><path d=\"M74,238h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"242\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">0</text><text x=\"74\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">0</text><path d=\"M74,188.5h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"192.5\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">6.25</text><text x=\"141\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">1.25</text><path d=\"M74,139h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"143\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">12.5</text><text x=\"208\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">2.5</text><path d=\"M74,89.5h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"93.5\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">18.8</text><text x=\"275\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">3.75</text><path d=\"M74,40h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"44\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">25</text><text x=\"342\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">5</text><path d=\"M74,40v198h268\" fill=\"none\" stroke=\"currentColor\" opacity=\".3\"/><polyline fill=\"none\" stroke=\"#2459a8\" stroke-width=\"2.8\" points=\"74.00,238.00 76.68,236.02 79.36,234.04 82.04,232.06 84.72,230.08 87.40,228.10 90.08,226.12 92.76,224.14 95.44,222.16 98.12,220.18 100.80,218.20 103.48,216.22 106.16,214.24 108.84,212.26 111.52,210.28 114.20,208.30 116.88,206.32 119.56,204.34 122.24,202.36 124.92,200.38 127.60,198.40 130.28,196.42 132.96,194.44 135.64,192.46 138.32,190.48 141.00,188.50 143.68,186.52 146.36,184.54 149.04,182.56 151.72,180.58 154.40,178.60 157.08,176.62 159.76,174.64 162.44,172.66 165.12,170.68 167.80,168.70 170.48,166.72 173.16,164.74 175.84,162.76 178.52,160.78 181.20,158.80 183.88,156.82 186.56,154.84 189.24,152.86 191.92,150.88 194.60,148.90 197.28,146.92 199.96,144.94 202.64,142.96 205.32,140.98 208.00,139.00 210.68,137.02 213.36,135.04 216.04,133.06 218.72,131.08 221.40,129.10 224.08,127.12 226.76,125.14 229.44,123.16 232.12,121.18 234.80,119.20 237.48,117.22 240.16,115.24 242.84,113.26 245.52,111.28 248.20,109.30 250.88,107.32 253.56,105.34 256.24,103.36 258.92,101.38 261.60,99.40 264.28,97.42 266.96,95.44 269.64,93.46 272.32,91.48 275.00,89.50 277.68,87.52 280.36,85.54 283.04,83.56 285.72,81.58 288.40,79.60 291.08,77.62 293.76,75.64 296.44,73.66 299.12,71.68 301.80,69.70 304.48,67.72 307.16,65.74 309.84,63.76 312.52,61.78 315.20,59.80 317.88,57.82 320.56,55.84 323.24,53.86 325.92,51.88 328.60,49.90 331.28,47.92 333.96,45.94 336.64,43.96 339.32,41.98 342.00,40.00\"/><text transform=\"translate(208 303)\" text-anchor=\"middle\" font-size=\"14\" fill=\"currentColor\"><tspan x=\"0\" dy=\"0\">Voltage (V)</tspan></text><text transform=\"translate(20 139) rotate(-90)\" text-anchor=\"middle\" font-size=\"14\" fill=\"currentColor\"><tspan x=\"0\" dy=\"0\">Charge (C)</tspan></text></svg><div class=\"visual-legend\"><span><i style=\"background:#2459a8\"></i>Q = CV</span></div></figure>\n<figure class=\"visual-figure\"><figcaption>Stored energy</figcaption><svg class=\"visual-chart\" viewBox=\"0 0 360 330\" role=\"img\" aria-labelledby=\"static-capacitor-1-title static-capacitor-1-desc\"><title id=\"static-capacitor-1-title\">Stored energy</title><desc id=\"static-capacitor-1-desc\">Voltage (V) versus Energy (J). E = ½CV². Interpretation follows the graphs.</desc><path d=\"M74,238h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"242\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">0</text><text x=\"74\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">0</text><path d=\"M74,188.5h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"192.5\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">15.6</text><text x=\"141\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">1.25</text><path d=\"M74,139h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"143\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">31.3</text><text x=\"208\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">2.5</text><path d=\"M74,89.5h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"93.5\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">46.9</text><text x=\"275\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">3.75</text><path d=\"M74,40h268\" stroke=\"currentColor\" opacity=\".13\"/><text x=\"64\" y=\"44\" text-anchor=\"end\" font-size=\"13\" fill=\"currentColor\">62.5</text><text x=\"342\" y=\"265\" text-anchor=\"middle\" font-size=\"13\" fill=\"currentColor\">5</text><path d=\"M74,40v198h268\" fill=\"none\" stroke=\"currentColor\" opacity=\".3\"/><polyline fill=\"none\" stroke=\"#6953a8\" stroke-width=\"2.8\" points=\"74.00,238.00 76.68,237.98 79.36,237.92 82.04,237.82 84.72,237.68 87.40,237.50 90.08,237.29 92.76,237.03 95.44,236.73 98.12,236.40 100.80,236.02 103.48,235.60 106.16,235.15 108.84,234.65 111.52,234.12 114.20,233.54 116.88,232.93 119.56,232.28 122.24,231.58 124.92,230.85 127.60,230.08 130.28,229.27 132.96,228.42 135.64,227.53 138.32,226.60 141.00,225.63 143.68,224.62 146.36,223.57 149.04,222.48 151.72,221.35 154.40,220.18 157.08,218.97 159.76,217.72 162.44,216.44 165.12,215.11 167.80,213.75 170.48,212.34 173.16,210.89 175.84,209.41 178.52,207.88 181.20,206.32 183.88,204.72 186.56,203.07 189.24,201.39 191.92,199.67 194.60,197.91 197.28,196.10 199.96,194.26 202.64,192.38 205.32,190.46 208.00,188.50 210.68,186.50 213.36,184.46 216.04,182.38 218.72,180.26 221.40,178.11 224.08,175.91 226.76,173.67 229.44,171.39 232.12,169.08 234.80,166.72 237.48,164.32 240.16,161.89 242.84,159.41 245.52,156.90 248.20,154.34 250.88,151.75 253.56,149.12 256.24,146.44 258.92,143.73 261.60,140.98 264.28,138.19 266.96,135.36 269.64,132.49 272.32,129.58 275.00,126.63 277.68,123.64 280.36,120.61 283.04,117.54 285.72,114.43 288.40,111.28 291.08,108.09 293.76,104.86 296.44,101.60 299.12,98.29 301.80,94.94 304.48,91.56 307.16,88.13 309.84,84.67 312.52,81.16 315.20,77.62 317.88,74.04 320.56,70.41 323.24,66.75 325.92,63.05 328.60,59.31 331.28,55.52 333.96,51.70 336.64,47.84 339.32,43.94 342.00,40.00\"/><text transform=\"translate(208 303)\" text-anchor=\"middle\" font-size=\"14\" fill=\"currentColor\"><tspan x=\"0\" dy=\"0\">Voltage (V)</tspan></text><text transform=\"translate(20 139) rotate(-90)\" text-anchor=\"middle\" font-size=\"14\" fill=\"currentColor\"><tspan x=\"0\" dy=\"0\">Energy (J)</tspan></text></svg><div class=\"visual-legend\"><span><i style=\"background:#6953a8\"></i>E = ½CV²</span></div></figure>"
      }
    }
  ]
}
