Added potting volume calculation

This commit is contained in:
2023-12-28 17:52:01 -05:00
parent ff02bd28cc
commit 264f0dedfe

View File

@@ -49,9 +49,17 @@ module print_specs() {
C = Cnf * 10^-9; C = Cnf * 10^-9;
ENL = 2*N*Epk - 2*N*Vf; ENL = 2*N*Epk - 2*N*Vf;
VSLOPE = (4*N^3 + 3*N^2 - N) / (2 * PI * F * C); VSLOPE = (4*N^3 + 3*N^2 - N) / (2 * PI * F * C);
cwvol = 54*PI*(45/2)^2;
gvol = 54*((9/2)^2 * PI + 10 * 9);
fvol = 40*38*7;
tvol = (2*cwvol + gvol + fvol)/1000;
echo("Eout = ", ENL); echo("Eout = ", ENL);
echo("VSLOPE = ", VSLOPE); echo("VSLOPE = ", VSLOPE);
echo("VDrop = ", VSLOPE * Io); echo("VDrop = ", VSLOPE * Io);
echo("Inner Volume: ", tvol, "mL");
} }
module terminal(bl=Bolt_Length, bz=Bolt_Offset-Bolt_Length, align=V_BOTTOM, orient=ORIENT_Z) { module terminal(bl=Bolt_Length, bz=Bolt_Offset-Bolt_Length, align=V_BOTTOM, orient=ORIENT_Z) {