{"id":1454,"date":"2021-07-14T14:42:12","date_gmt":"2021-07-14T18:42:12","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/thermo1\/chapter\/4-5-the-first-law-for-closed-system\/"},"modified":"2022-08-10T02:08:26","modified_gmt":"2022-08-10T06:08:26","slug":"4-5-the-first-law-for-closed-system","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/thermo1\/chapter\/4-5-the-first-law-for-closed-system\/","title":{"raw":"4.4 The first law of thermodynamics for closed systems","rendered":"4.4 The first law of thermodynamics for closed systems"},"content":{"raw":"The first law of thermodynamics is essentially an energy conservation law. Both heat and work are energy transfer mechanisms. They play an important role in the first law of thermodynamics. <a href=\"#T4.4.1\">Table 4.4.1<\/a> summarizes the main differences between heat and work, <a id=\"T4.4.1\"><\/a> and internal energy.\r\n<table class=\"grid\" style=\"height: 108px\"><caption>Table 4.4.1 Comparison of heat, work and internal energy<\/caption>\r\n<tbody>\r\n<tr class=\"TableNormal-R\" style=\"height: 15px\">\r\n<th class=\"shaded\" style=\"height: 15px;width: 147px\"><\/th>\r\n<th class=\"shaded\" style=\"text-align: center;height: 15px;width: 405px\"><strong>Heat and Work<\/strong><\/th>\r\n<th class=\"shaded\" style=\"text-align: center;height: 15px;width: 321px\"><strong>Internal Energy<\/strong><\/th>\r\n<\/tr>\r\n<tr class=\"TableNormal-R\" style=\"height: 31px\">\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 147px\">Characteristic<\/td>\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 405px\">Both heat and work are <strong lang=\"en-US\" xml:lang=\"en-US\">energy transfer mechanisms. <\/strong>They are <strong lang=\"en-US\" xml:lang=\"en-US\">not properties<\/strong> of a system.<\/td>\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 321px\">Internal energy is a <strong>property<\/strong> of a system.<\/td>\r\n<\/tr>\r\n<tr class=\"TableNormal-R\" style=\"height: 31px\">\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 147px\">Interaction with the system<\/td>\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 405px\">Both heat and work must cross the boundary between a system and its surroundings.<\/td>\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 321px\">A system possesses a total energy and an internal energy.<\/td>\r\n<\/tr>\r\n<tr class=\"TableNormal-R\" style=\"height: 31px\">\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 147px\">Magnitude<\/td>\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 405px\">Both heat and work are<strong lang=\"en-US\" xml:lang=\"en-US\"> path functions<\/strong>; their magnitudes depend on the states and the specific process path.<\/td>\r\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 321px\">Internal energy is a<strong> state function<\/strong>; its magnitude depends on the state only.<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe first law of thermodynamics states that <em><strong>t<\/strong><\/em><strong lang=\"en-US\" xml:lang=\"en-US\"><em>he change in the total energy stored in a system equals<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em> the net energy transferred to<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em> the system in the fo<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em>rm<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em> of heat and work.<\/em><\/strong>\r\n<p class=\"import-Normal\" style=\"text-align: center\"><span style=\"font-size: 14pt;color: #;text-decoration: none\">[latex] \\Delta \\rm{energy = + in - out}[\/latex]<\/span><\/p>\r\n&nbsp;\r\n\r\nThe change in the total energy of a system during a process from states 1 to 2 can be expressed as\r\n<p class=\"import-Normal\" style=\"text-align: center\">[latex] \\Delta E = E_2 - E_1 ={}_{1}Q_{2} - {}_{1}W_{2}[\/latex]<\/p>\r\n&nbsp;\r\n\r\nIf the changes in the kinetic and potential energies of the system are negligible, i.e., [latex] \\Delta KE = \\Delta PE = 0[\/latex], then the first law of thermodynamics for a closed system can be simplified as\r\n<p style=\"text-align: center\">[latex]\\Delta U = U_2-U_1 = {}_{1}Q_{2} - {}_{1}W_{2}[\/latex]<\/p>\r\n<p style=\"text-align: left\">where<\/p>\r\n<p style=\"padding-left: 40px;text-align: justify\">[latex] E[\/latex]: total energy stored in a system<\/p>\r\n<p style=\"padding-left: 40px;text-align: justify\">[latex] U[\/latex]: internal energy of a system<\/p>\r\n<p style=\"padding-left: 40px;text-align: justify\">[latex] Q[\/latex]: heat transfer in a process. A common sign convention: positive sign (+) for the heat transfer into a system, and negative sign (-) for the heat transfer out of a system. In short, the sign for heat transfer: in (+), out (-). See <a href=\"#4.4.1\">Figure 4.4.1<\/a>.<\/p>\r\n<p style=\"padding-left: 40px;text-align: justify\">[latex] W[\/latex]: work done by or to a system. A common sign convention: positive sign (+) for the work output (work done by a system to its surroundings), and negative sign (-) for the work input (work done by the surroundings to the system). In short, the sign for work: in (-), out (+). See <a href=\"#4.4.1\">Figure 4.4.1<\/a>.<\/p>\r\n<p style=\"padding-left: 40px;text-align: justify\">Subscripts 1 and 2 refer to the initial and final states of a <a id=\"4.4.1\"><\/a>process.<\/p>\r\n&nbsp;\r\n\r\n[caption id=\"attachment_2614\" align=\"aligncenter\" width=\"400\"]<a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems.png\" target=\"_blank\" rel=\"noopener\"><img class=\"wp-image-2614\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems.png\" alt=\"A common sign convention for heat and work transfer to a closed system. \" width=\"400\" height=\"320\" \/><\/a> <em><strong>Figure 4.4.1<\/strong><\/em>\u00a0<em>A common sign convention for heat and work transfer to a closed system<\/em>[\/caption]\r\n\r\nThe following procedure may be followed when solving problems with the first law of thermodynamics.\r\n<ol>\r\n \t<li>Sketch the physical system described in the problem and show its main components.<\/li>\r\n \t<li>Set up an appropriate closed system by drawing the system boundary. How a system is set up may determine if a means of energy transfer can be regarded as heat or work.<\/li>\r\n \t<li>Indicate the heat and work transferred into or out of the system and their signs, see <a href=\"#4.4.1\">Figure 4.4.1<\/a>.<\/li>\r\n \t<li>Identify the type of the processes (e.g., isobaric, isothermal, isochoric, polytropic, or isentropic). Show the processes on the [latex]P-v[\/latex] and [latex]T-v[\/latex] diagrams if possible, and list all of the known and unknown states.<\/li>\r\n \t<li>Apply the first law of thermodynamics to the closed system, eliminating the terms that are not applicable to the system.<\/li>\r\n \t<li>Solve for the unknowns by combining the first law of thermodynamics with the ideal gas law, thermodynamic tables, and other physical laws as appropriate.<\/li>\r\n<\/ol>\r\nThe following examples demonstrate how to apply the first law of thermodynamics to closed systems.\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 1<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nConsider the vapour compression refrigeration cycle consisting of a compressor, condenser, expansion device, and evaporator as shown. The compressor must consume work, [latex]W_{in}[\/latex], from an external energy source such as electricity. The evaporator and condenser absorb and reject heat, [latex]Q_H[\/latex] and [latex]Q_L[\/latex], respectively.\u00a0 What is the relation between [latex]W_{in}[\/latex], [latex]Q_H[\/latex], and [latex]Q_L[\/latex]?\r\n\r\n&nbsp;\r\n\r\n[caption id=\"attachment_2665\" align=\"aligncenter\" width=\"400\"]<a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised.png\" target=\"_blank\" rel=\"noopener\"><img class=\"wp-image-2665\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-300x246.png\" alt=\"Vapor compression refrigeration cycle consisting of a compressor, condenser, expansion device and evaporator\" width=\"400\" height=\"328\" \/><\/a> <em><strong>Figure 4.4.e1<\/strong><\/em> <em>Vapor compression refrigeration cycle consisting of a compressor, condenser, expansion device, and evaporator<\/em>[\/caption]\r\n\r\n<em><span style=\"text-decoration: underline\">Solution<\/span><\/em>:\r\n\r\nThe vapour compression refrigeration cycle can be regarded as a closed system with the initial and final states being identical; therefore, [latex]\\Delta U = 0[\/latex].\r\n<p style=\"text-align: left;padding-left: 200px\">[latex]\\because \\Delta U = 0=Q-W[\/latex]<\/p>\r\n<p style=\"text-align: left;padding-left: 200px\">[latex]\\therefore Q_L-Q_H-(-W_{in})=0[\/latex]<\/p>\r\n<p style=\"text-align: left;padding-left: 200px\">[latex]\\therefore Q_H=Q_L+W_{in}[\/latex]<\/p>\r\nNote the sign convention for heat: in (+), out (-) and for work: in (-), out (+). This relation can be interpreted as the total energy transferred out of the cycle remains the same as the total energy transferred into the cycle.\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"4.5-the-first-law-for-closed-system\">\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 2<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p class=\"import-Normal\">A rigid tank has two rooms, both containing R134a at the following initial states.<\/p>\r\n<p style=\"padding-left: 40px\">Room A: <em lang=\"en-US\" xml:lang=\"en-US\">m<\/em>= 2 kg, <em lang=\"en-US\" xml:lang=\"en-US\">P<\/em>=200 kPa, <span style=\"font-size: NaNpt;color: #;text-decoration: none\"><em>v<\/em>=<\/span>0.132 m<sup>3<\/sup>\/kg<\/p>\r\n<p style=\"padding-left: 40px\">Room B: <em lang=\"en-US\" xml:lang=\"en-US\">m<\/em>= 3 kg, <em lang=\"en-US\" xml:lang=\"en-US\">P<\/em>=500 kPa, <em lang=\"en-US\" xml:lang=\"en-US\">T<\/em>=100\u00b0C<\/p>\r\nA crack is developed in the partition between the two rooms, which allows R134a in the tank to mix. Assume the mixing takes place slowly until R134a in the whole tank reaches a uniform state at 50\u00b0C. Find the heat transfer during this process. The process can be treated as a quasi-equilibrium process.\r\n\r\n[caption id=\"attachment_2115\" align=\"aligncenter\" width=\"500\"]<a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473.png\" target=\"_blank\" rel=\"noopener\"><img class=\"wp-image-2115\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-1024x371.png\" alt=\"A rigid tank with two rooms\" width=\"500\" height=\"181\" \/><\/a> <strong><em>Figure 4.4.e2 <\/em><\/strong><em>A rigid tank with two rooms<\/em>[\/caption]\r\n\r\n<span style=\"text-decoration: underline\"><em>Solution:<\/em><\/span>\r\n\r\nFirst, set the whole rigid tank as the closed system.\r\n<p style=\"padding-left: 40px\">Because the volume of the tank remains constant, the boundary work during the mixing process is zero; therefore, from the first law of thermodynamics,<\/p>\r\n<p style=\"padding-left: 80px\">[latex]\\because \\Delta U = Q - W[\/latex]\u00a0\u00a0 and\u00a0\u00a0 [latex]W = 0[\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex]\\therefore \\Delta U = Q[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">The heat transfer during the process depends on the internal energies of the initial and final states.<\/p>\r\n<p style=\"padding-left: 80px\">[latex]\\begin{align*} \\Delta U &amp;= U_3 - (U_1 + U_2) \\\\&amp;= (m_1 + m_2)u_{3} - (m_{1}u_{1}\u00a0 + m_{2}u_{2}) \\end{align*}[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">where the subscripts 1, 2, and 3 represent the initial states of R134a in rooms A and B, and the final state of R134a in the whole tank, respectively.<\/p>\r\nSecond, find the specific internal energies, <em>u<sub>1<\/sub>, u<sub>2 <\/sub>, <\/em>and <em>u<sub>3.<\/sub><\/em>\r\n<p style=\"padding-left: 40px\">Room A at the initial state: <em>P<\/em> =200 kPa, <em>v<\/em> = 0.132 m<sup>3<\/sup>\/kg<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC1\" target=\"_blank\" rel=\"noopener\">Table C1<\/a>, at <em>T<\/em> = -10\u00b0C, <em>P<sub>sat<\/sub><\/em> = 200.6 kPa, <em>v<sub>g<\/sub><\/em> = 0.09959 m<sup>3<\/sup>\/kg. Since <em>v &gt; v<sub>g<\/sub><\/em>, R134a at this state is a superheated vapour.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC2\" target=\"_blank\" rel=\"noopener\">Table C2<\/a>, at <em>P<\/em> = 200 kPa, <em>T<\/em> = 60\u00b0C, <em>v<\/em> = 0.132057 m<sup>3<\/sup>\/kg \u2248 0.132 m<sup>3<\/sup>\/kg<\/p>\r\n<p style=\"padding-left: 80px\">[latex] u_1 = 427.51 \\ \\rm{kJ\/kg} [\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex] \\mathbb{V}_A = m_{1}v_{1} = 2 \\times 0.132 = 0.264 \\ \\rm{m^3} [\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">Room B at the initial state: <em>P<\/em> =500 kPa, <em>T<\/em> = 100\u00b0C<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC1\" target=\"_blank\" rel=\"noopener\">Table C1<\/a>, at <em>T<\/em> = 100\u00b0C, <em>P<\/em><sub><em>sa<\/em>t<\/sub> = 3972.38 kPa.\u00a0 Since P<em> &lt; P<sub>sat<\/sub><\/em>, R134a at this state is a superheated vapour.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC2\" target=\"_blank\" rel=\"noopener\">Table C2<\/a>, at <em>P<\/em> =500 kPa, <em>T<\/em> = 100 \u00b0C<\/p>\r\n<p style=\"padding-left: 80px\">[latex] u_2 = 459.65 \\ \\rm{kJ\/kg} [\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex] v_2 = 0.058054 \\ \\rm{m^3\/kg} [\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex] \\mathbb{V}_B = m_{2}v_{2} = 3 \\times 0.058054 = 0.1742 \\ \\rm{m^3} [\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">The final state of R134a in the whole tank: <em>T<\/em> = 50\u00b0C<\/p>\r\n<p style=\"padding-left: 80px\">[latex] v_3 = \\dfrac{\\mathbb{V}_{tot}}{m_{tot}} = \\dfrac{\\mathbb{V}_A + \\mathbb{V}_B}{m_1 + m_2} =\\dfrac{0.264 + 0.1742}{2+3} = 0.0876 \\ \\rm{m^3\/kg}[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC1\" target=\"_blank\" rel=\"noopener\">Table C1<\/a>, at <em>T<\/em> = 50\u00b0C, <em>v<\/em><sub><em>g<\/em>\u00a0<\/sub>= 0.015089 m<sup>3<\/sup>\/kg. Since <em>v<sub>3<\/sub> &gt; v<\/em><sub>g<\/sub>, R134a at the final state is a superheated vapour.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC2\" target=\"_blank\" rel=\"noopener\">Table C2<\/a>,<\/p>\r\n<p style=\"padding-left: 80px\">At <em>P<\/em> = 200 kPa, <em>T<\/em> = 50\u00b0C, <em>v<\/em> = 0.127663 m<sup>3<\/sup>\/kg, <em>u<\/em> = 419.29 kJ\/kg<\/p>\r\n<p style=\"padding-left: 80px\">At <em>P<\/em> = 300 kPa, <em>T<\/em> = 50\u00b0C, <em>v<\/em> = 0.083723 m<sup>3<\/sup>\/kg, <em>u<\/em> = 418.19 kJ\/kg<\/p>\r\n<p style=\"padding-left: 40px\">Use linear interpolation,<\/p>\r\n<p style=\"padding-left: 80px\">[latex]\\because\\dfrac{P_{3}-200}{300-200} =\\dfrac{0.0876-0.127663}{0.083723-0.127663} =\\dfrac{u_{3} - 419.29 }{418.19-419.29}[\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex] \\therefore P_3 = 291.2 \\ \\rm{kPa}[\/latex]\u00a0\u00a0\u00a0 and\u00a0\u00a0\u00a0\u00a0 [latex]u_3 = 418.287 \\ \\rm{kJ\/kg}[\/latex]<\/p>\r\nLast, substitute <em>u<sub>1<\/sub>, u<sub>2<\/sub><\/em> and <em>u<sub>3<\/sub><\/em> into the simplified first law,\r\n<p style=\"padding-left: 80px\">[latex] \\begin{align*} Q &amp;= \\Delta U = (m_1 + m_2)u_{3} - (m_{1}u_{1}\u00a0 + m_{2}u_{2}) \\\\&amp; = 5 \\times 418.287 - (2 \\times 427.51 + 3 \\times 459.65) \\\\&amp;= -142.535 \\ \\rm{kJ}\\end{align*}[\/latex]<\/p>\r\nDuring the mixing process, the heat is transferred from the tank to the surroundings; therefore, the sign for the heat transfer is negative.\r\n\r\n<\/div>\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 3<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n\r\nConsider 0.5 kg of ammonia in a piston-cylinder device initially at <em>P<\/em><sub>1<\/sub>=100 kPa, <em>T<\/em><sub>1<\/sub>=0<sup>o<\/sup>C. The ammonia is compressed until its pressure reaches <em>P<\/em><sub>2<\/sub>=150 kPa in a polytropic process with <em>n<\/em>=1.25. Calculate the heat transfer in this process.\r\n\r\n[caption id=\"attachment_2239\" align=\"aligncenter\" width=\"225\"]<a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder.png\" target=\"_blank\" rel=\"noopener\"><img class=\"wp-image-2239 \" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder-300x249.png\" alt=\"Ammonia in a piston-cylinder device\" width=\"225\" height=\"187\" \/><\/a> <em><strong>Figure 4.4.e3<\/strong> Ammonia in a piston-cylinder device<\/em>[\/caption]\r\n\r\n<span style=\"text-decoration: underline\"><em>Solution:<\/em><\/span>\r\n\r\nFirst, set ammonia in the piston-cylinder as the closed system. From the first law of thermodynamics,\r\n<p style=\"padding-left: 80px\">[latex]\\because \\Delta U = Q - W [\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex]\\therefore Q = W + \\Delta U =\u00a0 W + m(u_2 - u_1) [\/latex]<\/p>\r\nSecond, consider the boundary work in a polytropic process. The specific volumes are unknowns\r\n<p style=\"padding-left: 80px\">[latex] W = \\dfrac{P_{2}\\mathbb{V}_{2} - P_{1}\\mathbb{V}_{1}}{1-n} = \\dfrac{m\\left({P_{2}{v}_{2} - P_{1}{v}_{1}}\\right)}{1-n} [\/latex]<\/p>\r\nThird, find the specific volumes and specific internal energies at both initial and final states.\r\n<p style=\"padding-left: 40px\">At the initial state: <em>P<sub>1<\/sub><\/em> = 100 kPa, <em>T<sub>1<\/sub><\/em> = 0\u00b0C. From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB1\" target=\"_blank\" rel=\"noopener\">Table B1<\/a>, <em>P<sub>sat<\/sub><\/em> = 429.39 kPa at 0\u00b0C. Since <em>P<sub>1\u00a0<\/sub>&lt; P<\/em><sub><em>sa<\/em>t<\/sub>, ammonia is a superheated vapour.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB2\" target=\"_blank\" rel=\"noopener\">Table B2<\/a>,<\/p>\r\n<p style=\"padding-left: 80px;text-align: justify\"><em>v<\/em><sub><em>1<\/em>\u00a0<\/sub>= 1.31365 m<sup>3<\/sup>\/kg,\u00a0\u00a0 <em>u<sub>1<\/sub> <\/em>= 1504.29 kJ\/kg.<\/p>\r\n<p style=\"padding-left: 40px\">At the final state P<sub>2<\/sub> = 150 kPa. The process is polytropic with <em>n<\/em> =1.25.<\/p>\r\n<p style=\"padding-left: 40px\">[latex] \\because P_1v_{1}^n = P_2v_{2}^n [\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">[latex]\\therefore v_2=v_1\\left(\\dfrac{P_1}{P_2}\\right)^{1\/n}=1.31365\\times\\left(\\dfrac{100}{150}\\right)^{1\/1.25} = 0.94974 \\ \\rm{m^3\/kg} [\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB1\" target=\"_blank\" rel=\"noopener\">Table B1<\/a>: at <em>T<\/em> = -25 \u00b0C and <em>P<\/em> = 151.47 kPa \u2248 150 kPa, <em>v<sub>g<\/sub><\/em> = 0.771672 m<sup>3<\/sup>\/kg. Since <em>v<sub>2<\/sub> &gt; v<sub>g<\/sub><\/em>, ammonia at the final state is a superheated vapour.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB2\" target=\"_blank\" rel=\"noopener\">Table B2<\/a>,<\/p>\r\n<p style=\"padding-left: 80px\">At <em>P<\/em> = 150 kPa, <em>T<\/em> = 20\u00b0C, <em>v<\/em> = 0.938100 m<sup>3<\/sup>\/kg, <em>u<\/em> = 1535.05 kJ\/kg<\/p>\r\n<p style=\"padding-left: 80px\">At <em>P<\/em> =150 kPa, <em>T<\/em> = 30\u00b0C, <em>v<\/em> = 0.972207 m<sup>3<\/sup>\/kg, <em>u<\/em> = 1551.95 kJ\/kg<\/p>\r\n<p style=\"padding-left: 40px\">Use linear interpolation,<\/p>\r\n<p style=\"padding-left: 40px\">[latex]\\because\\dfrac{T_{2}-20}{30-20} =\\dfrac{0.94974-0.938100}{0.972207-0.938100} =\\dfrac{u_{2} - 1535.05 }{1551.95-1535.05}[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">[latex] \\therefore T_2 = 23.4 \\ ^ \\rm{{\\circ}} \\rm{C}[\/latex]\u00a0\u00a0\u00a0\u00a0 and\u00a0\u00a0 [latex]u_2 = 1540.82 \\ \\rm{kJ\/kg}[\/latex]<\/p>\r\nLast, the heat transfer in this process can now be found from\r\n<p style=\"padding-left: 40px\">[latex]\\begin{align*} Q &amp;= W + \\Delta U = m\\dfrac{P_{2}{v}_{2} - P_{1}{v}_{1}}{1-n} + m(u_2 - u_1) \\\\&amp;= 0.5 \\left[ \\dfrac{150 \\times 0.94974 - 100 \\times 1.31365}{1-1.25} + (1540.82 - 1504.29)\\right] \\\\&amp;= - 3.928 \\ \\rm{kJ}\\end{align*}[\/latex]<\/p>\r\nDuring this process heat is rejected to the surroundings; therefore, the sign for heat transfer is negative.\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--examples\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Example 4<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">\r\n<p class=\"import-Normal\">A piston-cylinder device contains steam initially at 200<sup>o<\/sup>C and 200 kPa. The steam is first cooled isobarically to saturated liquid, then isochorically until its pressure reaches 25 kPa.<\/p>\r\n\r\n<ol>\r\n \t<li>Sketch the whole process on the [latex]P - v [\/latex] and [latex]T - v [\/latex] diagrams<\/li>\r\n \t<li>Calculate the specific heat transfer in the whole process<\/li>\r\n<\/ol>\r\n[caption id=\"attachment_2259\" align=\"aligncenter\" width=\"220\"]<a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder.png\"><img class=\" wp-image-2259\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder.png\" alt=\"Steam in a piston-cylinder device\" width=\"220\" height=\"183\" \/><\/a> <em><strong>Figure 4.4.e4<\/strong> Steam in a piston-cylinder device<\/em>[\/caption]\r\n\r\n<span style=\"text-decoration: underline\"><em>Solution:<\/em><\/span>\r\n\r\n1. [latex]P - v [\/latex] and [latex]T - v [\/latex] diagrams\r\n\r\n[caption id=\"attachment_2145\" align=\"aligncenter\" width=\"588\"]<a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3.png\" target=\"_blank\" rel=\"noopener\"><img class=\"wp-image-2145\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-300x106.png\" alt=\"P-v and T-v diagrams of the processes\" width=\"588\" height=\"208\" \/><\/a> <em><strong>Figure 4.4.e5<\/strong> P-v and T-v diagrams of the whole process<\/em>[\/caption]\r\n\r\n2. Calculate the specific heat transfer\r\n\r\nFirst, set the steam in the piston-cylinder device as a closed system. From the first law of thermodynamics,\r\n<p style=\"padding-left: 40px\">[latex] \\because\\Delta u = q - w[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">[latex] \\therefore q= \\Delta u + w = (u_3 - u_1) + w [\/latex]<\/p>\r\nSecond, analyze the processes.\r\n<p style=\"padding-left: 40px\">The process is isobaric from state 1 to state 2, then isochoric from state 2 to state 3. The specific work is the shaded area of the rectangle shown in the [latex]P - v [\/latex] diagram; therefore,<\/p>\r\n<p style=\"padding-left: 40px\">[latex] w = P_1(v_3 - v_1) [\/latex]\u00a0\u00a0\u00a0\u00a0 and\u00a0\u00a0\u00a0 [latex] v_2 = v_3 [\/latex]<\/p>\r\nThird, determine the specific volumes and specific internal energies at states 1 and 3.\r\n<p style=\"padding-left: 40px\">At state 1, <em>P<sub>1<\/sub><\/em> = 200 kPa and <em>T<sub>1<\/sub><\/em> = 200<sup>o<\/sup>C.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-a-thermodynamic-properties-of-water#TA2\" target=\"_blank\" rel=\"noopener\">Table A2<\/a>,<\/p>\r\n<p style=\"padding-left: 80px\"><em>v<sub>1<\/sub><\/em> = 1.08048 m<sup>3<\/sup>\/kg,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>u<sub>1<\/sub><\/em> = 2654.63 kJ\/kg<\/p>\r\n<p style=\"padding-left: 40px\">State 2 is saturated liquid water at P<sub>2<\/sub> = 200 kPa.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-a-thermodynamic-properties-of-water#TA1\" target=\"_blank\" rel=\"noopener\">Table A1<\/a>,<\/p>\r\n<p style=\"padding-left: 80px\">At <em>T<\/em> = 120 <sup>o<\/sup>C, <em>P<\/em> = 198.67 kPa, <em>v<sub>f<\/sub><\/em> = 0.001060 m<sup>3<\/sup>\/kg<\/p>\r\n<p style=\"padding-left: 80px\">At <em>T<\/em> = 125 <sup>o<\/sup>C, <em>P<\/em> = 232.24 kPa, <em>v<sub>f<\/sub><\/em> = 0.001065 m<sup>3<\/sup>\/kg<\/p>\r\n<p style=\"padding-left: 40px\">Use linear interpolation,<\/p>\r\n<p style=\"padding-left: 80px\">[latex]\\because \\dfrac{v_{2}-0.001060}{0.001065-0.001060} =\\dfrac{T_{2}-120}{125-120} =\\dfrac{200-198.67}{232.24-198.67} [\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex] \\therefore v_2 = 0.0010602 \\ \\rm{m^3\/kg}[\/latex]\u00a0\u00a0\u00a0\u00a0 and\u00a0\u00a0\u00a0\u00a0 [latex]T_2 = 120.2 \\ ^ \\rm{{\\circ}} \\rm{C}[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">At state 3, <em>P<sub>3<\/sub><\/em> = 25 kPa. <em>v<sub>3 <\/sub><\/em>= <em>v<sub>2<\/sub> <\/em>= 0.0010602 m<sup>3<\/sup>\/kg.<\/p>\r\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-a-thermodynamic-properties-of-water#TA1\" target=\"_blank\" rel=\"noopener\">Table A1<\/a>, <em>v<sub>f <\/sub><\/em>&lt; <em>v<sub>3 <\/sub>&lt; v<sub>g<\/sub>; <\/em>therefore, state 3 is a two phase mixture of saturated liquid and saturated vapour with <em>T<\/em><sub><em>3 <\/em><\/sub><em>= T<sub>sat <\/sub><\/em>\u2248 65<sup>o<\/sup>C.<\/p>\r\n<p style=\"padding-left: 80px\"><em>v<sub>f <\/sub><\/em>= 0.001020 m<sup>3<\/sup>\/kg,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>v<sub>g<\/sub><\/em> = 6.19354 m<sup>3<\/sup>\/kg<\/p>\r\n<p style=\"padding-left: 80px\"><em>u<sub>f<\/sub><\/em> = 272.09 kJ\/kg, \u00a0 \u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>u<sub>g<\/sub><\/em> = 2462.42 kJ\/kg<\/p>\r\n<p style=\"padding-left: 40px\">The quality and specific internal energy of the two phase mixture are<\/p>\r\n<p style=\"padding-left: 80px\">[latex] x = \\dfrac{v_3 - v_f}{v_g - v_f} = \\dfrac{0.0010602 - 0.001020}{6.19354 - 0.001020} = 6.5 \\times 10^{-6} [\/latex]<\/p>\r\n<p style=\"padding-left: 80px\">[latex] \\begin{align*} u_3 &amp;= u_f + x(u_g - u_f) \\\\&amp;= 272.09 + 6.5 \\times 10^{-6}(0.0010602 - 1.08048) \\\\&amp;=272.10 \\ \\rm{kJ\/kg} \\end{align*}[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">Note that state 3 is almost a saturated liquid with very small quality; therefore, <em>u<sub>3 <\/sub>\u2248 u<sub>g.<\/sub><\/em><\/p>\r\nLast, calculate the specific boundary work and specific heat transfer in this whole process\r\n<p style=\"padding-left: 40px\">[latex] \\begin{align*} w &amp;= P_1(v_3 - v_1) \\\\&amp;= 200\\times (0.0010602 - 1.08048) \\\\&amp;= -215.884 \\ \\rm{kJ\/kg} \\end{align*}[\/latex]<\/p>\r\n<p style=\"padding-left: 40px\">[latex] \\begin{align*} q &amp;=( u_3 - u_1) +\u00a0 w \\\\&amp;= (272.10 - 2654.63) + (-215.884) \\\\&amp;= -2598.4 \\ \\rm{kJ\/kg}\\end{align*}[\/latex]<\/p>\r\nIn this cooling process, the volume decreases, resulting in a negative specific boundary work. The temperature and the internal energy decrease too. As a result, the specific heat transfer is negative indicating a heat loss from the system to its surroundings.\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox textbox--exercises\"><header class=\"textbox__header\">\r\n<p class=\"textbox__title\">Practice Problems<\/p>\r\n\r\n<\/header>\r\n<div class=\"textbox__content\">[h5p id=\"35\"]<\/div>\r\n<\/div>","rendered":"<p>The first law of thermodynamics is essentially an energy conservation law. Both heat and work are energy transfer mechanisms. They play an important role in the first law of thermodynamics. <a href=\"#T4.4.1\">Table 4.4.1<\/a> summarizes the main differences between heat and work, <a id=\"T4.4.1\"><\/a> and internal energy.<\/p>\n<table class=\"grid\" style=\"height: 108px\">\n<caption>Table 4.4.1 Comparison of heat, work and internal energy<\/caption>\n<tbody>\n<tr class=\"TableNormal-R\" style=\"height: 15px\">\n<th class=\"shaded\" style=\"height: 15px;width: 147px\"><\/th>\n<th class=\"shaded\" style=\"text-align: center;height: 15px;width: 405px\"><strong>Heat and Work<\/strong><\/th>\n<th class=\"shaded\" style=\"text-align: center;height: 15px;width: 321px\"><strong>Internal Energy<\/strong><\/th>\n<\/tr>\n<tr class=\"TableNormal-R\" style=\"height: 31px\">\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 147px\">Characteristic<\/td>\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 405px\">Both heat and work are <strong lang=\"en-US\" xml:lang=\"en-US\">energy transfer mechanisms. <\/strong>They are <strong lang=\"en-US\" xml:lang=\"en-US\">not properties<\/strong> of a system.<\/td>\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 321px\">Internal energy is a <strong>property<\/strong> of a system.<\/td>\n<\/tr>\n<tr class=\"TableNormal-R\" style=\"height: 31px\">\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 147px\">Interaction with the system<\/td>\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 405px\">Both heat and work must cross the boundary between a system and its surroundings.<\/td>\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 321px\">A system possesses a total energy and an internal energy.<\/td>\n<\/tr>\n<tr class=\"TableNormal-R\" style=\"height: 31px\">\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 147px\">Magnitude<\/td>\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 405px\">Both heat and work are<strong lang=\"en-US\" xml:lang=\"en-US\"> path functions<\/strong>; their magnitudes depend on the states and the specific process path.<\/td>\n<td class=\"TableNormal-C\" style=\"height: 31px;width: 321px\">Internal energy is a<strong> state function<\/strong>; its magnitude depends on the state only.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The first law of thermodynamics states that <em><strong>t<\/strong><\/em><strong lang=\"en-US\" xml:lang=\"en-US\"><em>he change in the total energy stored in a system equals<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em> the net energy transferred to<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em> the system in the fo<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em>rm<\/em><\/strong><strong lang=\"en-US\" xml:lang=\"en-US\"><em> of heat and work.<\/em><\/strong><\/p>\n<p class=\"import-Normal\" style=\"text-align: center\"><span style=\"font-size: 14pt;color: #;text-decoration: none\">[latex]\\Delta \\rm{energy = + in - out}[\/latex]<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>The change in the total energy of a system during a process from states 1 to 2 can be expressed as<\/p>\n<p class=\"import-Normal\" style=\"text-align: center\">[latex]\\Delta E = E_2 - E_1 ={}_{1}Q_{2} - {}_{1}W_{2}[\/latex]<\/p>\n<p>&nbsp;<\/p>\n<p>If the changes in the kinetic and potential energies of the system are negligible, i.e., [latex]\\Delta KE = \\Delta PE = 0[\/latex], then the first law of thermodynamics for a closed system can be simplified as<\/p>\n<p style=\"text-align: center\">[latex]\\Delta U = U_2-U_1 = {}_{1}Q_{2} - {}_{1}W_{2}[\/latex]<\/p>\n<p style=\"text-align: left\">where<\/p>\n<p style=\"padding-left: 40px;text-align: justify\">[latex]E[\/latex]: total energy stored in a system<\/p>\n<p style=\"padding-left: 40px;text-align: justify\">[latex]U[\/latex]: internal energy of a system<\/p>\n<p style=\"padding-left: 40px;text-align: justify\">[latex]Q[\/latex]: heat transfer in a process. A common sign convention: positive sign (+) for the heat transfer into a system, and negative sign (-) for the heat transfer out of a system. In short, the sign for heat transfer: in (+), out (-). See <a href=\"#4.4.1\">Figure 4.4.1<\/a>.<\/p>\n<p style=\"padding-left: 40px;text-align: justify\">[latex]W[\/latex]: work done by or to a system. A common sign convention: positive sign (+) for the work output (work done by a system to its surroundings), and negative sign (-) for the work input (work done by the surroundings to the system). In short, the sign for work: in (-), out (+). See <a href=\"#4.4.1\">Figure 4.4.1<\/a>.<\/p>\n<p style=\"padding-left: 40px;text-align: justify\">Subscripts 1 and 2 refer to the initial and final states of a <a id=\"4.4.1\"><\/a>process.<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_2614\" aria-describedby=\"caption-attachment-2614\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2614\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems.png\" alt=\"A common sign convention for heat and work transfer to a closed system.\" width=\"400\" height=\"320\" srcset=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems.png 932w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems-300x240.png 300w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems-768x615.png 768w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems-65x52.png 65w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems-225x180.png 225w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Heat-and-work-to-closed-systems-350x280.png 350w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><figcaption id=\"caption-attachment-2614\" class=\"wp-caption-text\"><em><strong>Figure 4.4.1<\/strong><\/em>\u00a0<em>A common sign convention for heat and work transfer to a closed system<\/em><\/figcaption><\/figure>\n<p>The following procedure may be followed when solving problems with the first law of thermodynamics.<\/p>\n<ol>\n<li>Sketch the physical system described in the problem and show its main components.<\/li>\n<li>Set up an appropriate closed system by drawing the system boundary. How a system is set up may determine if a means of energy transfer can be regarded as heat or work.<\/li>\n<li>Indicate the heat and work transferred into or out of the system and their signs, see <a href=\"#4.4.1\">Figure 4.4.1<\/a>.<\/li>\n<li>Identify the type of the processes (e.g., isobaric, isothermal, isochoric, polytropic, or isentropic). Show the processes on the [latex]P-v[\/latex] and [latex]T-v[\/latex] diagrams if possible, and list all of the known and unknown states.<\/li>\n<li>Apply the first law of thermodynamics to the closed system, eliminating the terms that are not applicable to the system.<\/li>\n<li>Solve for the unknowns by combining the first law of thermodynamics with the ideal gas law, thermodynamic tables, and other physical laws as appropriate.<\/li>\n<\/ol>\n<p>The following examples demonstrate how to apply the first law of thermodynamics to closed systems.<\/p>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 1<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Consider the vapour compression refrigeration cycle consisting of a compressor, condenser, expansion device, and evaporator as shown. The compressor must consume work, [latex]W_{in}[\/latex], from an external energy source such as electricity. The evaporator and condenser absorb and reject heat, [latex]Q_H[\/latex] and [latex]Q_L[\/latex], respectively.\u00a0 What is the relation between [latex]W_{in}[\/latex], [latex]Q_H[\/latex], and [latex]Q_L[\/latex]?<\/p>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_2665\" aria-describedby=\"caption-attachment-2665\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2665\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-300x246.png\" alt=\"Vapor compression refrigeration cycle consisting of a compressor, condenser, expansion device and evaporator\" width=\"400\" height=\"328\" srcset=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-300x246.png 300w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-1024x839.png 1024w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-768x630.png 768w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-65x53.png 65w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-225x184.png 225w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised-350x287.png 350w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2022\/01\/Fig.-6-6_revised.png 1220w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><figcaption id=\"caption-attachment-2665\" class=\"wp-caption-text\"><em><strong>Figure 4.4.e1<\/strong><\/em> <em>Vapor compression refrigeration cycle consisting of a compressor, condenser, expansion device, and evaporator<\/em><\/figcaption><\/figure>\n<p><em><span style=\"text-decoration: underline\">Solution<\/span><\/em>:<\/p>\n<p>The vapour compression refrigeration cycle can be regarded as a closed system with the initial and final states being identical; therefore, [latex]\\Delta U = 0[\/latex].<\/p>\n<p style=\"text-align: left;padding-left: 200px\">[latex]\\because \\Delta U = 0=Q-W[\/latex]<\/p>\n<p style=\"text-align: left;padding-left: 200px\">[latex]\\therefore Q_L-Q_H-(-W_{in})=0[\/latex]<\/p>\n<p style=\"text-align: left;padding-left: 200px\">[latex]\\therefore Q_H=Q_L+W_{in}[\/latex]<\/p>\n<p>Note the sign convention for heat: in (+), out (-) and for work: in (-), out (+). This relation can be interpreted as the total energy transferred out of the cycle remains the same as the total energy transferred into the cycle.<\/p>\n<\/div>\n<\/div>\n<div class=\"4.5-the-first-law-for-closed-system\">\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 2<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p class=\"import-Normal\">A rigid tank has two rooms, both containing R134a at the following initial states.<\/p>\n<p style=\"padding-left: 40px\">Room A: <em lang=\"en-US\" xml:lang=\"en-US\">m<\/em>= 2 kg, <em lang=\"en-US\" xml:lang=\"en-US\">P<\/em>=200 kPa, <span style=\"font-size: NaNpt;color: #;text-decoration: none\"><em>v<\/em>=<\/span>0.132 m<sup>3<\/sup>\/kg<\/p>\n<p style=\"padding-left: 40px\">Room B: <em lang=\"en-US\" xml:lang=\"en-US\">m<\/em>= 3 kg, <em lang=\"en-US\" xml:lang=\"en-US\">P<\/em>=500 kPa, <em lang=\"en-US\" xml:lang=\"en-US\">T<\/em>=100\u00b0C<\/p>\n<p>A crack is developed in the partition between the two rooms, which allows R134a in the tank to mix. Assume the mixing takes place slowly until R134a in the whole tank reaches a uniform state at 50\u00b0C. Find the heat transfer during this process. The process can be treated as a quasi-equilibrium process.<\/p>\n<figure id=\"attachment_2115\" aria-describedby=\"caption-attachment-2115\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2115\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-1024x371.png\" alt=\"A rigid tank with two rooms\" width=\"500\" height=\"181\" srcset=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-1024x371.png 1024w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-300x109.png 300w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-768x278.png 768w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-65x24.png 65w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-225x82.png 225w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473-350x127.png 350w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.1-e1629312480473.png 1087w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-2115\" class=\"wp-caption-text\"><strong><em>Figure 4.4.e2 <\/em><\/strong><em>A rigid tank with two rooms<\/em><\/figcaption><\/figure>\n<p><span style=\"text-decoration: underline\"><em>Solution:<\/em><\/span><\/p>\n<p>First, set the whole rigid tank as the closed system.<\/p>\n<p style=\"padding-left: 40px\">Because the volume of the tank remains constant, the boundary work during the mixing process is zero; therefore, from the first law of thermodynamics,<\/p>\n<p style=\"padding-left: 80px\">[latex]\\because \\Delta U = Q - W[\/latex]\u00a0\u00a0 and\u00a0\u00a0 [latex]W = 0[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]\\therefore \\Delta U = Q[\/latex]<\/p>\n<p style=\"padding-left: 40px\">The heat transfer during the process depends on the internal energies of the initial and final states.<\/p>\n<p style=\"padding-left: 80px\">[latex]\\begin{align*} \\Delta U &= U_3 - (U_1 + U_2) \\\\&= (m_1 + m_2)u_{3} - (m_{1}u_{1}\u00a0 + m_{2}u_{2}) \\end{align*}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">where the subscripts 1, 2, and 3 represent the initial states of R134a in rooms A and B, and the final state of R134a in the whole tank, respectively.<\/p>\n<p>Second, find the specific internal energies, <em>u<sub>1<\/sub>, u<sub>2 <\/sub>, <\/em>and <em>u<sub>3.<\/sub><\/em><\/p>\n<p style=\"padding-left: 40px\">Room A at the initial state: <em>P<\/em> =200 kPa, <em>v<\/em> = 0.132 m<sup>3<\/sup>\/kg<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC1\" target=\"_blank\" rel=\"noopener\">Table C1<\/a>, at <em>T<\/em> = -10\u00b0C, <em>P<sub>sat<\/sub><\/em> = 200.6 kPa, <em>v<sub>g<\/sub><\/em> = 0.09959 m<sup>3<\/sup>\/kg. Since <em>v &gt; v<sub>g<\/sub><\/em>, R134a at this state is a superheated vapour.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC2\" target=\"_blank\" rel=\"noopener\">Table C2<\/a>, at <em>P<\/em> = 200 kPa, <em>T<\/em> = 60\u00b0C, <em>v<\/em> = 0.132057 m<sup>3<\/sup>\/kg \u2248 0.132 m<sup>3<\/sup>\/kg<\/p>\n<p style=\"padding-left: 80px\">[latex]u_1 = 427.51 \\ \\rm{kJ\/kg}[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]\\mathbb{V}_A = m_{1}v_{1} = 2 \\times 0.132 = 0.264 \\ \\rm{m^3}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">Room B at the initial state: <em>P<\/em> =500 kPa, <em>T<\/em> = 100\u00b0C<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC1\" target=\"_blank\" rel=\"noopener\">Table C1<\/a>, at <em>T<\/em> = 100\u00b0C, <em>P<\/em><sub><em>sa<\/em>t<\/sub> = 3972.38 kPa.\u00a0 Since P<em> &lt; P<sub>sat<\/sub><\/em>, R134a at this state is a superheated vapour.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC2\" target=\"_blank\" rel=\"noopener\">Table C2<\/a>, at <em>P<\/em> =500 kPa, <em>T<\/em> = 100 \u00b0C<\/p>\n<p style=\"padding-left: 80px\">[latex]u_2 = 459.65 \\ \\rm{kJ\/kg}[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]v_2 = 0.058054 \\ \\rm{m^3\/kg}[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]\\mathbb{V}_B = m_{2}v_{2} = 3 \\times 0.058054 = 0.1742 \\ \\rm{m^3}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">The final state of R134a in the whole tank: <em>T<\/em> = 50\u00b0C<\/p>\n<p style=\"padding-left: 80px\">[latex]v_3 = \\dfrac{\\mathbb{V}_{tot}}{m_{tot}} = \\dfrac{\\mathbb{V}_A + \\mathbb{V}_B}{m_1 + m_2} =\\dfrac{0.264 + 0.1742}{2+3} = 0.0876 \\ \\rm{m^3\/kg}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC1\" target=\"_blank\" rel=\"noopener\">Table C1<\/a>, at <em>T<\/em> = 50\u00b0C, <em>v<\/em><sub><em>g<\/em>\u00a0<\/sub>= 0.015089 m<sup>3<\/sup>\/kg. Since <em>v<sub>3<\/sub> &gt; v<\/em><sub>g<\/sub>, R134a at the final state is a superheated vapour.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-c-thermodynamic-properties-of-r134a#TC2\" target=\"_blank\" rel=\"noopener\">Table C2<\/a>,<\/p>\n<p style=\"padding-left: 80px\">At <em>P<\/em> = 200 kPa, <em>T<\/em> = 50\u00b0C, <em>v<\/em> = 0.127663 m<sup>3<\/sup>\/kg, <em>u<\/em> = 419.29 kJ\/kg<\/p>\n<p style=\"padding-left: 80px\">At <em>P<\/em> = 300 kPa, <em>T<\/em> = 50\u00b0C, <em>v<\/em> = 0.083723 m<sup>3<\/sup>\/kg, <em>u<\/em> = 418.19 kJ\/kg<\/p>\n<p style=\"padding-left: 40px\">Use linear interpolation,<\/p>\n<p style=\"padding-left: 80px\">[latex]\\because\\dfrac{P_{3}-200}{300-200} =\\dfrac{0.0876-0.127663}{0.083723-0.127663} =\\dfrac{u_{3} - 419.29 }{418.19-419.29}[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]\\therefore P_3 = 291.2 \\ \\rm{kPa}[\/latex]\u00a0\u00a0\u00a0 and\u00a0\u00a0\u00a0\u00a0 [latex]u_3 = 418.287 \\ \\rm{kJ\/kg}[\/latex]<\/p>\n<p>Last, substitute <em>u<sub>1<\/sub>, u<sub>2<\/sub><\/em> and <em>u<sub>3<\/sub><\/em> into the simplified first law,<\/p>\n<p style=\"padding-left: 80px\">[latex]\\begin{align*} Q &= \\Delta U = (m_1 + m_2)u_{3} - (m_{1}u_{1}\u00a0 + m_{2}u_{2}) \\\\& = 5 \\times 418.287 - (2 \\times 427.51 + 3 \\times 459.65) \\\\&= -142.535 \\ \\rm{kJ}\\end{align*}[\/latex]<\/p>\n<p>During the mixing process, the heat is transferred from the tank to the surroundings; therefore, the sign for the heat transfer is negative.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 3<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p>Consider 0.5 kg of ammonia in a piston-cylinder device initially at <em>P<\/em><sub>1<\/sub>=100 kPa, <em>T<\/em><sub>1<\/sub>=0<sup>o<\/sup>C. The ammonia is compressed until its pressure reaches <em>P<\/em><sub>2<\/sub>=150 kPa in a polytropic process with <em>n<\/em>=1.25. Calculate the heat transfer in this process.<\/p>\n<figure id=\"attachment_2239\" aria-describedby=\"caption-attachment-2239\" style=\"width: 225px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2239\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder-300x249.png\" alt=\"Ammonia in a piston-cylinder device\" width=\"225\" height=\"187\" srcset=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder-300x249.png 300w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder-65x54.png 65w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder-225x187.png 225w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder-350x290.png 350w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/NH3-in-a-Piston-Cylinder.png 521w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><figcaption id=\"caption-attachment-2239\" class=\"wp-caption-text\"><em><strong>Figure 4.4.e3<\/strong> Ammonia in a piston-cylinder device<\/em><\/figcaption><\/figure>\n<p><span style=\"text-decoration: underline\"><em>Solution:<\/em><\/span><\/p>\n<p>First, set ammonia in the piston-cylinder as the closed system. From the first law of thermodynamics,<\/p>\n<p style=\"padding-left: 80px\">[latex]\\because \\Delta U = Q - W[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]\\therefore Q = W + \\Delta U =\u00a0 W + m(u_2 - u_1)[\/latex]<\/p>\n<p>Second, consider the boundary work in a polytropic process. The specific volumes are unknowns<\/p>\n<p style=\"padding-left: 80px\">[latex]W = \\dfrac{P_{2}\\mathbb{V}_{2} - P_{1}\\mathbb{V}_{1}}{1-n} = \\dfrac{m\\left({P_{2}{v}_{2} - P_{1}{v}_{1}}\\right)}{1-n}[\/latex]<\/p>\n<p>Third, find the specific volumes and specific internal energies at both initial and final states.<\/p>\n<p style=\"padding-left: 40px\">At the initial state: <em>P<sub>1<\/sub><\/em> = 100 kPa, <em>T<sub>1<\/sub><\/em> = 0\u00b0C. From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB1\" target=\"_blank\" rel=\"noopener\">Table B1<\/a>, <em>P<sub>sat<\/sub><\/em> = 429.39 kPa at 0\u00b0C. Since <em>P<sub>1\u00a0<\/sub>&lt; P<\/em><sub><em>sa<\/em>t<\/sub>, ammonia is a superheated vapour.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB2\" target=\"_blank\" rel=\"noopener\">Table B2<\/a>,<\/p>\n<p style=\"padding-left: 80px;text-align: justify\"><em>v<\/em><sub><em>1<\/em>\u00a0<\/sub>= 1.31365 m<sup>3<\/sup>\/kg,\u00a0\u00a0 <em>u<sub>1<\/sub> <\/em>= 1504.29 kJ\/kg.<\/p>\n<p style=\"padding-left: 40px\">At the final state P<sub>2<\/sub> = 150 kPa. The process is polytropic with <em>n<\/em> =1.25.<\/p>\n<p style=\"padding-left: 40px\">[latex]\\because P_1v_{1}^n = P_2v_{2}^n[\/latex]<\/p>\n<p style=\"padding-left: 40px\">[latex]\\therefore v_2=v_1\\left(\\dfrac{P_1}{P_2}\\right)^{1\/n}=1.31365\\times\\left(\\dfrac{100}{150}\\right)^{1\/1.25} = 0.94974 \\ \\rm{m^3\/kg}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB1\" target=\"_blank\" rel=\"noopener\">Table B1<\/a>: at <em>T<\/em> = -25 \u00b0C and <em>P<\/em> = 151.47 kPa \u2248 150 kPa, <em>v<sub>g<\/sub><\/em> = 0.771672 m<sup>3<\/sup>\/kg. Since <em>v<sub>2<\/sub> &gt; v<sub>g<\/sub><\/em>, ammonia at the final state is a superheated vapour.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-b-thermodynamic-properties-of-ammonia#TB2\" target=\"_blank\" rel=\"noopener\">Table B2<\/a>,<\/p>\n<p style=\"padding-left: 80px\">At <em>P<\/em> = 150 kPa, <em>T<\/em> = 20\u00b0C, <em>v<\/em> = 0.938100 m<sup>3<\/sup>\/kg, <em>u<\/em> = 1535.05 kJ\/kg<\/p>\n<p style=\"padding-left: 80px\">At <em>P<\/em> =150 kPa, <em>T<\/em> = 30\u00b0C, <em>v<\/em> = 0.972207 m<sup>3<\/sup>\/kg, <em>u<\/em> = 1551.95 kJ\/kg<\/p>\n<p style=\"padding-left: 40px\">Use linear interpolation,<\/p>\n<p style=\"padding-left: 40px\">[latex]\\because\\dfrac{T_{2}-20}{30-20} =\\dfrac{0.94974-0.938100}{0.972207-0.938100} =\\dfrac{u_{2} - 1535.05 }{1551.95-1535.05}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">[latex]\\therefore T_2 = 23.4 \\ ^ \\rm{{\\circ}} \\rm{C}[\/latex]\u00a0\u00a0\u00a0\u00a0 and\u00a0\u00a0 [latex]u_2 = 1540.82 \\ \\rm{kJ\/kg}[\/latex]<\/p>\n<p>Last, the heat transfer in this process can now be found from<\/p>\n<p style=\"padding-left: 40px\">[latex]\\begin{align*} Q &= W + \\Delta U = m\\dfrac{P_{2}{v}_{2} - P_{1}{v}_{1}}{1-n} + m(u_2 - u_1) \\\\&= 0.5 \\left[ \\dfrac{150 \\times 0.94974 - 100 \\times 1.31365}{1-1.25} + (1540.82 - 1504.29)\\right] \\\\&= - 3.928 \\ \\rm{kJ}\\end{align*}[\/latex]<\/p>\n<p>During this process heat is rejected to the surroundings; therefore, the sign for heat transfer is negative.<\/p>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--examples\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Example 4<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<p class=\"import-Normal\">A piston-cylinder device contains steam initially at 200<sup>o<\/sup>C and 200 kPa. The steam is first cooled isobarically to saturated liquid, then isochorically until its pressure reaches 25 kPa.<\/p>\n<ol>\n<li>Sketch the whole process on the [latex]P - v[\/latex] and [latex]T - v[\/latex] diagrams<\/li>\n<li>Calculate the specific heat transfer in the whole process<\/li>\n<\/ol>\n<figure id=\"attachment_2259\" aria-describedby=\"caption-attachment-2259\" style=\"width: 220px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2259\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder.png\" alt=\"Steam in a piston-cylinder device\" width=\"220\" height=\"183\" srcset=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder.png 521w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder-300x249.png 300w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder-65x54.png 65w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder-225x187.png 225w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/07\/Steam-in-a-Piston-Cylinder-350x291.png 350w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/a><figcaption id=\"caption-attachment-2259\" class=\"wp-caption-text\"><em><strong>Figure 4.4.e4<\/strong> Steam in a piston-cylinder device<\/em><\/figcaption><\/figure>\n<p><span style=\"text-decoration: underline\"><em>Solution:<\/em><\/span><\/p>\n<p>1. [latex]P - v[\/latex] and [latex]T - v[\/latex] diagrams<\/p>\n<figure id=\"attachment_2145\" aria-describedby=\"caption-attachment-2145\" style=\"width: 588px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3.png\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2145\" src=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-300x106.png\" alt=\"P-v and T-v diagrams of the processes\" width=\"588\" height=\"208\" srcset=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-300x106.png 300w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-1024x362.png 1024w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-768x271.png 768w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-65x23.png 65w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-225x80.png 225w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3-350x124.png 350w, https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-content\/uploads\/sites\/499\/2021\/08\/4.5.3.png 1231w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/a><figcaption id=\"caption-attachment-2145\" class=\"wp-caption-text\"><em><strong>Figure 4.4.e5<\/strong> P-v and T-v diagrams of the whole process<\/em><\/figcaption><\/figure>\n<p>2. Calculate the specific heat transfer<\/p>\n<p>First, set the steam in the piston-cylinder device as a closed system. From the first law of thermodynamics,<\/p>\n<p style=\"padding-left: 40px\">[latex]\\because\\Delta u = q - w[\/latex]<\/p>\n<p style=\"padding-left: 40px\">[latex]\\therefore q= \\Delta u + w = (u_3 - u_1) + w[\/latex]<\/p>\n<p>Second, analyze the processes.<\/p>\n<p style=\"padding-left: 40px\">The process is isobaric from state 1 to state 2, then isochoric from state 2 to state 3. The specific work is the shaded area of the rectangle shown in the [latex]P - v[\/latex] diagram; therefore,<\/p>\n<p style=\"padding-left: 40px\">[latex]w = P_1(v_3 - v_1)[\/latex]\u00a0\u00a0\u00a0\u00a0 and\u00a0\u00a0\u00a0 [latex]v_2 = v_3[\/latex]<\/p>\n<p>Third, determine the specific volumes and specific internal energies at states 1 and 3.<\/p>\n<p style=\"padding-left: 40px\">At state 1, <em>P<sub>1<\/sub><\/em> = 200 kPa and <em>T<sub>1<\/sub><\/em> = 200<sup>o<\/sup>C.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-a-thermodynamic-properties-of-water#TA2\" target=\"_blank\" rel=\"noopener\">Table A2<\/a>,<\/p>\n<p style=\"padding-left: 80px\"><em>v<sub>1<\/sub><\/em> = 1.08048 m<sup>3<\/sup>\/kg,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>u<sub>1<\/sub><\/em> = 2654.63 kJ\/kg<\/p>\n<p style=\"padding-left: 40px\">State 2 is saturated liquid water at P<sub>2<\/sub> = 200 kPa.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-a-thermodynamic-properties-of-water#TA1\" target=\"_blank\" rel=\"noopener\">Table A1<\/a>,<\/p>\n<p style=\"padding-left: 80px\">At <em>T<\/em> = 120 <sup>o<\/sup>C, <em>P<\/em> = 198.67 kPa, <em>v<sub>f<\/sub><\/em> = 0.001060 m<sup>3<\/sup>\/kg<\/p>\n<p style=\"padding-left: 80px\">At <em>T<\/em> = 125 <sup>o<\/sup>C, <em>P<\/em> = 232.24 kPa, <em>v<sub>f<\/sub><\/em> = 0.001065 m<sup>3<\/sup>\/kg<\/p>\n<p style=\"padding-left: 40px\">Use linear interpolation,<\/p>\n<p style=\"padding-left: 80px\">[latex]\\because \\dfrac{v_{2}-0.001060}{0.001065-0.001060} =\\dfrac{T_{2}-120}{125-120} =\\dfrac{200-198.67}{232.24-198.67}[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]\\therefore v_2 = 0.0010602 \\ \\rm{m^3\/kg}[\/latex]\u00a0\u00a0\u00a0\u00a0 and\u00a0\u00a0\u00a0\u00a0 [latex]T_2 = 120.2 \\ ^ \\rm{{\\circ}} \\rm{C}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">At state 3, <em>P<sub>3<\/sub><\/em> = 25 kPa. <em>v<sub>3 <\/sub><\/em>= <em>v<sub>2<\/sub> <\/em>= 0.0010602 m<sup>3<\/sup>\/kg.<\/p>\n<p style=\"padding-left: 40px\">From <a href=\"https:\/\/pressbooks.bccampus.ca\/thermo1\/back-matter\/appendix-a-thermodynamic-properties-of-water#TA1\" target=\"_blank\" rel=\"noopener\">Table A1<\/a>, <em>v<sub>f <\/sub><\/em>&lt; <em>v<sub>3 <\/sub>&lt; v<sub>g<\/sub>; <\/em>therefore, state 3 is a two phase mixture of saturated liquid and saturated vapour with <em>T<\/em><sub><em>3 <\/em><\/sub><em>= T<sub>sat <\/sub><\/em>\u2248 65<sup>o<\/sup>C.<\/p>\n<p style=\"padding-left: 80px\"><em>v<sub>f <\/sub><\/em>= 0.001020 m<sup>3<\/sup>\/kg,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>v<sub>g<\/sub><\/em> = 6.19354 m<sup>3<\/sup>\/kg<\/p>\n<p style=\"padding-left: 80px\"><em>u<sub>f<\/sub><\/em> = 272.09 kJ\/kg, \u00a0 \u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <em>u<sub>g<\/sub><\/em> = 2462.42 kJ\/kg<\/p>\n<p style=\"padding-left: 40px\">The quality and specific internal energy of the two phase mixture are<\/p>\n<p style=\"padding-left: 80px\">[latex]x = \\dfrac{v_3 - v_f}{v_g - v_f} = \\dfrac{0.0010602 - 0.001020}{6.19354 - 0.001020} = 6.5 \\times 10^{-6}[\/latex]<\/p>\n<p style=\"padding-left: 80px\">[latex]\\begin{align*} u_3 &= u_f + x(u_g - u_f) \\\\&= 272.09 + 6.5 \\times 10^{-6}(0.0010602 - 1.08048) \\\\&=272.10 \\ \\rm{kJ\/kg} \\end{align*}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">Note that state 3 is almost a saturated liquid with very small quality; therefore, <em>u<sub>3 <\/sub>\u2248 u<sub>g.<\/sub><\/em><\/p>\n<p>Last, calculate the specific boundary work and specific heat transfer in this whole process<\/p>\n<p style=\"padding-left: 40px\">[latex]\\begin{align*} w &= P_1(v_3 - v_1) \\\\&= 200\\times (0.0010602 - 1.08048) \\\\&= -215.884 \\ \\rm{kJ\/kg} \\end{align*}[\/latex]<\/p>\n<p style=\"padding-left: 40px\">[latex]\\begin{align*} q &=( u_3 - u_1) +\u00a0 w \\\\&= (272.10 - 2654.63) + (-215.884) \\\\&= -2598.4 \\ \\rm{kJ\/kg}\\end{align*}[\/latex]<\/p>\n<p>In this cooling process, the volume decreases, resulting in a negative specific boundary work. The temperature and the internal energy decrease too. As a result, the specific heat transfer is negative indicating a heat loss from the system to its surroundings.<\/p>\n<\/div>\n<\/div>\n<div class=\"textbox textbox--exercises\">\n<header class=\"textbox__header\">\n<p class=\"textbox__title\">Practice Problems<\/p>\n<\/header>\n<div class=\"textbox__content\">\n<div id=\"h5p-35\">\n<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-35\" class=\"h5p-iframe\" data-content-id=\"35\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"S_4.4_Q\"><\/iframe><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"media-attributions clear\" prefix:cc=\"http:\/\/creativecommons.org\/ns#\" prefix:dc=\"http:\/\/purl.org\/dc\/terms\/\"><h2>Media Attributions<\/h2><ul><li about=\"https:\/\/commons.wikimedia.org\/wiki\/File:Vapor_Compression_Cycle.png\"><a rel=\"cc:attributionURL\" href=\"https:\/\/commons.wikimedia.org\/wiki\/File:Vapor_Compression_Cycle.png\" property=\"dc:title\">Vapor compression refrigeration cycle<\/a>  &copy;  WGisol    is licensed under a  <a rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/4.0\/\">CC BY-SA (Attribution ShareAlike)<\/a> license<\/li><\/ul><\/div>","protected":false},"author":175,"menu_order":5,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1454","chapter","type-chapter","status-publish","hentry"],"part":279,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/pressbooks\/v2\/chapters\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/wp\/v2\/users\/175"}],"version-history":[{"count":26,"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/pressbooks\/v2\/chapters\/1454\/revisions"}],"predecessor-version":[{"id":4005,"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/pressbooks\/v2\/chapters\/1454\/revisions\/4005"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/pressbooks\/v2\/parts\/279"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/pressbooks\/v2\/chapters\/1454\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/wp\/v2\/media?parent=1454"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/pressbooks\/v2\/chapter-type?post=1454"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/wp\/v2\/contributor?post=1454"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/thermo1\/wp-json\/wp\/v2\/license?post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}