Example usage
Here we will demonstrate how to use extrucal to calculate throughput in extrusion and generate the table and plot for throughput with various conditions.
Imports
from extrucal.extrusion import throughput_cal, throughput_table, throughput_plot
from extrucal.cable_extrusion import cable_cal, cable_table, cable_plot
from extrucal.tube_extrusion import tube_cal, tube_table, tube_plot
from extrucal.rod_extrusion import rod_cal, rod_table, rod_plot
from extrucal.sheet_extrusion import sheet_cal, sheet_table, sheet_plot
1. Functions in extrucal.extrusion
Calculate throughput in extrusion process
throughput(size, depth, density, rpm=1, pitch=None, w_flight=None, n_flight=1) calculates the extrusion throughput (Drag Flow) given the screw size, RPM, the channel depth of metering channel, and screw pitch
throughput_cal(200, 10, 800)
23.51
Generate a table of throughput in extrusion process
throughput_table(size, density, pitch=None, w_flight=None, n_flight=1, min_depth=None, max_depth=None, delta_depth=None, min_rpm=5, max_rpm=50, delta_rpm=5) generates a table containing the extrusion throughput with respect to channel depth and screw RPM
throughput_table(200, 800, max_depth=14) # `max_depth` was used to fit the width of the table
| depth=4.0 | depth=6.0 | depth=8.0 | depth=10.0 | depth=12.0 | depth=14.0 | |
|---|---|---|---|---|---|---|
| rpm=5.0 | 47.94 | 71.50 | 94.71 | 117.54 | 139.98 | 162.03 |
| rpm=10.0 | 95.88 | 143.00 | 189.41 | 235.07 | 279.96 | 324.05 |
| rpm=15.0 | 143.83 | 214.51 | 284.12 | 352.61 | 419.93 | 486.08 |
| rpm=20.0 | 191.77 | 286.01 | 378.83 | 470.14 | 559.91 | 648.10 |
| rpm=25.0 | 239.71 | 357.51 | 473.53 | 587.68 | 699.89 | 810.13 |
| rpm=30.0 | 287.65 | 429.01 | 568.24 | 705.21 | 839.87 | 972.15 |
| rpm=35.0 | 335.60 | 500.51 | 662.94 | 822.75 | 979.85 | 1134.18 |
| rpm=40.0 | 383.54 | 572.01 | 757.65 | 940.28 | 1119.83 | 1296.21 |
| rpm=45.0 | 431.48 | 643.52 | 852.36 | 1057.82 | 1259.80 | 1458.23 |
| rpm=50.0 | 479.42 | 715.02 | 947.06 | 1175.36 | 1399.78 | 1620.26 |
Generate a plot of throughput in extrusion process
throughput_plot(size, density, pitch=None, w_flight=None, n_flight=1, min_depth=None, max_depth=None, delta_depth=None, min_rpm=0, max_rpm=50, delta_rpm=1) generates a plot containing the extrusion throughput with respect to channel depth and screw RPM
throughput_plot(200, 800)
2. Functions in extrucal.cable_extrusion
Calculate the required throughput for cable extrusion process
cable_cal(outer_d, thickness, l_speed, s_density) calculates the required throughput for cables given the outer diameter, thickness, line speed, and solid polymer density
cable_cal(10, 2, 10, 1000)
30.159
Generate a table of the required screw RPM in cable extrusion process
cable_table(outer_d, thickness, s_density, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=20, depth_percent=0.05) generates a table containing the required screw RPM with respect to extruder size and line speed
cable_table(10, 2, 1000, max_l_speed=5) # `max_l_speed` was used to fit the width of the table
| 1.0mpm | 2.0mpm | 3.0mpm | 4.0mpm | 5.0mpm | |
|---|---|---|---|---|---|
| 20.0mm Ext | 150.80 | 301.60 | 452.40 | 603.20 | 754.00 |
| 40.0mm Ext | 15.08 | 30.16 | 45.24 | 60.32 | 75.40 |
| 60.0mm Ext | 4.50 | 9.00 | 13.50 | 18.01 | 22.51 |
| 80.0mm Ext | 1.88 | 3.77 | 5.65 | 7.54 | 9.42 |
| 100.0mm Ext | 0.97 | 1.93 | 2.90 | 3.87 | 4.83 |
Generate a plot of the required screw RPM in cable extrusion process
cable_plot(outer_d, thickness, s_density, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=1, depth_percent=0.05) generates a plot containing the required screw RPM with respect to extruder size and line speed
cable_plot(10, 2, 1000, min_size=60) # min_size was used to make the plot look better
3. Functions in extrucal.tube_extrusion
Calculate the required throughput for tube extrusion process
tube_cal(outer_d, inner_d, l_speed, s_density) calculates the required throughput for tubes given the outer diameter, inner diameter, line speed, and solid polymer density
tube_cal(100, 80, 1, 1000)
169.646
Generate a table of the required screw RPM in tube extrusion process
tube_table(outer_d, inner_d, s_density, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=20, depth_percent=0.05) generates a table containing the required screw RPM with respect to extruder size and line speed
tube_table(100, 80, 1000, min_size=150, max_size=200, delta_size=10, max_l_speed=5)
| 1.0mpm | 2.0mpm | 3.0mpm | 4.0mpm | 5.0mpm | |
|---|---|---|---|---|---|
| 150.0mm Ext | 16.10 | 32.19 | 48.29 | 64.38 | 80.48 |
| 160.0mm Ext | 13.26 | 26.53 | 39.79 | 53.06 | 66.32 |
| 170.0mm Ext | 11.06 | 22.12 | 33.18 | 44.24 | 55.30 |
| 180.0mm Ext | 9.32 | 18.63 | 27.95 | 37.26 | 46.58 |
| 190.0mm Ext | 7.92 | 15.85 | 23.77 | 31.69 | 39.62 |
| 200.0mm Ext | 6.79 | 13.58 | 20.37 | 27.17 | 33.96 |
Generate a plot of the required screw RPM in tube extrusion process
tube_plot(outer_d, inner_d, s_density, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=1, depth_percent=0.05) generates a plot containing the required screw RPM with respect to extruder size and line speed
tube_plot(100, 80, 1000, min_size=150, max_size=200, delta_size=10, max_l_speed=5)
4. Functions in extrucal.rod_extrusion
Calculate the required throughput for rod extrusion process
rod_cal(outer_d, l_speed, s_density, n_holes=1) calculates the required throughput for rods given the outer diameter, line speed, solid polymer density, and number of die holes
rod_cal(5, 10, 1000, n_holes=10)
117.81
Generate a table of the required screw RPM in rod extrusion process
rod_table(outer_d, s_density, n_holes=1, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=20, depth_percent=0.05) generates a table containing the required screw RPM with respect to extruder size and line speed
rod_table(10, 1000, min_size=100, max_size=140, delta_size=10, max_l_speed=5)
| 1.0mpm | 2.0mpm | 3.0mpm | 4.0mpm | 5.0mpm | |
|---|---|---|---|---|---|
| 100.0mm Ext | 1.51 | 3.02 | 4.53 | 6.04 | 7.55 |
| 110.0mm Ext | 1.13 | 2.27 | 3.40 | 4.53 | 5.66 |
| 120.0mm Ext | 0.87 | 1.75 | 2.62 | 3.50 | 4.37 |
| 130.0mm Ext | 0.69 | 1.37 | 2.06 | 2.75 | 3.43 |
| 140.0mm Ext | 0.55 | 1.10 | 1.65 | 2.20 | 2.75 |
Generate a plot of the required screw RPM in rod extrusion process
rod_plot(outer_d, s_density, n_holes=1, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=20, depth_percent=0.05) generates a plot containing the required screw RPM with respect to extruder size and line speed
rod_plot(10, 1000, min_size=100, max_size=140, delta_size=10)
5. Functions in extrucal.sheet_extrusion
Calculate the required throughput for sheet extrusion process
sheet_cal(width, thickness, l_speed, s_density) calculates the required throughput for sheets given the width, thickness, line speed, solid polymer density, and number of die holes
sheet_cal(1000, 1, 1, 1000)
60.0
Generate a table of the required screw RPM in rod extrusion process
sheet_table(width, thickness, s_density, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=20, depth_percent=0.05) generates a table containing the required screw RPM with respect to extruder size and line speed
sheet_table(1000, 1, 1000, max_l_speed=1.8, delta_l_speed=0.2, min_size=80, delta_size=5)
| 1.0mpm | 1.2mpm | 1.4mpm | 1.6mpm | 1.8mpm | |
|---|---|---|---|---|---|
| 80.0mm Ext | 37.50 | 45.00 | 52.50 | 60.00 | 67.50 |
| 85.0mm Ext | 31.25 | 37.50 | 43.75 | 50.00 | 56.25 |
| 90.0mm Ext | 26.32 | 31.58 | 36.84 | 42.11 | 47.37 |
| 95.0mm Ext | 22.39 | 26.87 | 31.34 | 35.82 | 40.30 |
| 100.0mm Ext | 19.23 | 23.08 | 26.92 | 30.77 | 34.62 |
Generate a plot of the required screw RPM in rod extrusion process
sheet_plot(width, thickness, s_density, density_ratio=0.85, min_l_speed=1, max_l_speed=10, delta_l_speed=1, min_size=20, max_size=100, delta_size=1, depth_percent=0.05) generates a plot containing the required screw RPM with respect to extruder size and line speed
sheet_plot(1000, 1, 1000, max_l_speed=1.8, delta_l_speed=0.2, min_size=80, delta_size=5)