Différences
Ci-dessous, les différences entre deux révisions de la page.
en:cs:modelling_multi-phased_electrical_system_interconnexion [2021/04/12 09:17] – [Typescript code sketches] fraggle | en: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: | ||
- | < | + | < |
/** | /** | ||
* Targeted to AC related values calculation. | * Targeted to AC related values calculation. | ||
*/ | */ | ||
- | export | + | export class ACElectricUtils { |
static amperageTotal(nbOfPhases: | static amperageTotal(nbOfPhases: | ||
return nbOfPhases * Iph; | return nbOfPhases * Iph; | ||
Ligne 155: | Ligne 155: | ||
Iph: Math.min(Car.Iph, | Iph: Math.min(Car.Iph, | ||
V: Math.min(Car.V, | V: Math.min(Car.V, | ||
- | I: ElectricityUtils.calculateAmpTotal(this.nPhases, | + | I: ACElectricUtils.amperageTotal(this.nPhases, |
- | P: ElectricityUtils.calculatePowerTotal(this.nPhases, | + | P: ACElectricUtils.powerTotal(this.nPhases, |
}; | }; | ||
} | } |