<?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="" 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>&#160;Specifying compositions</title>
        <link href="../SkinSupport/Slideshow.css" rel="stylesheet" />
        <link href="../SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="../Resources/Stylesheets/mfwman.css" rel="stylesheet" />
        <script src="../SkinSupport/jquery.min.js" type="text/javascript">
        </script>
        <script src="../SkinSupport/MadCapAll.js" type="text/javascript">
        </script>
        <script src="../SkinSupport/MadCapTopicAll.js" type="text/javascript">
        </script>
    </head>
    <body>
        <h1><a name="kanchor85"></a><a name="_Ref435418061"></a>Specifying compositions</h1>
        <p class="para">Component compositions can be specified or modified in three places. Normally, they will be defined in the drop down table under Compositions. However, it is possible to enter them under the PVT Lab. Fluid Analysis Form (see ”<a href="../Reference/PVTLabAnalysis.htm#_Ref438441477" class="MCXref_ParaTextOnly_0">See "PVT laboratory analysis"</a>” on page <a href="../Reference/PVTLabAnalysis.htm#_Ref438441477" class="MCXref_PageNumberOnly_0">See "PVT laboratory analysis"</a>) or to enter the composition of an inhibitor through the Inhibitor Calculator (see “<a href="USED/Inhibitor_calculator_alcohols.htm#_Ref454784783" class="MCXref_ParaTextOnly_0">See "Inhibitor calculator: alcohols/glycols"</a>” on page <a href="USED/Inhibitor_calculator_alcohols.htm#_Ref454784783" class="MCXref_PageNumberOnly_0">See "Inhibitor calculator: alcohols/glycols"</a>).</p>
        <p class="para">To specify the amount of any component in a mixture using the drop down table under Compositions activate the table by clicking on the Compositions button. The table lists the selected components and the compositions should be entered in the right-hand column, in the units shown. If the composition has been defined in a problem setup file it will appear in the table.</p>
        <p class="para">The compositions can be changed by overwriting any of the set values.</p>
        <p class="para"><a name="kanchor86"></a>In the drop down table all input units for compositions (amounts) are total amounts in either molar or mass units. There is no requirement that they sum to one or any other value. If you wish to enter mole fractions then the units should be set to <span class="span_3">mole</span>, and you must ensure that the values sum to one. Otherwise they will be totalled in moles and the fractions <span class="span_1">scaled accordingly</span><span class="span_1">. </span><span class="span_1">To enter mass fractions select a mass unit for amounts, eg. g, and enter values that sum to one.</span></p>
        <p class="para"><span class="span_1">When using the stream type option to allocate a selection of the components in the overall stream to a sub-stream the amounts of the components in that sub-stream remain those designated in the Composition drop down table</span><span class="span_1">. </span><span class="span_1">If they are altered there this will be also be reflected in the overall composition of the stream.</span>
        </p>
        <p class="para"><span class="span_1">N.B. In the Inhibitor Calculator and the PVT Analysis Forms the</span> compositions are specified as mole, mass and occasionally volume%. When specifying composition using the PVT Analysis Form you have the opportunity to normalise the compositions if they do not add up to 100%.</p>
        <p class="para">Certain criteria apply to all three ways of specifying composition, although the warning messages may differ slightly. The messages shown here are generated from the Composition drop down table.</p>
        <p class="para">You must define a non-zero amount for at least one component in a mixture for any calculation to proceed, although you may set amounts for some components in a mixture to zero in order to remove them temporarily from the mixture definition. </p>
        <p class="para">If no composition is defined, <span class="span_2">i.e. </span>all entries are set to 0, then you will be warned when activating a flash calculation, </p>
        <p class="para">
            <img src="../Resources/Images/mfwman/030000C2_392x101.png" style="width: 392;height: 101;" />
        </p>
        <p class="para">If you enter an unacceptable value, e.g., a negative amount in the composition column you will be asked to re-enter the amount once you try to activate a flash calculation or enter another input condition, for example</p>
        <p class="para_9">
            <img src="../Resources/Images/mfwman/030000C3.png" style="width: 270px;height: 119px;" />
        </p>
        <p class="para">Note that you can copy the composition of a phase from the results window and paste this into the Composition table to carry out further calculations.</p>
        <p class="page_footer">© 2013 - 2014 KBC Advanced Technologies plc. All rights reserved.</p>
        <script type="text/javascript" src="../SkinSupport/MadCapBodyEnd.js">
        </script>
        <p class="MCWebHelpFramesetLink MCWebHelpFramesetLinkBottom"><a href="../../Default_CSH.htm#mfwman/Specifying_compositions.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>