watts.Database#

class watts.Database(path=None)[source]#

Database of simulation results

Parameters

path – Path to database directory

path#

Base path for the database directory

default_path#

Path used by default when creating instances if no path is specified

results#

List of simulation results in database

Methods

add_result(result)

Add a result to the database

clear()

Remove all results from database

get_default_path()

Get the default path used when instances are created

set_default_path(path)

Set the default path used when instances are created

show_summary()

Show a summary of results in database