JRCSTU / co2wui

WebUI for co2mpas
https://co2mpas.io
European Union Public License 1.1
0 stars 0 forks source link

RUN TA, single error #144

Closed sapofra closed 5 years ago

sapofra commented 5 years ago

This happened just once:

1) unlock the pc and open the GUI 2) run TA demo file 1 3) error: image 4) run TA demo file 2 5) ok 6) again run TA demo file 1 7) ok

Apologies if I am double posting, I could not find @dimitriskomnos's issue.

sapofra commented 5 years ago

I cannot duplicate the error but it happened the same to @ashenafimenza, correct?

ashenafimenza commented 5 years ago

Yes In my case It did not work (simulation in TA mode). But after choosing the co2mpas input file, If you go to home page (press the homepage button) and come back to the run simulation page and start the simulation it works and this is strange (and this is not true always).

simu_ta

dimitriskomnos commented 5 years ago

The errors of @sapofra is because for the TA mode you need to put the final_drive_ratios and it was missing form the input file. So it is justifiable. The error of @ashenafimenza is strange for me, can you please upload here the file you used to simulate?

sapofra commented 5 years ago

@dimitriskomnos no the final drive was there. the one missing it was demo 0 :)

ashenafimenza commented 5 years ago

@dimitriskomnos now I don't have the dice keys anymore. But I used the demo files in the directory C:\Apps\co2mpas_AIO-2.0.0\CO2MPAS\co2mpas-demos. I tried for co2mpas_demo-1.xlsx, co2mpas_demo-2.xlsx, ....

ashenafimenza commented 5 years ago

co2mpas_demo-1.xlsx co2mpas_demo-2.xlsx

stefanocorsi commented 5 years ago

@sapofra could you send your input files as well?

stefanocorsi commented 5 years ago

When I try to run the files uploaded by @ashenafimenza I get this result:

open_input_file: done
Parameter 'flag.encrypt_inputs' in sheet 'Inputs' cannot be parsed!
parse_excel_file: done
Input-file version 2.3.0 is incompatible with expected 3.0.1).
More failures may happen.

Input cannot be parsed, due to:
atct_family_correction_factor in input/calibration/wltp_l: Cannot be used in type approval mode.
atct_family_correction_factor in input/calibration/wltp_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_l: Cannot be used in type approval mode.
open_input_file: done
Parameter 'flag.encrypt_inputs' in sheet 'Inputs' cannot be parsed!
parse_excel_file: done
Input-file version 2.3.0 is incompatible with expected 3.0.1).
More failures may happen.

Input cannot be parsed, due to:
atct_family_correction_factor in input/calibration/wltp_l: Cannot be used in type approval mode.
atct_family_correction_factor in input/calibration/wltp_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_l: Cannot be used in type approval mode.
CO2MPAS summary written into (C:\Users\Stefano Corsi\.co2mpas\output\_h2jicpg-10528\20191005_145142-summary.xlsx)...
Done! [11.73 sec] 

So apparently is a question of files that are not meant to be used in TA mode?

stefanocorsi commented 5 years ago

This is what I get for a simulation in TA mode done with the standard demo files from co2mpas:

open_input_file: done
parse_excel_file: done
Input-file version 4.0.0 is incompatible with expected 3.0.1).
More failures may happen.
output.precondition.wltp_p: done
output.calibration.wltp_h: done
output.calibration.wltp_l: done
output.prediction.nedc_h: done
output.prediction.nedc_l: done
output.prediction.wltp_h: done
output.prediction.wltp_l: done
format_report_output_data: done
Input-file version 4.0.0 is incompatible with expected 3.0.1).
More failures may happen.
write_to_excel: done
Hash of correlation-report: 33c69ee7d8fb0aedd7f71a5999f24a0d760dbf83ca639acc235c9a0d248dd6c2.
CO2MPAS output written into (C:\Users\Stefano Corsi\.co2mpas\output\_h2jicpg-18016\20191005_145421-00-IP-DEMO_0000-ABC-1.co2mpas.zip).
CO2MPAS summary written into (C:\Users\Stefano Corsi\.co2mpas\output\_h2jicpg-18016\20191005_145421-summary.xlsx)...
Done! [73.01 sec] 

There are still errors or warnings (regarding the version of the file) but the final result is correct and a zip file for TA mode is generated.

ashenafimenza commented 5 years ago

When I try to run the files uploaded by @ashenafimenza I get this result:

open_input_file: done
Parameter 'flag.encrypt_inputs' in sheet 'Inputs' cannot be parsed!
parse_excel_file: done
Input-file version 2.3.0 is incompatible with expected 3.0.1).
More failures may happen.

Input cannot be parsed, due to:
atct_family_correction_factor in input/calibration/wltp_l: Cannot be used in type approval mode.
atct_family_correction_factor in input/calibration/wltp_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_l: Cannot be used in type approval mode.
open_input_file: done
Parameter 'flag.encrypt_inputs' in sheet 'Inputs' cannot be parsed!
parse_excel_file: done
Input-file version 2.3.0 is incompatible with expected 3.0.1).
More failures may happen.

Input cannot be parsed, due to:
atct_family_correction_factor in input/calibration/wltp_l: Cannot be used in type approval mode.
atct_family_correction_factor in input/calibration/wltp_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_h: Cannot be used in type approval mode.
atct_family_correction_factor in input/prediction/nedc_l: Cannot be used in type approval mode.
CO2MPAS summary written into (C:\Users\Stefano Corsi\.co2mpas\output\_h2jicpg-10528\20191005_145142-summary.xlsx)...
Done! [11.73 sec] 

So apparently is a question of files that are not meant to be used in TA mode?

@stefanocorsi sorry for my late reply. I think I used demo files which are old and may be that is why. I already uploaded the files somewhere up.

vinci1it2000 commented 5 years ago

@ashenafimenza please use the demo files that are produced by co2mpas with cmd co2mpas demo ./demos.

ashenafimenza commented 5 years ago

@vinci1it2000 I produced the new demo files as per your suggestion and simulation (TA) works fine.

stefanocorsi commented 5 years ago

Thanks Ashe, is everybody happy with this issue? Can I close it @ashenafimenza and @sapofra ?