Splitting the input file data according to the specified ScenarioSplitterColumnName parameter

Z Solvertech
Verze z 17. 8. 2022, 12:43, kterou vytvořil Jana.safferova (diskuse | příspěvky) (založena nová stránka s textem „If you want the bulk scenarios to have the correct planning date (when the transport should take place), you need the column with the date you are splitting the scenarios by to be named '''"planningdate"'''. Otherwise, all scenarios will be internally scheduled to the date the file is loaded.“)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)
Skočit na navigaci Skočit na vyhledávání
Jiné jazyky:

A function that allows you to import a single data file and split it into multiple scenarios according to a specific column, e.g. date, or region.



Example:

  • I have an import file containing data for a whole month.
  • I simply want to split it into the appropriate number of scenarios according to the date that is specified in the planningdate column.
  • I will set the necessary function in ScenarioImporter:

<ScenarioSplitterColumnName>planningdate</ScenarioSplitterColumnName>

  • I load the import file, which is split into the necessary scenarios with one click.



Examples of data input and ScenarioImporter settings:

Media:TAS_Pokroile_Pluginy_Input,_Output_Import_ScenarioImporter_Rozdleni_dat_vstupniho_souboru_dle_zadaneho_parametru_ScenarioSplitterColumnNameImport_ScenarioSplitter_Unor2016.txt Media:TAS_Pokroile_Pluginy_Input,_Output_Import_ScenarioImporter_Rozdleni_dat_vstupniho_souboru_dle_zadaneho_parametru_ScenarioSplitterColumnNameScenarioImporter.config Media:TAS_Pokroile_Pluginy_Input,_Output_Import_ScenarioImporter_Rozdleni_dat_vstupniho_souboru_dle_zadaneho_parametru_ScenarioSplitterColumnNameScenarioImporter.config.url


Note:

If you want the bulk scenarios to have the correct planning date (when the transport should take place), you need the column with the date you are splitting the scenarios by to be named "planningdate". Otherwise, all scenarios will be internally scheduled to the date the file is loaded.