# Demo battery

Bron: https://docs.evcc.io/nl/meters/demo-battery

For demonstration purposes. Battery with a fixed set of values.

## Parameters

| Naam | Omschrijving | Standaard / voorbeeld | |
| --- | --- | --- | --- |
| power | Power |  W |  |
| soc | Charge |  % |  |
| controllable | Controllable Supports active battery control |  | geavanceerd |
| capacity | Battery capacity | 50 kWh | geavanceerd |
| minsoc | Minimum charge Lower limit as configured on the battery system. Used by optimizer. | 0 % | geavanceerd |
| maxsoc | Maximum charge Upper limit as configured on the battery system. Used by optimizer and for grid charging. | 100 % | geavanceerd |
| maxchargepower | Maximum charge power For forced charging of the battery. |  W | geavanceerd |
| maxdischargepower | Maximum discharge power Maximum discharge power of the storage. |  W | geavanceerd |
| energy | Meter reading |  kWh | geavanceerd |
| currentL1 | L1 current |  A | geavanceerd |
| currentL2 | L2 current |  A | geavanceerd |
| currentL3 | L3 current |  A | geavanceerd |
| maxacpower | Maximum AC power of the hybrid inverter | 0 W | geavanceerd |

## Configuratievoorbeeld voor evcc.yaml

```yaml
meters:
    - name: my_battery
      type: template
      template: demo-battery
      usage: battery
      power: # Power (W), optional
      soc: # Charge (%), optional
      controllable: # Controllable, Supports active battery control (optional)
      capacity: 50 # Battery capacity (kWh), optional
      minsoc: 0 # Minimum charge (%), Lower limit as configured on the battery system. Used by optimizer. (optional)
      maxsoc: 100 # Maximum charge (%), Upper limit as configured on the battery system. Used by optimizer and for grid charging. (optional)
      maxchargepower: # Maximum charge power (W), For forced charging of the battery. (optional)
      maxdischargepower: # Maximum discharge power (W), Maximum discharge power of the storage. (optional)
      energy: # Meter reading (kWh), optional
      currentL1: # L1 current (A), optional
      currentL2: # L2 current (A), optional
      currentL3: # L3 current (A), optional
```
