Fix inductance. I broke on last checkin.

pull/2/head
miguel 2023-05-06 14:56:17 +10:00
rodzic 9a98c0534c
commit 87a587c7d8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -655,7 +655,7 @@
this.getInductance = function (frequency, mu) {
// const mu = this.getComplexPermeability(frequency);
const L = mu[0] * 4.0 * Math.PI * this.N**2 * 1e-9 / this.core.CC;
const L = mu[0] * 4.0 * Math.PI * this.N**2 * 1e-3 / this.core.CC;
return L;
};