#### Fugacity of a Single Component: Interactive Simulations

These simulations were prepared using Mathematica. Download the free Wolfram player, and then download the simulation CDF file (link given below or click on figure to download). Try to predict the behavior when a parameter changes before using a slider to change that parameter. Screencasts below explain how to use these simulations.

##### Simulation: Fugacity as a Driving Force for Mass Transfer

Two 1-liter flasks are at different temperatures; the left flask contains water with dissolved salt and the right flask contains pure water. You can control the temperature of the left flask and the amount of salt dissolved with the sliders. Select the reset button and then select play (“go to equilibrium”). Water transfers from one flask to the other to try to make water fugacities equal in each flask. For some conditions, all the water transfers to the left or right flask. Check “show fugacities” to display the water fugacities in each flask.

Try to answer these questions before determining the answer with the simulation. We suggest that you write down the reasons for your answers.

1. For a system at equilibrium with water and salt in the left flask and only water in the right flask, what happens when the temperature of the left flask increases?
2. For a system at equilibrium with water and salt in the left flask and only water in the right flask, what happens when more salt is added to the water in the left flask?
##### Simulation: Single-Component Fugacity

This demonstration plots fugacity of a hypothetical single component as a function of temperature or pressure; the drop down menu selects which plot is displayed. The saturation point is where liquid and vapor have the same fugacity. Above or below the saturation point, the phase with the lower fugacity is the stable phase. The fugacity versus pressure plot is for low pressure where the vapor phase is ideal and the fugacity versus pressure for the gas phase is linear. When the “high pressure” box is checked, the vapor is assumed to be a real gas, and the fugacity versus pressure is not linear for the vapor phase.

Try to answer these questions before determining the answer with the simulation. We suggest that you write down the reasons for your answers.

1. As the pressure increases for a single component, how does the fugacity of the gas change if the gas is not ideal?
2. As temperature increases for a single-component liquid at 0.1 bar pressure, what approximately is the maximum fugacity that the single component can have?
##### Simulation: Fugacity from Equation of State for Water (optional)

The Peng-Robinson equation of state (EOS) is used to calculate the fugacity, $$f$$, and the fugacity coefficient, $$\phi$$, for pressures and volumes which can be selected by sliders. The fugacity coefficient indicates how much the fluid deviates from ideal-gas behavior; it equals 1 for an ideal gas. Isotherms are shown on the P-V diagram when you select “isotherms” from the drop-down menu. The constant temperature region inside the phase envelope is represented by a solid horizontal line.

Try to answer these questions before determining the answer with the simulation. We suggest that you write down the reasons for your answers.

1. Make an estimate for the fugacity of water that is in vapor-liquid equilibrium at 1.0 MPa pressure.
2. In the vapor region at pressures near the critical pressure, does the fugacity coefficient increase or decrease if the volume is increased at constant pressure?