Lab#

add_external_custom_loss(name, ...)

Add an external custom loss.

add_internal_custom_loss(name, function, ...)

Add an internal custom loss.

build_model_lab()

Build the Lab model.

calculate_duty_cycle_lab()

Run the Lab duty cycle.

calculate_generator_lab()

Calculate generator performance.

calculate_magnetic_lab()

Run the Lab magnetic calculation.

calculate_operating_point_lab()

Run the Lab operating point calculation.

calculate_test_performance_lab()

Calculate the test performance.

calculate_thermal_lab()

Run the Lab thermal calculation.

clear_model_build_lab()

Clear the Lab model build.

export_duty_cycle_lab()

Export the calculated duty cycle data to the thermal model.

export_figure_lab(calculation_type, ...)

Export an image of the Lab results graph.

export_lab_model(file_path)

Export lab model.

get_model_built_lab()

Test if the Lab model must be built or rebuilt before running calculations.

load_external_model_lab(file_path)

Load an external model data file.

remove_external_custom_loss(name)

Remove an external custom loss by name.

remove_internal_custom_loss(name)

Remove an internal custom loss by name.

show_results_viewer_lab(calculation_type)

Load the results viewer for the specified Lab calculation type.