{"id":3675,"date":"2019-02-12T16:09:36","date_gmt":"2019-02-12T16:09:36","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/16-fluid-composition-and-properties\/gas_mix\/"},"modified":"2025-10-27T13:43:13","modified_gmt":"2025-10-27T18:43:13","slug":"gas_mix","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/19-fluid-flow-computations\/gas_mix\/","title":{"rendered":"gas_mix"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Compute the gas composition of a stream produced by mixing two or more gas streams, using the composition and mass flow of input streams to determine the mixed stream&#8217;s composition and mass flow.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>gas_mix<\/strong> &lt;priority&gt; &lt;interval&gt; &lt;filename&gt; [+c] &amp;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>priority<\/p>\n<\/td>\n<td>\n<p>Specify the system task priority.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>interval<\/p>\n<\/td>\n<td>\n<p>Specify the time interval or rate to perform the calculations. Specify one of the values supported by the scheduler as specified in the go script. Specify SLO, MED, or FAS.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>filename<\/p>\n<\/td>\n<td>\n<p>Specify the spec filename to read that contains the details of the gases to be mixed.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>+c<\/p>\n<\/td>\n<td>\n<p>Optional. Specify this flag to indicate a critical watchdog task. A flag indicating that this process should be registered as a critical task. The default is to leave the task as non-critical.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>gas_mix<\/strong> 12 1000 \/specs\/properties\/mix_specs.111 &amp;<br \/>\nThe above command sets the priority of the process to be 12 and performs the computations at the rate of once every second. The spec file mix_specs.111 is read to determine the gases to be mixed, the output stream composition, and mass flow.\u00a0 The gas_mix task will register it&#8217;s name with the filename (not the full pathame), in this case &#8220;mix_specs.111&#8221;.\u00a0 This name can be used by the &#8216;re-read&#8217; command to request that it update the specifications by reading the specification file again.\u00a0 This feature allows the specifications to be changed &#8220;on-the-fly&#8221; without slaying and restarting the app. Note: re-read feature is not available prior to 6.3.30 or 6.4.0.<\/p>\n<\/dd>\n<\/dl>\n<div>################################\u00a0spec\u00a0file\u00a0\u00a0################### \u00a0<br \/>\n##\u00a0line\u00a01:\u00a0\u00a0identify\u00a0the\u00a0output\u00a0stream\u00a0composition\u00a0file\u00a0and\u00a0output\u00a0stream \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0mass\u00a0flow\u00a0variable \u00a0<br \/>\n## \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0These 2 variables are &#8216;output&#8217; variables &#8211; they will be \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0modified\u00a0by\u00a0the\u00a0gas_mix\u00a0application \u00a0<br \/>\n## \u00a0<br \/>\n##Output\u00a0Stream \u00a0<br \/>\n##composition\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0massflow \u00a0<br \/>\nfaC.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0fa_mf \u00a0<br \/>\n##\u00a0line\u00a02-n\u00a0Identify\u00a0the\u00a0input\u00a0streams\u00a0which\u00a0are\u00a0being\u00a0mixed\u00a0&#8211;\u00a0There\u00a0must\u00a0be \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0a\u00a0composition\u00a0variable\u00a0and\u00a0mass\u00a0flow\u00a0for\u00a0each\u00a0stream,\u00a0so\u00a0the\u00a0number \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0of\u00a0streams\u00a0which\u00a0can\u00a0be\u00a0mixed\u00a0is\u00a0limited\u00a0by\u00a0the\u00a0current\u00a0maximum \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0number\u00a0of\u00a0composition\u00a0types\u00a0(~20). \u00a0<br \/>\n##Input\u00a0Streams-\u00a0this\u00a0is\u00a0a\u00a0list\u00a0of\u00a0the\u00a0streams\u00a0that\u00a0are\u00a0being\u00a0mixed \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(1\u00a0line\u00a0per\u00a0stream) \u00a0<br \/>\n##composition\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0massflow \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0(NOTE:\u00a0\u00a0massflow\u00a0variable\u00a0may\u00a0be\u00a0either\u00a0a \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0REAL\u00a0or\u00a0STATISTICAL\u00a0variable\u00a0) \u00a0<br \/>\ninlet_airC.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0air_mtr0_mf \u00a0<br \/>\nngC.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ng_mf \u00a0<br \/>\n###################################################################<\/div>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>This process computes gas composition by mixing on a continuous basis and is normally started via the go script.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/wp-content\/uploads\/Gas-Mixture-Composition.pdf\">Determining Gas Mixture Composition<\/a>, <a href=\"https:\/\/cyflex.com\/wp-content\/uploads\/Gas-Composition-and-Flow-Computation-Program.pdf\">Computing Gas Stream Composition and Mass Flow<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Compute the gas composition of a stream produced by mixing two or more gas streams, using the composition and mass flow of input streams to determine the mixed stream&#8217;s composition and mass flow. Enter: gas_mix &lt;priority&gt; &lt;interval&gt; &lt;filename&gt; [+c] &amp; Where: priority Specify the system task priority. interval Specify the time interval or rate [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1959,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3675","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3675"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3675\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1959"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}