en:cs:modelling_multi-phased_electrical_system_interconnexion

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

en:cs:modelling_multi-phased_electrical_system_interconnexion [2021/04/12 09:17] – [Typescript code sketches] fraggleen:cs:modelling_multi-phased_electrical_system_interconnexion [2021/12/27 18:25] (Version actuelle) – modification externe 127.0.0.1
Ligne 65: Ligne 65:
 Low level class of electrical helper methods implementation:  Low level class of electrical helper methods implementation: 
  
-<code typescript>+<code javascript>
 /** /**
  * Targeted to AC related values calculation.  * Targeted to AC related values calculation.
  */  */
-export default class ACElectricUtils {+export class ACElectricUtils {
   static amperageTotal(nbOfPhases: number, Iph: number): number {   static amperageTotal(nbOfPhases: number, Iph: number): number {
     return nbOfPhases * Iph;     return nbOfPhases * Iph;
Ligne 155: Ligne 155:
     Iph: Math.min(Car.Iph, ChargingStation.Iph),     Iph: Math.min(Car.Iph, ChargingStation.Iph),
     V: Math.min(Car.V, ChargingStation.V),     V: Math.min(Car.V, ChargingStation.V),
-    I: ElectricityUtils.calculateAmpTotal(this.nPhases, this.Iph), +    I: ACElectricUtils.amperageTotal(this.nPhases, this.Iph), 
-    P: ElectricityUtils.calculatePowerTotal(this.nPhases, this.Iph, this.V),+    P: ACElectricUtils.powerTotal(this.nPhases, this.Iph, this.V),
   };   };
 } }
  • en/cs/modelling_multi-phased_electrical_system_interconnexion.1618211846.txt.gz
  • Dernière modification : 2021/12/27 18:25
  • (modification externe)