<?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>Adding a user-defined component</title>
        <link href="../../SkinSupport/Slideshow.css" rel="stylesheet" MadCap:generated="True" />
        <link href="../../SkinSupport/MadCap.css" rel="stylesheet" MadCap:generated="True" />
        <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">Adding a user-defined component</span>
        </div>
        <h1><a name="kanchor23"></a><a name="kanchor24"></a>Adding a user-defined component</h1>
        <p class="para">You can add a user-defined component if the component that you require is not available in the databanks.</p>
        <p class="para">
            <SPAN class="emphasisbold">Note: </SPAN>A component in this context is a pure chemical compound or element. To define a <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>, see <SPAN class="Citation">Defining a petroleum fraction</SPAN>.</p>
        <p class="para">When you add a component, you must enter a minimum set of data before you can use the component in Multiflash calculations:</p>
        <ul>
            <li class="listbull" value="1">Molecular weight </li>
            <li class="listbull" value="2">Critical temperature </li>
            <li class="listbull" value="3">Critical pressure</li>
            <li class="listbull" value="4">Acentric factor</li>
            <li class="listbull" value="5">Perfect gas heat capacity. </li>
        </ul>
        <p class="para">The minimum data requirement for each model is listed in <SPAN class="Citation">Models and component data requirements</SPAN>.</p>
        <p class="para">
            <SPAN class="emphasisbold">Requirement: </SPAN>You must have  fitted the perfect gas heat capacity data for your component using one of the available equations specified in the <SPAN class="Citation">Models and Physical Properties User Guide</SPAN>, and have the equation coefficients and valid temperature range ready for entry into the component definition.</p>
        <p class="caption">To add a user-defined component:</p>
        <ol>
            <li class="listnum" value="1">
                <p>On the <SPAN class="GUI">Home </SPAN>ribbon, click <SPAN class="GUI">Components</SPAN>.</p>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../images/SelectComponentsDialog.png" MadCap:popupWidth="816" MadCap:popupHeight="538" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../images/SelectComponentsDialog_thumb_500_0.png" style="width: 500px;height: 330px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="2">
                <p>Click <SPAN class="GUI">Add custom component</SPAN>, enter the component name, and then click <SPAN class="GUI">OK</SPAN>.</p>
                <p>
                    <SPAN class="emphasisbold">Result: </SPAN>The component is added to the <SPAN class="GUI">Currently selected components </SPAN>list.</p>
            </li>
            <li class="listnum" value="3">Click <SPAN class="GUI">OK</SPAN>.</li>
            <li class="listnum" value="4">
                <p>On the <SPAN class="GUI">Home </SPAN>ribbon, click <SPAN class="GUI">Pure Component Data</SPAN>.</p>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../images/PureComponentDataUserComponentDialog.png" MadCap:popupWidth="1016" MadCap:popupHeight="538" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../images/PureComponentDataUserComponentDialog_thumb_500_0.png" style="width: 500px;height: 265px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="5">
                <p>In the row of your added component, enter values for the following properties by clicking in the appropriate cell:</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>These are the minimum required constant values. You should review the requirements for the models that you want to use and also enter any additional values that are needed.</p>
                <ul>
                    <li class="listbull" value="1">Molecular weight</li>
                    <li class="listbull" value="2">Critical temperature, T<sub>c</sub></li>
                    <li class="listbull" value="3">Critical pressure, P<sub>c</sub></li>
                    <li class="listbull" value="4">Acentric factor, ω</li>
                </ul>
            </li>
            <li class="listnum" value="6">
                <p>Click <SPAN class="GUI">Property Evaluator</SPAN>.</p>
                <p><a href="javascript:void(0);" MadCap:popupSrc="../../images/PureComponentDataPropertyEvaluatorDialog.png" MadCap:popupWidth="916" MadCap:popupHeight="453" onclick="FMCPopupThumbnail_Onclick( event, this ); return false;"><img class="MCPopupThumbnail_Thumb500_0" src="../../images/PureComponentDataPropertyEvaluatorDialog_thumb_500_0.png" style="width: 500px;height: 247px;" tabindex="" /></a>
                </p>
            </li>
            <li class="listnum" value="7">Select your added component, and then, from the <SPAN class="GUI">Property </SPAN>list, select "Perfect gas heat capacity Cp".</li>
            <li class="listnum" value="8">
                <p>Click <SPAN class="GUI">Edit</SPAN>, and then choose the equation number that you are using.</p>
                <p>
                    <SPAN class="emphasisbold">Note: </SPAN>The equation number is the number of the perfect gas heat capacity equation in the <SPAN class="Citation">Models and Physical Properties User Guide</SPAN> to which you fitted your data.</p>
            </li>
            <li class="listnum" value="9">Enter the coefficients and temperature range.</li>
            <li class="listnum" value="10">
                <p>Click <SPAN class="GUI">Commit</SPAN>.</p>
                <p>
                    <SPAN class="emphasisbold">Example: </SPAN>You  fit your perfect gas heat capacity data using the DIPPR equation 100, which is equation 5 in the <SPAN class="Citation">Models and Physical Properties User Guide</SPAN>. To enter your data, click <SPAN class="GUI">Edit</SPAN>, select 5 from the <SPAN class="GUI">Equation </SPAN>list, click in each position in the <SPAN class="GUI">Coefficients </SPAN>list to add your five fitted coefficient values, enter the minimum and maximum temperature for which your data is valid, and then click <SPAN class="GUI">Commit</SPAN>.</p>
            </li>
            <li class="listnum" value="11">If the models that you want to use require additional temperature dependent properties, enter the data for each property in the same way as for the perfect gas heat capacity.</li>
            <li class="listnum" value="12">Close the Pure component data window, and then click <SPAN class="GUI">Close</SPAN>.</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/ModelsAndComponentDataRequirements.htm">Models and component data requirements</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/AddingUserDefinedComponent.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>