Skip to main content

Provides functions for calculating various parameters in extrusion processes

Project description

ci-cd codecov Documentation Status license status

extrucal

Author: John W.S. Lee

extrucal provides a class and functions that calculate throughputs and screw RPMs for various types of extrusion processes. Theoretical throughputs can be calculated by using the screw geometry and the processing condition, whereas the throughputs required for extruded products(cable, tube, rod, and sheet) can be calculated by using the product geometry. Based on these calculated throughputs, extrucal functions can generate tables and plots that show the processing windows considering extruder size, line speed, and screw RPM.

A large portion of arguments for the functions are given the typical values. Some of the arguments for functions are as follows: screw size, channel depth, polymer melt density, screw RPM, screw pitch, flight width, number of flights, line speed, extruder size, etc.

Installation

extrucal can be installed PyPI using the following terminal command:

$ pip install extrucal

Package Class and Functions

1. Class and methods in extrucal.extrusion

  • ExtruderScrew()

    • This is class for an extruder with geometry of the metering section of the extrusion screw
  • ExtruderScrew.throughput()

    • This method calculates the extrusion throughput (Drag Flow) of the ExtruderScrew object given the melt density of polymer and screw RPM
  • ExtruderScrew.throughput_table()

    • This method generate a table containing the extrusion throughput of the ExtruderScrew object given the melt density and operating conditions
  • ExtruderScrew.throughput_plot()

    • This method generates a plot containing the extrusion throughput of the ExtruderScrew object given the melt density and operating conditions

2. Functions in extrucal.extrusion

  • throughput_cal()

    • This function calculates the extrusion throughput (Drag Flow) given the screw size, RPM, the channel depth of metering channel, and screw pitch
  • throughput_table()

    • This function generates a table containing the extrusion throughput with respect to channel depth and screw RPM
  • throughput_plot()

    • This function generates a plot containing the extrusion throughput with respect to channel depth and screw RPM

3. Functions in extrucal.cable_extrusion

  • cable_cal()

    • This function calculates the required throughput for cables given the outer diameter, thickness, line speed, and solid polymer density
  • cable_table()

    • This function generate a table containing the required screw RPM with respect to line speed and extruder size
  • cable_plot()

    • This function generate a plot containing the required screw RPM with respect to line speed and extruder size

4. Functions in extrucal.tube_extrusion

  • tube_cal()

    • This function calculates the required throughput for tubes given the outer diameter, inner diameter, line speed, and solid polymer density
  • tube_table()

    • This function generate a table containing the required screw RPM with respect to line speed and extruder size
  • tube_plot()

    • This function generate a plot containing the required screw RPM with respect to line speed and extruder size

5. Functions in extrucal.rod_extrusion

  • rod_cal()

    • This function calculates the required throughput for rods given the outer diameter, line speed, solid polymer density, and number of die holes
  • rod_table()

    • This function generate a table containing the required screw RPM with respect to line speed and extruder size
  • rod_plot()

    • This function generate a plot containing the required screw RPM with respect to line speed and extruder size

6. Functions in extrucal.sheet_extrusion

  • sheet_cal()

    • This function calculates the required throughput for sheets given the width, thickness, line speed, solid polymer density, and number of die holes
  • sheet_table()

    • This function generate a table containing the required screw RPM with respect to line speed and extruder size
  • sheet_plot()

    • This function generate a plot containing the required screw RPM with respect to line speed and extruder size

Usage

extrucal can be used to calculate extrusion throughput and to generate tables and plots of various parameters in extrusion processes

from extrucal.extrusion import ExtruderScrew, 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

Dependencies

  • Python 3.9 and Python packages:

    • pandas==1.4.1
    • numpy==1.22.2
    • ipykernel==6.9.1
    • altair-saver==0.5.0
    • plotly==5.9.0

Documentation

Documentation extrucal can be found at Read the Docs

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

extrucal was created by John W.S. Lee. It is licensed under the terms of the MIT license.

Credits

extrucal was created with cookiecutter and the py-pkgs-cookiecutter template.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extrucal-1.4.21.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

extrucal-1.4.21-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file extrucal-1.4.21.tar.gz.

File metadata

  • Download URL: extrucal-1.4.21.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for extrucal-1.4.21.tar.gz
Algorithm Hash digest
SHA256 718d954bd3b457d8125610fbf40a236f9ae4ad3399dc720948e52ae0cde2beb1
MD5 07874cec655fef40ef5f7f20622c85f2
BLAKE2b-256 f9d6518b7fb49f19282b924ab4eaa6f5727b3795c7b5b70ef572abd23311c6a3

See more details on using hashes here.

File details

Details for the file extrucal-1.4.21-py3-none-any.whl.

File metadata

  • Download URL: extrucal-1.4.21-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for extrucal-1.4.21-py3-none-any.whl
Algorithm Hash digest
SHA256 2c7940e8469270ca43806c40c59a41822d75412a9424721c0269aea2be63cca4
MD5 18794735944c77a4a5e58c2e44507568
BLAKE2b-256 75e3a7e50c66d69bb21e88b572682d1f2e95612df9ea9bc8d670f87c9eb2bd6c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page