pytwin.TwinRuntime#

class pytwin.TwinRuntime(model_path, log_path=None, twin_runtime_library_path=None, log_level=LogLevel.TWIN_LOG_WARNING, load_model=True)#

Methods

TwinRuntime.build_prop_info_df(var_names)

TwinRuntime.evaluate_twin_prop_status(...)

TwinRuntime.evaluate_twin_status(...)

TwinRuntime.full_model_properties_info_df()

TwinRuntime.get_twin_version(file_path)

TwinRuntime.load_dll([twin_runtime_library_path])

TwinRuntime.load_twin_default_sim_settings()

TwinRuntime.model_properties_info_df(...)

TwinRuntime.print_model_info([max_var_to_print])

TwinRuntime.print_var_info(var_names, ...)

TwinRuntime.twin_close()

TwinRuntime.twin_disable_3d_rom_model_data(...)

TwinRuntime.twin_disable_rom_model_images(...)

TwinRuntime.twin_enable_3d_rom_model_data(...)

TwinRuntime.twin_enable_rom_model_images(...)

TwinRuntime.twin_get_api_version()

TwinRuntime.twin_get_default_rom_image_directory(...)

TwinRuntime.twin_get_default_simulation_settings()

TwinRuntime.twin_get_input_names()

TwinRuntime.twin_get_model_dependencies(...)

TwinRuntime.twin_get_model_name()

TwinRuntime.twin_get_number_inputs()

TwinRuntime.twin_get_number_outputs()

TwinRuntime.twin_get_number_params()

TwinRuntime.twin_get_output_by_index(index)

TwinRuntime.twin_get_output_by_name(output_name)

TwinRuntime.twin_get_output_names()

TwinRuntime.twin_get_outputs()

TwinRuntime.twin_get_param_names()

TwinRuntime.twin_get_rom_images_files(...[, ...])

TwinRuntime.twin_get_rom_mode_coef_files(...)

TwinRuntime.twin_get_rom_resource_directory(...)

TwinRuntime.twin_get_rom_snapshot_files(...)

TwinRuntime.twin_get_status_string()

TwinRuntime.twin_get_str_var_start(var_name)

TwinRuntime.twin_get_var_data_type(var_name)

TwinRuntime.twin_get_var_description(var_name)

TwinRuntime.twin_get_var_max(var_name)

TwinRuntime.twin_get_var_min(var_name)

TwinRuntime.twin_get_var_nominal(var_name)

TwinRuntime.twin_get_var_quantity_type(var_name)

TwinRuntime.twin_get_var_start(var_name)

TwinRuntime.twin_get_var_unit(var_name)

TwinRuntime.twin_get_visualization_resources()

TwinRuntime.twin_initialize()

TwinRuntime.twin_instantiate()

TwinRuntime.twin_is_cross_platform(file_path)

TwinRuntime.twin_load(log_level)

TwinRuntime.twin_load_state(load_from)

TwinRuntime.twin_reset()

TwinRuntime.twin_save_state(save_to)

TwinRuntime.twin_set_input_by_index(index, value)

TwinRuntime.twin_set_input_by_name(...)

TwinRuntime.twin_set_inputs(input_array)

TwinRuntime.twin_set_param_by_index(index, value)

TwinRuntime.twin_set_param_by_name(...)

TwinRuntime.twin_set_rom_image_directory(...)

TwinRuntime.twin_set_str_param_by_name(...)

TwinRuntime.twin_simulate(time_stop[, time_step])

TwinRuntime.twin_simulate_batch_mode(...[, ...])

TwinRuntime.twin_simulate_batch_mode_csv(...)

Attributes

TwinRuntime.debug_mode

TwinRuntime.has_default_settings

TwinRuntime.input_names

TwinRuntime.is_model_initialized

TwinRuntime.is_model_instantiated

TwinRuntime.is_model_opened

TwinRuntime.last_time_stop

TwinRuntime.model_name

TwinRuntime.number_inputs

TwinRuntime.number_outputs

TwinRuntime.number_parameters

TwinRuntime.os_version

TwinRuntime.output_names

TwinRuntime.p_end_time

TwinRuntime.p_step_size

TwinRuntime.p_tolerance

TwinRuntime.parameter_names

TwinRuntime.twin_runtime_library

TwinRuntime.twin_status