twin_load_state#

TwinRuntime.twin_load_state(load_from, do_fmi_init=True)#

Load and set the TWIN states with the ones stored in the file ‘load_from’ (including model values used in the TWIN when saving the states).

Parameters:
load_fromstr

Path of the file used to load the TWIN states.

do_fmi_initbool (optional)

Whether to initialize the TWIN underlying models (True) or not (False) before loading the states, default value is True.