<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:tocPath="Using Multiflash|Using the phase envelope plotter" MadCap:medium="non-print" MadCap:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-ca" xml:lang="en-ca" MadCap:PathToHelpSystem="../../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <!-- saved from url=(0016)http://localhost -->
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Plotting phase boundaries</title>
        <link href="../../SkinSupport/Slideshow.css" rel="stylesheet" MadCap:generated="True" />
        <link href="../../SkinSupport/MadCap.css" rel="stylesheet" MadCap:generated="True" />
        <link href="../../Resources/TableStyles/Basic.css" rel="stylesheet" />
        <link href="../../Resources/Stylesheets/mfwman.css" rel="stylesheet" />
        <script src="../../SkinSupport/jquery.min.js">
        </script>
        <script src="../../SkinSupport/MadCapAll.js">
        </script>
        <script src="../../SkinSupport/MadCapTopicAll.js">
        </script>
    </head>
    <body>
        <div class="MCBreadcrumbsBox_0"><span class="MCBreadcrumbsPrefix">You are here: </span><span class="MCBreadcrumbsSelf">Using Multiflash</span><span class="MCBreadcrumbsDivider"> &gt; </span><a class="MCBreadcrumbsLink" href="PhaseEnvelopePlotter.htm">Using the phase envelope plotter</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Plotting phase boundaries</span>
        </div>
        <h1><a name="kanchor44"></a>Plotting phase boundaries</h1>
        <p class="para">The phase envelope plotter enables you to plot phase boundaries for any phase.</p>
        <p class="para">You can use the phase envelope plotter after you have specified your fluid and model.</p>
        <p class="para">
            <SPAN class="emphasisbold">Tip: </SPAN>On the <SPAN class="GUI">Home </SPAN>ribbon, click <img src="../../images/AutoPhaseEnvelopeIcon.png" /> to plot all available phase envelopes automatically at any stage. However, the resultant plot does not enable you to use any other features of the phase envelope plotter. </p>
        <p class="caption">To use the phase envelope plotter:</p>
        <ol>
            <li class="listnum" value="1">
                <p>On the <SPAN class="GUI">Home </SPAN>ribbon, click <img src="../../images/PhaseEnvelopeIcon.png" />.</p>
                <p class="para">
                    <img src="../../Resources/Images/phaseenvelopeplot_491x322.png" style="width: 491;height: 322;" />
                </p>
            </li>
            <li class="listnum" value="2">
                <p>If you want to plot the vapour-liquid envelope, click <SPAN class="GUI"><span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">VLE<img style="border: none;margin-left: 5px;" src="../../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../../SkinSupport/ExpandingOpen.gif' ); }" alt="Closed" MadCap:alt2="Open" class="MCExpandingIcon" /></a><span class="MCTextPopupBody_0" style="display: none; ">Vapour-liquid equilibrium</span></span> AutoPlot</SPAN>.</p>
                <p>
                    <SPAN class="GUI">Note: </SPAN>None of the settings on the <SPAN class="GUI">Phase </SPAN>tab or <SPAN class="GUI">Initial Values </SPAN>tab are used by this option.</p>
                <p>
                    <SPAN class="emphasisbold">Result: </SPAN>The phase envelope is plotted. You can now plot other phase boundaries and they are all shown on the same plot until you click <SPAN class="GUI">Clear</SPAN>.</p>
            </li>
            <li class="listnum" value="3">
                <p>Choose a solution type, using the following guidelines.</p>
                <table style="width: 100%;mc-table-style: url('../../Resources/TableStyles/Basic.css');margin-left: 0;margin-right: auto;" class="TableStyle-Basic" cellspacing="0">
                    <col class="TableStyle-Basic-Column-Column1" />
                    <col class="TableStyle-Basic-Column-Column1" />
                    <thead>
                        <tr class="TableStyle-Basic-Head-Header1">
                            <th class="TableStyle-Basic-HeadE-Column1-Header1">Solution type</th>
                            <th class="TableStyle-Basic-HeadD-Column1-Header1">Use for</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">Normal</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Systems with normal dew and bubble points.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">Upper Retrograde</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Gas condensate systems that are likely to exhibit retrograde condensation. In these systems, there are two dew points, the upper one being the <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">retrograde dew point<img style="border: none;margin-left: 5px;" src="../../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../../SkinSupport/ExpandingOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../../SkinSupport/ExpandingOpen.gif' ); }" alt="Closed" MadCap:alt2="Open" class="MCExpandingIcon" /></a><span class="MCTextPopupBody_0" style="display: none; ">The point where liquids drop out of the gas phase and the amount of liquid increases as the pressure decreases. This physical phenomenon is known as retrograde condensation.</span></span>.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyB-Column1-Body1">
                                <p class="tabledata">Unspecified</p>
                            </td>
                            <td class="TableStyle-Basic-BodyA-Column1-Body1">
                                <p class="tabledata">Finding the nearest solution to the starting point, making no  distinction between normal and retrograde behaviour. One example of using this is when you calculate an asphaltene phase boundary above the bubble point.</p>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </li>
            <li class="listnum" value="4">
                <p>From the <SPAN class="GUI">Select Phase </SPAN>list, choose the phase whose boundary you want to plot.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>The phases available depend on the model settings that you specified.</p>
            </li>
            <li class="listnum" value="5">
                <p>From the <SPAN class="GUI">Select Basis </SPAN>list, choose the purpose of the calculation, as shown in the table.</p>
                <p>
                    <table style="width: 100%;mc-table-style: url('../../Resources/TableStyles/Basic.css');margin-left: 0;margin-right: auto;" class="TableStyle-Basic" cellspacing="0">
                        <col class="TableStyle-Basic-Column-Column1" />
                        <col class="TableStyle-Basic-Column-Column1" />
                        <thead>
                            <tr class="TableStyle-Basic-Head-Header1">
                                <th class="TableStyle-Basic-HeadE-Column1-Header1">Basis</th>
                                <th class="TableStyle-Basic-HeadD-Column1-Header1">Description</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="TableStyle-Basic-Body-Body1">
                                <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                    <p class="tabledata">Mole Fraction</p>
                                </td>
                                <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                    <p class="tabledata">Specify the phase fraction in moles. We recommend this for phase boundary plots.</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-Basic-Body-Body1">
                                <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                    <p class="tabledata">Mass Fraction</p>
                                </td>
                                <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                    <p class="tabledata">Specify the phase fraction by mass.</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-Basic-Body-Body1">
                                <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                    <p class="tabledata">Volume Fraction</p>
                                </td>
                                <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                    <p class="tabledata">Specify the phase fraction by volume.</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-Basic-Body-Body1">
                                <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                    <p class="tabledata">Nucleation</p>
                                </td>
                                <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                    <p class="tabledata">Use for hydrate formation calculations when you have specified the phase as hydrate, and your hydrate model includes a nucleation phase.</p>
                                </td>
                            </tr>
                            <tr class="TableStyle-Basic-Body-Body1">
                                <td class="TableStyle-Basic-BodyB-Column1-Body1">
                                    <p class="tabledata">Enthalpy</p>
                                    <p class="tabledata">Entropy</p>
                                    <p class="tabledata">Volume</p>
                                    <p class="tabledata">Internal energy</p>
                                </td>
                                <td class="TableStyle-Basic-BodyA-Column1-Body1" style="background-color: #ffffff;">
                                    <p class="tabledata">Plot an iso curve for the specified property and value. See <SPAN class="Citation">Plotting property boundaries</SPAN> for further details.</p>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </p>
            </li>
            <li class="listnum" value="6">
                <p>Enter the fraction of the phase that you want to fix.</p>
                <p>
                    <SPAN class="emphasisbold">Requirement: </SPAN>A&#160;phase fraction must be between 0 and 1.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>To search for a phase boundary, set the phase fraction to 0, with the basis as mole fraction.</p>
            </li>
            <li class="listnum" value="7">
                <p>If required, use the <SPAN class="GUI">Initial Values </SPAN>tab to adjust the initial conditions for the calculation.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>You do not usually need to adjust these values for well-defined systems.</p>
            </li>
            <li class="listnum" value="8">
                <p>If required, use the<SPAN class="GUI"> Options </SPAN>tab to specify your axis ranges.</p>
                <p>
                    <SPAN class="emphasisbold">Requirement: </SPAN>The axes must be pressure and temperature for a phase envelope.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>You do not usually need to adjust these values for standard phase plots.</p>
            </li>
            <li class="listnum" value="9">
                <p>Click <SPAN class="GUI">Plot</SPAN>.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>You might see the message, "Plotting has reached limit. Would you like to plot more points?" You can click <SPAN class="GUI">Yes </SPAN>to enable the plotter to complete more of the phase envelope.</p>
            </li>
            <li class="listnum" value="10">Optionally you can click <b>Show data</b> to view and copy the values used to generate the plot. These include all the calculated properties, like Enthalpy, Entropy, etc.</li>
        </ol>
        <p class="para">
            <SPAN class="emphasisbold">Tip: </SPAN>If Multiflash fails to find a phase boundary, provide a starting value using the <SPAN class="GUI">Initial Values </SPAN>tab.</p>
        <p class="caption">Try it yourself:</p>
        <p class="para" style="background-color: #ffffff;">Using the example file <SPAN class="FilePath">pvt_anal2.mfl</SPAN>, plot the normal gas phase  mole fraction 0, and then the normal liquid1 phase mole fraction 0.</p>
        <p class="para" style="background-color: #ffffff;"><a href="javascript:void(0);" MadCap:popupSrc="../../Resources/Images/phaseenvelopeplot_1.png" MadCap:popupWidth="981" MadCap:popupHeight="456" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../Resources/Images/phaseenvelopeplot_1_thumb_500_0.png" style="width: 500px;height: 232px;" tabindex="" /></a>
        </p>
        <p>click <b>Show data</b></p>
        <p><a href="javascript:void(0);" MadCap:popupSrc="../../Resources/Images/phaseenvelopeplot_data.png" MadCap:popupWidth="981" MadCap:popupHeight="456" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../Resources/Images/phaseenvelopeplot_data_thumb_500_0.png" style="width: 500px;height: 232px;" tabindex="" /></a>
        </p>
        <p class="para" style="background-color: #ffffff;">If you now click <SPAN class="GUI">VLE AutoPlot</SPAN>, you can see that the automatic phase envelope plot correctly traces the phase boundaries.</p>
        <p class="reltopimg" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/reltop.gif" />
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="ScalingPhasePlotterAxes.htm">Scaling the phase plot axes</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="UsingInitialValuesPhasePlotter.htm">Using initial values for the phase plotter</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="PlottingPropertyBoundaries.htm">Plotting property boundaries</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="GeneratingOtherPlotTypes.htm">Generating other plot types</a>
        </p>
        <p class="page_footer">© 2015 <span class="VariablesCompanyName">KBC Advanced Technologies ltd</span>. All rights reserved.</p>
        <script type="text/javascript" src="../../SkinSupport/MadCapBodyEnd.js">
        </script>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkBottom"><a href="../../../Default_CSH.htm#Using_Multiflash/PhasePlotter/PlottingPhaseBoundary.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>