<?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|Working with waxes" 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 the wax phase envelope</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/TableWithFooter.css" rel="stylesheet" />
        <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="WorkingWithWaxes.htm">Working with waxes</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Plotting the wax phase envelope</span>
        </div>
        <h1><a name="kanchor94"></a>Plotting the wax phase envelope</h1>
        <p class="caption">Problem: </p>
        <p class="para">What do I&#160;need to do to get a good wax phase envelope plot?</p>
        <p class="caption">Approach:</p>
        <ol>
            <li class="listnum" value="1">Tune your model, if you have available experimental data.</li>
            <li class="listnum" value="2">
                <p>In the phase envelope calculation, calculate a non-zero phase fraction to use that complements the technique used in the wax measurements used for tuning.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>The non-zero phase fraction in the phase envelope plot is the wax % of the total fluid, not the % of liquid as it is in the <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">WAT<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; ">Wax appearance temperature, the theoretical onset of wax formation. Complex mixtures of solid hydrocarbons can freeze out of crude oils if the temperature is low enough. Waxes are mainly formed from normal paraffins, but iso-paraffins and naphthenes are also present.</span></span> calculations for the <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">CPM<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; ">Cross Polar Microscopy, a technique used to measure wax appearance temperature.</span></span> and <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">DSC<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; ">Differential Scanning Calorimetry, a technique used to measure wax appearance temperature.</span></span> methods. Therefore, if the fluid has a gas phase, the wax % value must be adjusted to account for the total fluid, if this has not already been done, and then converted to a mass fraction by dividing by 100.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>For a live oil, the amount of wax is defined with respect to the total fluid, which varies with pressure. In such a case it can be better to choose a zero mass fraction for the plot.</p>
            </li>
            <li class="listnum" value="3">Perform a phase envelope calculation in the usual way.</li>
        </ol>
        <p class="caption">Try it yourself:</p>
        <ol>
            <li class="listnum" value="1">On the <SPAN class="GUI">File </SPAN>menu, click <SPAN class="GUI">Open</SPAN>, and open the file <SPAN class="FilePath">wax.mfl</SPAN>.</li>
            <li class="listnum" value="2">
                <p>On the <SPAN class="GUI">Wax</SPAN>ribbon, click <img src="../../images/MatchWaxCurveIcon.png" />.</p>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../images/MatchWaxDataDialog.png" MadCap:popupWidth="508" MadCap:popupHeight="398" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../images/MatchWaxDataDialog_thumb_500_0.png" style="width: 500px;height: 392px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="3">
                <p>Enter the experimental WAT data , as shown in the table, and then click <SPAN class="GUI">Match</SPAN>.</p>
                <table style="width: 100%;margin-left: 0;margin-right: auto;mc-table-style: url('../../Resources/TableStyles/TableWithFooter.css');" class="TableStyle-TableWithFooter" cellspacing="0">
                    <col class="TableStyle-TableWithFooter-Column-Column1" />
                    <col class="TableStyle-TableWithFooter-Column-Column1" />
                    <col class="TableStyle-TableWithFooter-Column-Column1" />
                    <thead>
                        <tr class="TableStyle-TableWithFooter-Head-Header1">
                            <th class="TableStyle-TableWithFooter-HeadE-Column1-Header1">Temperature (°C)</th>
                            <th class="TableStyle-TableWithFooter-HeadE-Column1-Header1">Pressure (bar)</th>
                            <th class="TableStyle-TableWithFooter-HeadD-Column1-Header1">Fraction (mass %)</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-TableWithFooter-Body-Body1">
                            <td class="TableStyle-TableWithFooter-BodyB-Column1-Body1">
                                <p class="tabledata">40</p>
                            </td>
                            <td class="TableStyle-TableWithFooter-BodyB-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-TableWithFooter-BodyA-Column1-Body1">
                                <p class="tabledata">0.045<sup>*</sup></p>
                            </td>
                        </tr>
                    </tbody>
                    <tfoot>
                        <tr class="TableStyle-TableWithFooter-Foot-Footer1">
                            <td class="TableStyle-TableWithFooter-FootD-Column1-Footer1" colspan="3"><sup>*</sup>Experimental data measured using CPM.</td>
                        </tr>
                    </tfoot>
                </table>
            </li>
            <li class="listnum" value="4">When the match plot appears, close the plot, and then click <SPAN class="GUI">Close</SPAN>.</li>
            <li class="listnum" value="5">On the <SPAN class="GUI">Home </SPAN>ribbon, click <img src="../../images/PhaseEnvelopeIcon.png" />.</li>
            <li class="listnum" value="6">
                <p>On the <SPAN class="GUI">Phases </SPAN>tab, enter the phase details shown in the table, and then click <SPAN class="GUI">Plot</SPAN>.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>The phase fraction is 0.00045 because the fluid defined in <SPAN class="FilePath">wax.mfl </SPAN>is a dead oil, and the experimental data was a CPM measurement.</p>
                <table style="width: 100%;margin-left: 0;margin-right: auto;mc-table-style: url('../../Resources/TableStyles/Basic.css');" class="TableStyle-Basic" cellspacing="0">
                    <col class="TableStyle-Basic-Column-Column1" />
                    <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">Select Phase</th>
                            <th class="TableStyle-Basic-HeadE-Column1-Header1">Select Basis</th>
                            <th class="TableStyle-Basic-HeadD-Column1-Header1">Enter phase fraction</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyB-Column1-Body1">
                                <p class="tabledata">Wax</p>
                            </td>
                            <td class="TableStyle-Basic-BodyB-Column1-Body1">
                                <p class="tabledata">Mass fraction</p>
                            </td>
                            <td class="TableStyle-Basic-BodyA-Column1-Body1">
                                <p class="tabledata">0.00045</p>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../images/WaxPhaseEnvelopeNoGas.png" MadCap:popupWidth="903" MadCap:popupHeight="602" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../images/WaxPhaseEnvelopeNoGas_thumb_500_0.png" style="width: 500px;height: 333px;" tabindex="" /></a>
                </p>
                <p>You can see that the phase envelope for this dead oil is linear.</p>
            </li>
        </ol>
        <div class="MCDropDown">
            <div class="MCDropDownHead_0"><a class="MCDropDownHotSpot_0" href="javascript:void(0);" id="MCDropDownHotSpot_552219037_0" onclick="FMCDropDown( this ); return false;"><img style="border: none;margin-right: 5px;" src="../../SkinSupport/DropDownClosed.gif" MadCap:altsrc="../../SkinSupport/DropDownOpen.gif" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../../SkinSupport/DropDownOpen.gif' ); }" alt="Closed" MadCap:alt2="Open" class="MCDropDownIcon" />FAQ:</a>
            </div>
            <div class="MCDropDownBody" id="MCDropDownBody_552219037_0" style="display: none;">
                <p>Anything to add here?</p>
            </div>
        </div>
        <p class="caption" MadCap:conditions="">What else can I&#160;do?</p>
        <ol>
            <li MadCap:conditions="" class="listnum" value="1">
                <p>Repeat the phase envelope plot, using the live oil example file <SPAN class="FilePath">waxycondensate.mfl </SPAN>and the data in the table.</p>
                <table style="width: 100%;margin-left: 0;margin-right: auto;mc-table-style: url('../../Resources/TableStyles/Basic.css');" class="TableStyle-Basic" cellspacing="0">
                    <col class="TableStyle-Basic-Column-Column1" />
                    <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">Temperature (°C)</th>
                            <th class="TableStyle-Basic-HeadE-Column1-Header1">Pressure (bar)</th>
                            <th class="TableStyle-Basic-HeadD-Column1-Header1">Fraction (mass %)</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">0</p>
                            </td>
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">4.33</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">6</p>
                            </td>
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">2.657</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">12</p>
                            </td>
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">1.296</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">18</p>
                            </td>
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">0.657</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">24</p>
                            </td>
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">0.336</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">30</p>
                            </td>
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">0.143</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyB-Column1-Body1">
                                <p class="tabledata">36</p>
                            </td>
                            <td class="TableStyle-Basic-BodyB-Column1-Body1">
                                <p class="tabledata">1</p>
                            </td>
                            <td class="TableStyle-Basic-BodyA-Column1-Body1">
                                <p class="tabledata">0.045</p>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../images/WaxPhaseEnvelopeLive.png" MadCap:popupWidth="903" MadCap:popupHeight="602" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../images/WaxPhaseEnvelopeLive_thumb_500_0.png" style="width: 500px;height: 333px;" tabindex="" /></a>
                </p>
                <p>The wax boundary for a live oil has a distinctly different shape. The D marks the point where the wax boundary crosses the bubble point line.</p>
            </li>
        </ol>
        <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="../../Reference/ModellingWaxPrecipitation.htm">Wax precipitation model</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/WorkingWithWaxes/PlottingTheWaxPhaseEnvelope.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>