<?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:InPreviewMode="false" MadCap:PreloadImages="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" lang="en-ca" xml:lang="en-ca" MadCap:conditions="Default.PossiblyDeprecated,Default.OriginalTopics" MadCap:PathToHelpSystem="../../" MadCap:HelpSystemFileName="Default.xml" MadCap:SearchType="Stem">
    <!-- saved from url=(0016)http://localhost -->
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>&#160;Stream types</title>
        <link href="../SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="../Resources/Stylesheets/mfwman.css" rel="stylesheet" />
        <script src="../SkinSupport/MadCapAll.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">Stream types</span>
        </div>
        <h1><a name="kanchor16"></a><span class="span_1">Stream types</span>
        </h1>
        <p class="para"><span class="span_1">It is possible to define a number of stream types in Multiflash. Each stream type consists of a subset of all the defined components and may be associated with its own set of models. The stream type concept is not particularly useful in the Multiflash GUI. It is primarily intended </span><span class="span_1">to support </span><span class="span_1">process simulation applications where different sets of components</span><span class="span_1"> (with different models) may be present in different unit operations or sections of a flowsheet.</span>
        </p>
        <p class="para_3">A simple example, shown in the Multiflash Excel manual, is to describe a mainly hydrocarbon stream containing some water and glycol using a cubic equation of state for&#160; high and low pressure separator flashes but to change to an activity model to look at glycol regeneration from the recombined water streams.</p>
        <p class="para"><span class="span_1">We will describe how to set up stream types in </span><span class="span_1">the </span><span class="span_1">Multiflash </span><span class="span_1">GUI</span><span class="span_1">. </span><span class="span_1">However, </span><span class="span_1">using the GUI, </span><span class="span_1">the composition of a sub-stream cannot be changed without altering the composition of the overall stream and it is difficult to </span><span class="span_1">show</span><span class="span_1"> a realistic practical applicati</span><span class="span_1">on </span><span class="span_1">in the GUI.</span>
        </p>
        <p class="para"><span class="span_1">Initially we have defined an input stream containing 4 hydrocarbons, a petro</span><span class="span_1">leum fraction, water and M</span><span class="span_1">EG and supplied a composition.</span>
        </p>
        <p class="para_3">
            <img src="../Resources/Images/mfwman/0300005C_439x317.png" style="width: 439;height: 317;" />
        </p>
        <p class="para"><span class="span_1">If you then activate the stream type selection using Select\Stream Types\Define you will be asked to define a model for your stream, in this case PRA</span><span class="span_1">. </span><span class="span_1">The format is exactly the same as the usual Select Model Set with the same options.</span>
        </p>
        <p class="para_3">
            <img src="../Resources/Images/mfwman/0300005D_370x401.png" style="width: 370;height: 401;" />
        </p>
        <p class="para"><span class="span_1">Once you have clicked on Define Model, a message box will confirm that the model has been successfully defined</span><span class="span_1">. </span><span class="span_1">Click on OK to activate the Define Stream Type text box</span><span class="span_1">.</span>
        </p>
        <p class="para_3">
            <img src="../Resources/Images/mfwman/0300005E_306x156.png" style="width: 306;height: 156;" />
        </p>
        <p class="para"><span class="span_1">We will first define a stream type called ‘Overall’ that contains all the components.</span><span class="span_1"> Enter the name, make sure the ‘All components’ option button is selected and click Define Stream Type.</span>
        </p>
        <p class="para_3">Click Close to return to the Select Models dialog.</p>
        <p class="para"><span class="span_1">A second stream can be defined the same way</span><span class="span_1">. </span><span class="span_1">This time we have selected the NRTL <span class="MCTextPopup"><a href="javascript:void(0);" class="MCTextPopupSpot_0" onclick="FMCTextPopup( event, this ); return false;">VLE<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="Collapsed" MadCap:alt2="Expanded" class="MCExpandingIcon" /></a><span class="MCTextPopupBody_0" style="display: none; ">Vapour-liquid equilibrium</span></span> model</span><span class="span_1">. Click the ‘Selected components’</span> <span class="span_1">option button, select water and MEG and enter the stream name ‘MEG’.</span></p>
        <p class="para_3">
            <img src="../Resources/Images/mfwman/0300005F_312x159.png" style="width: 312;height: 159;" />
        </p>
        <p class="para_3">Click on Define Stream Type, then Close and Close again to return to the Multiflash main window.</p>
        <p class="para"><span class="span_1">You can use the Tools/Show/Streamtypes menu item to </span><span class="span_1">display</span><span class="span_1"> the list of defined stream types.</span>
        </p>
        <p class="CodeExplained_3">show Sts;</p>
        <p class="CodeExplained_4">&#160;&#160;&#160; NO. OF STREAM TYPES&#160;&#160;&#160;&#160;&#160;&#160; 2</p>
        <p class="CodeExplained_4"> 1&#160; OVERALL</p>
        <p class="CodeExplained_5"><span class="span_1"> 2&#160; M</span><span class="span_1">EG</span>
        </p>
        <p class="para_3">If you wish to assign BIPs for this stream you do this using Tools/BIPs, Click on the model/<span class="MCExpanding"><a href="javascript:void(0);" class="MCExpandingHead_Expanding_0" onclick="FMCExpand( this ); return false;">BIP<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="Collapsed" MadCap:alt2="Expanded" class="MCExpandingIcon" /></a><span class="MCExpandingBody" style="display: none;">Binary interaction parameter</span></span> name for the stream and enter the values in the BIP grid.</p>
        <p class="para_3">If you try to define a further stream with the same name as a previous stream type you will be warned that the stream exists and asked if you wish to replace it.</p>
        <p class="para">
            <img src="../Resources/Images/mfwman/03000060.png" style="width: 384px;height: 145px;" />
        </p>
        <p class="para_3">However, you can define a further stream with the same components and model if you call it by another name.</p>
        <p class="para_3">To Delete a stream type choose the Select/Stream Type/Delete option, highlight the name of the stream to be deleted and click on Delete Stream Type.</p>
        <p class="para_3">
            <img src="../Resources/Images/mfwman/03000061_222x185.png" style="width: 222;height: 185;" />
        </p>
        <p class="para"><span class="span_1">When you wish to carry out calculations relating to a particular stream, activate that stream using Select/Stream Type</span><span class="span_1">s</span><span class="span_1">/Select Active, highlight the stream you wish to work with and Select Stream Type.</span>
        </p>
        <p class="para_3">
            <img src="../Resources/Images/mfwman/03000062_216x180.png" style="width: 216;height: 180;" />
        </p>
        <p class="para_3">You can then carry out any Multiflash calculations using that stream with its selected components and the composition defined in the drop down Composition table.</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#Using_Multiflash/Stream_types.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>