Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Thermodynamics

You’ll measure and model the behavior of the temperature and mass (using a scale) of a venting canned air duster. Below are the equations you’ll need to solve to estimate the temperature as a function of time and the mass loss as a function of time. You’ll then compare your model to the data you collect by tying a rubber band around the trigger and measuring the temperature and mass loss as a function of time with the temperature probe and scale.

CleanDr.jpg

Task 1: Review the below code

First define model parameters

Found online by searching for property data for difluoroethane plus the parameters of the can. Estimated the heat and mass transfer coefficients.

0.283495

Now specify the functions needed:

  • Venting through an orifice (mach number needed),

  • Saturated vapor pressure,

  • Equation of State,

  • Derivatives of moles and temperature (based on energy and mole balances)

Include in the model the two phases with heat transfer

  • Additional parameters

  • Heat transfer

  • Psat and mass transfer functions

  • Derivatives of the moles and temperature are evaluated for each phase

Task 2: Complete the simulation with the above functions

You’ll obtain the simulated temperature and mass of the liquid in the can as a function of time. You’ll add an integration step to obtain the variables from their derivatives.

Task 3: Obtain Experimental Data

Use the ESP32 and K-type Thermocouple to measure the temperature as the difluoroethane vents.

You can review the safety of such a procedure by reviewing this document: Safety calculations

Task 4: Aspen Plus Simulation

Simulate with Aspen Plus a separator with difluoroethane (CAS 75-37-6) where the inlet pressure is 85 kPa and the vapor fraction is 0. Estimate the heat transferred to the can (separator) such that the mass loss mimics the mass loss rate from the experiment.

I found simulating a batch condition to be difficult (I haven’t figured out how to do it yet). If you’re having problems as well, you can instead simulate a continuous flash drum with the following conditions:

  • 6.3 bar inlet pressure of 100% difluoroethane (C2H4F2)

  • 0.01 inlet vapor fraction

  • 0.1 kg/hr inlet flow rate

  • 1 bar pressure in the flash drum

  • Flash drum duty of 0 cal/sec

Report the resultant flow rates of the liquid and vapor and the temperature of the liquid and vapor.

Task 5: Complete the Documentation

Document your experience with the above tasks in a writeup according to the case study documentation.

Thermo Project Rubric

TaskPointsSome criteria
Code Development10Existing code is used and further developed to estimate the temperature versus time of the gas and liquid inside the venting canned air canister.
Experimental Data10Experimental temperatures of the liquid and gas temperatures collected as a function of time while the can is venting.
Aspen Plus Simulation5An Aspen Plus simulation is completed according to the above directions.
Comparison10A plot showing the experimental and modeling result for the liquid and the gas is shown
Writeup25Documentation is complete according to the Case Study Documentation. It’s important to show evidence (plot or plots) of the modeling and experimental results and discuss the implications. Mention the results of the Aspen Plus simulation.
Total60

Note the intent is to gain experience with the modeling and experimental process and to compare those results. The modeling and experimental results may not be perfect. The modeling results may not be fully completed and you could still get full credit.