load#
- ams.main.load(case: str, setup: bool = True, use_input_path: bool = True, **kwargs) System | None[source]#
Load a case and set up a system without running routine. Return a system. Revised from andes.main.load.
Takes other kwargs recognizable by
System, such asaddfile,input_path, andno_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_pathargument to behave the same asams.main.run.
Warning
If one need to add devices in addition to these from the case file, do
setup=Falseand callSystem.add()to add devices. When done, manually invokesetup()to set up the system.