<?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>&#160;Stream types</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" type="text/javascript">
        </script>
        <script src="../../SkinSupport/MadCapAll.js" type="text/javascript">
        </script>
        <script src="../../SkinSupport/MadCapTopicAll.js" type="text/javascript">
        </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="kanchor30"></a><span class="span_1">Stream types</span>
        </h1>
        <p class="para">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 useful in the Multiflash GUI to be able to specify a separate composition for each stream. This method is used when creating fluids using the Same&#160;Pseudos method <a href="CharacterizingMultipleFluids.htm" class="MCXref_0">Characterizing multiple fluids</a>. It is primarily intended to support process simulation applications where different sets of components (with different models) may be present in different unit operations or sections of a flowsheet.</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">We will describe how to set up stream types in the Multiflash GUI. </p>
        <p class="para">Initially we have defined an input stream containing 4 hydrocarbons, water and MEG and supplied a composition.</p>
        <table style="width: 100%;">
            <col />
            <col />
            <tbody>
                <tr>
                    <td>Component</td>
                    <td>Composition (mol)</td>
                </tr>
                <tr>
                    <td>Methane</td>
                    <td>60</td>
                </tr>
                <tr>
                    <td>Ethane</td>
                    <td>20</td>
                </tr>
                <tr>
                    <td>Propane</td>
                    <td>5</td>
                </tr>
                <tr>
                    <td>n-Butane</td>
                    <td>1</td>
                </tr>
                <tr>
                    <td>Water</td>
                    <td>10</td>
                </tr>
                <tr>
                    <td>MEG</td>
                    <td>5</td>
                </tr>
            </tbody>
        </table>
        <p class="para">Select the default RKSA&#160;model for this mixture. This will be the default or original stream.</p>
        <p class="para">A new stream type can be created for example to use the CPA model for pure water. </p>
        <p class="para">To create a new stream type:</p>
        <ol>
            <li class="listnum" value="1">Click []  under Tools-&gt;Stream Types: <br /><img src="../../Resources/Images/StreamTypeTool.png" /><br /><br /></li>
            <li class="listnum" value="2">Click <b>+</b> button.</li>
            <li class="listnum" value="3">Enter a name for the stream type and select the components required (water only in our example)<br /><img src="../../Resources/Images/StreamTypeComponentList.png" /></li>
            <li class="listnum" value="4">Click <b>Select Model...</b>. The model normal selection dialog will appear. Select the CPA model.</li>
        </ol>
        <p><b>Result: </b>
        </p>
        <p>Two Streams appear now in the Stream Types tool:</p>
        <p>
            <img src="../../Resources/Images/2streams.png" />
        </p>
        <p class="para">The main window of Multiflash shows two streams that can be quickly selected.</p>
        <p class="para">
            <img src="../../Resources/Images/2streamsMain.png" />
        </p>
        <p class="para">When selecting the WaterStream, only water will show in the composition list, allowing to make some water properties calculations with CPA only.</p>
        <p class="para"><b>Note:</b> <![CDATA[ ]]></p>
        <p class="para">While a stream is active, some operations will only use/affect that stream:</p>
        <ul>
            <li value="1">Flash calculations</li>
            <li value="2">Phase envelope</li>
            <li value="3">Defining a model</li>
            <li value="4">add/remove components</li>
            <li value="5">Edit binary interaction parameters</li>
        </ul>
        <p>Other operations will remove all the existing streams:</p>
        <ul>
            <li value="1">Fluid characterisation</li>
            <li value="2">Fluid blending</li>
        </ul>
        <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/working_with_StreamTypes.htm" style="">Open topic with navigation</a>
        </p>
    </body>
</html>