From: Jérôme Benoit Date: Fri, 18 Mar 2022 15:31:46 +0000 (+0100) Subject: Fix maximum power available for AC charging stations X-Git-Tag: v1.1.57~37 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=da57964c4e631ba9fe438a30e8b63dfbbbe66105;p=e-mobility-charging-stations-simulator.git Fix maximum power available for AC charging stations Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 55b58794..5393aebd 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -240,7 +240,7 @@ export default class ChargingStation { ? ACElectricUtils.powerTotal( this.getNumberOfPhases(), this.getVoltageOut(), - this.getAmperageLimitation() + this.getAmperageLimitation() * this.getNumberOfConnectors() ) : DCElectricUtils.power(this.getVoltageOut(), this.getAmperageLimitation()); }