2022-02-23 14:45:46 +01:00
|
|
|
import matplotlib.pyplot as plt
|
|
|
|
import numpy as np
|
|
|
|
import matplotlib
|
|
|
|
#matplotlib.use('Qt5Agg')
|
|
|
|
from src import coil_class as BC
|
|
|
|
|
|
|
|
|
|
|
|
HH_Coil = BC.BCoil(HH = 1, distance = 54, radius = 48, layers = 8, windings = 8, wire_height = 0.5,
|
|
|
|
wire_width = 0.5, insulation_thickness = (0.546-0.5)/2, is_round = True,
|
|
|
|
winding_scheme= 2)
|
2022-03-14 14:33:22 +01:00
|
|
|
|
|
|
|
print(HH_Coil.get_insulation_thickness)
|
2022-02-23 14:45:46 +01:00
|
|
|
HH_Coil.set_R_inner(45.6)
|
|
|
|
HH_Coil.set_d_min(2*24.075)
|
|
|
|
HH_Coil.print_info()
|
|
|
|
|
|
|
|
AHH_Coil = BC.BCoil(HH = -1, distance = 54, radius = 48, layers = HH_Coil.get_layers, windings=2 * HH_Coil.get_windings,
|
|
|
|
wire_height = 0.5, wire_width=0.5, insulation_thickness=(0.546-0.5)/2,
|
|
|
|
is_round = True, winding_scheme= 2)
|
|
|
|
|
|
|
|
AHH_Coil.set_R_inner(45.6)
|
|
|
|
AHH_Coil.set_d_min(HH_Coil.get_zmax()*2 * 1e3 + 4)
|
|
|
|
|
|
|
|
AHH_Coil.print_info()
|
|
|
|
|
|
|
|
R = HH_Coil.resistance(25)
|