egr_calc

Purpose:

Calculate EGR.

Enter:

egr_calc <priority> <filename> [+c] &

Where:

priority

Specify the task priority.

filename

Specify the pathname of the specification file for the egr calculations.

+c

Optional. Specify this flag to register this task as critical with the master scheduler. A SLO rate is assumed as the interface period to the master scheduler.

Example:

egr_calc 13 /specs/egr_specs.115 +c &
The above spawns the task egr_calc with a priority of 13 and the file /specs/egr_specs.115 contains the specifications for the egr calculations. The task is registered as critical with the master scheduler.

Notes:

This task is normally started in the go script as part of CyFlex startup process.  
For more information see Cummins intranet url:  
/asset.ctc.cummins.com/asset/tte/gas_comp_prop/exh_gas_recirc.pdf  
/asset.ctc.cummins.com/asset/tte/gas_comp_prop/egr_calc_tbl.pdf  
 
The following is an example spec file for the egr calculations.  
@REG_NAME  
egr_calc  
@COMPUTE_EVENT  
#  start event name or            done event name  
# continuous intrvl name  
SLO                       egr_calc_done  
@FRESH_EGR_COMPOSITION_STREAM  
# fresh stream label     egr stream label  
inlet_airC.            burned_gasC.  
# Measured concentrations for the charge stream.  
# Entry may be a label or a value.  
@CHARGE_MEASURED_CONC  
# CO2 lbl     CO lbl    NOX lbl     O2 lbl      HC lbl  
co2_chrg_ppm    $-$           $-$    196000[ppm]    20.[ppm]  
# the following is an optional entry  
@EGR_MEASURED_CONC  
# CO2 lbl     CO lbl    NOX lbl     O2 lbl      HC lbl  
co2_ppm      $-$          $-$           $-$         200.0[ppm]  
# the following is an optional entry  
@FRESH_MEASURED_CONC  
# CO2 lbl     CO lbl    NOX lbl     O2 lbl      HC lbl  
$-$           $-$          $-$           $-$        0.0[ppm]  
@EGR_FIRST_LAW  
#  charge temperature   egr temperature   fresh temperature  
int_mnf_t            egrclr_ot_t       ac_air_ot_t  
# the ‘selected component is the concentration    
# component that will be used as the basis of  
# the calculations. Valid components are  
# O2, C2, HC, NX, CO, and FL  
@EGR_CALCULATIONS  
#  Selected Component   %egr lbl     conc_o2_chrg label  
O2                pct_egr_o2   egr_mix_o2C.  
C2                pct_egr_c2   egr_mix_c2C.  
HC                pct_egr_hc   egr_mix_hcC.  
$                 # terminating character for @EGR_CALCULATIONS keyword

See Also:

Exhaust Gas Recirculation (EGR) Calculations, Step-by-Step EGR Calculations