<?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|Defining fluids" 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>Using mud numerical cleaning</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="Fluids.htm">Defining fluids</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Using mud numerical cleaning</span>
        </div>
        <h1><a name="kanchor33"></a>Using mud numerical cleaning</h1>
        <p><a name="kanchor34"></a>Oil-based muds (<span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">OBM<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; ">Oil-based mud</span></span>) are widely used in offshore drilling, mainly because their use results in substantial cost savings. Bottomhole samples collected in wellbore systems under these circumstances are likely to be contaminated with the OBM as these tend to be highly soluble in the hydrocarbon fluids. No experimental method exists to estimate the composition of the clean reservoir fluid.</p>
        <p>Numerical methods have been designed to estimate the level of mud contamination and composition of the clean reservoir fluid based on the expected semi-logarithmic dependence of the composition of the natural reservoir fluids on carbon number. PVT laboratories analyse the composition of the mud filtrate and provide an estimate of the level of mud contamination in samples. The contamination is normally quoted as the weight fraction of mud in the stock tank oil that results from a single stage flash of the contaminated sample.</p>
        <p>Multiflash contains a procedure which uses the compositions of the contaminated fluid and the mud, together with the quoted level of mud contamination in the stock tank oil, to estimate the composition of the clean reservoir fluid. This is achieved by performing molar, mass and volume balances on the single carbon number (<span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">SCN<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; ">Single carbon number. The analysis for hydrocarbons with more than 6 or 7 carbon atoms is generally reported as single carbon number fractions, which represent compounds in boiling point ranges. For example, a C9 SCN contains all hydrocarbons that boil between the normal boiling point of n&#8209;octane + 0.5ºC and the normal boiling point of n&#8209;nonane + 0.5ºC.</span></span>) fractions.</p>
        <p>
            <SPAN class="emphasisbold">Requirement: </SPAN>You must have created Multiflash files for the contaminated fluid and mud filtrate, using the PVT analysis reports.</p>
        <p>
            <SPAN class="emphasisbold">Tips: </SPAN>
        </p>
        <ul>
            <li class="listbull" value="1">The model specified in the contaminated fluid file is the one used for the numerical cleaning.</li>
            <li class="listbull" value="2">If you want to use PVT experiment data to tune the model after cleaning, ensure that the PVT experiment data is included in your contaminated fluid file.</li>
            <li value="3">
                <p>When you create the mud filtrate fluid, you must enter each mud SCN <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">petroleum fraction<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; ">A complex mixture of hydrocarbons, whose aggregate properties are characterised by standard tests, the results of which may be found in PVT laboratory reports.</span></span> separately, using the add petroleum fractions feature of the Select Components dialog box, see <SPAN class="Citation">Defining a petroleum fraction</SPAN>. Use the molecular weight and specific gravity values for each SCN if these are provided in the PVT report. If these are not given, enter the carbon number of each mud SCN, and allow Multiflash to estimate all other properties.</p>
            </li>
        </ul>
        <p class="caption">To perform mud numerical cleaning:</p>
        <ol>
            <li class="listnum" value="1">
                <p>On the <SPAN class="GUI">Fluid </SPAN>ribbon, click <img src="../../images/MudNumericalCleaningIcon.png" />.</p>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../images/MudNumericalCleaningDialog.png" MadCap:popupWidth="542" MadCap:popupHeight="417" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../images/MudNumericalCleaningDialog_thumb_500_0.png" style="width: 500px;height: 385px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="2">Enter the full path to the file names for your contaminated fluid and mud filtrate, using the <SPAN class="GUI">Browse </SPAN>button if required.</li>
            <li class="listnum" value="3">For the mud filtrate, enter the mud content as the weight % of mud in the stock tank oil resulting from the single stage flash of the contaminated fluid.</li>
            <li class="listnum" value="4">
                <p>Enter a location for the output file, using the <SPAN class="GUI">Browse </SPAN>button if required.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>The output file has the same name as the contaminated fluid file, appended by "_Clean".</p>
            </li>
            <li class="listnum" value="5">
                <p>In the <SPAN class="GUI">Pseudo Components Options</SPAN> panel, specify the start SCN and number of pseudocomponents (maximum of 200) for the normal fractions.</p>
                <p>
                    <SPAN class="emphasisbold">Example: </SPAN>If you set <SPAN class="GUI">Distribution start </SPAN>to C10, and <SPAN class="GUI">Pseudocomponents required </SPAN>to 5, the components C6, C7, C8 and C9, if present, are represented by individual components, and the remaining SCN&#160;fractions are grouped into five fractions that depend on the actual composition of the fluid, with the last <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">pseudocomponent<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; ">In Multiflash, a set of petroleum SCN fractions that are aggregated together.</span></span> being a <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">plus fraction<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 highest number SCN fraction in a fluid, for example C30+. This fraction contains all the material in the heavy end of the fluid and often represents a substantial proportion of the fluid.</span></span>.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>You can specify your own group ranges by checking <SPAN class="GUI">User-defined cuts</SPAN>, clicking <SPAN class="GUI">Define cuts</SPAN>, and then entering the SCN values at which you want the groups to start.</p>
            </li>
            <li class="listnum" value="6">
                <p>If you want to include the mud SCNs in the pseudocomponents analysis, check <SPAN class="GUI">Pseudo Components Options (Mud)</SPAN>, and then specify the start SCN and number of pseudocomponents (maximum of 200) for the normal fractions.</p>
            </li>
            <li class="listnum" value="7">If you want to load the output file automatically after the calculation, check <SPAN class="GUI">Load Result File</SPAN>.</li>
            <li class="listnum" value="8">If your contaminated fluid file contains PVT experiments that you want to use to tune the model after the fluid is cleaned, check <SPAN class="GUI">Tune Fluid Model</SPAN>.</li>
            <li class="listnum" value="9">
                <p>To modify the default tuning options, click <SPAN class="GUI">Options</SPAN>, and do the following:</p>
                <ul>
                    <li class="listbull" value="1">For each property that you want to vary in the tuning calculation, check the box next to the property name.</li>
                    <li class="listbull" value="2">In <SPAN class="GUI">% Change</SPAN>, enter the range within which the property value can vary. The range is a percentage amount above or below the current value of the property.</li>
                </ul>
                <p>The modifiable properties are described in the following table. To view the properties that are modifiable when you tune a model using a specific experiment type, see <SPAN class="Citation">Tuning models</SPAN>.</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" />
                    <thead>
                        <tr class="TableStyle-Basic-Head-Header1">
                            <th class="TableStyle-Basic-HeadE-Column1-Header1">Property</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">T<sub>c</sub></p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Critical temperature of the petroleum fractions in the mixture.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">P<sub>c</sub></p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Critical pressure of the petroleum fractions in the mixture.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">Acentric factor</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Acentric factor (ω) of the petroleum fractions in the mixture.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">BIPs</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Binary interaction parameters for the petroleum fractions with methane, ethane and propane.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">Volume shift</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">The Peneloux parameters of the petroleum fractions, used to correct liquid density predictions.</p>
                                <p class="tabledata">
                                    <SPAN class="emphasisbold">Tip: </SPAN>You can cut and paste the data to a spreadsheet.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">Viscosity</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">The following petroleum fraction properties are modified in viscosity fitting:</p>
                                <ul>
                                    <li class="listbull" value="1">V<sub>c</sub> (critical volume) for the LBC viscosity model</li>
                                    <li class="listbull" value="2">T<sub>c</sub> (critical temperature) for the Supertrapp viscosity model</li>
                                    <li class="listbull" value="3">MW (molecular weight) for the Pedersen model</li>
                                    <li class="listbull" value="4">T<sub>b</sub> (boiling point) for the Twu viscosity model</li>
                                </ul>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyB-Column1-Body1">
                                <p class="tabledata">LBC A parameters</p>
                            </td>
                            <td class="TableStyle-Basic-BodyA-Column1-Body1">
                                <p class="tabledata">The model parameters in the LBC viscosity model.</p>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </li>
            <li class="listnum" value="10">Click <SPAN class="GUI">Clean</SPAN>.</li>
        </ol>
        <p>
            <SPAN class="emphasisbold">Result: </SPAN>Your contaminated fluid is cleaned as specified. The output file contains the specified pseudocomponents, with the mud pseudocomponents identifed by the prepended letter M. If you selected the tuning option, your non-mud component properties are modified to fit the PVT&#160;experimental data that you provided. The fluid, minus the mud pseudocomponents, can now be used in further Multiflash calculations.</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="../../Reference/TuningModels.htm">Tuning models</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="DefiningAPetroleumFraction.htm">Defining a petroleum fraction</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/DefiningFluids/MudNumericalCleaning.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>