twin_get_rom_snapshot_files#

TwinRuntime.twin_get_rom_snapshot_files(model_name, time_from=-1, time_to=-1)#

Retrieves the model snapshots files from ‘time_from’ up to ‘time_to’ for the given TBROM model name. By default, it returns the snapshots files for the current simulation step (for step-by-step simulation) or for all previous steps (for batch model simulation). This method is only supported for Twin models created from one or more TBROM components.

Parameters:
model_namestr

Model name of the TBROM for which the snapshot files need to be retrieved.

time_fromfloat (optional)

Time stamp from which the snapshot files need to be retrieved.

time_tofloat (optional)

Time stamp up to which the snapshot files need to be retrieved.

Returns:
list

List of path of all the snapshots files retrieved