From 047f4647adfb87769133beff1e6fe1f6b8935c6f Mon Sep 17 00:00:00 2001 From: miguel <31931809+miguelvaca@users.noreply.github.com> Date: Tue, 23 May 2023 23:39:18 +1000 Subject: [PATCH] Play around with SWR calculation --- transformer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transformer.html b/transformer.html index 863295b..d324e40 100644 --- a/transformer.html +++ b/transformer.html @@ -743,7 +743,7 @@ let V1 = math.complex(this.Vrms, 0); let V2 = math.multiply(V1, math.divide(Zp, math.add(Zp, Zs))); - return [Zp, V1.toPolar().r, V2.toPolar().r]; + return [math.add(Zp, Zs), V1.toPolar().r, V2.toPolar().r]; /* let Z11 = math.add(1, math.divide(Z0,Zs));