adding tordoidal simulator and drawing

This commit is contained in:
2026-02-13 11:32:37 -06:00
parent 5f3beeda8d
commit 1d8e60c5df
11 changed files with 2511 additions and 5 deletions

6
sim.py
View File

@@ -86,9 +86,9 @@ opt = TransformerOptimizer(tf)
# Find optimal configuration for delivering 10W to a 1000 ohm load at 2 kHz
result_opt = opt.optimize(
load_ohms=1500.0,
target_power_W=10.0,
freq_hz=45000.0,
load_ohms=10.0,
target_power_W=25.0,
freq_hz=256.0,
Vp_min=1.0,
Vp_max=36.0,
Vp_step=0.5,