{"id":1952,"date":"2019-02-12T01:48:22","date_gmt":"2019-02-12T01:48:22","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/5-emissions-measurement-and-calculation\/"},"modified":"2026-02-23T16:54:05","modified_gmt":"2026-02-23T21:54:05","slug":"21-emissions-measurement-and-calculation","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/21-emissions-measurement-and-calculation\/","title":{"rendered":"21: Emissions Measurement and Calculation"},"content":{"rendered":"<table style=\"width: 100.05%; height: 1032px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<th style=\"width: 10.7529%; height: 24px;\">Command<\/th>\n<th style=\"width: 56.5671%; height: 24px;\">Purpose<\/th>\n<\/tr>\n<tr style=\"height: 144px;\">\n<td style=\"width: 10.7529%; height: 51px;\"><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/21-emissions-measurement-and-calculation\/alternator_torq\/\">alternator_torq<\/a><\/td>\n<td style=\"width: 56.5671%; height: 51px;\"><span class=\"ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak\" dir=\"ltr\">Perform real-time calculations of alternator loss, shaft power, and shaft torque based on input data from a specification file and observed speed and power values. Engine net torque, power and alternator loss will be output at the interval specified as a command line argument when the task is started.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"blk_num_mgr.10c\">blk_num_mgr.10c<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">This application is not intended for users to execute on the command line interface. Manages block number assignments by responding to requests from other applications, incrementing and saving values to a specified file, and operating as an event-driven service.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"blk_num_mgr.12\">blk_num_mgr.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Manage and assign block numbers in response to requests from other components in the system.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"bp\">bp<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Capture CVS test cell errors when a problem occurs.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"ci_logr_spec.b09\">ci_logr_spec.b09<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate a logr_spec output file by copying contents from an input file and appending a @SCAN_LIST section based on data from a ci_specs file.<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 10.7529%; height: 48px;\"><a href=\"ci2fur\">ci2fur<\/a><\/td>\n<td style=\"width: 56.5671%; height: 48px;\">Read a customer interface specification file and generate a test_map file based on its contents for use by other applications.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"CVS_O2_data\">CVS_O2_data<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Read an input file to extract oxygen concentration and its update time then set these values in CyFlex variables.<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 10.7529%; height: 48px;\"><a href=\"esvd_pre_star5.12\">esvd_pre_star5.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 48px;\">Write necessary data to the output file for processing logged data from emission tests in CyFlex.<\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 10.7529%; height: 48px;\"><a href=\"esvd_pre_star5.b09\">esvd_pre_star5.b09<\/a><\/td>\n<td style=\"width: 56.5671%; height: 48px;\">Write information to the data file that will contain the test cycle data, including details needed for processing logged data at the end of the test.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"esvd_star5.12\">esvd_star5.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create the star5 section of the raw data file for ESVD programs, processing emission data and floger logs.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"esvd_star5.b09\">esvd_star5.b09<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate the star5 section of the raw data file for ESVD programs by processing floger data, emission bench data, and other inputs to compute and output emission-related statistics and values.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"filterdata.10c\">filterdata.10c<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Gather data from spec files and creates a keyword file<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"filterdata.12\">filterdata.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Gather data from spec files and creates a keyword file.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"filterdata12-raw\">filterdata12.raw<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Gather data from spec files and create a keyword file.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"filterdata.raw\">filterdata.raw<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Gather data from spec files and create a keyword file<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"get_cvs_version\">get_cvs_version<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Determine the version level of the cvs_specs file.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"mk_config_files12\">mk_config_files12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create cycle configuration files from data within the tri_specs.dat file.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"mk_ecm_files\">mk_ecm_files<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate configuration files including asam3_specs and ecm_override from input data.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"mk_ecm_files12\">mk_ecm_files12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate the asam3_specs file and ecm_override files from data in the tri_specs file based on provided parameters.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"mk_map_files\">mk_map_files<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create the cycle_map file from data within the cvs_specs file.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"release_burn_emis\">release_burn_emis<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Set the event to release a specified burn_emis task instance, allowing it to clean up and exit.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"run_num_mgr.10c\">run_num_mgr.10c<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Manage and assign run numbers for CyFlex applications, incrementing based on hot or cold cycles and requesting new blocks when necessary.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"run_num_mgr.12\">run_num_mgr.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Manage and assign run numbers for applications, processing requests, handling engine serial numbers, and interacting with block number managers to ensure sequential numbering.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"star1.12\">star1.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create the star1 file based on the tri specs file and configuration.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"star1.b09\">star1.b09<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create the star1 file using data from specified input files.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"star2_7.12\">star2_7.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create the star2 and star7 files from specified input files.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"star2_7.b09\">star2_7.b09<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Purpose: Create the star2 and star7 files based on specified input files.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"star_pream.12\">star_pream.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create the star preamble file used by esvd programs based on provided configuration and input files.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"star_pream.b09\">star_pream.b09<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Create the star preamble file for the esvd programs.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"tca.10c\">tca.10c<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Perform Torque Curve Analysis for file format 10.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"tca.12\">tca.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Perform Torque Curve Analysis for file format 12.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"tca_header.10c\">tca_header.10c<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate a header section for a loger data file used in torque curve analysis, create the loger specification file based on customer input, and set necessary variables for the CyFlex system.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"tca_logr.12\">tca_logr.12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate a loger specification file and set necessary variables for the torque curve analysis process.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"tpa_extract_data\">tpa_extract_data<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Extract data from a GT-Power simulation output file and update specified CyFlex variables based on a configuration file.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"tpa_ss_data\">tpa_ss_data<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Obtain the values of CyFlex variables specified in a spec file, convert them to the specified units of measure, and create a file containing the results.<\/td>\n<\/tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 10.7529%; height: 21px;\"><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/21-emissions-measurement-and-calculation\/tri_specs\/\">tri_specs<\/a><\/td>\n<td style=\"width: 56.5671%; height: 21px;\">Read the tri_specs.dat file and create CyFlex array variables based on its contents.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/21-emissions-measurement-and-calculation\/write_ecm_overrides12\/\">write_ecm_overrides12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate the ecm_ovrd file from data in the tri_specs file based on the specified testid, activity, ECM string variable, and ECM variable value.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 10.7529%; height: 24px;\"><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/21-emissions-measurement-and-calculation\/write_ecm_specs12\/\">write_ecm_specs12<\/a><\/td>\n<td style=\"width: 56.5671%; height: 24px;\">Generate the ASAM3 specifications file from data in the TRI specifications file.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Command Purpose alternator_torq Perform real-time calculations of alternator loss, shaft power, and shaft torque based on input data from a specification file and observed speed and power values. Engine net torque, power and alternator loss will be output at the interval specified as a command line argument when the task is started. blk_num_mgr.10c This application [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":557,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1952","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1952","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=1952"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1952\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/557"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=1952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}