load#

ams.main.load(case, setup=True, use_input_path=True, **kwargs)[source]#

Load a case and set up a system without running routine. Return a system.

Takes other kwargs recognizable by System, such as addfile, input_path, and no_putput.

Parameters:
case: str

Path to the test case

setupbool, optional

Call System.setup after loading

use_input_pathbool, optional

True to use the input_path argument to behave the same as ams.main.run.

Warning

If one need to add devices in addition to these from the case file, do setup=False and call System.add() to add devices. When done, manually invoke setup() to set up the system.