{"id":3674,"date":"2019-02-12T16:09:36","date_gmt":"2019-02-12T16:09:36","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/5-emissions-measurement-and-calculation\/gas_blend\/"},"modified":"2025-10-28T11:10:42","modified_gmt":"2025-10-28T16:10:42","slug":"gas_blend","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/19-fluid-flow-computations\/gas_blend\/","title":{"rendered":"gas_blend"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Compute the ratios of three input gas streams to achieve a specified heating value and methane number for the resulting mixture.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>gas_blend<\/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 level task priority.\u00a0<\/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. The value must be one of the values supported by the scheduler as specified in the go script. Specify one of 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 details of the gases that are to be blended.<\/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. 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_blend<\/strong> 12 SLO \/specs\/properties\/blend_specs.111 &amp;<\/p>\n<p>The 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 blend_specs.111 is read to determine the streams to be blended, the output stream composition, and mass flow.\u00a0 The gas_blend task will register its name with the filename (not the full pathame), in this case &#8220;blend_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<div>spec\u00a0file\u00a0\u00a0######################################### \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**\u00a0Heating\u00a0Value\u00a0Target\u00a0** \u00a0<br \/>\n##\u00a0The\u00a0heating\u00a0value\u00a0target\u00a0must\u00a0be\u00a0specified\u00a0on\u00a0EITHER\u00a0a\u00a0per\u00a0unit\u00a0mass \u00a0<br \/>\n##\u00a0basis,\u00a0units\u00a0group\u00a020xx\u00a0or\u00a0on\u00a0a\u00a0per\u00a0unit\u00a0standard\u00a0volume\u00a0basis,\u00a0units \u00a0<br \/>\n##\u00a0group\u00a066xx.\u00a0It\u00a0can\u00a0be\u00a0specified\u00a0as\u00a0a\u00a0fixed\u00a0value\u00a0with\u00a0appropriate \u00a0<br \/>\n## units or as the name of a CyFlex variable with the appropriate units. \u00a0<br \/>\n## A dash, &#8216;-&#8216; must be used for the entry not selected as shown here: \u00a0<br \/>\n##HV\/mass\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0HV\/vol \u00a0<br \/>\nHeatValTar\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8211; \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0**\u00a0Methane\u00a0Number\u00a0Target\u00a0** \u00a0<br \/>\n##\u00a0The\u00a0methane\u00a0number\u00a0target\u00a0must\u00a0be\u00a0specified\u00a0as\u00a0EITHER\u00a0rich\u00a0burn\u00a0or\u00a0lean \u00a0<br \/>\n##\u00a0burn.\u00a0\u00a0Both\u00a0have\u00a0units\u00a0of\u00a0[none],\u00a0units\u00a0group\u00a051xx.\u00a0The\u00a0methane\u00a0number \u00a0<br \/>\n##\u00a0can\u00a0be\u00a0specified\u00a0as\u00a0a\u00a0fixed\u00a0value\u00a0with\u00a0appropriate\u00a0units\u00a0or\u00a0as\u00a0the\u00a0name \u00a0<br \/>\n## of a Cyflex variable with the appropriate units.\u00a0\u00a0A dash, &#8216;-&#8216; must be \u00a0<br \/>\n##\u00a0used\u00a0for\u00a0the\u00a0entry\u00a0not\u00a0selected\u00a0as\u00a0shown\u00a0here: \u00a0<br \/>\n##rich\u00a0MN\u00a0target\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0lean\u00a0MN\u00a0target \u00a0<br \/>\nMN_Tar\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8211; \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0**\u00a0Input\u00a0Steams\u00a0and\u00a0Calculated\u00a0Mass\u00a0Fractions\u00a0** \u00a0<br \/>\n##\u00a0Three\u00a0Cyflex\u00a0composition\u00a0variables\u00a0containing\u00a0the\u00a0input\u00a0stream \u00a0<br \/>\n##\u00a0compositions\u00a0followed\u00a0by\u00a0the\u00a0names\u00a0of\u00a0the\u00a0Cyflex\u00a0variables\u00a0where\u00a0the \u00a0<br \/>\n##\u00a0calculated\u00a0mass\u00a0fraction\u00a0of\u00a0the\u00a0given\u00a0stream\u00a0will\u00a0be\u00a0stored\u00a0that\u00a0will \u00a0<br \/>\n##\u00a0produce\u00a0the\u00a0target\u00a0heating\u00a0value\u00a0and\u00a0methane\u00a0number.\u00a0\u00a0The\u00a0variables \u00a0<br \/>\n##\u00a0should\u00a0be\u00a0created\u00a0by\u00a0the\u00a0user\u00a0with\u00a0units\u00a0of\u00a0mass\u00a0fraction,\u00a0units\u00a0group \u00a0<br \/>\n##\u00a048xx.\u00a0\u00a0The\u00a0primary\u00a0stream\u00a0should\u00a0be\u00a0listed\u00a0first.\u00a0\u00a0This\u00a0will\u00a0normally \u00a0<br \/>\n##\u00a0be\u00a0natural\u00a0gas.\u00a0The\u00a0gas_prop\u00a0task\u00a0may\u00a0be\u00a0used\u00a0independently\u00a0to \u00a0<br \/>\n##\u00a0calculate\u00a0heating\u00a0values,\u00a0methane\u00a0numbers\u00a0and\u00a0other\u00a0properties\u00a0of\u00a0the \u00a0<br \/>\n##\u00a0input\u00a0streams: \u00a0<br \/>\n##Input\u00a0Stream\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Computed\u00a0mixture\u00a0mass\u00a0fraction \u00a0<br \/>\nngC.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ng_mass_frac \u00a0<br \/>\npropaneC.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0c3h8_mass_frac \u00a0<br \/>\nco2C.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0co2_mass_frac \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**\u00a0Mixed\u00a0Stream\u00a0Composition\u00a0** \u00a0<br \/>\n##\u00a0The\u00a0name\u00a0of\u00a0a\u00a0Cyflex\u00a0composition\u00a0variable\u00a0created\u00a0by\u00a0the\u00a0user\u00a0to\u00a0store \u00a0<br \/>\n##\u00a0the\u00a0calculated\u00a0composition\u00a0of\u00a0the\u00a0mixture\u00a0that\u00a0will\u00a0produce\u00a0the\u00a0target \u00a0<br \/>\n##\u00a0methane\u00a0number\u00a0and\u00a0heating\u00a0value\u00a0combination.\u00a0\u00a0The\u00a0gas_prop\u00a0task\u00a0can\u00a0be \u00a0<br \/>\n##\u00a0used\u00a0independently\u00a0to\u00a0calculate\u00a0heating\u00a0values,\u00a0methane\u00a0numbers\u00a0and \u00a0<br \/>\n##\u00a0other\u00a0properties\u00a0using\u00a0this\u00a0stream\u00a0composition: \u00a0<br \/>\n##\u00a0Mixed\u00a0stream\u00a0composition \u00a0<br \/>\ntarget_fuelC. \u00a0<br \/>\n##\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0**\u00a0Minimum\u00a0and\u00a0Maximum\u00a0Methane\u00a0Number\u00a0@\u00a0Target\u00a0Heating\u00a0Value\u00a0** \u00a0<br \/>\n##\u00a0The\u00a0name\u00a0of\u00a0Cyflex\u00a0variables\u00a0to\u00a0contain\u00a0the\u00a0minimum\u00a0and\u00a0maximum\u00a0Methane \u00a0<br \/>\nnumbers\u00a0that\u00a0are\u00a0possible\u00a0for\u00a0the\u00a0specified\u00a0target\u00a0heating\u00a0value.\u00a0\u00a0The \u00a0<br \/>\ntarget\u00a0methane\u00a0number\u00a0must\u00a0lie\u00a0between\u00a0these\u00a0values\u00a0to\u00a0be\u00a0achievable: \u00a0<br \/>\nMinimum\u00a0Methane\u00a0Number\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Maximum\u00a0Methane\u00a0Number \u00a0<br \/>\nMN_Min\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0MN_Max<\/div>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>This process computes gas composition by blending 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><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Compute the ratios of three input gas streams to achieve a specified heating value and methane number for the resulting mixture. Enter: gas_blend &lt;priority&gt; &lt;interval&gt; &lt;filename&gt; [+c] &amp; Where: priority Specify the system level task priority.\u00a0 interval Specify the time interval or rate to perform the calculations. The value must be one of the [&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-3674","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3674","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=3674"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3674\/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=3674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}