update_ict_analysis_props#

Analysis.update_ict_analysis_props(project, ict_analysis_properties)#

Update properties for an ICT analysis.

Available Since: 2024R1

Parameters:
project: str

Name of the Sherlock project.

ict_analysis_properties: list[dict[str, bool | float | int | str]]

ICT analysis properties for a CCA consisting of these properties:

  • cca_name: str

    Name of the CCA.

  • ict_application_time: float

    Specifies the amount of time to complete one ICT event.

  • ict_application_time_units: str

    Application time units. Options are "ms", "sec", "min", "hr", "day", "year".

  • ict_number_of_events: int

    Specifies the number of events to apply to the application time when computing the time to failure for a component.

  • part_validation_enabled: bool

    Whether to enable part validation. The default is None.

  • require_material_assignment_enabled: bool

    Whether to require material assignment. The default is None.

  • ict_result_count: int

    The number of ICT result layers to generate. This parameter is for use with thermal analysis.

Returns:
:
int

Status code of the response. 0 for success.

Return type:

int

Examples

>>> from ansys.sherlock.core import launcher
>>> sherlock, install_dir = launcher.launch_and_connect(transport_mode="wnua")
>>> sherlock.project.import_odb_archive(
>>>     "ODB++ Tutorial.tgz",
>>>     True,
>>>     True,
>>>     True,
>>>     True,
>>>     project="Test",
>>>     cca_name="Card",
>>> )
>>> sherlock.analysis.update_ict_analysis_props(
>>> "Test",
>>> [{
>>>     "cca_name": "Card",
>>>     "ict_application_time": 2,
>>>     "ict_application_time_units": "sec",
>>>     "ict_number_of_events": 10,
>>>     "part_validation_enabled": False,
>>>     "require_material_assignment_enabled": False,
>>> },
>>> ]
>>> )