andes.main#

Main entry point for the ANDES CLI and scripting interfaces.

Functions

config_logger([stream_level, stream, file, ...])

Configure an ANDES logger with a FileHandler and a StreamHandler.

demo(**kwargs)

TODO: show some demonstrations from CLI.

doc([attribute, list_supported, config])

Quick documentation from command-line.

edit_conf([edit_config])

Edit the Andes config file which occurs first in the search path.

find_log_path(lg)

Find the file paths of the FileHandlers.

load(case[, codegen, setup, use_input_path])

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

misc([edit_config, save_config, ...])

Miscellaneous commands.

plot(*args, **kwargs)

Wrapper for the plot tool.

prepare([quick, incremental, models, ...])

Run code generation.

print_license()

Print out Andes license to stdout.

remove_output([recursive])

Remove the outputs generated by Andes, including power flow reports _out.txt, time-domain list _out.lst and data _out.dat, eigenvalue analysis report _eig.txt.

run(filename[, input_path, verbose, ...])

Entry point to run ANDES routines.

run_case(case, *[, routine, profile, ...])

Run single simulation case for the given full path.

save_conf([config_path, overwrite])

Save the Andes config to a file at the path specified by save_config.

selftest([quick, extra])

Run unit tests.

set_logger_level(lg, type_to_set, level)

Set logging level for the given type of handler.

versioninfo()

Print version info for ANDES and dependencies.