tpa_extract_data
Purpose:
-
Extract data from a GT-Power simulation output file and update specified CyFlex variables based on a configuration file.
Enter:
-
tpa_extract_data [inpt_file=name] [spec_file=spec_name] [+f]
Where:
-
inpt_file=input_name
Optional if +f is specifed, required if =f is not specified. Specify the input file generated by the GT-Power simulation.
spec_file=spec_name
Optional, Specify the fully qualified path and spec filename. The default is /specs/tpa/tpa_ss_specs.
+f
Optional. If specified, it means that a failure has occurred and to set all ‘extracted’ values to -999999.0 without requiring other arguments.
Example:
-
tpa_extract_data inpt_file=/data/tpa_ssISX
The above reads the file, /data/tpa_ssISX, generated by GT_Power. The default spec file of /specs/tpa_ss_specs is read to obtain the list of GT_Power variables that should be included in the datapoint.tpa_extract_data inpt_file=/data/tpa_ssISX
spec_file=/specs/tpa_ss_specsISX
The above reads the file, /data/tpa_ssISX, generated by GT_Power. The spec file of /specs/tpa_ss_specsISX is read to obtain the list of GT_Power variables that should be included in the datapoint.tpa_extract_data +f
The above runs tpa_extract_data in the failure mode. No input file is accessed and all variables are set to -999999.0
Notes:
-
The program operates in failure mode if +f is specified, setting variables to a default error value without accessing files.