<?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 PVT Lab tests" 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>Tuning a model using the PVT lab tests</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="WorkingWithPVTLabTests.htm">Working with PVT Lab tests</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Tuning a model using the PVT lab tests</span>
        </div>
        <h1><a name="kanchor60"></a>Tuning a model using the PVT lab tests</h1>
        <p class="para">The PVT lab tests enable you to refine your chosen model and fluid <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">characterization<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 use of the information from a PVT laboratory report to construct a compositional fluid model in Multiflash.</span></span> by modifying model parameters and <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> properties to better fit experimental data, when the properties calculated for your fluid do not correspond to known or measured values for that property.</p>
        <p class="para">You should use the PVT lab tests as part of a coordinated treatment of your data to include the following steps:</p>
        <ol>
            <li class="listnum" value="1">Validate the experimental data for your test using the Sample QC function.</li>
            <li class="listnum" value="2">Simulate your experiment to see how your current model and fluid characterization predict the experimental data.</li>
            <li class="listnum" value="3">Tune your model to optimize the prediction of experimental data.</li>
        </ol>
        <p class="para">
            <SPAN class="emphasisbold">Requirements: </SPAN>
        </p>
        <ul>
            <li class="listbull" value="1">Your fluid must contain one or more petroleum fractions.</li>
            <li class="listbull" value="2">You must have entered one or more sets of experimental data into PVT lab tests.</li>
        </ul>
        <p class="caption">To tune your model:</p>
        <ol>
            <li class="listnum" value="1">
                <p>On the <SPAN class="GUI">Fluid </SPAN>ribbon, click <SPAN class="GUI">PVT Lab Tests</SPAN>.</p>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../Resources/Images/pvtlab1.png" MadCap:popupWidth="698" MadCap:popupHeight="522" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../Resources/Images/pvtlab1_thumb_500_0.png" style="width: 500px;height: 374px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="2">Check the box next to each experiment that you want to include in the tuning process.</li>
            <li class="listnum" value="3">To  prioritise your preference for fitting the data, in the <SPAN class="GUI">Weights for fitting </SPAN>area, click in each cell whose weighting you want to adjust, and enter your required value.</li>
            <li class="listnum" value="4">
                <p>To modify the default tuning options, click <MadCap:conditionalText MadCap:conditions="Default.NotSamePseudos"><SPAN class="GUI">Model&#160;Tuning&#160;</SPAN></MadCap:conditionalText><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 <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> 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="5">
                <p>Click <SPAN class="GUI">Tune Model</SPAN>.</p>
                <p>
                    <SPAN class="emphasisbold">Result: </SPAN>The model parameters are adjusted, within the ranges specified, to optimise the fit to the experimental data entered.</p>
                <p>
                    <SPAN class="emphasisbold">Tip: </SPAN>If the tuning fails, try modifying the variables adjusted and their allowed ranges, using the <SPAN class="GUI">Model Tuning Options</SPAN> button, then tune the model again.</p>
                <p>
                    <SPAN class="emphasisbold">Result: </SPAN>The displayed plots show the experimental data, and the pre-fit and post-fit simulations. The example here demonstrates that the model tuning has improved the fit to the experimental values for the oil volume formation factor. You can view all the data using the features shown 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" style="width: 87px;" />
                    <col class="TableStyle-Basic-Column-Column1" />
                    <thead>
                        <tr class="TableStyle-Basic-Head-Header1">
                            <th class="TableStyle-Basic-HeadE-Column1-Header1">Plot feature</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">Vertical axis</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Choose which parameter to plot on the graph. The available parameters vary, depending on which experiment you simulate. The horizontal axis is always pressure.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">Plots</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Select <SPAN class="GUI">Plots </SPAN>to view the plots.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyE-Column1-Body1">
                                <p class="tabledata">Table</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">Select <SPAN class="GUI">Table </SPAN>to view the experimental and simulated data points in a table. You can also view the calculated gas and liquid compositions for the simulation, at each pressure.</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">Previous Set<br />Next Set</p>
                            </td>
                            <td class="TableStyle-Basic-BodyD-Column1-Body1">
                                <p class="tabledata">If you tuned the model with more than one experiment data set, you can view the results of each set in turn by clicking <SPAN class="GUI">Next Set </SPAN>or <SPAN class="GUI">Previous Set</SPAN>. The current set is identified by the graph key at the upper right corner of the plot.</p>
                            </td>
                        </tr>
                        <tr class="TableStyle-Basic-Body-Body1">
                            <td class="TableStyle-Basic-BodyB-Column1-Body1">Model Parameters</td>
                            <td class="TableStyle-Basic-BodyA-Column1-Body1">View which pure component parameters have changed and by much .</td>
                        </tr>
                    </tbody>
                </table>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../Resources/Images/dle1.png" MadCap:popupWidth="816" MadCap:popupHeight="538" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../Resources/Images/dle1_thumb_500_0.png" style="width: 500px;height: 330px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="6"> If you want to view the modified pseudocomponent properties, click <b>Model Parameters...</b> and a dialog will appear with a report of changed properties.<br /><a href="javascript:void(0);" MadCap:popupSrc="../../Resources/Images/modeltuning1.png" MadCap:popupWidth="816" MadCap:popupHeight="538" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../Resources/Images/modeltuning1_thumb_500_0.png" style="width: 500px;height: 330px;" tabindex="" /></a></li>
            <li class="listnum" value="7">
                <p>If you are satisfied with the revised model, and want to retain the changes for further calculations, on the main Multiflash window, on the <SPAN class="GUI">File </SPAN>menu, click <SPAN class="GUI">Save</SPAN>.</p>
                <p>
                    <SPAN class="emphasisbold">Result: </SPAN>When you subsequently load the experiment file, the tuned model is used for all your calculations. The parameters stored in the component databases are not modified; all modifications are stored in the experiment file.</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="WorkingWithPVTLabTests.htm">Working with the PVT lab tests</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="EnteringPVTLabTestData.htm">Entering PVT lab test data</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="ValidatingDataUsingPVTLabTests.htm">Validating data using the PVT lab tests</a>
        </p>
        <p class="reltop" MadCap:conditions="Default.RelatedTopics">
            <img src="../../Resources/Images/rellink.gif" /><a href="SimulatingExperimentUsingPVTLabTests.htm">Simulating an experiment using the PVT lab tests</a>
        </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="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/WorkingWithPVTLabTests/TuningModelUsingPVTLabTests.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>