top of page
  • Writer's picturePatrick Law

Skim Tank Sizing Calculations Using AI



Introduction

This document provides a comprehensive guide for process engineers to use specific prompts for producing calculations necessary for sizing a skim tank in an oil-water separation process. The prompts are designed to ensure a structured approach, covering calculation objectives, inputs, assumptions, detailed calculations, and QA/QC checks. This guide helps process engineers perform accurate and efficient calculations, ensuring all necessary steps and considerations are included.



Prompt 1 of 5: PRE-PROMPT

This section introduces the process of using prompts to size a skim tank for oil-water separation. The prompts guide the user through the necessary steps, ensuring all relevant information and calculations are covered.


Prompt 2a of 5: CALCULATION OBJECTIVES

This section provides the key variables to be determined in the skim tank sizing calculations.


CALCULATION OBJECTIVES:

1. Settling Velocity (Vs)

2. Required Height for Given Separation Factor (H_eff)

3. Retention Time (t)

4. Volume of Tank (V)


Prompt 2b of 5: INPUTS AND ASSUMPTIONS

This section lists all the inputs and assumptions necessary for the calculation. Each input or assumption is specified along with its reference.


INPUTS AND ASSUMPTIONS:

1. Fluid Type, FT = [Insert Value Here] (Ref: [Insert Reference Here])

2. Oil Production, OP = [Insert Value Here] (Ref: [Insert Reference Here])

3. Droplet Diameter, do = [Insert Value Here] (Ref: [Insert Reference Here])

4. Separation Factor, S = [Insert Value Here] (Ref: [Insert Reference Here])

5. Density of Oil, rho_o = [Insert Value Here] (Ref: [Insert Reference Here])

6. Density of Water, rho_w = [Insert Value Here] (Ref: [Insert Reference Here])

7. Acceleration due to Gravity, g = [Insert Value Here] (Ref: [Insert Reference Here])

8. Dynamic Viscosity of Water, mu_w = [Insert Value Here] (Ref: [Insert Reference Here])

9. Full Height of the Tank, H = [Insert Value Here] (Ref: [Insert Reference Here])


Prompt 3 of 5: CALCULATION

This section outlines the process for performing the necessary calculations. Each calculation should be conducted in metric units and presented in a detailed, step-by-step format.


All calculations should be conducted in metric units, such as meters (m), kilopascals (kPa), kilowatts (kW), etc. For the calculation of [INSERT OBJECTIVE HERE] using Python, ensure the process is thorough and accurate. The detailed steps should include: first, printing the formula; second, substituting numerical values and units into the formula; and third, displaying the final numerical result with units. Make sure to show all intermediate steps.


Example format:


• Settling Velocity (Vs): “Vs = (2/9) (do^2 (rho_w - rho_o) g) / mu_w; Vs = (2/9) (0.01^2 (1000 - 850) 9.81) / 0.001; Vs = [calculated value] m/s”

• Required Height for Given Separation Factor (H_eff): “H_eff = H S; H_eff = 10 0.75; H_eff = [calculated value] m”

• Retention Time (t): “t = H_eff / Vs; t = [H_eff value] / [Vs value]; t = [calculated value] s”

• Volume of Tank (V): “V = Q t; V = [flow rate] [t value]; V = [calculated value] m³”


Prompt 4 of 5: QAQC

This section ensures the accuracy and consistency of the calculations by performing a thorough QA/QC check using Python.


Double-check and execute all specified calculations for each objective using Python, following a step-by-step process with clearly delineated stages. Provide detailed explanations for each step to ensure clarity and verification, and compare the results with previous calculations for accuracy and consistency. For the QA/QC check, create and execute Python code for each calculation, compare the results with those in the Calculations section, and provide a statement indicating whether the results match. Flag any discrepancies using data analysis and ensure all mathematical operations are correctly performed.


This section provides the final output, ensuring that all calculations and results are presented clearly and accurately.


Generate the final output following the template [Calculation Objectives to Attachments]. The Calculations section should include all the calculations mentioned above. Present this in plain text only. Do not use special symbols or fonts in the calculations. Mathematical symbols can be represented as text but not in words. Only include inputs and assumptions listed above that are used in the calculations.



Conclusion

This guide outlines the structured use of prompts to perform accurate and thorough skim tank sizing calculations for oil-water separation processes. By following these prompts, process engineers can ensure that all necessary information and calculations are covered, leading to effective and compliant tank design.


19 views0 comments

Commentaires


bottom of page