ctrl_spec_converter

Purpose:

Use this script to create a new spec file that will work with the eng_ctrl_task in 6.3.x versions of CyFlex. Use an old ctrl_specs.cellnum spec file as an input to create the new spec file. After creating the new file, review the new file to ensure all entries have been moved to their appropriate keyword.

Enter:

ctrl_spec_converter [old_format_ctrl_spec_file_filepath]

Where:

old_format_ctrl_spec_file_filepath

Specify the path of the old ctrl_specs.cellnum spec file.

Example:

ctrl_spec_converter ctrl_specs.cell123

The preceding command uses an old ctrl_specs.cell123 spec file as an input to create a new spec file that will work with the  eng_ctrl_task in 6.3.x versions of CyFlex. The new control spec file will be placed in /tmp/new_eng_ctrl_specs.

Notes:

  1. The script does not work in the following situations:
    – DO type outputs for throttle controller     
    – DO type outputs for dyno controller
    – Dual dyno setups
    – ctrl_spec files that have more than the dyno and throttle specified, i.e. when using user control loops in the standard ctrl_specs.cellnum fille.
  2. By default, BUMPLESS_TRANSFER is left commented out in the new spec file. Uncomment those lines from your new file to use bumpless transfer.
  3. Any syntax errors in the old file will create syntax errors in the new spec file. Before converting, run
    $ ctrl_specs
    and verify that there are no syntax errors in your old file.

See Also:

eng_ctrl_task, ctrl_specs, CyFlex User Control Loops