public static void BeginProgram() { var timer = new Timer("Starting DaySim Controller..."); Console.WriteLine("Run initial DaySim steps locally"); var settingsFactory = new SettingsFactory(Global.Configuration); Global.Settings = settingsFactory.Create(); ParallelUtility.Init(Global.Configuration); Engine.InitializeDaySim(); Engine.BeginInitialize(); Engine.BeginRunRawConversion(); Engine.BeginImportData(); Engine.BeginBuildIndexes(); BeginRunRemoteProcesses(); BeginMerge(); BeginLoadData(); Engine.BeginUpdateShadowPricing(); if (Global.Configuration.RemoteCopySPFilesToRemoteMachines) { BeginCopyFilesToRemoteMachines(); } timer.Stop("Total running time"); }
private static void BeginRunRemoteProcesses() { var timer = new Timer("Running remote batches of households using DaySim's s=, e=, i= arguments..."); RunRemoteProcesses(); timer.Stop(); }
private static void BeginCopyFilesToRemoteMachines() { var timer = new Timer("Copying files to remote machines..."); CopyFilesToRemoteMachines(); timer.Stop(); }
private static void BeginLoadData() { var timer = new Timer("Loading data..."); LoadData(); timer.Stop(); }
private static void BeginMerge() { var timer = new Timer("Merging each remote output file into a master/local output file..."); Merge(); timer.Stop(); }