X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Futils%2FElectricUtils.ts;h=7b91344296009c4e10c093774a8cdb905eb33f2c;hb=1fe0632adfa4067470497e2de02249fc84a4e218;hp=9f0c680ac890ed02e2b277776c63e66c3c7f9ea8;hpb=d5bd1c008c3b2fbe6426ae12e1e12afe97807c57;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/ElectricUtils.ts b/src/utils/ElectricUtils.ts index 9f0c680a..7b913442 100644 --- a/src/utils/ElectricUtils.ts +++ b/src/utils/ElectricUtils.ts @@ -1,4 +1,4 @@ -// Copyright Jerome Benoit. 2021. All Rights Reserved. +// Copyright Jerome Benoit. 2021-2023. All Rights Reserved. /** * Rationale: https://wiki.piment-noir.org/doku.php/en:cs:modelling_multi-phased_electrical_system_interconnexion @@ -50,6 +50,10 @@ export class ACElectricUtils { * Targeted to DC related values calculation. */ export class DCElectricUtils { + private constructor() { + // This is intentional + } + static power(V: number, I: number): number { return V * I; }