From: Jérôme Benoit Date: Sun, 30 Apr 2023 19:08:42 +0000 (+0200) Subject: docs: document evses template configuration section X-Git-Tag: v1.2.12~34 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3e1dfe427e0e0996471660f473ca2164382beddb;p=e-mobility-charging-stations-simulator.git docs: document evses template configuration section Signed-off-by: Jérôme Benoit --- diff --git a/README.md b/README.md index 336ac71d..9e514fed 100644 --- a/README.md +++ b/README.md @@ -182,11 +182,13 @@ But the modifications to test have to be done to the files in the build target d | firmwareUpgrade | | {
"versionUpgrade": {
"step": 1
},
"reset": true
} | {
versionUpgrade: {
patternGroup: number;
step: number;
};
reset: boolean;
failureStatus: 'DownloadFailed' \| 'InstallationFailed';
} | Configuration section for simulating firmware upgrade support. | | commandsSupport | | {
"incomingCommands": {},
"outgoingCommands": {}
} | {
incomingCommands: Record;
outgoingCommands?: Record;
} | Configuration section for OCPP commands support. Empty section or subsections means all implemented OCPP commands are supported | | messageTriggerSupport | | {} | Record | Configuration section for OCPP commands trigger support. Empty section means all implemented OCPP trigger commands are supported | -| Configuration | | | ChargingStationConfiguration | charging stations OCPP parameters configuration section | -| AutomaticTransactionGenerator | | | AutomaticTransactionGenerator | charging stations ATG configuration section | -| Connectors | | | Connectors | charging stations connectors configuration section | +| Configuration | | | ChargingStationOcppConfiguration | charging stations OCPP parameters configuration section | +| AutomaticTransactionGenerator | | | AutomaticTransactionGeneratorConfiguration | charging stations ATG configuration section | +| Connectors | | | Record | charging stations connectors configuration section | +| Evses | | | Record | charging stations EVSEs configuration section | +| | -#### Configuration section +#### Configuration section syntax example ```json "Configuration": { @@ -212,7 +214,7 @@ But the modifications to test have to be done to the files in the build target d } ``` -#### AutomaticTransactionGenerator section +#### AutomaticTransactionGenerator section syntax example Section type definition: @@ -248,7 +250,7 @@ Section example: } ``` -#### Connectors section +#### Connectors section syntax example ```json "Connectors": { @@ -280,6 +282,46 @@ Section example: }, ``` +#### Evses section syntax example + +```json + "Evses": { + "0": { + "Connectors": { + "0": {} + } + }, + "1": { + "Connectors": { + "1": { + "bootStatus": "Available", + "MeterValues": [ + ... + { + "unit": "W", + "measurand": "Power.Active.Import", + "phase": "L1-N", + "value": "5000", + "fluctuationPercent": "10" + }, + ... + { + "unit": "A", + "measurand": "Current.Import", + "minimum": "0.5" + }, + ... + { + "unit": "Wh" + }, + ... + ] + } + } + } + }, +``` + ### Charging station configuration **dist/assets/configurations/\.json**: