﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7030.1435"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>780daaa6-407f-484d-ac3e-ae463dd7d86a</id>
      <revision>46</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7030.1435" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="SpecialFunctions" version="1.12.7030.1435" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7030.1435" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Area Region" version="0.99.7030.1435" guid="4974b228-4974-44cf-8274-bf2936b4a766" />
      <assembly name="Writer Region" version="0.20.7042.30492" guid="5922d677-323f-4327-8c68-be902d8339ad" />
      <assembly name="EFI for SMath Studio" version="1.0.6982.32016" guid="91a20d24-c30b-4774-9b1b-4d502a80420f" />
      <assembly name="X-Y Plot Region (JXCharts)" version="0.2.6961.40414" guid="c12231ec-4873-43c1-a7d0-a167ebd17066" />
    </dependencies>
  </settings>
  <regions type="content">
    <region id="0" left="0" top="18" width="403" height="47" color="#000000" bgColor="#ffffff" fontSize="24">
      <text lang="rus">
        <p bold="true" fontName="Times New Roman">ProdeProperties Test File</p>
      </text>
    </region>
    <region id="1" left="144" top="63" width="345" height="37" color="#000000" bgColor="#ffffff" fontSize="18">
      <text lang="rus">
        <p fontName="Times New Roman">for Prode Properties ver. 1.2b</p>
      </text>
    </region>
    <region id="2" left="0" top="117" width="769" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This file may be used to insure that the Mathcad prode.dll file is in the right directory and that the functions are
 working properly.Prode Properties may be tested independent of Mathcad using the Excel version in the Prode 
directory.Examples are provided to demonstrate how the functions may be used.The process examples 
(compressor, nozzles, etc.) were based on the Excel examples included in the Prode Properties installation.</p>
      </text>
    </region>
    <region id="3" left="0" top="207" width="361" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Directions for using this worksheet</p>
      </text>
    </region>
    <region id="4" left="0" top="243" width="767" height="456" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The default archive from Prode, def.ppp, will be used as the starting file.This worksheet will write changes to a 
new archive, test.ppp.This file will be placed in the same directory as def.ppp, but the user may also later 
archive to other directories.

Operations that set a variable will show a result of 1 if successful or 0 if not.Results that retrieve values will
 show the retrieved value, or 0 if no value is available. The exceptions to this convention will be noted. 

Automatic calculation has been turned off so the new user may read these instructions before starting the 
computations.

Procedure:
Calculate the entire worksheet, ctrl-F9
Select dep.ppp archive when first window appears, and click Open
When second popup window, the Prode archive, appears, it should show stream 2.Click OK. 
Scroll through the worksheet to check for errors.See "Errors" below.
If the Prode window pops up, it is allowing you to view a recently created stream.Click OK to close.

Errors:
Mathcad will show errors in red as usual.Typical errors might be caused by syntax in the argument list, or the
 function may not be found in the library delivered by Prode, ppp.lib.
If the result is zero, then the Prode function had an error or could not return a value.Frequently, this may be 
caused by the lack of a particular phase needed for an operation.For example, solid properties can't be returned
 when a stream has no solid phase, or when the temperature is above the melting point for a pure compound 
property.
Rarely, a ppp.dll error window may appear with "Error accessing component's data archive".This appears to be 
caused by a lack of data in the chem.dat file for that particular property.If this window appears, it must be 
closed to proceed with the computations.See also the mc_defErrMsg function for a way to prevent these windows
 from stopping the calculations.The program is set to prevent these error windows.</p>
      </text>
    </region>
    <region id="5" left="0" top="747" width="218" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">File open commands</p>
      </text>
    </region>
    <region id="6" left="558" top="774" width="67" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">disabled </p>
      </text>
    </region>
    <region id="7" left="45" top="783" width="373" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math evaluate="false">
        <input>
          <e type="operand" style="string">C:\ProgramData\prode\def.ppp</e>
          <e type="function" args="1">mc_AFOpen</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="8" left="0" top="846" width="765" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This command sets the path to the archive file and directory.The path shown is the default set during the Prode
 Properties installation.This command will affect all subsequent uses of Prode on this computer until the path is 
changed again by another AFOpen command.Therefore, this command should be used with caution.</p>
      </text>
    </region>
    <region id="9" left="18" top="909" width="181" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">dummy</e>
          <e type="function" args="1">mc_AOpen</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="10" left="324" top="909" width="311" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">browse for an archive in the default directory</p>
      </text>
    </region>
    <region id="11" left="18" top="954" width="753" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>Note: Some of the Prode statements have been disabled to eliminate the repeated appearance 
of the Prode window during recalculation.</p>
      </text>
    </region>
    <region id="12" left="0" top="1026" width="759" height="44" color="#000000" bgColor="#ffffff">
      <writer lang="eng"><![CDATA[<span style="font-family: 'Arial'; font-size: 10pt; font-weight: normal; font-style: normal; color: Black; background-color: Transparent; vertical-align: baseline; text-align: left; margin-left: 0pt; text-indent: 0pt; line-height: 115%">
<div><span style="background-color: #FFFF99">The next two functions do not obey the normal Prode convention regarding the result returned if successful. A result of 0 means </span></div>
<div><span style="background-color: #FFFF99">these were successful. They must be evaluated (followed by &quot;=&quot;) in order for the operation to take place</span>.   </div></span>]]></writer>
    </region>
    <region id="13" left="45" top="1071" width="173" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">mc_setErrFlag</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="14" left="351" top="1071" width="259" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set to 0at start of calc's to clear flag</p>
      </text>
    </region>
    <region id="15" left="45" top="1098" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">wopt</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="16" left="45" top="1143" width="191" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">wopt</e>
          <e type="function" args="1">mc_defErrMsg</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="17" left="351" top="1143" width="336" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">wopt = 0 turns off the Window Dialog messages
wopt = 1 turns on the Window Dialog messages</p>
      </text>
    </region>
    <region id="18" left="0" top="1224" width="466" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Open Properties window to view edit streams</p>
      </text>
    </region>
    <region id="19" left="45" top="1251" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="20" left="45" top="1278" width="157" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math evaluate="false">
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_edS</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="21" left="351" top="1278" width="413" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">edit the given stream in the current active archive using the
 Prode window</p>
      </text>
    </region>
    <region id="22" left="45" top="1332" width="173" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math evaluate="false">
        <input>
          <e type="operand" style="string">dummy</e>
          <e type="function" args="1">mc_edSS</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="23" left="351" top="1332" width="382" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">open to the first stream (disabled for the test to reduce
popups)</p>
      </text>
    </region>
    <region id="24" left="0" top="1368" width="248" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Chemical file operations</p>
      </text>
    </region>
    <region id="25" left="45" top="1413" width="221" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">dummy</e>
          <e type="function" args="1">mc_getFCNr</e>
        </input>
        <result action="numeric">
          <e type="operand">1635</e>
        </result>
      </math>
    </region>
    <region id="26" left="351" top="1413" width="412" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">number of components in data file, should be 1635 or 
greater.If less, then you are using the free version of Prode
 and not all of the routines below will work.</p>
      </text>
    </region>
    <region id="27" left="45" top="1503" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">id</e>
          <e type="operand">7732185</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="28" left="351" top="1503" width="395" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">CAS number of water (use internet search to find values 
for compounds)</p>
      </text>
    </region>
    <region id="29" left="45" top="1548" width="500" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">compcode is an integer from 1 to number of components in the data file</p>
      </text>
    </region>
    <region id="30" left="45" top="1575" width="267" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">id</e>
          <e type="function" args="1">mc_CompCID</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1631</e>
        </result>
      </math>
    </region>
    <region id="31" left="351" top="1575" width="325" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">given id=CAS#, return compcode from database</p>
      </text>
    </region>
    <region id="32" left="45" top="1620" width="683" height="40" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Note: The above statement shows that the functions may be used to define a variable in addition to
 merely showing a result.</p>
      </text>
    </region>
    <region id="33" left="45" top="1674" width="223" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompF</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">H2O</e>
        </result>
      </math>
    </region>
    <region id="34" left="351" top="1674" width="393" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">givena component code, returns component formula string</p>
      </text>
    </region>
    <region id="35" left="45" top="1719" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompN</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">WATER</e>
        </result>
      </math>
    </region>
    <region id="36" left="351" top="1719" width="122" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">component name</p>
      </text>
    </region>
    <region id="37" left="45" top="1755" width="273" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompID</e>
        </input>
        <result action="numeric">
          <e type="operand">7.7322</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="38" left="351" top="1755" width="338" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">CAS number of component, compare to id above</p>
      </text>
    </region>
    <region id="39" left="45" top="1800" width="727" height="40" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Note: The units are not returned by the Prode commands.Operations that show which units are being used
 are shown later. </p>
      </text>
    </region>
    <region id="40" left="45" top="1836" width="247" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompMw</e>
        </input>
        <result action="numeric">
          <e type="operand">18.0153</e>
        </result>
      </math>
    </region>
    <region id="41" left="351" top="1836" width="119" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">molecular weight</p>
      </text>
    </region>
    <region id="42" left="45" top="1872" width="305" height="31" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">T.c</e>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompTc</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">647.096</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="43" left="351" top="1872" width="133" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">critical temperature</p>
      </text>
    </region>
    <region id="44" left="99" top="1899" width="170" height="30" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">T.c</e>
        </input>
        <contract>
          <e type="operand" style="unit">R</e>
        </contract>
        <result action="numeric">
          <e type="operand">64709.6008</e>
          <e type="operand" style="unit">K</e>
          <e type="operand" style="unit">s</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">T</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="45" left="351" top="1899" width="417" height="40" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">multiply the function by the current Prode units for the result
 to use the unit features of Mathcad</p>
      </text>
    </region>
    <region id="46" left="45" top="1944" width="273" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompPc</e>
        </input>
        <result action="numeric">
          <e type="operand">2.2064</e>
          <e type="operand">10</e>
          <e type="operand">7</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="47" left="459" top="1953" width="112" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">critical pressure</p>
      </text>
    </region>
    <region id="48" left="45" top="1980" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompVc</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0031</e>
        </result>
      </math>
    </region>
    <region id="49" left="459" top="1980" width="103" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">critical volume</p>
      </text>
    </region>
    <region id="50" left="45" top="2007" width="231" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompAc</e>
        </input>
        <result action="numeric">
          <e type="operand">0.344</e>
        </result>
      </math>
    </region>
    <region id="51" left="459" top="2007" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">acentric factor</p>
      </text>
    </region>
    <region id="52" left="45" top="2043" width="293" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompDm</e>
        </input>
        <result action="numeric">
          <e type="operand">6.1782</e>
          <e type="operand">10</e>
          <e type="operand">30</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="53" left="459" top="2043" width="107" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">dipole moment</p>
      </text>
    </region>
    <region id="54" left="45" top="2079" width="277" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompRg</e>
        </input>
        <result action="numeric">
          <e type="operand">6.15</e>
          <e type="operand">10</e>
          <e type="operand">11</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="55" left="459" top="2088" width="125" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">radius of gyration</p>
      </text>
    </region>
    <region id="56" left="45" top="2115" width="271" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompSol</e>
        </input>
        <result action="numeric">
          <e type="operand">1511.8849</e>
        </result>
      </math>
    </region>
    <region id="57" left="459" top="2124" width="136" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solubility parameter</p>
      </text>
    </region>
    <region id="58" left="45" top="2151" width="283" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompHf</e>
        </input>
        <result action="numeric">
          <e type="operand">13422.8364</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="59" left="459" top="2160" width="123" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">heat of formation</p>
      </text>
    </region>
    <region id="60" left="45" top="2187" width="283" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompGf</e>
        </input>
        <result action="numeric">
          <e type="operand">12698.6729</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="61" left="459" top="2187" width="182" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Gibbs energy of formation</p>
      </text>
    </region>
    <region id="62" left="45" top="2223" width="255" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompSf</e>
        </input>
        <result action="numeric">
          <e type="operand">333.4738</e>
        </result>
      </math>
    </region>
    <region id="63" left="459" top="2223" width="128" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">enthalpy of fusion</p>
      </text>
    </region>
    <region id="64" left="45" top="2268" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompNb</e>
        </input>
        <result action="numeric">
          <e type="operand">373.15</e>
        </result>
      </math>
    </region>
    <region id="65" left="459" top="2268" width="140" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">normal boiling point</p>
      </text>
    </region>
    <region id="66" left="45" top="2295" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="function" args="1">mc_CompMp</e>
        </input>
        <result action="numeric">
          <e type="operand">273.15</e>
        </result>
      </math>
    </region>
    <region id="67" left="459" top="2295" width="176" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">melting point temperature</p>
      </text>
    </region>
    <region id="68" left="45" top="2331" width="729" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The following provide non zero values only if the phase of interest is present at the temperature requested.</p>
      </text>
    </region>
    <region id="69" left="45" top="2376" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">tgl</e>
          <e type="operand">300</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="70" left="459" top="2376" width="290" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">temperature for gas/liquids (above freezing
 for water)</p>
      </text>
    </region>
    <region id="71" left="45" top="2412" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">ts</e>
          <e type="operand">260</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="72" left="459" top="2412" width="262" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">temperature for solids (below freezing)</p>
      </text>
    </region>
    <region id="73" left="45" top="2439" width="301" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompVP</e>
        </input>
        <result action="numeric">
          <e type="operand">3548.3262</e>
        </result>
      </math>
    </region>
    <region id="74" left="459" top="2448" width="212" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">saturation pressure at temp tgl</p>
      </text>
    </region>
    <region id="75" left="45" top="2475" width="293" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompHV</e>
        </input>
        <result action="numeric">
          <e type="operand">2436.313</e>
        </result>
      </math>
    </region>
    <region id="76" left="459" top="2484" width="181" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">heat of vaporization at tgl</p>
      </text>
    </region>
    <region id="77" left="45" top="2511" width="277" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompLV</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0009</e>
        </result>
      </math>
    </region>
    <region id="78" left="459" top="2520" width="145" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid viscosity at tgl</p>
      </text>
    </region>
    <region id="79" left="45" top="2547" width="323" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompGV</e>
        </input>
        <result action="numeric">
          <e type="operand">9.9253</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="80" left="459" top="2547" width="135" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas viscosity at tgl</p>
      </text>
    </region>
    <region id="81" left="45" top="2583" width="293" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompLD</e>
        </input>
        <result action="numeric">
          <e type="operand">995.4764</e>
        </result>
      </math>
    </region>
    <region id="82" left="459" top="2583" width="136" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid density at tgl</p>
      </text>
    </region>
    <region id="83" left="45" top="2619" width="285" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">ts</e>
          <e type="function" args="2">mc_CompSD</e>
        </input>
        <result action="numeric">
          <e type="operand">918.6313</e>
        </result>
      </math>
    </region>
    <region id="84" left="459" top="2619" width="129" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solid density at ts</p>
      </text>
    </region>
    <region id="85" left="45" top="2646" width="277" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompLC</e>
        </input>
        <result action="numeric">
          <e type="operand">0.6162</e>
        </result>
      </math>
    </region>
    <region id="86" left="459" top="2646" width="219" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid thermal conductivity at tgl</p>
      </text>
    </region>
    <region id="87" left="45" top="2700" width="277" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompGC</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0188</e>
        </result>
      </math>
    </region>
    <region id="88" left="459" top="2700" width="209" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas thermal conductivity at tgl</p>
      </text>
    </region>
    <region id="89" left="45" top="2736" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">ts</e>
          <e type="function" args="2">mc_CompSC</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="90" left="459" top="2736" width="297" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solid thermal conductivity at ts (appears to 
be missing for water) </p>
      </text>
    </region>
    <region id="91" left="45" top="2772" width="277" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">tgl</e>
          <e type="function" args="2">mc_CompST</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0718</e>
        </result>
      </math>
    </region>
    <region id="92" left="459" top="2772" width="150" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">surface tension at tgl</p>
      </text>
    </region>
    <region id="93" left="45" top="2808" width="633" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">integrated changes between two temperatures, t0 and t1 for pure components</p>
      </text>
    </region>
    <region id="94" left="45" top="2871" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">t0</e>
          <e type="operand">280</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="95" left="153" top="2871" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">t1</e>
          <e type="operand">290</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="96" left="45" top="2889" width="307" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">t0</e>
          <e type="operand">t1</e>
          <e type="function" args="3">mc_CompHG</e>
        </input>
        <result action="numeric">
          <e type="operand">18.6114</e>
        </result>
      </math>
    </region>
    <region id="97" left="477" top="2889" width="184" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">ideal gas enthalpy change</p>
      </text>
    </region>
    <region id="98" left="45" top="2925" width="299" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">t0</e>
          <e type="operand">t1</e>
          <e type="function" args="3">mc_CompSG</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0653</e>
        </result>
      </math>
    </region>
    <region id="99" left="477" top="2925" width="178" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">ideal gas entropy change</p>
      </text>
    </region>
    <region id="100" left="45" top="2961" width="307" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">t0</e>
          <e type="operand">t1</e>
          <e type="function" args="3">mc_CompHL</e>
        </input>
        <result action="numeric">
          <e type="operand">42.0177</e>
        </result>
      </math>
    </region>
    <region id="101" left="477" top="2961" width="194" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">ideal liquid enthalpy change</p>
      </text>
    </region>
    <region id="102" left="45" top="2997" width="299" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">t0</e>
          <e type="operand">t1</e>
          <e type="function" args="3">mc_CompSL</e>
        </input>
        <result action="numeric">
          <e type="operand">0.1474</e>
        </result>
      </math>
    </region>
    <region id="103" left="477" top="2997" width="188" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">ideal liquid entropy change</p>
      </text>
    </region>
    <region id="104" left="45" top="3033" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">ts0</e>
          <e type="operand">260</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="105" left="153" top="3033" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">ts1</e>
          <e type="operand">270</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="106" left="477" top="3033" width="289" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">lower the temperature range &lt; freezing pt</p>
      </text>
    </region>
    <region id="107" left="45" top="3078" width="323" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">ts0</e>
          <e type="operand">ts1</e>
          <e type="function" args="3">mc_CompHS</e>
        </input>
        <result action="numeric">
          <e type="operand">20.5241</e>
        </result>
      </math>
    </region>
    <region id="108" left="477" top="3078" width="190" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">ideal solid enthalpy change</p>
      </text>
    </region>
    <region id="109" left="45" top="3114" width="315" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">ts0</e>
          <e type="operand">ts1</e>
          <e type="function" args="3">mc_CompSS</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0774</e>
        </result>
      </math>
    </region>
    <region id="110" left="477" top="3114" width="184" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">ideal solid entropy change</p>
      </text>
    </region>
    <region id="111" left="0" top="3159" width="175" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Units commands</p>
      </text>
    </region>
    <region id="112" left="0" top="3195" width="693" height="24" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">See "Units of Measurement" section in Prode manual for a list of the units and their numerical codes.</p>
      </text>
    </region>
    <region id="113" left="45" top="3231" width="62" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="operand">15</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="114" left="351" top="3231" width="228" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">pressure is used for an example</p>
      </text>
    </region>
    <region id="115" left="45" top="3258" width="235" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">n_press</e>
          <e type="operand">UM</e>
          <e type="function" args="1">mc_getUMN</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">22</e>
        </result>
      </math>
    </region>
    <region id="116" left="351" top="3258" width="180" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">no. of units avail. for UM</p>
      </text>
    </region>
    <region id="117" left="45" top="3294" width="151" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="function" args="1">mc_getUMC</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="118" left="351" top="3294" width="186" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">present units code for UM</p>
      </text>
    </region>
    <region id="119" left="45" top="3339" width="199" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="function" args="1">mc_getSUMS</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Pa.a</e>
        </result>
      </math>
    </region>
    <region id="120" left="351" top="3339" width="190" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">present units string for UM</p>
      </text>
    </region>
    <region id="121" left="45" top="3366" width="62" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">sel</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="122" left="351" top="3366" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">select unit 5</p>
      </text>
    </region>
    <region id="123" left="45" top="3402" width="237" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="operand">sel</e>
          <e type="function" args="2">mc_getUMS</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">KPa.a</e>
        </result>
      </math>
    </region>
    <region id="124" left="351" top="3402" width="175" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">units string for (UM, sel)</p>
      </text>
    </region>
    <region id="125" left="45" top="3456" width="264" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">list all of the units for pressure</p>
      </text>
    </region>
    <region id="126" left="45" top="3492" width="142" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">i_</e>
          <e type="operand">1</e>
          <e type="operand">n_press</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="127" left="90" top="3546" width="242" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">P_units</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
          <e type="operand">UM</e>
          <e type="operand">i_</e>
          <e type="function" args="2">mc_getUMS</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="128" left="342" top="3564" width="199" height="405" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">P_units</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Pa.a</e>
          <e type="operand" style="string">Pa.g</e>
          <e type="operand" style="string">mbar.a</e>
          <e type="operand" style="string">mbar.g</e>
          <e type="operand" style="string">KPa.a</e>
          <e type="operand" style="string">KPa.g</e>
          <e type="operand" style="string">bar.a</e>
          <e type="operand" style="string">bar.g</e>
          <e type="operand" style="string">MPa.a</e>
          <e type="operand" style="string">MPa.g</e>
          <e type="operand" style="string">kgf/cmq.a</e>
          <e type="operand" style="string">kgf/cmq.g</e>
          <e type="operand" style="string">psi.a</e>
          <e type="operand" style="string">psi.g</e>
          <e type="operand" style="string">atm.a</e>
          <e type="operand" style="string">atm.g</e>
          <e type="operand" style="string">mmH2O.a</e>
          <e type="operand" style="string">mmH2O.g</e>
          <e type="operand" style="string">inH2O.a</e>
          <e type="operand" style="string">inH2O.g</e>
          <e type="operand" style="string">mmHG.a</e>
          <e type="operand" style="string">mmHG.g</e>
          <e type="operand">22</e>
          <e type="operand">1</e>
          <e type="function" args="24">mat</e>
        </result>
      </math>
    </region>
    <region id="129" left="45" top="3987" width="259" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getP</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">psi</e>
        </contract>
        <result action="numeric">
          <e type="operand">290.0755</e>
        </result>
      </math>
    </region>
    <region id="130" left="387" top="3987" width="365" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">multiply by current Prode pressure unit, then request 
any unit in the result</p>
      </text>
    </region>
    <region id="131" left="45" top="4023" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">sel</e>
          <e type="operand">13</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="132" left="387" top="4023" width="188" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">select a new pressure unit</p>
      </text>
    </region>
    <region id="133" left="45" top="4059" width="189" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="operand">sel</e>
          <e type="function" args="2">mc_setUMC</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="134" left="387" top="4059" width="253" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">change to the 11th unit for pressure</p>
      </text>
    </region>
    <region id="135" left="45" top="4095" width="207" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="function" args="1">mc_getSUMS</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">psi.a</e>
        </result>
      </math>
    </region>
    <region id="136" left="387" top="4095" width="220" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">show current unit name for UM</p>
      </text>
    </region>
    <region id="137" left="45" top="4131" width="267" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getP</e>
          <e type="operand" style="unit">psi</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">psi</e>
        </contract>
        <result action="numeric">
          <e type="operand">290.0804</e>
        </result>
      </math>
    </region>
    <region id="138" left="387" top="4131" width="321" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">now pressure results must be multiplied by psi</p>
      </text>
    </region>
    <region id="139" left="45" top="4176" width="171" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="operand">1</e>
          <e type="function" args="2">mc_setUMC</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="140" left="387" top="4176" width="327" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">reset to original unit for remainder of worksheet</p>
      </text>
    </region>
    <region id="141" left="45" top="4230" width="723" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Routines UMCR, UMCS, and UMAU are not fully documented in the Prode manual so they have been left
 out of the dll.</p>
      </text>
    </region>
    <region id="142" left="45" top="4275" width="143" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">UM</e>
          <e type="function" args="1">mc_UMRAU</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="143" left="387" top="4275" width="289" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">removes all added units for (property no.)</p>
      </text>
    </region>
    <region id="144" left="0" top="4320" width="212" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Error message flags</p>
      </text>
    </region>
    <region id="145" left="387" top="4329" width="325" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">last error message, maybe from a previous run</p>
      </text>
    </region>
    <region id="146" left="45" top="4365" width="477" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">
					</e>
          <e type="function" args="1">mc_ErrMsg</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Error accessing component's data archive</e>
        </result>
      </math>
    </region>
    <region id="147" left="45" top="4428" width="110" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dum</e>
          <e type="operand" style="string">dummy</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="148" left="45" top="4455" width="231" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">errflag</e>
          <e type="operand">dum</e>
          <e type="function" args="1">mc_getErrFlag</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="149" left="351" top="4455" width="225" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">0 = no errors, 1 = errors found</p>
      </text>
    </region>
    <region id="150" left="99" top="4491" width="104" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">errflag</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="151" left="351" top="4491" width="422" height="136" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This flag only works if the Window Dialog messages are 
turned off.Otherwise, the Dialog messages are themselves the
indication of errors.See mc_defErrMsg.Errors that Mathcad
detects (i.e. red indication) are not included for this flag.

At the time this test file was created, the thermal conductivity
of solid water was not available in the database, causing an 
error and a value of 1 for errflag.</p>
      </text>
    </region>
    <region id="152" left="45" top="4644" width="173" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">mc_setErrFlag</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="153" left="351" top="4644" width="293" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set to 0at start of next calc's to clear flag</p>
      </text>
    </region>
    <region id="154" left="45" top="4680" width="165" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math evaluate="false">
        <input>
          <e type="operand">0</e>
          <e type="function" args="1">mc_defErrMsg</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region id="155" left="351" top="4680" width="422" height="136" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">0 = turns off the Window Dialog messages
1 = turns on the Window Dialog messages

This function was demonstrated at start of worksheet.Turning 
off the Window Dialog messages allows the computations to 
continue without pausing to close the Dialog window when an
error occurs.The error may still be visible if a 0 value is 
returned where a real number is expected.</p>
      </text>
    </region>
    <region id="156" left="0" top="4833" width="224" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Atmospheric pressure</p>
      </text>
    </region>
    <region id="157" left="45" top="4851" width="299" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">patm</e>
          <e type="operand" style="string">mc</e>
          <e type="function" args="1">mc_getPatm</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="158" left="405" top="4851" width="221" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">the pressure shouldbe 1.013105</p>
      </text>
    </region>
    <region id="159" left="0" top="4914" width="388" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Base values for enthalpy and entropy</p>
      </text>
    </region>
    <region id="160" left="0" top="4959" width="772" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The default values for the base temperature, enthalpy, and entropy may be found in the config&gt;settings Prode 
window. The functions below may be used to change the settings. The settings apply only to the current archive. 
The settings for the archive are saved when the archive is saved.</p>
      </text>
    </region>
    <region id="161" left="45" top="5022" width="560" height="50" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">Code Procedure
1 = initial values specified by user (values of tref and val)
2 = initial values are enthalpy of formation (or entropy of formation) and temperature 25 C</p>
      </text>
    </region>
    <region id="162" left="45" top="5076" width="336" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">If code = 2, the tref and val inputs are ignored.</p>
      </text>
    </region>
    <region id="163" left="45" top="5121" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">code</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="164" left="153" top="5121" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">tref</e>
          <e type="operand">298</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="165" left="261" top="5121" width="62" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">val</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="166" left="45" top="5166" width="243" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">code</e>
          <e type="operand">tref</e>
          <e type="operand">val</e>
          <e type="function" args="3">mc_setHB</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="167" left="351" top="5166" width="137" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">enthalpy references</p>
      </text>
    </region>
    <region id="168" left="45" top="5202" width="243" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">code</e>
          <e type="operand">tref</e>
          <e type="operand">val</e>
          <e type="function" args="3">mc_setSB</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="169" left="351" top="5202" width="131" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">entropy references</p>
      </text>
    </region>
    <region id="170" left="0" top="5256" width="292" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Read/write stream properties</p>
      </text>
    </region>
    <region id="171" left="0" top="5292" width="757" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">If a write operation exists, it will appear under the read operation, using the value from the read operation.This 
simplifies the testing process.</p>
      </text>
    </region>
    <region id="172" left="0" top="5337" width="388" height="24" color="#000000" bgColor="#80ffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The write operations in this section are in blue highlight.</p>
      </text>
    </region>
    <region id="173" left="45" top="5364" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="174" left="45" top="5400" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phase</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="175" left="423" top="5400" width="273" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">the phase position (not the phase type)</p>
      </text>
    </region>
    <region id="176" left="45" top="5445" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">cpos</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="177" left="423" top="5445" width="343" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">cpos is the component's numerical position in the 
composition vector for the stream, starting with 1</p>
      </text>
    </region>
    <region id="178" left="45" top="5499" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_isSDef</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="179" left="423" top="5499" width="332" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">given a stream returns TRUE (integer = 1) if stream 
has been defined, otherwise returns FALSE (0)</p>
      </text>
    </region>
    <region id="180" left="45" top="5553" width="315" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">name</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrN</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Test Case 1</e>
        </result>
      </math>
    </region>
    <region id="181" left="423" top="5553" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">stream name</p>
      </text>
    </region>
    <region id="182" left="45" top="5589" width="213" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">name</e>
          <e type="function" args="2">mc_putN</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="183" left="45" top="5634" width="257" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">150</e>
          <e type="operand">patm</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="184" left="351" top="5634" width="409" height="40" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This is an edit operation to lower the temperature so liquid 
will be present for the functions below.</p>
      </text>
    </region>
    <region id="185" left="45" top="5688" width="209" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="unit">t</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getT</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="186" left="351" top="5688" width="90" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">temperature </p>
      </text>
    </region>
    <region id="187" left="45" top="5724" width="187" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="function" args="2">mc_putT</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="188" left="45" top="5760" width="269" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">p</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getP</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="189" left="351" top="5769" width="69" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">pressure </p>
      </text>
    </region>
    <region id="190" left="45" top="5796" width="189" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">p</e>
          <e type="function" args="2">mc_putP</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="191" left="45" top="5841" width="217" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">pnr</e>
          <e type="operand" style="string">mc</e>
          <e type="function" args="1">mc_getPNr</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">10</e>
        </result>
      </math>
    </region>
    <region id="192" left="351" top="5841" width="413" height="50" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">returns the maximum number of phases that procedure can detect 
in the archive for all streams (may include phases at other 
temperatures)</p>
      </text>
    </region>
    <region id="193" left="45" top="5922" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">phase</e>
          <e type="function" args="2">mc_StrPt</e>
        </input>
        <result action="numeric">
          <e type="operand">2</e>
        </result>
      </math>
    </region>
    <region id="194" left="351" top="5922" width="386" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">given a stream and phase # in range 1- getPNr() returns the 
phase type (0=vapor,1=liquid,2=solid)</p>
      </text>
    </region>
    <region id="195" left="45" top="5967" width="110" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">i_</e>
          <e type="operand">1</e>
          <e type="operand">pnr</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="196" left="333" top="5967" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="197" left="351" top="6021" width="407" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">given a stream and phase # in range 1- getPNr() returns a ANSI
 C string with the description of type for detected phase</p>
      </text>
    </region>
    <region id="198" left="54" top="6030" width="266" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phases</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
          <e type="operand">stream</e>
          <e type="operand">i_</e>
          <e type="function" args="2">mc_StrPts</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="199" left="99" top="6138" width="207" height="189" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phases</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Vapor</e>
          <e type="operand" style="string">Solid</e>
          <e type="operand" style="string">Solid</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand">10</e>
          <e type="operand">1</e>
          <e type="function" args="12">mat</e>
        </result>
      </math>
    </region>
    <region id="200" left="468" top="6156" width="286" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">only one liquid phase is present
later, the flash routine code will be reset 
to obtain two liquid phases</p>
      </text>
    </region>
    <region id="201" left="45" top="6354" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLf</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="202" left="468" top="6354" width="290" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">given a stream returns the total liquid fraction 
(molar basis) in stream</p>
      </text>
    </region>
    <region id="203" left="45" top="6390" width="269" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">phase</e>
          <e type="function" args="2">mc_StrPf</e>
        </input>
        <result action="numeric">
          <e type="operand">0.1456</e>
        </result>
      </math>
    </region>
    <region id="204" left="468" top="6390" width="284" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">given a stream and phase phase # in range 
1- getPNr() returns the phase fraction</p>
      </text>
    </region>
    <region id="205" left="45" top="6453" width="381" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">w</e>
          <e type="operand">stream</e>
          <e type="operand">phase</e>
          <e type="operand">cpos</e>
          <e type="function" args="3">mc_getW</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0251</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="206" left="468" top="6453" width="291" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mole fraction of component (cpos #) in a 
phase</p>
      </text>
    </region>
    <region id="207" left="45" top="6498" width="289" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">phase</e>
          <e type="operand">cpos</e>
          <e type="operand">w</e>
          <e type="function" args="4">mc_putW</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="208" left="468" top="6498" width="284" height="40" color="#000000" bgColor="#80ffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mole fraction w of component cpos in a 
phase</p>
      </text>
    </region>
    <region id="209" left="45" top="6552" width="227" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">rate</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getWm</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="210" left="468" top="6552" width="192" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">stream flow rate, mass/time</p>
      </text>
    </region>
    <region id="211" left="45" top="6588" width="221" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">rate</e>
          <e type="function" args="2">mc_setWm</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="212" left="45" top="6624" width="273" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">zi</e>
          <e type="operand">stream</e>
          <e type="operand">cpos</e>
          <e type="function" args="2">mc_getZ</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.15</e>
        </result>
      </math>
    </region>
    <region id="213" left="468" top="6624" width="284" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mole fraction of component cpos in total 
stream</p>
      </text>
    </region>
    <region id="214" left="45" top="6669" width="243" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">cpos</e>
          <e type="operand">zi</e>
          <e type="function" args="3">mc_putZ</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="215" left="45" top="6714" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getCNr</e>
        </input>
        <result action="numeric">
          <e type="operand">3</e>
        </result>
      </math>
    </region>
    <region id="216" left="468" top="6714" width="230" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">number of components in stream</p>
      </text>
    </region>
    <region id="217" left="45" top="6741" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrZv</e>
        </input>
        <result action="numeric">
          <e type="operand">0.9841</e>
        </result>
      </math>
    </region>
    <region id="218" left="468" top="6741" width="257" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">returns the relevant compressibility factor 
(gas phase)</p>
      </text>
    </region>
    <region id="219" left="45" top="6786" width="223" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrMw</e>
        </input>
        <result action="numeric">
          <e type="operand">22.9437</e>
        </result>
      </math>
    </region>
    <region id="220" left="468" top="6786" width="222" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">molecular weight of total stream</p>
      </text>
    </region>
    <region id="221" left="45" top="6822" width="231" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGMw</e>
        </input>
        <result action="numeric">
          <e type="operand">16.4078</e>
        </result>
      </math>
    </region>
    <region id="222" left="468" top="6822" width="213" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">molecular weight of gas phase</p>
      </text>
    </region>
    <region id="223" left="45" top="6849" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLMw</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="224" left="468" top="6849" width="223" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">molecular weight of liquid phase</p>
      </text>
    </region>
    <region id="225" left="45" top="6894" width="167" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrV</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="226" left="468" top="6894" width="295" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">specific volume as sum of specific volumes of 
all phases</p>
      </text>
    </region>
    <region id="227" left="0" top="6921" width="86" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">enthalpy </p>
      </text>
    </region>
    <region id="228" left="45" top="6957" width="261" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="unit">h</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrH</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">526.8941</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="229" left="405" top="6957" width="148" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">total stream enthalpy</p>
      </text>
    </region>
    <region id="230" left="45" top="6993" width="243" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGH</e>
        </input>
        <result action="numeric">
          <e type="operand">157.4136</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="231" left="405" top="6993" width="139" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas phase enthalpy</p>
      </text>
    </region>
    <region id="232" left="45" top="7029" width="251" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSGH</e>
        </input>
        <result action="numeric">
          <e type="operand">309.6676</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="233" left="405" top="7029" width="148" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas specific enthalpy</p>
      </text>
    </region>
    <region id="234" left="45" top="7065" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLH</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="235" left="405" top="7065" width="104" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid enthalpy</p>
      </text>
    </region>
    <region id="236" left="45" top="7092" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSLH</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="237" left="405" top="7092" width="158" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid specific enthalpy</p>
      </text>
    </region>
    <region id="238" left="45" top="7128" width="243" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSH</e>
        </input>
        <result action="numeric">
          <e type="operand">369.4805</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="239" left="405" top="7128" width="100" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solid enthalpy</p>
      </text>
    </region>
    <region id="240" left="45" top="7164" width="243" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSSH</e>
        </input>
        <result action="numeric">
          <e type="operand">751.482</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="241" left="405" top="7164" width="154" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solid specific enthalpy</p>
      </text>
    </region>
    <region id="242" left="0" top="7200" width="78" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">entropy </p>
      </text>
    </region>
    <region id="243" left="45" top="7236" width="295" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">entropy</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrS</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">2.5474</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="244" left="405" top="7236" width="142" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">total stream entropy</p>
      </text>
    </region>
    <region id="245" left="45" top="7272" width="227" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGS</e>
        </input>
        <result action="numeric">
          <e type="operand">0.7266</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="246" left="405" top="7272" width="133" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas phase entropy</p>
      </text>
    </region>
    <region id="247" left="45" top="7299" width="235" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSGS</e>
        </input>
        <result action="numeric">
          <e type="operand">1.4294</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="248" left="405" top="7299" width="142" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas specific entropy</p>
      </text>
    </region>
    <region id="249" left="45" top="7335" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLS</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="250" left="405" top="7335" width="98" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid entropy</p>
      </text>
    </region>
    <region id="251" left="45" top="7371" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSLS</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="252" left="405" top="7371" width="152" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid specific entropy</p>
      </text>
    </region>
    <region id="253" left="45" top="7407" width="227" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSS</e>
        </input>
        <result action="numeric">
          <e type="operand">1.8208</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="254" left="405" top="7407" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solid entropy</p>
      </text>
    </region>
    <region id="255" left="45" top="7443" width="235" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSSS</e>
        </input>
        <result action="numeric">
          <e type="operand">3.7034</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="256" left="405" top="7443" width="148" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solid specific entropy</p>
      </text>
    </region>
    <region id="257" left="0" top="7488" width="231" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">heat capacity, mass basis</p>
      </text>
    </region>
    <region id="258" left="45" top="7524" width="231" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGICp</e>
        </input>
        <result action="numeric">
          <e type="operand">2.0277</e>
        </result>
      </math>
    </region>
    <region id="259" left="405" top="7524" width="164" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">ideal gas heat capacity</p>
      </text>
    </region>
    <region id="260" left="45" top="7551" width="223" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGCp</e>
        </input>
        <result action="numeric">
          <e type="operand">2.0551</e>
        </result>
      </math>
    </region>
    <region id="261" left="405" top="7551" width="248" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas constant pressure heat capacity</p>
      </text>
    </region>
    <region id="262" left="45" top="7587" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGCv</e>
        </input>
        <result action="numeric">
          <e type="operand">1.523</e>
        </result>
      </math>
    </region>
    <region id="263" left="405" top="7587" width="239" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas constant volume heat capacity</p>
      </text>
    </region>
    <region id="264" left="45" top="7623" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLCp</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="265" left="405" top="7623" width="258" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid constant pressure heat capacity</p>
      </text>
    </region>
    <region id="266" left="45" top="7650" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLCv</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="267" left="405" top="7650" width="249" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid constant volume heat capacity</p>
      </text>
    </region>
    <region id="268" left="45" top="7686" width="207" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrSCp</e>
        </input>
        <result action="numeric">
          <e type="operand">1.36</e>
        </result>
      </math>
    </region>
    <region id="269" left="405" top="7686" width="254" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">solid constant pressure heat capacity</p>
      </text>
    </region>
    <region id="270" left="0" top="7722" width="144" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">speed of sound</p>
      </text>
    </region>
    <region id="271" left="45" top="7749" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math error="9">
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrMSS</e>
        </input>
        <result action="numeric">
          <e type="operand">#</e>
        </result>
      </math>
    </region>
    <region id="272" left="405" top="7749" width="286" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mixed phase speed of sound HEM model</p>
      </text>
    </region>
    <region id="273" left="45" top="7776" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGSS</e>
        </input>
        <result action="numeric">
          <e type="operand">266.4921</e>
        </result>
      </math>
    </region>
    <region id="274" left="405" top="7776" width="83" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas phase </p>
      </text>
    </region>
    <region id="275" left="45" top="7794" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLSS</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="276" left="405" top="7803" width="89" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid phase</p>
      </text>
    </region>
    <region id="277" left="0" top="7839" width="232" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">Joule Thomson coefficient</p>
      </text>
    </region>
    <region id="278" left="45" top="7875" width="269" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGJT</e>
        </input>
        <result action="numeric">
          <e type="operand">1.4851</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="279" left="405" top="7884" width="79" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas phase</p>
      </text>
    </region>
    <region id="280" left="45" top="7902" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLJT</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="281" left="405" top="7902" width="89" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid phase</p>
      </text>
    </region>
    <region id="282" left="0" top="7938" width="238" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">compressibility, expansivity</p>
      </text>
    </region>
    <region id="283" left="45" top="7965" width="261" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGIC</e>
        </input>
        <result action="numeric">
          <e type="operand">1.003</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="284" left="405" top="7974" width="207" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas isothermal compressibility,
1VPV</p>
      </text>
    </region>
    <region id="285" left="45" top="8019" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLIC</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="286" left="405" top="8028" width="213" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid isothermal compressibility</p>
      </text>
    </region>
    <region id="287" left="45" top="8055" width="223" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGVE</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0069</e>
        </result>
      </math>
    </region>
    <region id="288" left="405" top="8055" width="223" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas volumetric expansivity 1VTV</p>
      </text>
    </region>
    <region id="289" left="45" top="8109" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLVE</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="290" left="405" top="8109" width="185" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas volumetric expansivity </p>
      </text>
    </region>
    <region id="291" left="0" top="8181" width="76" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">density </p>
      </text>
    </region>
    <region id="292" left="45" top="8199" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGD</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3546</e>
        </result>
      </math>
    </region>
    <region id="293" left="405" top="8208" width="85" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas density</p>
      </text>
    </region>
    <region id="294" left="45" top="8235" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLD</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="295" left="405" top="8244" width="95" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid density</p>
      </text>
    </region>
    <region id="296" left="0" top="8280" width="184" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">thermal conductivity </p>
      </text>
    </region>
    <region id="297" left="45" top="8316" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGC</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0159</e>
        </result>
      </math>
    </region>
    <region id="298" left="414" top="8316" width="118" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas conductivity </p>
      </text>
    </region>
    <region id="299" left="45" top="8352" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLC</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="300" left="414" top="8352" width="128" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid conductivity </p>
      </text>
    </region>
    <region id="301" left="0" top="8388" width="88" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">viscosity </p>
      </text>
    </region>
    <region id="302" left="45" top="8406" width="261" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrGV</e>
        </input>
        <result action="numeric">
          <e type="operand">6.0897</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="303" left="414" top="8415" width="98" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas viscosity </p>
      </text>
    </region>
    <region id="304" left="45" top="8442" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrLV</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="305" left="414" top="8451" width="108" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid viscosity </p>
      </text>
    </region>
    <region id="306" left="0" top="8487" width="139" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">surface tension</p>
      </text>
    </region>
    <region id="307" left="45" top="8514" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrST</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="308" left="414" top="8514" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid/gas</p>
      </text>
    </region>
    <region id="309" left="0" top="8559" width="114" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">flammability </p>
      </text>
    </region>
    <region id="310" left="45" top="8595" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrFML</e>
        </input>
        <result action="numeric">
          <e type="operand">4.995</e>
        </result>
      </math>
    </region>
    <region id="311" left="414" top="8595" width="145" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas phase lean limit</p>
      </text>
    </region>
    <region id="312" left="45" top="8622" width="231" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrFMH</e>
        </input>
        <result action="numeric">
          <e type="operand">15.0622</e>
        </result>
      </math>
    </region>
    <region id="313" left="414" top="8622" width="141" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas phase rich limit</p>
      </text>
    </region>
    <region id="314" left="0" top="8676" width="208" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">other stream properties</p>
      </text>
    </region>
    <region id="315" left="45" top="8703" width="247" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrHC</e>
        </input>
        <result action="numeric">
          <e type="operand">48365.4562</e>
        </result>
      </math>
    </region>
    <region id="316" left="414" top="8712" width="211" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas phase heat of combustion</p>
      </text>
    </region>
    <region id="317" left="45" top="8748" width="321" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">compcode</e>
          <e type="operand">stream</e>
          <e type="operand">cpos</e>
          <e type="function" args="2">mc_getCC</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">594</e>
        </result>
      </math>
    </region>
    <region id="318" left="414" top="8748" width="288" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">component number for component = cpos</p>
      </text>
    </region>
    <region id="319" left="45" top="8784" width="299" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">cpos</e>
          <e type="operand">compcode</e>
          <e type="function" args="3">mc_putCC</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="320" left="45" top="8820" width="205" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">dummy</e>
          <e type="function" args="1">mc_getMCNr</e>
        </input>
        <result action="numeric">
          <e type="operand">50</e>
        </result>
      </math>
    </region>
    <region id="321" left="414" top="8820" width="283" height="22" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">maximum number of components in a stream</p>
      </text>
    </region>
    <region id="322" left="0" top="8847" width="111" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">interactions </p>
      </text>
    </region>
    <region id="323" left="45" top="8874" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">int_pos</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="324" left="423" top="8874" width="325" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">the interaction number (i.e. the row in the BIP 
window for the stream) </p>
      </text>
    </region>
    <region id="325" left="45" top="8910" width="221" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string">dummy</e>
          <e type="function" args="1">mc_getMBPNr</e>
        </input>
        <result action="numeric">
          <e type="operand">250</e>
        </result>
      </math>
    </region>
    <region id="326" left="423" top="8910" width="317" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">maximum number of binary pairs in a stream 
(for all streams)</p>
      </text>
    </region>
    <region id="327" left="45" top="8955" width="281" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">ci</e>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="function" args="2">mc_getCi</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="328" left="423" top="8955" width="247" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">component index i in interaction list</p>
      </text>
    </region>
    <region id="329" left="45" top="8982" width="275" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="operand">ci</e>
          <e type="function" args="3">mc_putCi</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="330" left="45" top="9054" width="281" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">cj</e>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="function" args="2">mc_getCj</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">2</e>
        </result>
      </math>
    </region>
    <region id="331" left="423" top="9054" width="247" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">component index j in interaction list</p>
      </text>
    </region>
    <region id="332" left="45" top="9090" width="275" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="operand">cj</e>
          <e type="function" args="3">mc_putCj</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="333" left="45" top="9135" width="313" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">model</e>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="function" args="2">mc_getMB</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">50</e>
        </result>
      </math>
    </region>
    <region id="334" left="423" top="9135" width="341" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">returns model number for interaction # int_pos in 
given stream</p>
      </text>
    </region>
    <region id="335" left="45" top="9198" width="299" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="operand">model</e>
          <e type="function" args="3">mc_putMB</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="336" left="423" top="9198" width="330" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">sets the model number for a given stream and 
interaction number, int_pos</p>
      </text>
    </region>
    <region id="337" left="45" top="9261" width="54" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">id</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="338" left="351" top="9261" width="413" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This id is the BIP column (starting with 0 for BIP-1) shown 
in the PPP window under BIPs for the stream. </p>
      </text>
    </region>
    <region id="339" left="45" top="9333" width="367" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Kji</e>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="operand">id</e>
          <e type="function" args="3">mc_getBIP</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.1183</e>
        </result>
      </math>
    </region>
    <region id="340" left="459" top="9333" width="236" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">value of the interaction coefficient </p>
      </text>
    </region>
    <region id="341" left="45" top="9378" width="321" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">int_pos</e>
          <e type="operand">id</e>
          <e type="operand">Kji</e>
          <e type="function" args="4">mc_putBIP</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="342" left="459" top="9378" width="310" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">specifies a value for an interaction coefficient</p>
      </text>
    </region>
    <region id="343" left="0" top="9423" width="309" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">thermodynamic models for streams</p>
      </text>
    </region>
    <region id="344" left="45" top="9468" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="345" left="45" top="9504" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Kcode</e>
          <e type="operand">50</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="346" left="351" top="9504" width="383" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">code for SRK standard model package, see manual for 
other package numbers</p>
      </text>
    </region>
    <region id="347" left="45" top="9549" width="229" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">Kcode</e>
          <e type="function" args="2">mc_setKM</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="348" left="45" top="9585" width="207" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mp codes for functions below</p>
      </text>
    </region>
    <region id="349" left="45" top="9612" width="106" height="104" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">1fugacity
2enthalpy
3entropy
4molar volume
5viscosity
</p>
      </text>
    </region>
    <region id="350" left="45" top="9702" width="342" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Examples for fugacity and enthalpy models below:</p>
      </text>
    </region>
    <region id="351" left="45" top="9738" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">state</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="352" left="513" top="9738" width="84" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">vapor state</p>
      </text>
    </region>
    <region id="353" left="45" top="9774" width="54" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">mp</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="354" left="513" top="9783" width="224" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">fugacity model for stream, state </p>
      </text>
    </region>
    <region id="355" left="45" top="9810" width="335" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">fmodel</e>
          <e type="operand">stream</e>
          <e type="operand">mp</e>
          <e type="operand">state</e>
          <e type="function" args="3">mc_getMP</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">50</e>
        </result>
      </math>
    </region>
    <region id="356" left="513" top="9810" width="158" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">retrieve model number</p>
      </text>
    </region>
    <region id="357" left="45" top="9855" width="321" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">mp</e>
          <e type="operand">fmodel</e>
          <e type="operand">state</e>
          <e type="function" args="4">mc_setMP</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="358" left="513" top="9855" width="130" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set model number</p>
      </text>
    </region>
    <region id="359" left="45" top="9900" width="54" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">mp</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="360" left="513" top="9900" width="225" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">enthalpy model for stream, state</p>
      </text>
    </region>
    <region id="361" left="45" top="9936" width="335" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">hmodel</e>
          <e type="operand">stream</e>
          <e type="operand">mp</e>
          <e type="operand">state</e>
          <e type="function" args="3">mc_getMP</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">50</e>
        </result>
      </math>
    </region>
    <region id="362" left="513" top="9936" width="158" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">retrieve model number</p>
      </text>
    </region>
    <region id="363" left="45" top="9990" width="321" height="26" color="#000000" bgColor="#80ffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">mp</e>
          <e type="operand">hmodel</e>
          <e type="operand">state</e>
          <e type="function" args="4">mc_setMP</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="364" left="513" top="9990" width="130" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set model number</p>
      </text>
    </region>
    <region id="365" left="0" top="10035" width="285" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Thermodynamic calculations</p>
      </text>
    </region>
    <region id="366" left="45" top="10071" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="367" left="513" top="10071" width="235" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">use stream 5 for examples below</p>
      </text>
    </region>
    <region id="368" left="198" top="10089" width="130" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">p</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="369" left="45" top="10098" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="unit">t</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="370" left="45" top="10125" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">state</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="371" left="513" top="10125" width="223" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">state (0=vapor, 1=liquid, 2=solid)</p>
      </text>
    </region>
    <region id="372" left="0" top="10224" width="143" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">phase equilibria</p>
      </text>
    </region>
    <region id="373" left="45" top="10251" width="46" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="374" left="198" top="10251" width="62" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">pf</e>
          <e type="operand">.3</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="375" left="513" top="10251" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">see below</p>
      </text>
    </region>
    <region id="376" left="45" top="10287" width="343" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">p</e>
          <e type="operand">pf</e>
          <e type="operand">state</e>
          <e type="operand">n</e>
          <e type="function" args="5">mc_PfPF</e>
        </input>
        <result action="numeric">
          <e type="operand">290.766</e>
        </result>
      </math>
    </region>
    <region id="377" left="513" top="10287" width="223" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">n th equilibrium temp at p, pf 
(phase fraction), state (0=vapor, 
1=liquid, 2=solid)</p>
      </text>
    </region>
    <region id="378" left="45" top="10359" width="293" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">pf</e>
          <e type="operand">state</e>
          <e type="operand">n</e>
          <e type="function" args="5">mc_PfTF</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="379" left="441" top="10359" width="218" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">n th equil. press at t, pf, state</p>
      </text>
    </region>
    <region id="380" left="45" top="10386" width="62" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">lf</e>
          <e type="operand">.2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="381" left="441" top="10386" width="123" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set liquid fraction</p>
      </text>
    </region>
    <region id="382" left="45" top="10422" width="275" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">p</e>
          <e type="operand">lf</e>
          <e type="function" args="3">mc_LfPF</e>
        </input>
        <result action="numeric">
          <e type="operand">299.6111</e>
        </result>
      </math>
    </region>
    <region id="383" left="441" top="10422" width="244" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">first equil. temp at liquid fraction, lf</p>
      </text>
    </region>
    <region id="384" left="45" top="10467" width="217" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">lf</e>
          <e type="function" args="3">mc_LfTF</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="385" left="441" top="10467" width="267" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">first equil. pressure at liquid fraction, lf</p>
      </text>
    </region>
    <region id="386" left="45" top="10503" width="191" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrCPnr</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="387" left="441" top="10503" width="212" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">number of critical points found</p>
      </text>
    </region>
    <region id="388" left="45" top="10539" width="62" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">cpn</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="389" left="441" top="10539" width="148" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">selected critical point</p>
      </text>
    </region>
    <region id="390" left="45" top="10566" width="287" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">cpn</e>
          <e type="function" args="2">mc_StrPc</e>
        </input>
        <result action="numeric">
          <e type="operand">4.6926</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="391" left="441" top="10575" width="270" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">critical pressure for critical point #, cpn</p>
      </text>
    </region>
    <region id="392" left="45" top="10602" width="257" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrCBp</e>
        </input>
        <result action="numeric">
          <e type="operand">4.6934</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="393" left="441" top="10602" width="154" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">cricondenBar pressure</p>
      </text>
    </region>
    <region id="394" left="45" top="10638" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrCBt</e>
        </input>
        <result action="numeric">
          <e type="operand">444.1406</e>
        </result>
      </math>
    </region>
    <region id="395" left="441" top="10638" width="175" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">cricondenBar temperature</p>
      </text>
    </region>
    <region id="396" left="45" top="10665" width="257" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrCTp</e>
        </input>
        <result action="numeric">
          <e type="operand">4.4361</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="397" left="441" top="10674" width="172" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">cricondenTherm pressure</p>
      </text>
    </region>
    <region id="398" left="45" top="10719" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrCTt</e>
        </input>
        <result action="numeric">
          <e type="operand">446.9182</e>
        </result>
      </math>
    </region>
    <region id="399" left="441" top="10719" width="193" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">cricondenTherm temperature</p>
      </text>
    </region>
    <region id="400" left="45" top="10764" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrAc</e>
        </input>
        <result action="numeric">
          <e type="operand">0.2077</e>
        </result>
      </math>
    </region>
    <region id="401" left="441" top="10764" width="259" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">acentric factor (mole fraction average)</p>
      </text>
    </region>
    <region id="402" left="45" top="10809" width="136" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">phase diagrams</p>
      </text>
    </region>
    <region id="403" left="45" top="10845" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="404" left="45" top="10872" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">lnr</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_PELNr</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="405" left="351" top="10872" width="386" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">Given a stream calculates the phase diagram and returns the 
number of equilibrium lines available</p>
      </text>
    </region>
    <region id="406" left="99" top="10917" width="72" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">lnr</e>
        </input>
        <result action="numeric">
          <e type="operand">2</e>
        </result>
      </math>
    </region>
    <region id="407" left="45" top="10962" width="80" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p bold="true" fontName="Arial">line types</p>
      </text>
    </region>
    <region id="408" left="45" top="10989" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">line</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="409" left="45" top="11025" width="237" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">ltype</e>
          <e type="operand">stream</e>
          <e type="operand">line</e>
          <e type="function" args="2">mc_PELT</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="410" left="351" top="11025" width="377" height="88" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Given a stream and line number, returns the line type:
bubble line
dew line
three phase line
fractional phase</p>
      </text>
    </region>
    <region id="411" left="90" top="11097" width="88" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">ltype</e>
        </input>
        <result action="numeric">
          <e type="operand">2</e>
        </result>
      </math>
    </region>
    <region id="412" left="45" top="11241" width="111" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p bold="true" fontName="Arial">line properties</p>
      </text>
    </region>
    <region id="413" left="45" top="11277" width="237" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">lprop</e>
          <e type="operand">stream</e>
          <e type="operand">line</e>
          <e type="function" args="2">mc_PELP</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="414" left="351" top="11277" width="358" height="104" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Given a stream and line, returns the line properties:
vapor-liquid
vapor-liquid-liquid
vapor-solid
liquid-solid
fractional phase</p>
      </text>
    </region>
    <region id="415" left="99" top="11394" width="88" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">lprop</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="416" left="45" top="11430" width="125" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p bold="true" fontName="Arial">equilibrium lines</p>
      </text>
    </region>
    <region id="417" left="45" top="11448" width="705" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The prode.dll has assumed a maximum number of points of 50 for the equilibrium lines.This dimension 
cannot be changed dynamically for the variables passed to and from Mathcad.Therefore, the mc_PELine 
routine leaves out the maxpt variable that is shown in the Prode corresponding routine.</p>
      </text>
    </region>
    <region id="418" left="45" top="11529" width="706" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The mc_PELine function (see the first line in the program below) produces a matrix result.Although this 
matrix can be used "as is" the Mathcad program, "PELine" below calls mc_PELine and splits the matrix 
into the separate variables.</p>
      </text>
    </region>
    <region id="419" left="234" top="11619" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
        </input>
        <result action="numeric">
          <e type="operand">5</e>
        </result>
      </math>
    </region>
    <region id="420" left="72" top="11691" width="471" height="117" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">streamx</e>
          <e type="operand">linex</e>
          <e type="function" args="2">PELine</e>
          <e type="operand">M</e>
          <e type="operand">streamx</e>
          <e type="operand">linex</e>
          <e type="function" args="2">mc_PELine</e>
          <e type="operator" args="2">:</e>
          <e type="operand">npts</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Te</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">npts</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="5">submatrix</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Pr</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">npts</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="5">submatrix</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Te</e>
          <e type="operand">Pr</e>
          <e type="operand">npts</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="421" left="0" top="11835" width="758" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Given stream and equilibrium line number, the temperature and pressure vectors and the total number of points 
are computed and returned.</p>
      </text>
    </region>
    <region id="422" left="45" top="11889" width="196" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The output is shown below.</p>
      </text>
    </region>
    <region id="423" left="45" top="11925" width="294" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">T1</e>
          <e type="operand">P1</e>
          <e type="operand">npts1</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">stream</e>
          <e type="operand">line</e>
          <e type="function" args="2">PELine</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="424" left="360" top="11943" width="147" height="291" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,15">
        <input>
          <e type="operand">T1</e>
        </input>
        <result action="numeric">
          <e type="operand">311.1738</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">316.4703</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">322.564</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">327.6265</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">332.689</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">337.7515</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">342.814</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">347.8765</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">356.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">361.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">366.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">371.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">376.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">381.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">386.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">15</e>
          <e type="operand">1</e>
          <e type="function" args="17">mat</e>
        </result>
      </math>
    </region>
    <region id="425" left="540" top="11952" width="191" height="291" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,6">
        <input>
          <e type="operand">P1</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.2358</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.5389</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.8338</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2.1723</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">2.559</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">6</e>
          <e type="operand">1</e>
          <e type="function" args="8">mat</e>
        </result>
      </math>
    </region>
    <region id="426" left="126" top="11988" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">npts1</e>
        </input>
        <result action="numeric">
          <e type="operand">31</e>
        </result>
      </math>
    </region>
    <region id="427" left="45" top="12276" width="149" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p bold="true" fontName="Arial">phase fraction lines</p>
      </text>
    </region>
    <region id="428" left="45" top="12303" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="429" left="45" top="12321" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">state</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="430" left="45" top="12348" width="110" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">fraction</e>
          <e type="operand">.5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="431" left="54" top="12393" width="579" height="117" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">state</e>
          <e type="operand">fraction</e>
          <e type="function" args="3">PFLine</e>
          <e type="operand">M</e>
          <e type="operand">stream</e>
          <e type="operand">state</e>
          <e type="operand">fraction</e>
          <e type="function" args="3">mc_PFLine</e>
          <e type="operator" args="2">:</e>
          <e type="operand">npts</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="3">el</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Tem</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">npts</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="5">submatrix</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Pr</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">npts</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="5">submatrix</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
          <e type="operand">Tem</e>
          <e type="operand">Pr</e>
          <e type="operand">npts</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="432" left="0" top="12537" width="762" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Given stream, state, and fraction of that state, computes the temperature and pressure vectors along that phase 
ction, plus the number of points on the curve.</p>
      </text>
    </region>
    <region id="433" left="45" top="12591" width="356" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">Tf</e>
          <e type="operand">Pf</e>
          <e type="operand">nf</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">stream</e>
          <e type="operand">state</e>
          <e type="operand">fraction</e>
          <e type="function" args="3">PFLine</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="434" left="81" top="12618" width="72" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">nf</e>
        </input>
        <result action="numeric">
          <e type="operand">35</e>
        </result>
      </math>
    </region>
    <region id="435" left="45" top="12663" width="147" height="255" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,13">
        <input>
          <e type="operand">Tf</e>
        </input>
        <result action="numeric">
          <e type="operand">270.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">275.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">280.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">285.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">290.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">295.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">300.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">305.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">310.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">315.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">320.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">325.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">330.8829</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">13</e>
          <e type="operand">1</e>
          <e type="function" args="15">mat</e>
        </result>
      </math>
    </region>
    <region id="436" left="351" top="12663" width="191" height="246" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,5">
        <input>
          <e type="operand">Pf</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.2093</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.4338</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.6895</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.9791</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">5</e>
          <e type="operand">1</e>
          <e type="function" args="7">mat</e>
        </result>
      </math>
    </region>
    <region id="437" left="54" top="12933" width="189" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">linef</e>
          <e type="operand">Tf</e>
          <e type="operand">Pf</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="438" left="54" top="12969" width="219" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">lnr</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_PELNr</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">2</e>
        </result>
      </math>
    </region>
    <region id="439" left="486" top="12987" width="263" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>The lnr statement and the code 
on the left replaces
the PhaseEnv program in the 
Mathcad version of this file.</p>
      </text>
    </region>
    <region id="440" left="54" top="13005" width="406" height="142" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">line</e>
          <e type="operand">1</e>
          <e type="operand">lnr</e>
          <e type="function" args="2">range</e>
          <e type="operand">Tl</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="operand">Pl</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="operand">nl</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
          <e type="operand">stream</e>
          <e type="operand">line</e>
          <e type="function" args="2">PELine</e>
          <e type="operator" args="2">:</e>
          <e type="operand">typel</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="operand">stream</e>
          <e type="operand">line</e>
          <e type="function" args="2">mc_PELT</e>
          <e type="operator" args="2">:</e>
          <e type="operand">propl</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="operand">stream</e>
          <e type="operand">line</e>
          <e type="function" args="2">mc_PELP</e>
          <e type="operator" args="2">:</e>
          <e type="operand">linexy</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="operand">Tl</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="operand">Pl</e>
          <e type="operand">line</e>
          <e type="function" args="2">el</e>
          <e type="function" args="2">augment</e>
          <e type="operator" args="2">:</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">sys</e>
          <e type="function" args="3">for</e>
        </input>
      </math>
    </region>
    <region id="441" left="18" top="13293" width="158" height="183" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,9">
        <input>
          <e type="operand">Tl</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">232.9657</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">238.599</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">244.6927</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">252.2865</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">259.8802</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">267.474</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">272.474</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">277.474</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">282.474</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">9</e>
          <e type="operand">1</e>
          <e type="function" args="11">mat</e>
        </result>
      </math>
    </region>
    <region id="442" left="180" top="13293" width="202" height="201" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,4">
        <input>
          <e type="operand">Pl</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.2342</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.5124</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.9221</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region id="443" left="387" top="13293" width="158" height="201" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,10">
        <input>
          <e type="operand">Tl</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">311.1738</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">316.4703</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">322.564</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">327.6265</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">332.689</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">337.7515</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">342.814</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">347.8765</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">356.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">361.6734</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand">10</e>
          <e type="operand">1</e>
          <e type="function" args="12">mat</e>
        </result>
      </math>
    </region>
    <region id="444" left="558" top="13293" width="202" height="201" color="#000000" bgColor="#ffffff" fontSize="10">
      <math matrixOptions="0,0,1,4">
        <input>
          <e type="operand">Pl</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.2358</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.5389</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.8338</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">mat</e>
        </result>
      </math>
    </region>
    <region id="445" left="9" top="13527" width="747" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">As shown in the nc vector, the lines may have different number of points.In order to prevent curves returning 
to the origin, extract the data from Tj and Pj.</p>
      </text>
    </region>
    <region id="446" left="72" top="13581" width="628" height="417" color="#000000" bgColor="#ffffff" fontSize="10">
      <xyplot width="618" height="409" points="100">
        <propertiessource index="1" sourcetype="PropertyGrid" />
        <grid gridcolor="LightGray" gridpattern="Dash" gridthickness="1" isxgrid="true" isygrid="true" />
        <xaxes xmin="177.8519" xmax="675.1044" xtick="100" decimalplaces="3" numberformat="General" />
        <yaxes ymin="-69458.68" ymax="4900778" ytick="1000000" decimalplaces="3" numberformat="Exponential" />
        <y2axes isy2axis="false" y2min="-1" y2max="1" y2tick="0.5" decimalplaces="3" numberformat="General" />
        <title2d title="A Phase Envelope" titlefont="Arial, 10pt" titlefontcolor="Black" />
        <xylabel labelfont="Arial, 10pt" labelfontcolor="Black" tickfont="Arial, 8pt" tickfontcolor="Black" xlabel="x" ylabel="y" y2label="y2" />
        <legend isbordervisible="true" islegendvisible="true" legendbackcolor="White" legendbordercolor="Black" legendfont="Arial, 8pt" legendposition="NorthEast" textcolor="Black" />
        <traces>
          <trace seriesname="Bubble Line" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="false" linecolor="Red" linethickness="2" linepattern="Solid" symbolantialias="false" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="Dew Line" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="false" linecolor="Blue" linethickness="2" linepattern="Solid" symbolantialias="false" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
          <trace seriesname="Fraction (.5) line" isy2data="false" isvisible="true" plotmethod="Lines" lineantialias="false" linecolor="Green" linethickness="2" linepattern="Solid" symbolantialias="false" symbolsize="8" symboltype="None" symbolborderthickness="1" symbolbordercolor="Black" symbolfillcolor="White" />
        </traces>
        <input>
          <e type="operand">linexy</e>
          <e type="operand">1</e>
          <e type="function" args="2">el</e>
          <e type="operand">linexy</e>
          <e type="operand">2</e>
          <e type="function" args="2">el</e>
          <e type="operand">linef</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">sys</e>
        </input>
      </xyplot>
    </region>
    <region id="447" left="45" top="14076" width="699" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The PELine and PFLine programs and the code for the phase envelope curves may be copied into or 
referenced by other programs.</p>
      </text>
    </region>
    <region id="448" left="0" top="14139" width="87" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">hydrates </p>
      </text>
    </region>
    <region id="449" left="45" top="14166" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">hydmodel</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="450" left="180" top="14166" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">thyd</e>
          <e type="operand">260</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="451" left="45" top="14193" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">str_hyd</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="452" left="351" top="14193" width="232" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">stream for hydrate function below</p>
      </text>
    </region>
    <region id="453" left="45" top="14229" width="556" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">hydmodel = 
1 = assume free water present, this option produces conservative but safe values
2 = calculate amount of water in liquid phase
3 = solve as multiphase equilibria, solve phase equilibria including solids as ice</p>
      </text>
    </region>
    <region id="454" left="45" top="14319" width="665" height="24" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Since water is not present in the stream chosen for testing, the 2 and 3 hydmodels will return 0.</p>
      </text>
    </region>
    <region id="455" left="45" top="14346" width="367" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phyd</e>
          <e type="operand">str_hyd</e>
          <e type="operand">thyd</e>
          <e type="operand">hydmodel</e>
          <e type="function" args="3">mc_HPFORM</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="456" left="432" top="14346" width="293" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">returns the pressure that hydrates form at 
temperature = thyd</p>
      </text>
    </region>
    <region id="457" left="45" top="14418" width="731" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The HTFORM Prode function is not available in the Basic version, but the HPFORM function should suffice.</p>
      </text>
    </region>
    <region id="458" left="0" top="14463" width="75" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p bold="true" italic="true" fontName="Arial">flashes </p>
      </text>
    </region>
    <region id="459" left="45" top="14499" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
        </input>
        <result action="numeric">
          <e type="operand">5</e>
        </result>
      </math>
    </region>
    <region id="460" left="45" top="14526" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_setSOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="461" left="423" top="14526" width="191" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">flash at standard conditions</p>
      </text>
    </region>
    <region id="462" left="45" top="14553" width="54" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">et</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="463" left="423" top="14562" width="305" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">estimated temperature set to 0 for automatic</p>
      </text>
    </region>
    <region id="464" left="45" top="14607" width="54" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">ep</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="465" left="423" top="14607" width="284" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">estimated pressure set to 0 for automatic</p>
      </text>
    </region>
    <region id="466" left="45" top="14643" width="257" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">150</e>
          <e type="operand">patm</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="467" left="423" top="14643" width="266" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set new operating conditions and flash</p>
      </text>
    </region>
    <region id="468" left="45" top="14679" width="209" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="unit">t</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getT</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="469" left="423" top="14679" width="90" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">temperature </p>
      </text>
    </region>
    <region id="470" left="45" top="14706" width="269" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">p</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getP</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="471" left="423" top="14715" width="69" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">pressure </p>
      </text>
    </region>
    <region id="472" left="45" top="14760" width="261" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="unit">h</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrH</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">811.9593</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="473" left="423" top="14760" width="170" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">enthalpy obtained above</p>
      </text>
    </region>
    <region id="474" left="45" top="14796" width="287" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">entropy</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrS</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">3.281</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="475" left="423" top="14796" width="164" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">entropy obtained above</p>
      </text>
    </region>
    <region id="476" left="45" top="14823" width="243" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">sv</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_StrV</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0014</e>
        </result>
      </math>
    </region>
    <region id="477" left="423" top="14832" width="162" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">volume obtained above</p>
      </text>
    </region>
    <region id="478" left="45" top="14868" width="138" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">find temperature</p>
      </text>
    </region>
    <region id="479" left="45" top="14904" width="257" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">p</e>
          <e type="operand">sv</e>
          <e type="operand">et</e>
          <e type="function" args="4">mc_VPF</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="480" left="423" top="14904" width="258" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">volume-pressure flash, et=temp guess</p>
      </text>
    </region>
    <region id="481" left="45" top="14949" width="247" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">p</e>
          <e type="operand" style="unit">h</e>
          <e type="operand">et</e>
          <e type="function" args="4">mc_HPF</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="482" left="423" top="14949" width="266" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">enthalpy-pressure flash, et=temp guess</p>
      </text>
    </region>
    <region id="483" left="45" top="14985" width="297" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">p</e>
          <e type="operand">entropy</e>
          <e type="operand">et</e>
          <e type="function" args="4">mc_SPF</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="484" left="423" top="14985" width="260" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">entropy-pressure flash, et=temp guess</p>
      </text>
    </region>
    <region id="485" left="45" top="15021" width="113" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">find pressure</p>
      </text>
    </region>
    <region id="486" left="45" top="15057" width="239" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">sv</e>
          <e type="operand">ep</e>
          <e type="function" args="4">mc_VTF</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="487" left="423" top="15057" width="242" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">volume-temp flash, ep=press guess</p>
      </text>
    </region>
    <region id="488" left="45" top="15084" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand" style="unit">h</e>
          <e type="operand">ep</e>
          <e type="function" args="4">mc_HTF</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="489" left="423" top="15084" width="250" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">enthalpy-temp flash, ep=press guess</p>
      </text>
    </region>
    <region id="490" left="45" top="15120" width="279" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">entropy</e>
          <e type="operand">ep</e>
          <e type="function" args="4">mc_STF</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="491" left="423" top="15120" width="244" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">entropy-temp flash, ep=press guess</p>
      </text>
    </region>
    <region id="492" left="45" top="15156" width="693" height="40" color="#000000" bgColor="#ffff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The flashes that determine pressure have some difficulty converging for multiphase (liquids and solids) 
problems.Select another flash routine and iterate if needed.</p>
      </text>
    </region>
    <region id="493" left="0" top="15327" width="515" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Extended methods for accessing stream properties</p>
      </text>
    </region>
    <region id="494" left="0" top="15354" width="757" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">These functions allow simultaneous setting of temperature and pressure followed by an isothermal flash before 
the desired property is returned.These methods should be used with care because of the change in the stream 
conditions.</p>
      </text>
    </region>
    <region id="495" left="45" top="15417" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="496" left="45" top="15444" width="281" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGMw</e>
        </input>
        <result action="numeric">
          <e type="operand">16.0474</e>
        </result>
      </math>
    </region>
    <region id="497" left="468" top="15444" width="149" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas molecular weight</p>
      </text>
    </region>
    <region id="498" left="45" top="15480" width="281" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLMw</e>
        </input>
        <result action="numeric">
          <e type="operand">55.7928</e>
        </result>
      </math>
    </region>
    <region id="499" left="468" top="15480" width="159" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid molecular weight</p>
      </text>
    </region>
    <region id="500" left="45" top="15507" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLf</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0009</e>
        </result>
      </math>
    </region>
    <region id="501" left="468" top="15516" width="154" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mole fraction of liquid</p>
      </text>
    </region>
    <region id="502" left="45" top="15552" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phase</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="503" left="468" top="15552" width="284" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">position of phase, not the state code.
positions are usually vapor=1, liquid=2, 
solid=3 but extra liquid and solid phases 
may be present</p>
      </text>
    </region>
    <region id="504" left="45" top="15624" width="319" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">phase</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="4">mc_EStrPf</e>
        </input>
        <result action="numeric">
          <e type="operand">0.9991</e>
        </result>
      </math>
    </region>
    <region id="505" left="468" top="15624" width="208" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">molar phase fraction of phase</p>
      </text>
    </region>
    <region id="506" left="45" top="15660" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrZv</e>
        </input>
        <result action="numeric">
          <e type="operand">0.9843</e>
        </result>
      </math>
    </region>
    <region id="507" left="468" top="15660" width="225" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas (vapor) compressibility factor</p>
      </text>
    </region>
    <region id="508" left="45" top="15687" width="285" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrH</e>
        </input>
        <result action="numeric">
          <e type="operand">317.8313</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="509" left="468" top="15687" width="98" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">total enthalpy</p>
      </text>
    </region>
    <region id="510" left="45" top="15723" width="257" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrV</e>
        </input>
        <result action="numeric">
          <e type="operand">0.7525</e>
        </result>
      </math>
    </region>
    <region id="511" left="468" top="15723" width="144" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">total specific volume</p>
      </text>
    </region>
    <region id="512" left="45" top="15759" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGCp</e>
        </input>
        <result action="numeric">
          <e type="operand">2.103</e>
        </result>
      </math>
    </region>
    <region id="513" left="468" top="15759" width="248" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas constant pressure heat capacity</p>
      </text>
    </region>
    <region id="514" left="45" top="15795" width="273" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGCv</e>
        </input>
        <result action="numeric">
          <e type="operand">1.5593</e>
        </result>
      </math>
    </region>
    <region id="515" left="468" top="15795" width="239" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas constant volume heat capacity</p>
      </text>
    </region>
    <region id="516" left="45" top="15822" width="273" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLCp</e>
        </input>
        <result action="numeric">
          <e type="operand">1.7035</e>
        </result>
      </math>
    </region>
    <region id="517" left="468" top="15822" width="258" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid constant pressure heat capacity</p>
      </text>
    </region>
    <region id="518" left="45" top="15858" width="273" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLCv</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3968</e>
        </result>
      </math>
    </region>
    <region id="519" left="468" top="15858" width="249" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid constant volume heat capacity</p>
      </text>
    </region>
    <region id="520" left="45" top="15885" width="319" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGIC</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0028</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="521" left="468" top="15894" width="203" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas isothermal compressibility</p>
      </text>
    </region>
    <region id="522" left="45" top="15921" width="327" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLIC</e>
        </input>
        <result action="numeric">
          <e type="operand">5.1467</e>
          <e type="operand">10</e>
          <e type="operand">10</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="523" left="468" top="15921" width="213" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid isothermal compressibility</p>
      </text>
    </region>
    <region id="524" left="45" top="15957" width="289" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrMSS</e>
        </input>
        <result action="numeric">
          <e type="operand">317.7297</e>
        </result>
      </math>
    </region>
    <region id="525" left="468" top="15957" width="166" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mixture speed of sound</p>
      </text>
    </region>
    <region id="526" left="45" top="15993" width="289" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGSS</e>
        </input>
        <result action="numeric">
          <e type="operand">318.2669</e>
        </result>
      </math>
    </region>
    <region id="527" left="468" top="15993" width="143" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas speed of sound</p>
      </text>
    </region>
    <region id="528" left="45" top="16020" width="297" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLSS</e>
        </input>
        <result action="numeric">
          <e type="operand">3354.1111</e>
        </result>
      </math>
    </region>
    <region id="529" left="468" top="16029" width="153" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid speed of sound</p>
      </text>
    </region>
    <region id="530" left="45" top="16065" width="319" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGJT</e>
        </input>
        <result action="numeric">
          <e type="operand">1.4662</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="531" left="468" top="16074" width="210" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas Joule Thomson coefficient</p>
      </text>
    </region>
    <region id="532" left="45" top="16101" width="331" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLJT</e>
        </input>
        <result action="numeric">
          <e type="operand">6.9784</e>
          <e type="operand">10</e>
          <e type="operand">7</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="533" left="468" top="16110" width="220" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid Joule Thomson coefficient</p>
      </text>
    </region>
    <region id="534" left="45" top="16137" width="273" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGVE</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0069</e>
        </result>
      </math>
    </region>
    <region id="535" left="468" top="16146" width="251" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas volumetric expansivity coefficient</p>
      </text>
    </region>
    <region id="536" left="45" top="16173" width="273" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLVE</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0009</e>
        </result>
      </math>
    </region>
    <region id="537" left="468" top="16173" width="253" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquidvolumetric expansivity coefficient</p>
      </text>
    </region>
    <region id="538" left="45" top="16200" width="297" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrHC</e>
        </input>
        <result action="numeric">
          <e type="operand">50008.9081</e>
        </result>
      </math>
    </region>
    <region id="539" left="468" top="16209" width="136" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">heat of combustion</p>
      </text>
    </region>
    <region id="540" left="45" top="16245" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrFML</e>
        </input>
        <result action="numeric">
          <e type="operand">4.999</e>
        </result>
      </math>
    </region>
    <region id="541" left="468" top="16245" width="203" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">lean flammability limit of gas </p>
      </text>
    </region>
    <region id="542" left="45" top="16281" width="281" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrFMH</e>
        </input>
        <result action="numeric">
          <e type="operand">14.9987</e>
        </result>
      </math>
    </region>
    <region id="543" left="468" top="16281" width="195" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">rich flammability limit of gas</p>
      </text>
    </region>
    <region id="544" left="45" top="16308" width="269" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrS</e>
        </input>
        <result action="numeric">
          <e type="operand">1.4661</e>
          <e type="operator" args="1">-</e>
        </result>
      </math>
    </region>
    <region id="545" left="468" top="16308" width="92" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">total entropy</p>
      </text>
    </region>
    <region id="546" left="45" top="16353" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGD</e>
        </input>
        <result action="numeric">
          <e type="operand">1.3246</e>
        </result>
      </math>
    </region>
    <region id="547" left="468" top="16353" width="85" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas density</p>
      </text>
    </region>
    <region id="548" left="45" top="16389" width="273" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLD</e>
        </input>
        <result action="numeric">
          <e type="operand">730.588</e>
        </result>
      </math>
    </region>
    <region id="549" left="468" top="16389" width="95" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid density</p>
      </text>
    </region>
    <region id="550" left="45" top="16416" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGC</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0161</e>
        </result>
      </math>
    </region>
    <region id="551" left="468" top="16416" width="168" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas thermal conductivity</p>
      </text>
    </region>
    <region id="552" left="45" top="16452" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLC</e>
        </input>
        <result action="numeric">
          <e type="operand">0.1754</e>
        </result>
      </math>
    </region>
    <region id="553" left="468" top="16452" width="178" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid thermal conductivity</p>
      </text>
    </region>
    <region id="554" left="45" top="16479" width="311" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrGV</e>
        </input>
        <result action="numeric">
          <e type="operand">6.0282</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="555" left="468" top="16488" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">gas viscosity</p>
      </text>
    </region>
    <region id="556" left="45" top="16515" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrLV</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0013</e>
        </result>
      </math>
    </region>
    <region id="557" left="468" top="16524" width="104" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">liquid viscosity</p>
      </text>
    </region>
    <region id="558" left="45" top="16551" width="265" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_EStrST</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0288</e>
        </result>
      </math>
    </region>
    <region id="559" left="468" top="16551" width="109" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">surface tension</p>
      </text>
    </region>
    <region id="560" left="0" top="16605" width="251" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Fugacity and derivatives</p>
      </text>
    </region>
    <region id="561" left="0" top="16650" width="768" height="104" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The operations below behave like subroutines rather than functions because they return more than one result.
The Mathcad system imposes some restrictions on function input and output so the normal C++ methods of 
passing variables is not possible.These restrictions are needed to enforce the "non code" look of the Mathcad 
interface .As a result of these restrictions, the functions below have slightly different argument lists than found in 
Prode and all of the results are returned in a single matrix .Mathcad routines are then provided to split these 
results into the appropriate variables.</p>
      </text>
    </region>
    <region id="562" left="0" top="16767" width="762" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The prode.dll has assumed a maximum number of components of 50 for all vector and matrix routines.This 
dimension cannot be changed dynamically for the variables passed to and from Mathcad .For greater number 
of components, prode.dll must be rebuilt. In that case, the constant "maxnc" in the source code for the routines 
in this section must be changed to the higher number.</p>
      </text>
    </region>
    <region id="563" left="45" top="16857" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="564" left="45" top="16893" width="183" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">NC</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getCNr</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="565" left="45" top="16929" width="70" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="unit">t</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="566" left="351" top="16929" width="253" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">These variables were defined above.</p>
      </text>
    </region>
    <region id="567" left="45" top="16956" width="130" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">p</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="568" left="45" top="16992" width="217" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="569" left="45" top="17028" width="102" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">i_</e>
          <e type="operand">1</e>
          <e type="operand">NC</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="570" left="45" top="17073" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phase</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="571" left="54" top="17109" width="272" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">mf</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
          <e type="operand">stream</e>
          <e type="operand">phase</e>
          <e type="operand">i_</e>
          <e type="function" args="3">mc_getW</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="572" left="360" top="17109" width="362" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>mf = mole fractions of components is stream</p>
      </text>
    </region>
    <region id="573" left="126" top="17145" width="186" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">mf</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
        </input>
        <result action="numeric">
          <e type="operand">1.5711</e>
          <e type="operand">10</e>
          <e type="operand">7</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1.0251</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="574" left="45" top="17226" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">state</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="575" left="351" top="17226" width="216" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The liquid state is being used.</p>
      </text>
    </region>
    <region id="576" left="45" top="17271" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">process</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="577" left="351" top="17271" width="380" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Up to 5 processes may be defined in the base Prode 
version. Processes may be redefined with new streams.</p>
      </text>
    </region>
    <region id="578" left="45" top="17316" width="253" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">process</e>
          <e type="operand">stream</e>
          <e type="function" args="2">mc_DPinit</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="579" left="45" top="17379" width="114" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p bold="true" fontName="Arial">fugacity vector</p>
      </text>
    </region>
    <region id="580" left="54" top="17415" width="359" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">fg</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="6">mc_StrFv</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="581" left="423" top="17415" width="311" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This routine returns the fugacity vector alone.</p>
      </text>
    </region>
    <region id="582" left="99" top="17451" width="191" height="142" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">fg</e>
        </input>
        <result action="numeric">
          <e type="operand">2.2571</e>
          <e type="operand">10</e>
          <e type="operand">7</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">55244.7405</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1077.6956</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="583" left="99" top="17613" width="201" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math optimize="2">
        <input>
          <e type="operand">fugacity</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
          <e type="operand">fg</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
          <e type="operand">mf</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="584" left="351" top="17613" width="397" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The Prode routines define the "fugacity" variable as the 
fugacity coefficient times the total pressure. Thus, fugacity 
is obtained by the equation on the left.</p>
      </text>
    </region>
    <region id="585" left="99" top="17676" width="229" height="141" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">fugacity</e>
        </input>
        <result action="numeric">
          <e type="operand">3.5463</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">0.0566</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1077.6943</e>
          <e type="operand" style="unit">kg</e>
          <e type="operand" style="unit">m</e>
          <e type="operand" style="unit">s</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="586" left="45" top="17838" width="319" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p bold="true" fontName="Arial">fugacity vector plus derivatives wrt T, P, w</p>
      </text>
    </region>
    <region id="587" left="45" top="17883" width="699" height="148" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="6">StrFvd</e>
          <e type="operand">M</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="6">mc_StrFvd</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">separate the results into vectors and a matrix</e>
          <e type="operand">fg</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">NC</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dfgt</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">NC</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dfgp</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">NC</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dfgmf</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">NC</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">NC</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">fg</e>
          <e type="operand">dfgt</e>
          <e type="operand">dfgp</e>
          <e type="operand">dfgmf</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand">7</e>
          <e type="operand">1</e>
          <e type="function" args="9">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="588" left="0" top="18054" width="760" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">1given the stream, state, temp, press, composition vector, w,and the number of components, NC, return fugacity 
vector, fg, and derivatives of fg wrt t, p, and mf. </p>
      </text>
    </region>
    <region id="589" left="45" top="18108" width="468" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">fg</e>
          <e type="operand">dfgt</e>
          <e type="operand">dfgp</e>
          <e type="operand">dfgmf</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="6">StrFvd</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="590" left="45" top="18153" width="712" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">the default Prode units are applied to the results below but the variables are kept dimensionless for use 
in Prode Physical Properties program.</p>
      </text>
    </region>
    <region id="591" left="45" top="18216" width="181" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">fg</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">Pa</e>
        </contract>
        <result action="numeric">
          <e type="operand">2.2571</e>
          <e type="operand">10</e>
          <e type="operand">7</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">55244.7405</e>
          <e type="operand">1077.6956</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="592" left="288" top="18216" width="205" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dfgt</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">Pa</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">3.5879</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">4372.2585</e>
          <e type="operand">115.1895</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="593" left="540" top="18216" width="181" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dfgp</e>
        </input>
        <result action="numeric">
          <e type="operand">0.6059</e>
          <e type="operand">0.0014</e>
          <e type="operand">2.6093</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="594" left="54" top="18306" width="417" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dfgmf</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">Pa</e>
        </contract>
        <result action="numeric">
          <e type="operand">3.7021</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.841</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.2457</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">3.6321</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">4.6135</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">2.1749</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">0.01</e>
          <e type="operand">0.0114</e>
          <e type="operand">0.006</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="function" args="11">mat</e>
        </result>
      </math>
    </region>
    <region id="595" left="0" top="18414" width="503" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Other stream state variables and their derivatives</p>
      </text>
    </region>
    <region id="596" left="9" top="18459" width="750" height="88" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Functions were provided above (eg. mc_StrH)to obtain the enthalpy (H), entropy(S), and molar volume (V) of 
a stream. The next routine allows the operating conditions (t, p, w) to be specified to values other than those 
in the stream data file. The user selects which variable, H, S, or V, is desired, using a string variable with 
the corresponding variable initial. The program calls the appropriate mc_xxx function and then separates the 
variables from the output matrix.</p>
      </text>
    </region>
    <region id="597" left="9" top="18567" width="685" height="314" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">X</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="7">StrXvd</e>
          <e type="operand">X</e>
          <e type="operand" style="string">H</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">M</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="6">mc_StrHvd</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">do nothing</e>
          <e type="function" args="3">if</e>
          <e type="operand">X</e>
          <e type="operand" style="string">S</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">M</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="6">mc_StrSvd</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">do nothing</e>
          <e type="function" args="3">if</e>
          <e type="operand">X</e>
          <e type="operand" style="string">V</e>
          <e type="operator" args="2">≡</e>
          <e type="operand">M</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="6">mc_StrVvd</e>
          <e type="operator" args="2">:</e>
          <e type="operand" style="string">do nothing</e>
          <e type="function" args="3">if</e>
          <e type="operand">x</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dxt</e>
          <e type="operand">M</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dxp</e>
          <e type="operand">M</e>
          <e type="operand">3</e>
          <e type="function" args="2">col</e>
          <e type="operator" args="2">:</e>
          <e type="operand">dxmf</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="operand">4</e>
          <e type="operand">NC</e>
          <e type="operator" args="2">+</e>
          <e type="operand">1</e>
          <e type="operator" args="2">-</e>
          <e type="function" args="5">submatrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">x</e>
          <e type="operand">dxt</e>
          <e type="operand">dxp</e>
          <e type="operand">dxmf</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand">8</e>
          <e type="operand">1</e>
          <e type="function" args="10">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="598" left="45" top="18900" width="472" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">H</e>
          <e type="operand">dHt</e>
          <e type="operand">dHp</e>
          <e type="operand">dHmf</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand" style="string">H</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="7">StrXvd</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="599" left="108" top="18936" width="341" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>display results with default Prode units</p>
      </text>
    </region>
    <region id="600" left="108" top="18963" width="223" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">H</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">24964.9683</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="601" left="99" top="19026" width="219" height="58" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dHt</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operator" args="2">/</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">59.2059</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="602" left="99" top="19107" width="265" height="58" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dHp</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operator" args="2">/</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">2.4984</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="603" left="99" top="19197" width="427" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dHmf</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">8000.1235</e>
          <e type="operator" args="1">-</e>
          <e type="operand">19802.456</e>
          <e type="operator" args="1">-</e>
          <e type="operand">24959.9131</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="604" left="45" top="19251" width="464" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">S</e>
          <e type="operand">dSt</e>
          <e type="operand">dSp</e>
          <e type="operand">dSw</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand" style="string">S</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="7">StrXvd</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="605" left="99" top="19296" width="231" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">S</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">118.5426</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="606" left="99" top="19350" width="239" height="50" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dSt</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operand">2</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">0.3947</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="607" left="99" top="19422" width="317" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dSp</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">3.4749</e>
          <e type="operand">10</e>
          <e type="operand">8</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="608" left="99" top="19485" width="395" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dSw</e>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">kJ</e>
          <e type="operand" style="unit">kmol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">71.4065</e>
          <e type="operator" args="1">-</e>
          <e type="operand">99.9233</e>
          <e type="operator" args="1">-</e>
          <e type="operand">101.9207</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="609" left="45" top="19539" width="472" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">V</e>
          <e type="operand">dVt</e>
          <e type="operand">dVp</e>
          <e type="operand">dVmf</e>
          <e type="operand">1</e>
          <e type="operand">4</e>
          <e type="function" args="6">mat</e>
          <e type="operand" style="string">V</e>
          <e type="operand">process</e>
          <e type="operand">state</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="operand">mf</e>
          <e type="operand">NC</e>
          <e type="function" args="7">StrXvd</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="610" left="99" top="19566" width="175" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">V</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0302</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="611" left="99" top="19620" width="261" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dVt</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <result action="numeric">
          <e type="operand">3.4749</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operand" style="unit">K</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="612" left="99" top="19692" width="285" height="50" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dVp</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operand" style="unit">Pa</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">1.0646</e>
          <e type="operand">10</e>
          <e type="operand">11</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="1">-</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">mat</e>
        </result>
      </math>
    </region>
    <region id="613" left="99" top="19755" width="295" height="50" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dVmf</e>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">*</e>
        </input>
        <contract>
          <e type="operand" style="unit">m</e>
          <e type="operand">3</e>
          <e type="operator" args="2">^</e>
          <e type="operand" style="unit">mol</e>
          <e type="operator" args="2">/</e>
        </contract>
        <result action="numeric">
          <e type="operand">0.0637</e>
          <e type="operand">0.0614</e>
          <e type="operand">0.0604</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region id="614" left="0" top="19836" width="761" height="54" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Operations to set/retrieve the options needed for equation of state models 
and flash routine phases </p>
      </text>
    </region>
    <region id="615" left="0" top="19899" width="763" height="104" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">See the Prode manual (see paragraph "Codes used in Prode library") and also open the Prode drop menus for 
the model to view the description of the options set by the OM code variable. The user will probably find it 
easier to set the options using the Prode window. 

All even code values mean that only single liquid phases are allowed in the flash routines. For multiple liquids, 
the code value must be odd.</p>
      </text>
    </region>
    <region id="616" left="45" top="20007" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="617" left="45" top="20043" width="259" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">option</e>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_getOM</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">554</e>
        </result>
      </math>
    </region>
    <region id="618" left="351" top="20043" width="383" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">current option set
This should = 552 for stream 1 in the def.ppp archive. 
With this option value, only L-V flashes will result.</p>
      </text>
    </region>
    <region id="619" left="45" top="20115" width="261" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">option</e>
          <e type="operand">1</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="2">mc_setOM</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="620" left="351" top="20115" width="380" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This changes the flashes of "stream" to multiple liquids.</p>
      </text>
    </region>
    <region id="621" left="45" top="20178" width="217" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand" style="unit">t</e>
          <e type="operand">p</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="622" left="351" top="20178" width="103" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">redo the flash</p>
      </text>
    </region>
    <region id="623" left="351" top="20214" width="386" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">given a stream and phase # in range 1- getPNr() returns the 
phase type (0=vapor,1=liquid,2=solid)</p>
      </text>
    </region>
    <region id="624" left="45" top="20259" width="110" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">i_</e>
          <e type="operand">1</e>
          <e type="operand">pnr</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="625" left="18" top="20313" width="749" height="22" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">given a stream and phase # in range 1- getPNr() returns a ANSI C string with the description of type for detected phase</p>
      </text>
    </region>
    <region id="626" left="36" top="20349" width="258" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phase</e>
          <e type="operand">i_</e>
          <e type="function" args="2">el</e>
          <e type="operand">stream</e>
          <e type="operand">i_</e>
          <e type="function" args="2">mc_StrPts</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="627" left="99" top="20448" width="207" height="189" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phases</e>
        </input>
        <result action="numeric">
          <e type="operand" style="string">Vapor</e>
          <e type="operand" style="string">Solid</e>
          <e type="operand" style="string">Solid</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand" style="string">Not present</e>
          <e type="operand">10</e>
          <e type="operand">1</e>
          <e type="function" args="12">mat</e>
        </result>
      </math>
    </region>
    <region id="628" left="351" top="20529" width="269" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Previously, only one liquid was present</p>
      </text>
    </region>
    <region id="629" left="45" top="20646" width="237" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">option</e>
          <e type="function" args="2">mc_setOM</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="630" left="351" top="20646" width="217" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">reset the code to single liquids</p>
      </text>
    </region>
    <region id="631" left="0" top="20700" width="205" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Initializing a stream</p>
      </text>
    </region>
    <region id="632" left="279" top="20709" width="291" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">This section was changed for this version.</p>
      </text>
    </region>
    <region id="633" left="0" top="20736" width="747" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The example will create a stream with water and methanol. The component numbers in the Prode databank 
can change with updates, so always use CAS numbers when initializing by program instead of manually using 
the Prode window.</p>
      </text>
    </region>
    <region id="634" left="45" top="20799" width="158" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">methanol_id</e>
          <e type="operand">67561</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="635" left="495" top="20799" width="178" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">CAS number of methanol</p>
      </text>
    </region>
    <region id="636" left="45" top="20826" width="379" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">methanol_code</e>
          <e type="operand">methanol_id</e>
          <e type="function" args="1">mc_CompCID</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1047</e>
        </result>
      </math>
    </region>
    <region id="637" left="45" top="20853" width="150" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">water_id</e>
          <e type="operand">7732185</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="638" left="495" top="20853" width="156" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">CAS number of water</p>
      </text>
    </region>
    <region id="639" left="45" top="20880" width="331" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">water_code</e>
          <e type="operand">water_id</e>
          <e type="function" args="1">mc_CompCID</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1631</e>
        </result>
      </math>
    </region>
    <region id="640" left="45" top="20907" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">11</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="641" left="45" top="20934" width="175" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_initS</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="642" left="495" top="20934" width="160" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">initialize a new stream</p>
      </text>
    </region>
    <region id="643" left="45" top="20961" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">model</e>
          <e type="operand">50</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="644" left="153" top="20961" width="101" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">SRK standard</p>
      </text>
    </region>
    <region id="645" left="495" top="20961" width="246" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">see Prode manual for model codes</p>
      </text>
    </region>
    <region id="646" left="45" top="20997" width="229" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">model</e>
          <e type="function" args="2">mc_setKM</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="647" left="495" top="20997" width="193" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set property model package</p>
      </text>
    </region>
    <region id="648" left="45" top="21033" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1</e>
          <e type="operand">.5</e>
          <e type="function" args="3">mc_putZ</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="649" left="495" top="21033" width="216" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set total stream mole fractions </p>
      </text>
    </region>
    <region id="650" left="45" top="21069" width="215" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">2</e>
          <e type="operand">.5</e>
          <e type="function" args="3">mc_putZ</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="651" left="45" top="21087" width="313" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1</e>
          <e type="operand">methanol_code</e>
          <e type="function" args="3">mc_putCC</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="652" left="495" top="21087" width="132" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">define components</p>
      </text>
    </region>
    <region id="653" left="45" top="21123" width="289" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">2</e>
          <e type="operand">water_code</e>
          <e type="function" args="3">mc_putCC</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="654" left="45" top="21159" width="167" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_setS</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="655" left="495" top="21159" width="136" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">validate the stream</p>
      </text>
    </region>
    <region id="656" left="504" top="21195" width="195" height="72" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="eng">
        <p>codeeq =0 for VLE
                 1 for LLE
                 2 for SLE
                 3 for hydrates</p>
      </text>
    </region>
    <region id="657" left="54" top="21222" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">codeeq</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="658" left="45" top="21285" width="245" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">codeeq</e>
          <e type="function" args="2">mc_loadSB</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="659" left="495" top="21285" width="145" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">load BIP coefficients</p>
      </text>
    </region>
    <region id="660" left="45" top="21330" width="211" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1.3</e>
          <e type="function" args="2">mc_setWm</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="661" left="495" top="21330" width="135" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set mass flow rate</p>
      </text>
    </region>
    <region id="662" left="45" top="21366" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">temp</e>
          <e type="operand">300</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="663" left="153" top="21366" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">pres</e>
          <e type="operand">patm</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="664" left="45" top="21402" width="267" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">temp</e>
          <e type="operand">pres</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="665" left="495" top="21402" width="202" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set temp and pres and flash</p>
      </text>
    </region>
    <region id="666" left="45" top="21429" width="157" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math evaluate="false">
        <input>
          <e type="operand">stream</e>
          <e type="function" args="1">mc_edS</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="667" left="495" top="21429" width="221" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">view the stream then press OK</p>
      </text>
    </region>
    <region id="668" left="9" top="21465" width="250" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Other stream operations</p>
      </text>
    </region>
    <region id="669" left="45" top="21519" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream2</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="670" left="45" top="21555" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="operand">10</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="671" left="45" top="21600" width="269" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="operand">stream2</e>
          <e type="function" args="2">mc_StrCopy</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="672" left="351" top="21600" width="290" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">copy stream2 to stream1 (note the order!)</p>
      </text>
    </region>
    <region id="673" left="45" top="21645" width="227" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">et</e>
          <e type="operand">stream2</e>
          <e type="function" args="1">mc_getT</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="674" left="45" top="21681" width="191" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="function" args="1">mc_getT</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="675" left="54" top="21708" width="309" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">press</e>
          <e type="operand">stream1</e>
          <e type="function" args="1">mc_getP</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1.0133</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="676" left="378" top="21717" width="118" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream_out</e>
          <e type="operand">9</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="677" left="558" top="21717" width="80" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">et</e>
        </input>
        <result action="numeric">
          <e type="operand">150</e>
        </result>
      </math>
    </region>
    <region id="678" left="504" top="21762" width="258" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">flash at lower stream press, et=temp 
guess for mixed 
stream..</p>
      </text>
    </region>
    <region id="679" left="45" top="21771" width="447" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream_out</e>
          <e type="operand">stream1</e>
          <e type="operand">stream2</e>
          <e type="operand">press</e>
          <e type="operand">.9</e>
          <e type="operator" args="2">*</e>
          <e type="operand">et</e>
          <e type="function" args="5">mc_MixF</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="680" left="45" top="21834" width="255" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream_out</e>
          <e type="function" args="1">mc_getT</e>
        </input>
        <result action="numeric">
          <e type="operand">149.5844</e>
        </result>
      </math>
    </region>
    <region id="681" left="351" top="21834" width="181" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">mixed stream temperature</p>
      </text>
    </region>
    <region id="682" left="45" top="21870" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream2</e>
          <e type="operand">12</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="683" left="351" top="21870" width="263" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">the new stream to be created by Divi</p>
      </text>
    </region>
    <region id="684" left="45" top="21897" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">wdiv</e>
          <e type="operand">.7</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="685" left="45" top="21942" width="291" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="operand">stream2</e>
          <e type="operand">wdiv</e>
          <e type="function" args="3">mc_Divi</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="686" left="351" top="21942" width="412" height="78" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">Given one stream (stream1) and a flowrate fraction (0-1) performs 
a divider operation so that stream 1 is shifted
into two streams (stream1, stream2) of the same composition, 
temperature and pressure, flowrate fractions are subdivided as
specified by wdiv (stream2 = wdiv, stream1 = 1- wdiv)</p>
      </text>
    </region>
    <region id="687" left="351" top="22032" width="381" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Only one new stream is created, NOT two.The starting 
stream gets overwritten as shown above.</p>
      </text>
    </region>
    <region id="688" left="45" top="22086" width="145" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">phase separation</p>
      </text>
    </region>
    <region id="689" left="45" top="22113" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="690" left="45" top="22158" width="102" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream2</e>
          <e type="operand">13</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="691" left="351" top="22158" width="274" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">the new stream to be created by PSep</p>
      </text>
    </region>
    <region id="692" left="45" top="22176" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">phase</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="693" left="351" top="22176" width="331" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">phase number to separate, NOT the phase type</p>
      </text>
    </region>
    <region id="694" left="45" top="22230" width="299" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="operand">stream2</e>
          <e type="operand">phase</e>
          <e type="function" args="3">mc_PSep</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="695" left="351" top="22230" width="415" height="50" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">Given a stream (stream1) performs an isothermal flash to simulate 
a phase separator and returns the specified phase number (not 
phase type) to stream2.</p>
      </text>
    </region>
    <region id="696" left="45" top="22284" width="118" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">gasstream</e>
          <e type="operand">14</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="697" left="45" top="22320" width="261" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="operand">gasstream</e>
          <e type="function" args="2">mc_GSep</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="698" left="351" top="22320" width="415" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">Given a stream (stream1) performs an isothermal flash to simulate 
a phase separator and returns the gas phase to gasstream</p>
      </text>
    </region>
    <region id="699" left="45" top="22374" width="118" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">liqstream</e>
          <e type="operand">15</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="700" left="45" top="22419" width="261" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream1</e>
          <e type="operand">liqstream</e>
          <e type="function" args="2">mc_LSep</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="701" left="351" top="22419" width="415" height="36" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">Given a stream (stream1) performs an isothermal flash to simulate 
a phase separator and returns the liq phase(s) to liqstream</p>
      </text>
    </region>
    <region id="702" left="0" top="22491" width="321" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Polytropic compressor/expander</p>
      </text>
    </region>
    <region id="703" left="45" top="22527" width="216" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">rate compressor efficiency</p>
      </text>
    </region>
    <region id="704" left="45" top="22554" width="80" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">pin</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="705" left="144" top="22563" width="109" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">pressure in Pa</p>
      </text>
    </region>
    <region id="706" left="45" top="22590" width="104" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">pout</e>
          <e type="operand">2</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="707" left="45" top="22626" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">tin</e>
          <e type="operand">300</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="708" left="144" top="22626" width="122" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">temperature in K</p>
      </text>
    </region>
    <region id="709" left="45" top="22662" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">tout</e>
          <e type="operand">370</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="710" left="45" top="22689" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">model</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="711" left="351" top="22689" width="284" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">for a rating, model may be the following:
2 = Huntington method
4 = Paron method</p>
      </text>
    </region>
    <region id="712" left="45" top="22725" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="713" left="45" top="22761" width="251" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">tin</e>
          <e type="operand">pin</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="714" left="351" top="22761" width="210" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set the inlet stream conditions</p>
      </text>
    </region>
    <region id="715" left="45" top="22797" width="345" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">pout</e>
          <e type="operand">model</e>
          <e type="operand">tout</e>
          <e type="function" args="4">mc_PSPF</e>
        </input>
        <result action="numeric">
          <e type="operand">0.743</e>
        </result>
      </math>
    </region>
    <region id="716" left="351" top="22797" width="396" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">efficiency rating and "stream" in archive now contains the 
outlet conditions</p>
      </text>
    </region>
    <region id="717" left="45" top="22833" width="116" height="27" color="#000000" bgColor="#ffffff" fontSize="12">
      <text lang="rus">
        <p fontName="Arial">design model</p>
      </text>
    </region>
    <region id="718" left="45" top="22860" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">eff</e>
          <e type="operand">.75</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="719" left="351" top="22860" width="177" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">polytropic efficiency given</p>
      </text>
    </region>
    <region id="720" left="45" top="22896" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">model</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="721" left="351" top="22896" width="290" height="56" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">for a design, model may be the following:
1 = Huntington
3 = Paron</p>
      </text>
    </region>
    <region id="722" left="45" top="22968" width="251" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">tin</e>
          <e type="operand">pin</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="723" left="351" top="22968" width="222" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">reset the inlet stream conditions</p>
      </text>
    </region>
    <region id="724" left="45" top="23004" width="361" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">pout</e>
          <e type="operand">model</e>
          <e type="operand">eff</e>
          <e type="function" args="4">mc_PSPF</e>
        </input>
        <result action="numeric">
          <e type="operand">369.2757</e>
        </result>
      </math>
    </region>
    <region id="725" left="423" top="23004" width="342" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">outlet temperature and "stream" now contains the 
outlet conditions </p>
      </text>
    </region>
    <region id="726" left="0" top="23058" width="299" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Isentropic expansion, nozzles</p>
      </text>
    </region>
    <region id="727" left="45" top="23094" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">5</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="728" left="153" top="23112" width="96" height="33" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">pin</e>
          <e type="operand">2</e>
          <e type="operand">10</e>
          <e type="operand">6</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="729" left="45" top="23121" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">tin</e>
          <e type="operand">340</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="730" left="45" top="23157" width="219" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1.23</e>
          <e type="function" args="2">mc_setWm</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="731" left="45" top="23193" width="251" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">tin</e>
          <e type="operand">pin</e>
          <e type="function" args="3">mc_setOp</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="732" left="351" top="23193" width="150" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">set stream conditions</p>
      </text>
    </region>
    <region id="733" left="45" top="23238" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">model</e>
          <e type="operand">2</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="734" left="351" top="23238" width="263" height="88" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">model options::
1 = homogeneous, equilibrium
2 = homogeneous, non equilibrium
3 = homogeneous, non equilibrium ?
4 = nonhomogeneous, non equilibrium</p>
      </text>
    </region>
    <region id="735" left="45" top="23328" width="96" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">pout</e>
          <e type="operand">patm</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="736" left="45" top="23364" width="126" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">parameter</e>
          <e type="operand">.75</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="737" left="351" top="23364" width="318" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">Prode manual does not explain this parameter</p>
      </text>
    </region>
    <region id="738" left="45" top="23409" width="439" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">pout</e>
          <e type="operand">model</e>
          <e type="operand">parameter</e>
          <e type="function" args="4">mc_ISPF</e>
        </input>
        <result action="numeric">
          <e type="operand">4.2071</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="1">-</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="739" left="495" top="23418" width="185" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">calculated orifice area, m2</p>
      </text>
    </region>
    <region id="740" left="45" top="23454" width="189" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand" style="string"> </e>
          <e type="function" args="1">mc_getErrFlag</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="741" left="0" top="23508" width="104" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">Pipe flow</p>
      </text>
    </region>
    <region id="742" left="45" top="23544" width="529" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The PIPE function is only available for users with an extended Prode license.</p>
      </text>
    </region>
    <region id="743" left="45" top="23580" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">model</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="744" left="45" top="23607" width="86" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">1</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="745" left="45" top="23634" width="170" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">diam</e>
          <e type="operand">1</e>
          <e type="operand" style="unit">in</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">0.0254</e>
        </result>
      </math>
    </region>
    <region id="746" left="45" top="23679" width="118" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">rough</e>
          <e type="operand">.00045</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="747" left="45" top="23706" width="196" height="42" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">length</e>
          <e type="operand">100</e>
          <e type="operand" style="unit">km</e>
          <e type="operator" args="2">*</e>
          <e type="operand" style="unit">m</e>
          <e type="operator" args="2">/</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
          <e type="operand">10</e>
          <e type="operand">5</e>
          <e type="operator" args="2">^</e>
          <e type="operator" args="2">*</e>
        </result>
      </math>
    </region>
    <region id="748" left="45" top="23760" width="94" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dHeight</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="749" left="45" top="23796" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">dHeat</e>
          <e type="operand">0</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region id="750" left="45" top="23832" width="507" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math>
        <input>
          <e type="operand">stream</e>
          <e type="operand">model</e>
          <e type="operand">diam</e>
          <e type="operand">rough</e>
          <e type="operand">length</e>
          <e type="operand">dHeight</e>
          <e type="operand">dHeat</e>
          <e type="function" args="7">mc_PIPE</e>
        </input>
        <result action="numeric">
          <e type="operand">0</e>
        </result>
      </math>
    </region>
    <region id="751" left="45" top="23859" width="681" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">The result above will be 0 if the user has a Basic Prode license or 1 for an Extended license.The 
pressure and phase changes are made in the stream databank.</p>
      </text>
    </region>
    <region id="752" left="45" top="23904" width="398" height="162" color="#000000" bgColor="#ffffff" fontSize="9">
      <text lang="rus">
        <p fontName="Arial">Parameters :
stream (int) inlet stream
model (int) model for fluid flow and phase equilibria (see below)
diam (double) pipe internal diameter
rough (double) parameter defining relative pipe roughness
length (double) length of this segment
dHeight (double) height difference (inlet, outlet)
dHeat (double) heat added, removed
Codes for models
1Beggs &amp; Brill / Hazen-Williams / AGA 
additional models on request to Prode</p>
      </text>
    </region>
    <region id="753" left="0" top="24111" width="101" height="31" color="#000000" bgColor="#ffffff" fontSize="14">
      <text lang="rus">
        <p bold="true" fontName="Arial">File save</p>
      </text>
    </region>
    <region id="754" left="45" top="24156" width="381" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
      <math evaluate="false">
        <input>
          <e type="operand" style="string">C:\ProgramData\prode\test.ppp</e>
          <e type="function" args="1">mc_AFSave</e>
        </input>
        <result action="numeric">
          <e type="operand">1</e>
        </result>
      </math>
    </region>
    <region id="755" left="477" top="24156" width="249" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
      <text lang="rus">
        <p fontName="Arial">save modifications to a new archive</p>
      </text>
    </region>
  </regions>
</worksheet>