Flush Tool

An application to quickly calculate the optimal flush volume between products

View the Project on GitHub johnsaigle/flush-tool

Flush Tool

The flush tool is used to determine an optimal flush volume given certain critera (ie. the previous product, next product, destination equipment and blend/receipt size if applicable). Product and equipment information is loaded from Excel files using the xlrd package.

Usage

The use of the program is very intuitive. Simply enter a material code representing the previous product in the tank, the next product entering the tank, and the destination (the tank itself). Depending on which department the equipment is located in, a volume field representing the blend size will be enabled as an additional input. Click 'Generate', and the results will be displayed.

Note: For security reasons, the data files that the application depends on are not included in the source or in any releases. These must be added to the (unzipped) root folder before execution. If you should be using this application, you should have these files.

Configuration

There are various variables that are read by the program from a file called 'settings.ini'. A description of the function of each variable follows:

File Locations

(These represent filenames and administrative information.)

Algebraic Values

(These represent variables and equations used in the flush calculations.)

Dependencies

This project was built using Python 3 with libraries from Portable Python, especially PyQt. xlrd was used for reading data from Excel.

Downloads

https://github.com/johnsaigle/flush-tool/releases

License

This code can be distributed under the MIT license.