RunSystemMacro
RunSystemMacro を使用して、現在のシステムマクロからシステムマクロをコールします。
例:
別のマクロからシステムマクロ「S+ Initialize Engine」を実行します:
- RunSystemMacro ("S+ Initialize Engine")
- RunScenarioMacro ("S+ Import Supply Plan", "Supply Plus (W)","","Supply", "SPlus-Baseline","")
- RunScenarioMacro ("S+ Solve Plan Continuous", "Supply Plus (W)","","Supply", "SPlus-Baseline","")
- RunScenarioMacro ("S+ Initialise Plan","Supply Plus (W)","","Supply", "SPlus-Revised","")
- RunScenarioMacro ("S+ Import Supply Plan","Supply Plus (W)","","Supply", "SPlus-Revised","")
- RunScenarioMacro ("S+ Solve Plan Continuous","Supply Plus (W)","","Supply", "SPlus-Revised","")
実行時にサイクル期間またはシナリオが利用できない場合に 600 秒のタイムアウトを設定して、別のマクロからシステムマクロ「S+ Initialize Engine」を実行します:RunSystemMacro ("S+ Initialize Engine",600)。