gearshift.core.write package

Submodules

gearshift.core.write.excel module

Functions to write outputs on an excel file.

write_to_excel(solution_case, fp)[source]

Save output file.

Parameters:
  • solution_case (dict) – Dictionary that contain outputs.

  • fp (str) – Output path and file name.

Module contents

Functions and dsp model to writre data from a GEARSHIFT input file.

Sub-Modules:

excel

Functions to write outputs on an excel file.

save_output_file(sol, output_folder, timestamp, output_format)[source]

Create a excel file for each input

Parameters:
  • sol (list) – List of dictionaries that contains the solution for the different inputs cases

  • output_folder (os.path) – Path to save the different outputs files

  • timestamp (datetime.datetime) – The current datetime

  • output_format (str) – The extension format of the output file