From 6f290b24d48064c43b6bf28723f56170fa2e5281 Mon Sep 17 00:00:00 2001 From: jpizarro Date: Thu, 19 Feb 2026 09:55:34 +0100 Subject: [PATCH 1/9] Move creep test classes to its own module Added MechanicalTest class and inheritance to ExperimentalStep Added inheritance in CreepTest on MechanicalTest Applied formatting --- bam_masterdata/datamodel/creep_test.py | 2922 ++++++++++++++++++++++++ 1 file changed, 2922 insertions(+) create mode 100644 bam_masterdata/datamodel/creep_test.py diff --git a/bam_masterdata/datamodel/creep_test.py b/bam_masterdata/datamodel/creep_test.py new file mode 100644 index 0000000..66e4b12 --- /dev/null +++ b/bam_masterdata/datamodel/creep_test.py @@ -0,0 +1,2922 @@ +from bam_masterdata.datamodel.object_types import ExperimentalStep +from bam_masterdata.metadata.definitions import ObjectTypeDef, PropertyTypeAssignment +from bam_masterdata.metadata.entities import ObjectType + + +class MechanicalTest(ExperimentalStep): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST", + description="""Mechanical test (experimental step) // Mechanischer Test (Versuchsschritt)""", + generated_code_prefix="EXP.MECH", + ) + + +class CreepTest(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST", + description="""Creep test (mechanical) // Kriechversuch (mechanisch)""", + generated_code_prefix="EXP.MECH.CREEP", + ) + + # --- Links to related creep-test sub-objects (OBJECT properties) --- + link_material_history_and_condition = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_MATERIAL_HISTORY_AND_CONDITION", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST_MATERIAL_HISTORY_AND_CONDITION", + property_label="Material history and condition", + description="""Linked object: Material history and condition""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_test_piece = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEST_PIECE", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.TEST_PIECE", + property_label="Test piece", + description="""Linked object: Test piece""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_test_machine = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEST_MACHINE", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE", + property_label="Test machine", + description="""Linked object: Test machine""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_test_machine_heating_system = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEST_MACHINE_HEATING_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.HEATING_SYSTEM", + property_label="Heating system", + description="""Linked object: Heating system""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_test_machine_holder_system = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEST_MACHINE_HOLDER_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.TEST_PIECE_HOLDER_SYSTEM", + property_label="Test piece holder system", + description="""Linked object: Test piece holder system""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_test_machine_loading_system = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEST_MACHINE_LOADING_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.LOADING_SYSTEM", + property_label="Loading system", + description="""Linked object: Loading system""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_test_machine_data_acquisition = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEST_MACHINE_DATA_ACQUISITION", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.DATA_ACQUISITION", + property_label="Data acquisition (test machine)", + description="""Linked object: Data acquisition (test machine)""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_load_sensor = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_LOAD_SENSOR", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.LOAD_SENSOR", + property_label="Load sensor", + description="""Linked object: Load sensor""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_load_measuring_data_acquisition = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_LOAD_MEASURING_DATA_ACQUISITION", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.DATA_ACQUISITION", + property_label="Load measuring system data acquisition", + description="""Linked object: Load measuring system data acquisition""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_laboratory_conditions = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_LABORATORY_CONDITIONS", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.LABORATORY_CONDITIONS", + property_label="Laboratory conditions", + description="""Linked object: Laboratory conditions""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_temperature_measuring_system = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEMPERATURE_MEASURING_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM", + property_label="Temperature-measuring system", + description="""Linked object: Temperature-measuring system""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_temperature_sensor = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEMPERATURE_SENSOR", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.TEMPERATURE_SENSOR", + property_label="Temperature sensor", + description="""Linked object: Temperature sensor""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_temperature_daq = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_TEMPERATURE_DAQ", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.DATA_ACQUISITION", + property_label="Temperature DAQ", + description="""Linked object: Temperature measuring system data acquisition""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_extensometer_system = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_EXTENSOMETER_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSOMETER_SYSTEM", + property_label="Extensometer system", + description="""Linked object: Extensometer system""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_contacting_extensometer = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_CONTACTING_EXTENSOMETER", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSION_VALUES.CONTACTING_EXTENSOMETER", + property_label="Contacting extensometer", + description="""Linked object: Contacting extensometer""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_elongation_cross_sectional = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_ELONGATION_CROSS_SECTIONAL", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.ELONGATION_VALUES_AND_CROSS_SECTIONAL_DIMENSIONS", + property_label="Elongation & cross-sectional dimensions", + description="""Linked object: Elongation values and cross-sectional dimensions""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_data_processing = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_DATA_PROCESSING", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.DATA_PROCESSING_PROCEDURES", + property_label="Data processing procedures", + description="""Linked object: Data processing procedures""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_primary_data_at_start = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_PRIMARY_DATA_AT_START", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AT_TEST_START", + property_label="Primary data at test start", + description="""Linked object: Primary data (values at test start)""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_primary_data_during_run = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_PRIMARY_DATA_DURING_RUN", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", + property_label="Primary data during test run", + description="""Linked object: Primary data (values during test run)""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_primary_data_after_end = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_PRIMARY_DATA_AFTER_END", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AFTER_END_OF_TEST", + property_label="Primary data after end of test", + description="""Linked object: Primary data (values after end of test)""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_secondary_data_during_run = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_SECONDARY_DATA_DURING_RUN", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", + property_label="Secondary data during test run", + description="""Linked object: Secondary data (values during test run)""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_secondary_elongation_values = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_SECONDARY_ELONGATION_VALUES", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.ELONGATION_VALUES", + property_label="Secondary elongation values", + description="""Linked object: Secondary data (elongation values)""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + link_secondary_extension_values = PropertyTypeAssignment( + code="CREEP_TEST.LINK.LINK_SECONDARY_EXTENSION_VALUES", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.EXTENSION_VALUES", + property_label="Secondary extension values", + description="""Linked object: Secondary data (extension values)""", + mandatory=False, + show_in_edit_views=False, + section="Linked objects", + ) + + # --------------------------- + # Section: Metadata - Test info - Test job details + # --------------------------- + + creep_test_date_of_test_start = PropertyTypeAssignment( + code="START_DATE", + data_type="TIMESTAMP", + property_label="Date of test start", + description="""Date of test start // Startdatum der Prüfung""", + mandatory=True, + show_in_edit_views=False, + section="Test job details", + ) + + creep_test_date_of_test_end = PropertyTypeAssignment( + code="END_DATE", + data_type="TIMESTAMP", + property_label="Date of test end", + description="""Date of test end // Enddatum der Prüfung""", + mandatory=True, + show_in_edit_views=False, + section="Test job details", + ) + + creep_test_test_id = PropertyTypeAssignment( + code="CREEP_TEST.TEST_ID", + data_type="VARCHAR", + property_label="Test ID", + description="""Test ID // Prüf-ID""", + mandatory=True, + show_in_edit_views=False, + section="Test job details", + ) + + creep_test_project = PropertyTypeAssignment( + code="REQUEST.PROJECT", + data_type="VARCHAR", + property_label="Project", + description="""Project // Projekt""", + mandatory=False, + show_in_edit_views=False, + section="Test job details", + ) + + # --------------------------- + # Section: Metadata - Test info - Test parameters + # --------------------------- + + creep_test_test_standard_applied = PropertyTypeAssignment( + code="CREEP_TEST_TEST_STANDARD_APPLIED", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="TEST_STANDARD_APPLIED", + property_label="Test standard applied", + description="""Test standard applied - Was the test performed according to a test standard? // Prüfnorm angewendet – Wurde die Prüfung gemäß einer Prüfnorm durchgeführt?""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_test_standard = PropertyTypeAssignment( + code="CREEP_TEST_TEST_STANDARD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TEST_STANDARD", + property_label="Test standard", + description="""Test standard // Prüfnorm""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_specified_temperature = PropertyTypeAssignment( + code="ATOM_MD_TARG_TEMP_IN_K", + data_type="REAL", + property_label="Specified temperature [K]", + description="""Specified temperature // Vorgegebene Temperatur""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_type_of_loading = PropertyTypeAssignment( + code="CREEP_TEST_TYPE_OF_LOADING", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TYPE_OF_LOADING", + property_label="Type of loading", + description="""Type of loading // Art der Belastung""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_load_control_type = PropertyTypeAssignment( + code="CREEP_TEST_LOAD_CONTROL_TYPE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_LOAD_CONTROL_TYPE", + property_label="Load control type", + description="""Load control type // Lastregelungsart""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_initial_stress = PropertyTypeAssignment( + code="CREEP_TEST_INITIAL_STRESS", + data_type="REAL", + property_label="Initial stress [MPa]", + description="""Initial stress // Anfangsspannung""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_test_type = PropertyTypeAssignment( + code="CREEP_TEST_TEST_TYPE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TEST_TYPE", + property_label="Test type", + description="""Test type // Prüftyp""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_end_of_test_criterium = PropertyTypeAssignment( + code="CREEP_TEST_END_OF_TEST_CRITERIUM", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_END_OF_TEST_CRITERIUM", + property_label="End of test criterium", + description="""End of test criterium // Abbruchkriterium""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_time_limit = PropertyTypeAssignment( + code="CREEP_TEST_TIME_LIMIT", + data_type="VARCHAR", + property_label="Time Limit", + description="""Time Limit // Zeitlimit""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_extension_limit = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSION_LIMIT", + data_type="VARCHAR", + property_label="Extension Limit", + description="""Extension Limit // Dehnungsgrenze""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_end_of_test = PropertyTypeAssignment( + code="CREEP_TEST_END_OF_TEST", + data_type="VARCHAR", + property_label="End of test", + description="""End of test - Describe the end of test if none of the preset criteria (time or extension limit) could be met // Testende – Beschreiben Sie das Testende, falls keines der vorgegebenen Kriterien (Zeit- oder Dehnungsgrenze) erreicht werden konnte.""", + mandatory=False, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_interruption_course = PropertyTypeAssignment( + code="CREEP_TEST_INTERRUPTION_COURSE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_INTERRUPTION_COURSE", + property_label="Interruption course", + description="""Interruption course // Unterbrechungsverlauf""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_test_force = PropertyTypeAssignment( + code="CREEP_TEST_TEST_FORCE", + data_type="REAL", + property_label="Test force [kN]", + description="""Test force // Prüfkraft""", + mandatory=False, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_preload = PropertyTypeAssignment( + code="CREEP_TEST_PRELOAD", + data_type="REAL", + property_label="Preload [kN]", + description="""Preload - Part of the test force // Vorspannkraft – Teil der Prüfkraft""", + mandatory=True, + show_in_edit_views=False, + section="Test parameters", + ) + + creep_test_additional_information = PropertyTypeAssignment( + code="NOTES", + data_type="MULTILINE_VARCHAR", + property_label="Additional information", + description="""Additional information // Zusätzliche Informationen""", + mandatory=False, + show_in_edit_views=False, + section="Test parameters", + ) + + # -------------------------------- + # Section: Metadata - Test info - Related research outcome + # -------------------------------- + + creep_test_any_related_articles = PropertyTypeAssignment( + code="CREEP_TEST_ANY_RELATED_ARTICLES", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_ANY_RELATED_ARTICLES", + property_label="Any related articles", + description="""Any related articles // Zugehörige Artikel vorhanden""", + mandatory=False, + show_in_edit_views=False, + section="Related research outcome", + ) + + creep_test_related_article = PropertyTypeAssignment( + code="CREEP_TEST_RELATED_ARTICLE", + data_type="MULTILINE_VARCHAR", + property_label="Related article", + description="""Related article - Multiple input entries for instance for MSE research article DOI, Zenodo DOI, FDO // Zugehöriger Artikel – Mehrfache Eingaben, z. B. für DOI eines Fachartikels, Zenodo-DOI, FDO.""", + mandatory=False, + show_in_edit_views=False, + section="Related research outcome", + ) + + +class CreepTestMaterialHistoryAndCondition(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST_MATERIAL_HISTORY_AND_CONDITION", + description="""Material history and condition for creep tests // Materialhistorie und -zustand für Kriechversuche""", + generated_code_prefix="EXP.MECH.CREEP.MAT_HIST", + ) + + # --- Links to material sub-objects (OBJECT properties) --- + link_chemical_composition_nominal = PropertyTypeAssignment( + code="CREEP_TEST.MATERIAL.LINK.LINK_CHEMICAL_COMPOSITION_NOMINAL", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.NOMINAL", + property_label="Chemical composition (nominal)", + description="""Linked object: Chemical composition (nominal)""", + mandatory=False, + show_in_edit_views=False, + section="Linked material objects", + ) + + link_chemical_composition_measured = PropertyTypeAssignment( + code="CREEP_TEST.MATERIAL.LINK.LINK_CHEMICAL_COMPOSITION_MEASURED", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.MEASURED", + property_label="Chemical composition (measured)", + description="""Linked object: Chemical composition (measured)""", + mandatory=False, + show_in_edit_views=False, + section="Linked material objects", + ) + + link_ndt_results = PropertyTypeAssignment( + code="CREEP_TEST.MATERIAL.LINK.LINK_NDT_RESULTS", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.NDT_RESULTS", + property_label="NDT results", + description="""Linked object: NDT results""", + mandatory=False, + show_in_edit_views=False, + section="Linked material objects", + ) + + link_mechanical_tests_results = PropertyTypeAssignment( + code="CREEP_TEST.MATERIAL.LINK.LINK_MECHANICAL_TESTS_RESULTS", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.MECHANICAL_TESTS_RESULTS", + property_label="Mechanical tests results", + description="""Linked object: Mechanical tests results""", + mandatory=False, + show_in_edit_views=False, + section="Linked material objects", + ) + + # -------------------------------- + # Section: Metadata - Material history and condition + # -------------------------------- + + creep_test_material_identifier = PropertyTypeAssignment( + code="CREEP_TEST_MATERIAL_IDENTIFIER", + data_type="VARCHAR", + property_label="Material Identifier // Materialkennung", + description="""Material Identifier - E.g., NIMONIC 75, 2.4630, CMSX-6, CMSX-4, ERBO1, // Materialkennung – z. B. NIMONIC 75, 2.4630, CMSX-6, CMSX-4, ERBO1,""", + mandatory=True, + show_in_edit_views=False, + section="Material history and condition", + ) + + # Section: As-manufactured material + creep_test_phase_transformation_during_test = PropertyTypeAssignment( + code="CREEP_TEST_PHASE_TRANSFORMATION_DURING_TEST", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_PHASE_TRANSFORMATION_DURING_TEST", + property_label="Phase transformation during test // Phasenumwandlung während der Prüfung", + description="""Phase transformation during test // Phasenumwandlung während der Prüfung""", + mandatory=False, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_possible_phase_transformation = PropertyTypeAssignment( + code="CREEP_TEST_POSSIBLE_PHASE_TRANSFORMATION", + data_type="VARCHAR", + property_label="Possible phase transformation // Mögliche Phasenumwandlung", + description="""Possible phase transformation - Is any phase transformation expected due to temperature during the creep test?. Please provide any supporting material if possible. Answers could be, e.g., a link to a TTT-curve or a DOI of an article // Mögliche Phasenumwandlung – Wird aufgrund der Temperatur während des Kriechversuchs eine Phasenumwandlung erwartet? Bitte fügen Sie nach Möglichkeit unterstützendes Material bei (z. B. Link zu einer ZTU-/TTT-Kurve oder DOI eines Artikels).""", + mandatory=False, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_form_of_as_manufactured_material = PropertyTypeAssignment( + code="CREEP_TEST_FORM_OF_AS_MANUFACTURED_MATERIAL", + data_type="VARCHAR", + property_label="Form of as-manufactured material // Form des Materials im Herstellungszustand", + description="""Form of as-manufactured material - E.g., Cast, Ingot, Extrusion rod, // Form des Materials im Herstellungszustand – z. B. Guss, Block (Ingot), Extrusionsstab,""", + mandatory=True, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_geometry_size_as_manufactured_material = PropertyTypeAssignment( + code="CREEP_TEST_GEOMETRY_SIZE_AS_MANUFACTURED_MATERIAL", + data_type="VARCHAR", + property_label="Geometry/size as-manufactured material // Geometrie/Abmessungen des Materials im Herstellungszustand", + description="""Geometry/size as-manufactured material - Please provide a description or/and any supporting material, e.g., link to image or technical drawing, if possible. // Geometrie/Abmessungen des Materials im Herstellungszustand – Bitte geben Sie eine Beschreibung und/oder nach Möglichkeit unterstützendes Material an (z. B. Link zu einem Bild oder einer technischen Zeichnung).""", + mandatory=True, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_manufacturing_process_description_as_manufactured_material = PropertyTypeAssignment( + code="CREEP_TEST_MANUFACTURING_PROCESS_DESCRIPTION_AS_MANUFACTURED_MATERIAL", + data_type="VARCHAR", + property_label="Manufacturing process description as-manufactured material // Beschreibung des Herstellungsprozesses (Herstellungszustand)", + description="""Manufacturing process description as-manufactured material - E.g., Cast / Melting, Casting, and Remelting / Induction melting in air, casting into a circular ingot and then electroslag remelting // Beschreibung des Herstellungsprozesses (Herstellungszustand) – z. B. Guss / Schmelzen, Gießen und Umschmelzen / Induktionsschmelzen in Luft, Gießen in einen Rundblock und anschließend Elektroschlacke-Umschmelzen""", + mandatory=False, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_casting_temperature = PropertyTypeAssignment( + code="CREEP_TEST_CASTING_TEMPERATURE", + data_type="REAL", + property_label="Casting temperature [°C] // Gießtemperatur [°C]", + description="""Casting temperature // Gießtemperatur [°C]""", + mandatory=False, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_casting_speed = PropertyTypeAssignment( + code="CREEP_TEST_CASTING_SPEED", + data_type="REAL", + property_label="Casting speed // Gießgeschwindigkeit", + description="""Casting speed // Gießgeschwindigkeit""", + mandatory=False, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_solidification = PropertyTypeAssignment( + code="CREEP_TEST_SOLIDIFICATION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_SOLIDIFICATION", + property_label="Solidification // Erstarrungsform", + description="""Solidification - Single/Polycrystal solidified? // Erstarrungsform – Einkristallin oder polykristallin erstarrt?""", + mandatory=True, + show_in_edit_views=False, + section="As-manufactured material", + ) + + creep_test_condition = PropertyTypeAssignment( + code="CREEP_TEST_CONDITION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_CONDITION", + property_label="Condition // Zustand", + description="""Condition // Zustand""", + mandatory=True, + show_in_edit_views=False, + section="As-manufactured material", + ) + + # Section: As-tested material + creep_test_supplier = PropertyTypeAssignment( + code="SUPPLIER", + data_type="VARCHAR", + property_label="Supplier // Lieferant", + description="""Supplier // Lieferant""", + mandatory=True, + show_in_edit_views=False, + section="As-tested material", + ) + + creep_test_geometry_size_as_tested_material = PropertyTypeAssignment( + code="CREEP_TEST_GEOMETRY_SIZE_AS_TESTED_MATERIAL", + data_type="VARCHAR", + property_label="Geometry/size as-tested material // Geometrie/Abmessungen des Materials im Prüfzustand", + description="""Geometry/size as-tested material - The test piece is manufactured from the as-tested material. Please add a description or a link to Image or technical drawing. The as-tested material is the material to be tested. The as-tested material can be a component. // Geometrie/Abmessungen des Materials im Prüfzustand – Der Probekörper wird aus dem Material im Prüfzustand gefertigt. Bitte fügen Sie eine Beschreibung oder einen Link zu Bild/technischer Zeichnung hinzu. Das Material im Prüfzustand ist das zu prüfende Material und kann auch ein Bauteil sein.""", + mandatory=True, + show_in_edit_views=False, + section="As-tested material", + ) + + creep_test_manufacturing_process_description_as_tested_material = PropertyTypeAssignment( + code="CREEP_TEST_MANUFACTURING_PROCESS_DESCRIPTION_AS_TESTED_MATERIAL", + data_type="VARCHAR", + property_label="Manufacturing process description as-tested material // Beschreibung des Herstellungsprozesses (Prüfzustand)", + description="""Manufacturing process description as-tested material // Beschreibung des Herstellungsprozesses (Prüfzustand)""", + mandatory=True, + show_in_edit_views=False, + section="As-tested material", + ) + + creep_test_supply_date = PropertyTypeAssignment( + code="SAMPLE_RECEIVED", + data_type="TIMESTAMP", + property_label="Supply Date // Lieferdatum", + description="""Supply Date // Lieferdatum""", + mandatory=True, + show_in_edit_views=False, + section="As-tested material", + ) + + creep_test_order_number = PropertyTypeAssignment( + code="$ORDER.ADDITIONAL_INFORMATION", + data_type="VARCHAR", + property_label="Order number // Bestellnummer", + description="""Order number // Bestellnummer""", + mandatory=False, + show_in_edit_views=False, + section="As-tested material", + ) + + # Section: Heat treatment + creep_test_heat_treatment_state = PropertyTypeAssignment( + code="CREEP_TEST_HEAT_TREATMENT_STATE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_HEAT_TREATMENT_STATE", + property_label="Heat treatment - State // Wärmebehandlungszustand", + description="""Heat treatment - State // Wärmebehandlungszustand""", + mandatory=True, + show_in_edit_views=False, + section="Heat treatment", + ) + + creep_test_multistage_annealing = PropertyTypeAssignment( + code="CREEP_TEST_MULTISTAGE_ANNEALING", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MULTISTAGE_ANNEALING", + property_label="Multistage annealing? // Mehrstufiges Glühen?", + description="""Multistage annealing? // Mehrstufiges Glühen?""", + mandatory=False, + show_in_edit_views=False, + section="Heat treatment", + ) + + creep_test_multistage_ageing = PropertyTypeAssignment( + code="CREEP_TEST_MULTISTAGE_AGEING", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MULTISTAGE_AGEING", + property_label="Multistage ageing? // Mehrstufiges Auslagern?", + description="""Multistage ageing? // Mehrstufiges Auslagern?""", + mandatory=False, + show_in_edit_views=False, + section="Heat treatment", + ) + + creep_test_heat_treatment_annealing_description = PropertyTypeAssignment( + code="CREEP_TEST_HEAT_TREATMENT_ANNEALING_DESCRIPTION", + data_type="VARCHAR", + property_label="Heat treatment - Annealing - Description // Wärmebehandlung – Glühen – Beschreibung", + description="""Heat treatment - Annealing - Description // Wärmebehandlung – Glühen – Beschreibung""", + mandatory=True, + show_in_edit_views=False, + section="Heat treatment", + ) + + creep_test_heat_treatment_ageing_description = PropertyTypeAssignment( + code="CREEP_TEST_HEAT_TREATMENT_AGEING_DESCRIPTION", + data_type="VARCHAR", + property_label="Heat treatment - Ageing - Description // Wärmebehandlung – Auslagern – Beschreibung", + description="""Heat treatment - Ageing - Description // Wärmebehandlung – Auslagern – Beschreibung""", + mandatory=True, + show_in_edit_views=False, + section="Heat treatment", + ) + + creep_test_heat_treatment_protocol = PropertyTypeAssignment( + code="CREEP_TEST_HEAT_TREATMENT_PROTOCOL", + data_type="VARCHAR", + property_label="Heat treatment - Protocol // Wärmebehandlung – Protokoll", + description="""Heat treatment - Protocol - Link to file, preferably with machine-readable (meta)dataeta)data // Wärmebehandlung – Protokoll – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Heat treatment", + ) + + # Section: Microstructure + creep_test_microstructure_feature = PropertyTypeAssignment( + code="CREEP_TEST_MICROSTRUCTURE_FEATURE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MICROSTRUCTURE_FEATURE", + property_label="Microstructure feature // Mikrostrukturmerkmal", + description="""Microstructure feature // Mikrostrukturmerkmal""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_characterization_method = PropertyTypeAssignment( + code="CREEP_TEST_CHARACTERIZATION_METHOD", + data_type="VARCHAR", + property_label="Characterization method // Charakterisierungsmethode", + description="""Characterization method - E.g., STEM, HRTEM, TEM-EDX, AFM, SEM, SEM-EBSD, .... // Charakterisierungsmethode – z. B. STEM, HRTEM, TEM-EDX, AFM, SEM, SEM-EBSD, …""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_measured_condition = PropertyTypeAssignment( + code="CREEP_TEST_MEASURED_CONDITION", + data_type="VARCHAR", + property_label="Measured condition // Gemessener Zustand", + description="""Measured condition - E.g., as-manufactured, heat-treated, before testing, after testing // Gemessener Zustand – z. B. wie hergestellt, wärmebehandelt, vor der Prüfung, nach der Prüfung""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_measuring_position = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_POSITION", + data_type="VARCHAR", + property_label="Measuring position // Messposition", + description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition – Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, …).""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_microstructure_feature_information = PropertyTypeAssignment( + code="CREEP_TEST_MICROSTRUCTURE_FEATURE_INFORMATION", + data_type="VARCHAR", + property_label="Microstructure feature - Information // Mikrostrukturmerkmal – Informationen", + description="""Microstructure feature - Information - Include all relevant characterization results // Mikrostrukturmerkmal – Informationen – Führen Sie alle relevanten Charakterisierungsergebnisse auf.""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_microstructure_image = PropertyTypeAssignment( + code="CREEP_TEST_MICROSTRUCTURE_IMAGE", + data_type="VARCHAR", + property_label="Microstructure Image // Mikrostrukturbild", + description="""Microstructure Image - Link to File, e.g., an optical micrograph, preferably with machine-readable (meta)data // Mikrostrukturbild – Link zu einer Datei, z. B. zu einem optischen Mikrographen, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_microstructure_report = PropertyTypeAssignment( + code="CREEP_TEST_MICROSTRUCTURE_REPORT", + data_type="VARCHAR", + property_label="Microstructure report // Mikrostrukturbericht", + description="""Microstructure report - Link to file, preferably with machine-readable (meta)data // Mikrostrukturbericht – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_grain_size = PropertyTypeAssignment( + code="CREEP_TEST_GRAIN_SIZE", + data_type="REAL", + property_label="Grain size [µm] // Korngröße [µm]", + description="""Grain size - If polycrystal // Korngröße [µm] – Falls polykristallin.""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_grain_size_determination_method = PropertyTypeAssignment( + code="CREEP_TEST_GRAIN_SIZE_DETERMINATION_METHOD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_GRAIN_SIZE_DETERMINATION_METHOD", + property_label="Grain size - Determination method // Korngröße – Bestimmungsmethode", + description="""Grain size - Determination method // Korngröße – Bestimmungsmethode""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_grain_size_measuring_region = PropertyTypeAssignment( + code="CREEP_TEST_GRAIN_SIZE_MEASURING_REGION", + data_type="VARCHAR", + property_label="Grain size - measuring region // Korngröße – Messbereich", + description="""Grain size - measuring region - E.g., in the bulk // Korngröße – Messbereich – z. B. im Volumen""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_grain_size_distribution = PropertyTypeAssignment( + code="CREEP_TEST_GRAIN_SIZE_DISTRIBUTION", + data_type="VARCHAR", + property_label="Grain size distribution // Korngrößenverteilung", + description="""Grain size distribution - Link to file, preferably with machine-readable (meta)data // Korngrößenverteilung – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_grain_additional_information = PropertyTypeAssignment( + code="CREEP_TEST_GRAIN_ADDITIONAL_INFORMATION", + data_type="VARCHAR", + property_label="Grain - Additional Information // Korn – Zusätzliche Informationen", + description="""Grain - Additional Information - Include all further relevant characterization results // Korn – Zusätzliche Informationen – Führen Sie weitere relevante Charakterisierungsergebnisse auf.""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_reprecipitated_gamma_gamma_prime_regions = PropertyTypeAssignment( + code="CREEP_TEST_REPRECIPITATED_GAMMA_GAMMA_PRIME_REGIONS", + data_type="VARCHAR", + property_label="Reprecipitated gamma-gamma prime regions [%] // Wieder ausgeschiedene Gamma/Gamma′-Bereiche [%]", + description="""Reprecipitated gamma-gamma prime regions - Completely dissolved and re-precipitated gamma-gamma' regions // Wieder ausgeschiedene Gamma/Gamma′-Bereiche [%] – Vollständig gelöste und wieder ausgeschiedene Gamma/Gamma′-Bereiche""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_gamma_prime_particles_average_size = PropertyTypeAssignment( + code="CREEP_TEST_GAMMA_PRIME_PARTICLES_AVERAGE_SIZE", + data_type="VARCHAR", + property_label="Gamma prime particles - average size [µm] // Gamma′-Partikel – mittlere Größe [µm]", + description="""Gamma prime particles - average size // Gamma′-Partikel – mittlere Größe [µm]""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_gamma_prime_particles_maximum_size = PropertyTypeAssignment( + code="CREEP_TEST_GAMMA_PRIME_PARTICLES_MAXIMUM_SIZE", + data_type="REAL", + property_label="Gamma prime particles - maximum size [µm] // Gamma′-Partikel – maximale Größe [µm]", + description="""Gamma prime particles - maximum size // Gamma′-Partikel – maximale Größe [µm]""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_dendrite_spacings = PropertyTypeAssignment( + code="CREEP_TEST_DENDRITE_SPACINGS", + data_type="VARCHAR", + property_label="Dendrite spacings // Dendritenabstände", + description="""Dendrite spacings - Please describe the procedure and add a link to file, preferably with machine-readable (meta)data or add a reference to paper and section // Dendritenabstände – Bitte beschreiben Sie das Verfahren und fügen Sie einen Dateilink (vorzugsweise mit maschinenlesbaren (Meta-)Daten) oder eine Referenz auf Publikation und Abschnitt hinzu.""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_proof_of_single_crystallinity = PropertyTypeAssignment( + code="CREEP_TEST_PROOF_OF_SINGLE_CRYSTALLINITY", + data_type="VARCHAR", + property_label="Proof of single crystallinity // Nachweis der Einkristallinität", + description="""Proof of single crystallinity - Link to file, preferably with machine-readable (meta)data // Nachweis der Einkristallinität – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_single_crystal_orientation = PropertyTypeAssignment( + code="CREEP_TEST_SINGLE_CRYSTAL_ORIENTATION", + data_type="VARCHAR", + property_label="Single crystal orientation // Einkristallorientierung", + description="""Single crystal orientation - Link to file, preferably with machine-readable (meta)data. Laue Crystal Verification. Must be documented for each test piece. // Einkristallorientierung – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Laue-Einkristallprüfung; muss für jeden Probekörper dokumentiert werden.""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_single_crystal_orientation_determination_method = PropertyTypeAssignment( + code="CREEP_TEST_SINGLE_CRYSTAL_ORIENTATION_DETERMINATION_METHOD", + data_type="VARCHAR", + property_label="Single crystal orientation - Determination method // Einkristallorientierung – Bestimmungsmethode", + description="""Single crystal orientation - Determination method // Einkristallorientierung – Bestimmungsmethode""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_single_crystal_orientation_measuring_point = PropertyTypeAssignment( + code="CREEP_TEST_SINGLE_CRYSTAL_ORIENTATION_MEASURING_POINT", + data_type="VARCHAR", + property_label="Single crystal orientation - Measuring point // Einkristallorientierung – Messpunkt", + description="""Single crystal orientation - Measuring point // Einkristallorientierung – Messpunkt""", + mandatory=True, + show_in_edit_views=False, + section="Microstructure", + ) + + creep_test_orientation_determination_accuracy = PropertyTypeAssignment( + code="CREEP_TEST_ORIENTATION_DETERMINATION_ACCURACY", + data_type="VARCHAR", + property_label="Orientation - Determination accuracy // Orientierung – Bestimmungsgenauigkeit", + description="""Orientation - Determination accuracy // Orientierung – Bestimmungsgenauigkeit""", + mandatory=False, + show_in_edit_views=False, + section="Microstructure", + ) + + +# Section: Chemical composition +class CreepTestMaterialHistoryAndConditionChemicalCompositionNOMINAL(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.NOMINAL", + description="""Material history and condition / Chemical composition (NOMINAL) // Materialhistorie und Zustand / Chemische Zusammensetzung (NOMINAL)""", + generated_code_prefix="EXP.MECH.CREEP.MATERIAL.CHEMICAL.NOMINAL", + ) + + creep_test_measured_condition = PropertyTypeAssignment( + code="CREEP_TEST_MEASURED_CONDITION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASURED_CONDITION", + property_label="Measured condition // Gemessener Zustand", + description="""Measured condition // Gemessener Zustand""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + creep_test_measuring_position = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_POSITION", + data_type="VARCHAR", + property_label="Measuring position // Messposition", + description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition – Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, ...).""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + creep_test_measurement_method = PropertyTypeAssignment( + code="CREEP_TEST_MEASUREMENT_METHOD", + data_type="VARCHAR", + property_label="Measurement method // Messmethode", + description="""Measurement method - Provide a description of the used method(s) and details about measurement volume/points // Messmethode – Beschreiben Sie die verwendete(n) Methode(n) und geben Sie Details zu Messvolumen/-punkten an.""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + creep_test_chemical_composition_nominal = PropertyTypeAssignment( + code="CHEM_SPECIES_BY_COMP_IN_PCT", + data_type="VARCHAR", + property_label="Chemical composition - nominal [wt.-% / at.-%] // Chemische Zusammensetzung – nominal [wt.-% / at.-%]", + description="""Chemical composition - nominal - Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung – nominal [wt.-% / at.-%] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + +class CreepTestMaterialHistoryAndConditionChemicalCompositionMEASURED(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.MEASURED", + description="""Material history and condition / Chemical composition (MEASURED) // Materialhistorie und Zustand / Chemische Zusammensetzung (MEASURED)""", + generated_code_prefix="EXP.MECH.CREEP.MATERIAL.CHEMICAL.MEASURED", + ) + + creep_test_measured_condition = PropertyTypeAssignment( + code="CREEP_TEST_MEASURED_CONDITION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASURED_CONDITION", + property_label="Measured condition // Gemessener Zustand", + description="""Measured condition // Gemessener Zustand""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + creep_test_measuring_position = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_POSITION", + data_type="VARCHAR", + property_label="Measuring position // Messposition", + description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition – Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, ...).""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + creep_test_measurement_method = PropertyTypeAssignment( + code="CREEP_TEST_MEASUREMENT_METHOD", + data_type="VARCHAR", + property_label="Measurement method // Messmethode", + description="""Measurement method - Provide a description of the used method(s) and details about measurement volume/points // Messmethode – Beschreiben Sie die verwendete(n) Methode(n) und geben Sie Details zu Messvolumen/-punkten an.""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + creep_test_chemical_composition_measured = PropertyTypeAssignment( + code="CHEM_SPECIES_BY_COMP_IN_PCT", + data_type="VARCHAR", + property_label="Chemical composition - measured [wt.-% / at.-%] // Chemische Zusammensetzung – gemessen [wt.-% / at.-%]", + description="""Chemical composition - measured - Include precision, if available. Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung – gemessen [wt.-% / at.-%] – Geben Sie, falls verfügbar, die Präzision an. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", + mandatory=True, + show_in_edit_views=False, + section="Chemical composition", + ) + + +# Section: NDT results +class CreepTestMaterialHistoryAndConditionNDTResults(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.NDT_RESULTS", + description="""Material history and condition / NDT Results // Materialhistorie und Zustand / ZfP-Ergebnisse""", + generated_code_prefix="EXP.MECH.CREEP.MATERIAL.NDT_RESU", + ) + + creep_test_crack_or_defect_inspection_method = PropertyTypeAssignment( + code="CREEP_TEST_CRACK_OR_DEFECT_INSPECTION_METHOD", + data_type="VARCHAR", + property_label="Crack or defect inspection - Method // Riss- oder Defektprüfung – Methode", + description="""Crack or defect inspection - Method - E.g., Penetrant certification/Radiographic certification/XCT/X-Ray film. Link to file, preferably with machine-readable (meta)data // Riss- oder Defektprüfung – Methode – z. B. Farbeindringprüfung / Röntgenprüfung / XCT / Röntgenfilm. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="NDT Results", + ) + + creep_test_crack_or_defect_inspection_result = PropertyTypeAssignment( + code="CREEP_TEST_CRACK_OR_DEFECT_INSPECTION_RESULT", + data_type="VARCHAR", + property_label="Crack or defect inspection - Result // Riss- oder Defektprüfung – Ergebnis", + description="""Crack or defect inspection - Result // Riss- oder Defektprüfung – Ergebnis""", + mandatory=False, + show_in_edit_views=False, + section="NDT Results", + ) + + +# Section: Mechanical tests results +class CreepTestMaterialHistoryAndConditionMechanicalTestsResults(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.MECHANICAL_TESTS_RESULTS", + description="""Material history and condition / Mechanical tests results // Materialhistorie und Zustand / Ergebnisse mechanischer Prüfungen""", + generated_code_prefix="EXP.MECH.CREEP.MATERIAL.MECHANIC", + ) + + creep_test_proof_strength_room_temperature = PropertyTypeAssignment( + code="CREEP_TEST_PROOF_STRENGTH_ROOM_TEMPERATURE", + data_type="REAL", + property_label="Proof strength - room temperature [MPa] // Streckgrenze – Raumtemperatur [MPa]", + description="""Proof strength - room temperature - 0.2 % Proof strength at room temperature // Streckgrenze – Raumtemperatur [MPa] – 0,2-%-Dehngrenze bei Raumtemperatur.""", + mandatory=False, + show_in_edit_views=False, + section="Mechanical tests results", + ) + + creep_test_proof_strength_creep_test_temperature = PropertyTypeAssignment( + code="CREEP_TEST_PROOF_STRENGTH_CREEP_TEST_TEMPERATURE", + data_type="REAL", + property_label="Proof strength - creep test temperature [MPa] // Streckgrenze – Kriechprüftemperatur [MPa]", + description="""Proof strength - creep test temperature - 0.2 % Proof strength at creep test temperature // Streckgrenze – Kriechprüftemperatur [MPa] – 0,2-%-Dehngrenze bei Kriechprüftemperatur.""", + mandatory=False, + show_in_edit_views=False, + section="Mechanical tests results", + ) + + creep_test_hardness = PropertyTypeAssignment( + code="CREEP_TEST_HARDNESS", + data_type="VARCHAR", + property_label="Hardness // Härte", + description="""Hardness // Härte""", + mandatory=False, + show_in_edit_views=False, + section="Mechanical tests results", + ) + + +# -------------------------------- +# Section: Metadata - Test piece +# -------------------------------- + + +class CreepTestTestPiece(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.TEST_PIECE", + description="""Test piece // Probekörper""", + generated_code_prefix="EXP.MECH.CREEP.TEST_PIE", + ) + + creep_test_test_piece_id = PropertyTypeAssignment( + code="CREEP_TEST.TEST_PIECE_ID", + data_type="VARCHAR", + property_label="Test piece ID // Probekörper-ID", + description="""Test piece ID // Probekörper-ID""", + mandatory=False, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_workshop_order_id = PropertyTypeAssignment( + code="$ORDER.ADDITIONAL_INFORMATION", + data_type="VARCHAR", + property_label="Workshop order ID // Werkstattauftrag-ID", + description="""Workshop order ID // Werkstattauftrag-ID""", + mandatory=False, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_test_piece_history = PropertyTypeAssignment( + code="CREEP_TEST_TEST_PIECE_HISTORY", + data_type="VARCHAR", + property_label="Test piece history // Probekörperhistorie", + description="""Test piece history - Link to file, preferably with machine-readable (meta)data. The file(s) can include, e.g., data or documentation from previous experiments. // Probekörperhistorie – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Die Datei(en) können z. B. Daten oder Dokumentationen aus früheren Experimenten enthalten.""", + mandatory=False, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_test_piece_type_i = PropertyTypeAssignment( + code="CREEP_TEST_TEST_PIECE_TYPE_I", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TEST_PIECE_TYPE_I", + property_label="Test piece type I // Probekörpertyp I", + description="""Test piece type I // Probekörpertyp I""", + mandatory=True, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_test_piece_type_ii = PropertyTypeAssignment( + code="CREEP_TEST_TEST_PIECE_TYPE_II", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TEST_PIECE_TYPE_II", + property_label="Test piece type II // Probekörpertyp II", + description="""Test piece type II // Probekörpertyp II""", + mandatory=True, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_test_piece_type_iii = PropertyTypeAssignment( + code="CREEP_TEST_TEST_PIECE_TYPE_III", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TEST_PIECE_TYPE_III", + property_label="Test piece type III // Probekörpertyp III", + description="""Test piece type III // Probekörpertyp III""", + mandatory=True, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_test_piece_technical_drawing = PropertyTypeAssignment( + code="CREEP_TEST_TEST_PIECE_TECHNICAL_DRAWING", + data_type="VARCHAR", + property_label="Test piece technical drawing // Technische Zeichnung des Probekörpers", + description="""Test piece technical drawing - Link to file, preferably with machine-readable (meta)data // Technische Zeichnung des Probekörpers – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=True, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_test_piece_origin_and_orientation = PropertyTypeAssignment( + code="CREEP_TEST_TEST_PIECE_ORIGIN_AND_ORIENTATION", + data_type="VARCHAR", + property_label="Test piece origin and orientation // Herkunft und Orientierung des Probekörpers", + description="""Test piece origin and orientation - Describe the exact location / positioning of the test piece within the as-tested material. E.g.: Do rolling direction and the longitudinal axis coincide?. Is the test piece located on top or bottom. Do coordinate systems of as-tested material and test piece coincide?. Add a link to a file, e.g., a technical drawing showing this, preferably with machine-readable (meta)data. // Herkunft und Orientierung des Probekörpers – Beschreiben Sie die genaue Lage/Positionierung des Probekörpers im Material im Prüfzustand. z. B.: Stimmen Walzrichtung und Längsachse überein? Liegt der Probekörper oben oder unten? Stimmen die Koordinatensysteme von Material (Prüfzustand) und Probekörper überein? Fügen Sie nach Möglichkeit einen Dateilink (z. B. technische Zeichnung) mit maschinenlesbaren (Meta-)Daten hinzu.""", + mandatory=True, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_test_piece_orientation_in_test_machine = PropertyTypeAssignment( + code="CREEP_TEST_TEST_PIECE_ORIENTATION_IN_TEST_MACHINE", + data_type="VARCHAR", + property_label="Test piece orientation in test machine // Orientierung des Probekörpers in der Prüfmaschine", + description="""Test piece orientation in test machine - Describe the exact orientation of the test piece within the test machine. E.g., is the longitudinal axis of the test piece exactly parallel to the loading axis of the test machine?. Add a link to a file providing evidence, preferably with machine-readable (meta)data. This can be, e.g., a technical drawing. // Orientierung des Probekörpers in der Prüfmaschine – Describe the exact orientation of the test piece within the test machine. E.g., is the longitudinal axis of the test piece exactly parallel to the loading axis of the test machine?. Add a link to a file providing evidence, preferably with machine-readable (meta)data. This can be, e.g., a technical drawing.""", + mandatory=True, + show_in_edit_views=False, + section="Test piece", + ) + + creep_test_additional_information_test_piece = PropertyTypeAssignment( + code="CREEP_TEST_ADDITIONAL_INFORMATION_TEST_PIECE", + data_type="VARCHAR", + property_label="Additional information test piece // Zusätzliche Informationen zum Probekörper", + description="""Additional information test piece - Add the information or a link to file, preferably with machine-readable (meta)data, e.g., Roughness // Zusätzliche Informationen zum Probekörper – Fügen Sie die Information oder einen Dateilink hinzu, vorzugsweise mit maschinenlesbaren (Meta-)Daten, z. B. Rauheit.""", + mandatory=False, + show_in_edit_views=False, + section="Test piece", + ) + + +# -------------------------------- +# Section: Metadata - Measuring and test equipment +# -------------------------------- + + +# Section: Test machine +class CreepTestMeasuringAndTestEquipmentTestMachine(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE", + description="""Measuring and test equipment / Test machine // Mess- und Prüfmittel / Prüfmaschine""", + generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC", + ) + + # --- Links to test machine sub-systems (OBJECT properties) --- + link_heating_system = PropertyTypeAssignment( + code="CREEP_TEST.TEST_MACHINE.LINK.LINK_HEATING_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.HEATING_SYSTEM", + property_label="Heating system", + description="""Linked object: Heating system""", + mandatory=False, + show_in_edit_views=False, + section="Linked test machine objects", + ) + + link_holder_system = PropertyTypeAssignment( + code="CREEP_TEST.TEST_MACHINE.LINK.LINK_HOLDER_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.TEST_PIECE_HOLDER_SYSTEM", + property_label="Test piece holder system", + description="""Linked object: Test piece holder system""", + mandatory=False, + show_in_edit_views=False, + section="Linked test machine objects", + ) + + link_loading_system = PropertyTypeAssignment( + code="CREEP_TEST.TEST_MACHINE.LINK.LINK_LOADING_SYSTEM", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.LOADING_SYSTEM", + property_label="Loading system", + description="""Linked object: Loading system""", + mandatory=False, + show_in_edit_views=False, + section="Linked test machine objects", + ) + + link_data_acquisition = PropertyTypeAssignment( + code="CREEP_TEST.TEST_MACHINE.LINK.LINK_DATA_ACQUISITION", + data_type="OBJECT", + object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.DATA_ACQUISITION", + property_label="Data acquisition", + description="""Linked object: Data acquisition""", + mandatory=False, + show_in_edit_views=False, + section="Linked test machine objects", + ) + + creep_test_test_machine_id = PropertyTypeAssignment( + code="CREEP_TEST.TEST_MACHINE_ID", + data_type="VARCHAR", + property_label="Test machine ID // Prüfmaschinen-ID", + description="""Test machine ID // Prüfmaschinen-ID""", + mandatory=False, + show_in_edit_views=False, + section="Test machine", + ) + + creep_test_test_machine_type = PropertyTypeAssignment( + code="CREEP_TEST_TEST_MACHINE_TYPE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MACHINE_TYPE", + property_label="Test machine type // Prüfmaschinentyp", + description="""Test machine type // Prüfmaschinentyp""", + mandatory=False, + show_in_edit_views=False, + section="Test machine", + ) + + creep_test_minimum_applicable_force = PropertyTypeAssignment( + code="CREEP_TEST_MINIMUM_APPLICABLE_FORCE", + data_type="REAL", + property_label="Minimum applicable force [kN] // Minimale anwendbare Kraft [kN]", + description="""Minimum applicable force // Minimale anwendbare Kraft [kN]""", + mandatory=False, + show_in_edit_views=False, + section="Test machine", + ) + + creep_test_maximum_applicable_force = PropertyTypeAssignment( + code="MAX_STATIC_FORCE", + data_type="REAL", + property_label="Maximum applicable force [kN] // Maximale anwendbare Kraft [kN]", + description="""Maximum applicable force // Maximale anwendbare Kraft [kN]""", + mandatory=False, + show_in_edit_views=False, + section="Test machine", + ) + + creep_test_test_frame_and_specimen_alignment = PropertyTypeAssignment( + code="CREEP_TEST_TEST_FRAME_AND_SPECIMEN_ALIGNMENT", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TEST_FRAME_AND_SPECIMEN_ALIGNMENT", + property_label="Test frame and specimen alignment // Ausrichtung von Testrahmen und Probekörper", + description="""Test frame and specimen alignment - Verification of Test Frame and Specimen Alignment according to ASTM E1012? // Ausrichtung von Testrahmen und Probekörper – Überprüfung der Ausrichtung von Testrahmen und Probekörper gemäß ASTM E1012?""", + mandatory=True, + show_in_edit_views=False, + section="Test machine", + ) + + creep_test_test_frame_and_specimen_alignment_description = PropertyTypeAssignment( + code="CREEP_TEST_TEST_FRAME_AND_SPECIMEN_ALIGNMENT_DESCRIPTION", + data_type="VARCHAR", + property_label="Test frame and specimen alignment - description // Ausrichtung von Testrahmen und Probekörper – Beschreibung", + description="""Test frame and specimen alignment - description - Please provide a description on the procedure followed for the Verification of Test Frame and Specimen Alignment if different from ASTM E1012 // Ausrichtung von Testrahmen und Probekörper – Beschreibung – Bitte beschreiben Sie das Verfahren zur Überprüfung der Ausrichtung von Testrahmen und Probekörper, falls es von ASTM E1012 abweicht.""", + mandatory=True, + show_in_edit_views=False, + section="Test machine", + ) + + creep_test_calibration_class = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_CLASS", + data_type="VARCHAR", + property_label="Calibration class // Kalibrierklasse", + description="""Calibration class - Calibration class of test frame and specimen alignment, e.g., 5 / 5 starting from 3 kN (according to ASTM E1012) // Kalibrierklasse – Kalibrierklasse der Ausrichtung von Testrahmen und Probekörper, z. B. 5/5 ab 3 kN (gemäß ASTM E1012).""", + mandatory=True, + show_in_edit_views=False, + section="Test machine", + ) + + +class CreepTestMeasuringAndTestEquipmentTestMachineHeatingSystem(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.HEATING_SYSTEM", + description="""Measuring and test equipment / Test machine / Heating system // Mess- und Prüfmittel / Prüfmaschine / Heizsystem""", + generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.HEATING_", + ) + + creep_test_furnace_type = PropertyTypeAssignment( + code="CREEP_TEST_FURNACE_TYPE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_FURNACE_TYPE", + property_label="Furnace type // Ofentyp", + description="""Furnace type // Ofentyp""", + mandatory=True, + show_in_edit_views=False, + section="Heating system", + ) + + +class CreepTestMeasuringAndTestEquipmentTestMachineTestPieceHolderSystem(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.TEST_PIECE_HOLDER_SYSTEM", + description="""Measuring and test equipment / Test machine / Test piece holder system // Mess- und Prüfmittel / Prüfmaschine / Probenhaltersystem""", + generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.TEST_PIE", + ) + + creep_test_fixing_technique = PropertyTypeAssignment( + code="CREEP_TEST_FIXING_TECHNIQUE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_FIXING_TECHNIQUE", + property_label="Fixing technique // Befestigungstechnik", + description="""Fixing technique // Befestigungstechnik""", + mandatory=True, + show_in_edit_views=False, + section="Test piece holder system", + ) + + +class CreepTestMeasuringAndTestEquipmentTestMachineLoadingSystem(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.LOADING_SYSTEM", + description="""Measuring and test equipment / Test machine / Loading system // Mess- und Prüfmittel / Prüfmaschine / Belastungssystem""", + generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.LOADING_", + ) + + creep_test_verification_of_loading_system = PropertyTypeAssignment( + code="CREEP_TEST_VERIFICATION_OF_LOADING_SYSTEM", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_VERIFICATION_OF_LOADING_SYSTEM", + property_label="Verification of loading system // Überprüfung des Belastungssystems", + description="""Verification of loading system - Was the loading system calibrated/verified? // Überprüfung des Belastungssystems – Wurde das Belastungssystem kalibriert/überprüft?""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_calibration_certificate = PropertyTypeAssignment( + code="CALIBRATION_CERTIFICATE_NUMBER", + data_type="VARCHAR", + property_label="Calibration certificate // Kalibrierzertifikat", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. Please specify which device/feature/part of the test machine was calibrated. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Bitte geben Sie an, welches Gerät/Feature/welcher Teil der Prüfmaschine kalibriert wurde.""", + mandatory=False, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_calibration_date = PropertyTypeAssignment( + code="CALIBRATION_DATE", + data_type="DATE", + property_label="Calibration date // Kalibrierdatum", + description="""Calibration date // Kalibrierdatum""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_calibration_validity_time_period = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", + data_type="VARCHAR", + property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_calibration_standard = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STANDARD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_LOAD_SYSTEM_CALIBRATION_STANDARD", + property_label="Calibration standard // Kalibrierstandard", + description="""Calibration standard // Kalibrierstandard""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_calibration_class = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_CLASS", + data_type="REAL", + property_label="Calibration class // Kalibrierklasse", + description="""Calibration class // Kalibrierklasse""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_calibration_range = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_RANGE", + data_type="VARCHAR", + property_label="Calibration range [kN] // Kalibrierbereich [kN]", + description="""Calibration range // Kalibrierbereich [kN]""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_use_of_calibrated_weights = PropertyTypeAssignment( + code="CREEP_TEST_USE_OF_CALIBRATED_WEIGHTS", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_USE_OF_CALIBRATED_WEIGHTS", + property_label="Use of calibrated weights // Verwendung kalibrierter Gewichte", + description="""Use of calibrated weights - Were calibrated weights used to apply the test force? // Verwendung kalibrierter Gewichte – Wurden kalibrierte Gewichte verwendet, um die Prüfkraft aufzubringen?""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + creep_test_description_of_the_loading_system = PropertyTypeAssignment( + code="CREEP_TEST_DESCRIPTION_OF_THE_LOADING_SYSTEM", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_DESCRIPTION_OF_THE_LOADING_SYSTEM", + property_label="Description of the loading system // Beschreibung des Belastungssystems", + description="""Description of the loading system - Please describe the loading system and related verification in the case that calibrated weights were not used. // Beschreibung des Belastungssystems – Bitte beschreiben Sie das Belastungssystem und die zugehörige Überprüfung für den Fall, dass keine kalibrierten Gewichte verwendet wurden.""", + mandatory=True, + show_in_edit_views=False, + section="Loading system", + ) + + +class CreepTestMeasuringAndTestEquipmentTestMachineDataAcquisition(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.DATA_ACQUISITION", + description="""Measuring and test equipment / Test machine / Data acquisition // Mess- und Prüfmittel / Prüfmaschine / Datenerfassung""", + generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.DATA_ACQ", + ) + + creep_test_data_acquisition_unit_model_information = PropertyTypeAssignment( + code="CREEP_TEST_DATA_ACQUISITION_UNIT_MODEL_INFORMATION", + data_type="VARCHAR", + property_label="Data acquisition unit - Model information // Datenerfassungseinheit – Modellinformationen", + description="""Data acquisition unit - Model information // Datenerfassungseinheit – Modellinformationen""", + mandatory=False, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_data_acquisition_unit_id = PropertyTypeAssignment( + code="CREEP_TEST_DATA_ACQUISITION_UNIT_ID", + data_type="VARCHAR", + property_label="Data acquisition unit - ID // Datenerfassungseinheit – ID", + description="""Data acquisition unit - ID // Datenerfassungseinheit – ID""", + mandatory=False, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_data_acquisition_software_and_version = PropertyTypeAssignment( + code="CREEP_TEST_DATA_ACQUISITION_SOFTWARE_AND_VERSION", + data_type="VARCHAR", + property_label="Data acquisition software and version // Datenerfassungssoftware und Version", + description="""Data acquisition software and version // Datenerfassungssoftware und Version""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_data_acquisition_description = PropertyTypeAssignment( + code="CREEP_TEST_DATA_ACQUISITION_DESCRIPTION", + data_type="VARCHAR", + property_label="Data acquisition - description // Datenerfassung – Beschreibung", + description="""Data acquisition - description // Datenerfassung – Beschreibung""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_data_acquisition_time_check = PropertyTypeAssignment( + code="CREEP_TEST_DATA_ACQUISITION_TIME_CHECK", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_DATA_ACQUISITION_TIME_CHECK", + property_label="Data acquisition time check // Zeitprüfung der Datenerfassung", + description="""Data acquisition time check - Was the time checked during data acquisition? // Zeitprüfung der Datenerfassung – Wurde die Zeit während der Datenerfassung überprüft?""", + mandatory=False, + show_in_edit_views=False, + section="Data acquisition", + ) + + +# Section: Load-measuring system +class CreepTestMeasuringAndTestEquipmentLoadMeasuringSystemLoadSensor(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.LOAD_SENSOR", + description="""Measuring and test equipment / Load-measuring system / Load sensor // Mess- und Prüfmittel / Kraftmesssystem / Kraftsensor""", + generated_code_prefix="EXP.MECH.CREEP.MEASURIN.LOAD_MEA.LOAD_SEN", + ) + + creep_test_load_sensor_during_loading = PropertyTypeAssignment( + code="CREEP_TEST_LOAD_SENSOR_DURING_LOADING", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_LOAD_SENSOR_DURING_LOADING", + property_label="Load sensor during loading // Kraftsensor während der Belastung", + description="""Load sensor during loading - Was a load sensor used during loading? // Kraftsensor während der Belastung – Wurde während des Lastaufbringens ein Kraftsensor verwendet?""", + mandatory=True, + show_in_edit_views=False, + section="Load sensor", + ) + + creep_test_load_sensor_calibration = PropertyTypeAssignment( + code="CREEP_TEST_LOAD_SENSOR_CALIBRATION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_LOAD_SENSOR_CALIBRATION", + property_label="Load sensor calibration // Kalibrierung des Kraftsensors", + description="""Load sensor calibration - Was the load sensor calibrated? // Kalibrierung des Kraftsensors – War der Kraftsensor kalibriert?""", + mandatory=True, + show_in_edit_views=False, + section="Load sensor", + ) + + creep_test_calibration_certificate = PropertyTypeAssignment( + code="CALIBRATION_CERTIFICATE_NUMBER", + data_type="VARCHAR", + property_label="Calibration certificate // Kalibrierzertifikat", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link to file, preferably with machine-readable (meta)data.""", + mandatory=False, + show_in_edit_views=False, + section="Load sensor", + ) + + creep_test_calibration_date = PropertyTypeAssignment( + code="CALIBRATION_DATE", + data_type="DATE", + property_label="Calibration date // Kalibrierdatum", + description="""Calibration date // Kalibrierdatum""", + mandatory=True, + show_in_edit_views=False, + section="Load sensor", + ) + + creep_test_calibration_validity_time_period = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", + data_type="VARCHAR", + property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", + mandatory=True, + show_in_edit_views=False, + section="Load sensor", + ) + + creep_test_calibration_standard = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STANDARD", + data_type="VARCHAR", + property_label="Calibration standard // Kalibrierstandard", + description="""Calibration standard // Kalibrierstandard""", + mandatory=True, + show_in_edit_views=False, + section="Load sensor", + ) + + creep_test_calibration_class = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_CLASS", + data_type="REAL", + property_label="Calibration class // Kalibrierklasse", + description="""Calibration class // Kalibrierklasse""", + mandatory=True, + show_in_edit_views=False, + section="Load sensor", + ) + + creep_test_calibration_range = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_RANGE", + data_type="VARCHAR", + property_label="Calibration Range [kN] // Kalibrierbereich [kN]", + description="""Calibration Range // Kalibrierbereich [kN]""", + mandatory=True, + show_in_edit_views=False, + section="Load sensor", + ) + + +class CreepTestMeasuringAndTestEquipmentLoadMeasuringSystemDataAcquisition(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.DATA_ACQUISITION", + description="""Measuring and test equipment / Load-measuring system / Data acquisition // Mess- und Prüfmittel / Kraftmesssystem / Datenerfassung""", + generated_code_prefix="EXP.MECH.CREEP.MEASURIN.LOAD_MEA.DATA_ACQ", + ) + + creep_test_force_recording = PropertyTypeAssignment( + code="CREEP_TEST_FORCE_RECORDING", + data_type="VARCHAR", + property_label="Force recording // Kraftaufzeichnung", + description="""Force recording - Was the force recorded continuously or periodically (e.g. during loading)? // Kraftaufzeichnung – Wurde die Kraft kontinuierlich oder periodisch aufgezeichnet (z. B. während des Lastaufbringens)?""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + +# Section: Laboratory conditions +class CreepTestMetadataMeasuringAndTestEquipmentLaboratoryConditions(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.LABORATORY_CONDITIONS", + description="""Metadata / Measuring and test equipment / Laboratory conditions // Metadaten / Mess- und Prüfmittel / Laborbedingungen""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.LABORATO", + ) + + creep_test_room_temperature = PropertyTypeAssignment( + code="CREEP_TEST_ROOM_TEMPERATURE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_ROOM_TEMPERATURE", + property_label="Room temperature // Raumtemperatur", + description="""Room temperature - Was the room temperature recorded and checked? // Raumtemperatur – Wurde die Raumtemperatur aufgezeichnet und überprüft?""", + mandatory=True, + show_in_edit_views=False, + section="Laboratory conditions", + ) + + creep_test_room_humidity = PropertyTypeAssignment( + code="CREEP_TEST_ROOM_HUMIDITY", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_ROOM_HUMIDITY", + property_label="Room humidity // Raumluftfeuchte", + description="""Room humidity - Was the room humidity recorded and checked? // Raumluftfeuchte – Wurde die Raumluftfeuchte aufgezeichnet und überprüft?""", + mandatory=False, + show_in_edit_views=False, + section="Laboratory conditions", + ) + + +# Section: Temperature-measuring system +class CreepTestMetadataMeasuringAndTestEquipmentTemperatureMeasuringSystem(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM", + description="""Metadata / Measuring and test equipment / Temperature-measuring system // Metadaten / Mess- und Prüfmittel / Temperaturmesssystem""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.TEMPERAT", + ) + + creep_test_temperature_signal = PropertyTypeAssignment( + code="CREEP_TEST_TEMPERATURE_SIGNAL", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_TEMPERATURE_SIGNAL", + property_label="Temperature signal // Temperatursignal", + description="""Temperature signal - Which temperature signal was used for temperature control? // Temperatursignal – Welches Temperatursignal wurde für die Temperaturregelung verwendet?""", + mandatory=True, + show_in_edit_views=False, + section="Temperature-measuring system", + ) + + creep_test_metrological_traceability = PropertyTypeAssignment( + code="CREEP_TEST_METROLOGICAL_TRACEABILITY", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_METROLOGICAL_TRACEABILITY", + property_label="Metrological traceability // Metrologische Rückführbarkeit", + description="""Metrological traceability - Yes, if temperature sensor and data acquisition are calibrated. // Metrologische Rückführbarkeit – Ja, wenn Temperatursensor und Datenerfassung kalibriert sind.""", + mandatory=True, + show_in_edit_views=False, + section="Temperature-measuring system", + ) + + +class CreepTestMetadataMeasuringAndTestEquipmentTemperatureMeasuringSystemTemperatureSensor( + ObjectType +): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.TEMPERATURE_SENSOR", + description="""Metadata / Measuring and test equipment / Temperature-measuring system / Temperature sensor // Metadaten / Mess- und Prüfmittel / Temperaturmesssystem / Temperatursensor""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.TEMPERAT.TEMPERAT", + ) + + creep_test_sensor_type = PropertyTypeAssignment( + code="CREEP_TEST_SENSOR_TYPE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_SENSOR_TYPE", + property_label="Sensor type // Sensortyp", + description="""Sensor type // Sensortyp""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_sensor_id = PropertyTypeAssignment( + code="CREEP_TEST.SENSOR_ID", + data_type="VARCHAR", + property_label="Sensor ID // Sensor-ID", + description="""Sensor ID // Sensor-ID""", + mandatory=False, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_thermocouple_type = PropertyTypeAssignment( + code="CREEP_TEST_THERMOCOUPLE_TYPE", + data_type="CONTROLLEDVOCABULARY", + # Vocabulary type taken from existing vocabulary + vocabulary_code="THERMOCOUPLE_TYPE", + property_label="Thermocouple type // Thermoelementtyp", + description="""Thermocouple type // Thermoelementtyp""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_wire_gauge = PropertyTypeAssignment( + code="CREEP_TEST_WIRE_GAUGE", + data_type="REAL", + property_label="Wire gauge [mm] // Drahtdurchmesser [mm]", + description="""Wire gauge // Drahtdurchmesser [mm]""", + mandatory=False, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_layout = PropertyTypeAssignment( + code="CREEP_TEST_LAYOUT", + data_type="VARCHAR", + property_label="Layout // Aufbau", + description="""Layout - E.g., wire with 2-hole ceramic beads // Aufbau – E.g., wire with 2-hole ceramic beads""", + mandatory=False, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_calibration_status = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STATUS", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STATUS", + property_label="Calibration status // Kalibrierstatus", + description="""Calibration status - Is/are the thermocouples calibrated? // Kalibrierstatus – Ist/sind das/die Thermoelement(e) kalibriert?""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_calibration_method = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_METHOD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_METHOD", + property_label="Calibration method // Kalibriermethode", + description="""Calibration method // Kalibriermethode""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_calibration_standard = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STANDARD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STANDARD", + property_label="Calibration standard // Kalibrierstandard", + description="""Calibration standard // Kalibrierstandard""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_calibration_certificate = PropertyTypeAssignment( + code="CALIBRATION_CERTIFICATE_NUMBER", + data_type="VARCHAR", + property_label="Calibration certificate // Kalibrierzertifikat", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_calibration_date = PropertyTypeAssignment( + code="CALIBRATION_DATE", + data_type="DATE", + property_label="Calibration date // Kalibrierdatum", + description="""Calibration date // Kalibrierdatum""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_calibration_validity_time_period = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", + data_type="VARCHAR", + property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_temperature_deviation = PropertyTypeAssignment( + code="CREEP_TEST_TEMPERATURE_DEVIATION", + data_type="VARCHAR", + property_label="Temperature deviation [°C] // Temperaturabweichung [°C]", + description="""Temperature deviation - Measurement deviation detected during calibration // Temperaturabweichung [°C] – Bei der Kalibrierung festgestellte Messabweichung""", + mandatory=False, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_calibration_range = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_RANGE", + data_type="VARCHAR", + property_label="Calibration Range [°C] // Kalibrierbereich [°C]", + description="""Calibration Range // Kalibrierbereich [°C]""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_contact_method = PropertyTypeAssignment( + code="CREEP_TEST_CONTACT_METHOD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_THERMOCOUPLE_CONTACT_METHOD", + property_label="Contact method // Kontaktmethode", + description="""Contact method // Kontaktmethode""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_number_of_thermocouples = PropertyTypeAssignment( + code="CREEP_TEST_NUMBER_OF_THERMOCOUPLES", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_NUMBER_OF_THERMOCOUPLES", + property_label="Number of thermocouples // Anzahl der Thermoelemente", + description="""Number of thermocouples // Anzahl der Thermoelemente""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + creep_test_thermocouple_location = PropertyTypeAssignment( + code="CREEP_TEST_THERMOCOUPLE_LOCATION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_THERMOCOUPLE_LOCATION", + property_label="Thermocouple location // Position des Thermoelements", + description="""Thermocouple location - Location with respect to gauge section // Position des Thermoelements – Position in Bezug auf den Messbereich""", + mandatory=True, + show_in_edit_views=False, + section="Temperature sensor", + ) + + +class CreepTestMetadataMeasuringAndTestEquipmentTemperatureMeasuringSystemDataAcquisition( + ObjectType +): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.DATA_ACQUISITION", + description="""Metadata / Measuring and test equipment / Temperature-measuring system / Data acquisition // Metadaten / Mess- und Prüfmittel / Temperaturmesssystem / Datenerfassung""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.TEMPERAT.DATA_ACQ", + ) + + creep_test_calibration_status = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STATUS", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_DATA_AQUISITION_CALIBRATION_STATUS", + property_label="Calibration status // Kalibrierstatus", + description="""Calibration status - Is/are the data acquisition unit calibrated? // Kalibrierstatus – Ist/sind die Datenerfassungseinheit(en) kalibriert?""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_reference_junction = PropertyTypeAssignment( + code="CREEP_TEST_REFERENCE_JUNCTION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_REFERENCE_JUNCTION", + property_label="Reference junction // Referenzstelle", + description="""Reference junction // Referenzstelle""", + mandatory=False, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_calibration_certificate = PropertyTypeAssignment( + code="CALIBRATION_CERTIFICATE_NUMBER", + data_type="VARCHAR", + property_label="Calibration certificate // Kalibrierzertifikat", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_calibration_date = PropertyTypeAssignment( + code="CALIBRATION_DATE", + data_type="DATE", + property_label="Calibration date // Kalibrierdatum", + description="""Calibration date // Kalibrierdatum""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_calibration_validity_time_period = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", + data_type="VARCHAR", + property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_calibration_method = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_METHOD", + data_type="VARCHAR", + property_label="Calibration method // Kalibriermethode", + description="""Calibration method // Kalibriermethode""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_calibration_standard = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STANDARD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_DATA_ACQUISITION_CALIBRATION_STANDARD", + property_label="Calibration standard // Kalibrierstandard", + description="""Calibration standard // Kalibrierstandard""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_temperature_deviation = PropertyTypeAssignment( + code="CREEP_TEST_TEMPERATURE_DEVIATION", + data_type="VARCHAR", + property_label="Temperature deviation [°C] // Temperaturabweichung [°C]", + description="""Temperature deviation - Measurement deviation detected during calibration // Temperaturabweichung [°C] – Bei der Kalibrierung festgestellte Messabweichung""", + mandatory=False, + show_in_edit_views=False, + section="Data acquisition", + ) + + creep_test_calibration_range = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_RANGE", + data_type="VARCHAR", + property_label="Calibration Range [°C] // Kalibrierbereich [°C]", + description="""Calibration Range // Kalibrierbereich [°C]""", + mandatory=True, + show_in_edit_views=False, + section="Data acquisition", + ) + + +# Section: Extensometer system +class CreepTestMetadataMeasuringAndTestEquipmentExtensometerSystem(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSOMETER_SYSTEM", + description="""Metadata / Measuring and test equipment / Extensometer system // Metadaten / Mess- und Prüfmittel / Extensometersystem""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.EXTENSOM", + ) + + creep_test_displacement_measuring_method = PropertyTypeAssignment( + code="CREEP_TEST_DISPLACEMENT_MEASURING_METHOD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_DISPLACEMENT_MEASURING_METHOD", + property_label="Displacement measuring method // Wegmessverfahren", + description="""Displacement measuring method - Type of strain measuring device // Wegmessverfahren – Art des Dehnungsmessgeräts""", + mandatory=True, + show_in_edit_views=False, + section="Extensometer system", + ) + + creep_test_sensor_type_contacting_method = PropertyTypeAssignment( + code="CREEP_TEST_SENSOR_TYPE_CONTACTING_METHOD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_SENSOR_TYPE_CONTACTING_METHOD", + property_label="Sensor type - Contacting method // Sensortyp – Kontaktmethode", + description="""Sensor type - Contacting method // Sensortyp – Kontaktmethode""", + mandatory=True, + show_in_edit_views=False, + section="Extensometer system", + ) + + creep_test_sensor_type_non_contacting_method = PropertyTypeAssignment( + code="CREEP_TEST_SENSOR_TYPE_NON_CONTACTING_METHOD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_SENSOR_TYPE_NON_CONTACTING_METHOD", + property_label="Sensor type - Non-contacting method // Sensortyp – berührungslose Methode", + description="""Sensor type - Non-contacting method // Sensortyp – berührungslose Methode""", + mandatory=True, + show_in_edit_views=False, + section="Extensometer system", + ) + + +# Section: Extension values +class CreepTestMetadataMeasuringAndTestEquipmentExtensionValuesContactingExtensometer( + ObjectType +): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSION_VALUES.CONTACTING_EXTENSOMETER", + description="""Metadata / Measuring and test equipment / Extension values / Contacting extensometer // Metadaten / Mess- und Prüfmittel / Dehnungswerte / kontaktierendes Extensometer""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.EXTENSIO.CONTACTI", + ) + + creep_test_measurement_set_up = PropertyTypeAssignment( + code="CREEP_TEST_MEASUREMENT_SET_UP", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASUREMENT_SET_UP", + property_label="Measurement set-up // Messaufbau", + description="""Measurement set-up - Measurement one-sided or two-sided? // Messaufbau – Einseitige oder beidseitige Messung?""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_extension_averaging = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSION_AVERAGING", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_EXTENSION_AVERAGING", + property_label="Extension averaging // Dehnungsmittelung", + description="""Extension averaging - Was there an averaging of the extension values? (two-sided extensometer) // Dehnungsmittelung – Wurden die Dehnungswerte gemittelt? (beidseitiger Dehnungsmesser)""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_measurement_direction = PropertyTypeAssignment( + code="CREEP_TEST_MEASUREMENT_DIRECTION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_EXTENSION_MEASUREMENT_DIRECTION", + property_label="Measurement direction // Messrichtung", + description="""Measurement direction // Messrichtung""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_mounting_type = PropertyTypeAssignment( + code="CREEP_TEST_MOUNTING_TYPE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_EXTENSOMETER_MOUNTING_TYPE", + property_label="Mounting type // Montageart", + description="""Mounting type // Montageart""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_extensometer_model_information = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSOMETER_MODEL_INFORMATION", + data_type="VARCHAR", + property_label="Extensometer model information // Extensometer-Modellinformationen", + description="""Extensometer model information // Extensometer-Modellinformationen""", + mandatory=False, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_extensometer_id = PropertyTypeAssignment( + code="CREEP_TEST.EXTENSOMETER_ID", + data_type="VARCHAR", + property_label="Extensometer ID // Extensometer-ID", + description="""Extensometer ID - The ID used for identification in the laboratory // Extensometer-ID – ID zur Identifikation im Labor""", + mandatory=False, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_extensometer_leg_material = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSOMETER_LEG_MATERIAL", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_EXTENSOMETER_LEG_MATERIAL", + property_label="Extensometer leg material // Material der Extensometerschenkel", + description="""Extensometer leg material - Material of upper/lower legs, e.g., in LVDT systems // Material der Extensometerschenkel – Material der Ober-/Unterbeine, z. B. in LVDT-Systemen""", + mandatory=False, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_measuring_amplifier_model_information = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_AMPLIFIER_MODEL_INFORMATION", + data_type="VARCHAR", + property_label="Measuring amplifier - Model information // Messverstärker – Modellinformationen", + description="""Measuring amplifier - Model information // Messverstärker – Modellinformationen""", + mandatory=False, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_extension_range_upper_limit = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSION_RANGE_UPPER_LIMIT", + data_type="REAL", + property_label="Extension range - Upper limit [% / mm] // Dehnmessbereich – Obergrenze [% / mm]", + description="""Extension range - Upper limit // Dehnmessbereich – Obergrenze [% / mm]""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_extension_range_lower_limit = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSION_RANGE_LOWER_LIMIT", + data_type="REAL", + property_label="Extension range - Lower limit [% / mm] // Dehnmessbereich – Untergrenze [% / mm]", + description="""Extension range - Lower limit // Dehnmessbereich – Untergrenze [% / mm]""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_nominal_gauge_length = PropertyTypeAssignment( + code="CREEP_TEST_NOMINAL_GAUGE_LENGTH", + data_type="REAL", + property_label="Nominal gauge length [mm] // Nennmesslänge [mm]", + description="""Nominal gauge length - If applicable // Nennmesslänge [mm] – If applicable""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_is_the_extensometer_incl_the_data_acquisition_calibrated = PropertyTypeAssignment( + code="CREEP_TEST_IS_THE_EXTENSOMETER_INCL_THE_DATA_ACQUISITION_CALIBRATED", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_EXTENSOMETER_CALIBRATION_STATUS", + property_label="Is the extensometer incl. the data acquisition calibrated? // Extensometer inkl. Datenerfassung kalibriert?", + description="""Is the extensometer incl. the data acquisition calibrated? - Is the extensometer incl. the data acquisition calibrated? // Extensometer inkl. Datenerfassung kalibriert? – Ist/War das Extensometer inkl. Datenerfassung kalibriert?""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_calibration_certificate = PropertyTypeAssignment( + code="CALIBRATION_CERTIFICATE_NUMBER", + data_type="VARCHAR", + property_label="Calibration certificate // Kalibrierzertifikat", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_calibration_date = PropertyTypeAssignment( + code="CALIBRATION_DATE", + data_type="DATE", + property_label="Calibration date // Kalibrierdatum", + description="""Calibration date // Kalibrierdatum""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_calibration_validity_time_period = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", + data_type="VARCHAR", + property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_calibration_class = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_CLASS", + data_type="VARCHAR", + property_label="Calibration class // Calibration class", + description="""Calibration class // Calibration class""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_calibration_range = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_RANGE", + data_type="VARCHAR", + property_label="Calibration Range [% (mm)] // Kalibrierbereich [% (mm)]", + description="""Calibration Range // Kalibrierbereich [% (mm)]""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + creep_test_calibration_standard = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STANDARD", + data_type="VARCHAR", + property_label="Calibration standard // Kalibrierstandard", + description="""Calibration standard // Kalibrierstandard""", + mandatory=True, + show_in_edit_views=False, + section="Contacting extensometer", + ) + + +# Section: Elongation values and cross-sectional dimensions +class CreepTestMetadataMeasuringAndTestEquipmentElongationValuesAndCrossSectionalDimensions( + ObjectType +): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.ELONGATION_VALUES_AND_CROSS_SECTIONAL_DIMENSIONS", + description="""Metadata / Measuring and test equipment / Elongation values and cross-sectional dimensions // Metadaten / Mess- und Prüfmittel / Verlängerungswerte und Querschnittsabmessungen""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.ELONGATI", + ) + + creep_test_measuring_equipment = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_EQUIPMENT", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT", + property_label="Measuring equipment // Messgerät", + description="""Measuring equipment // Messgerät""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_measuring_equipment_s_usage = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_EQUIPMENT_S_USAGE", + data_type="VARCHAR", + property_label="Measuring equipment's usage // Verwendung des Messgeräts", + description="""Measuring equipment's usage // Verwendung des Messgeräts""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_resolution = PropertyTypeAssignment( + code="FTIR.RESOLUTION", + data_type="INTEGER", + property_label="Resolution [mm] // Auflösung [mm]", + description="""Resolution // Auflösung [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_type = PropertyTypeAssignment( + code="CREEP_TEST_TYPE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT_TYPE", + property_label="Type // Typ", + description="""Type // Typ""", + mandatory=False, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_equipment_model_information = PropertyTypeAssignment( + code="DEVICE_MODEL_NAME", + data_type="VARCHAR", + property_label="Equipment model information // Gerätemodellinformationen", + description="""Equipment model information // Gerätemodellinformationen""", + mandatory=False, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_equipment_id = PropertyTypeAssignment( + code="CREEP_TEST_EQUIPMENT_ID", + data_type="VARCHAR", + property_label="Equipment ID // Geräte-ID", + description="""Equipment ID - The ID used for identification in the laboratory // Geräte-ID – ID zur Identifikation im Labor""", + mandatory=False, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_calibration_status = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STATUS", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT_CALIBRATION_STATUS", + property_label="Calibration status // Kalibrierstatus", + description="""Calibration status - Is the measuring equipment calibrated? // Kalibrierstatus – Sind/Waren die Messgeräte kalibriert?""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_calibration_certificate = PropertyTypeAssignment( + code="CALIBRATION_CERTIFICATE_NUMBER", + data_type="VARCHAR", + property_label="Calibration certificate // Kalibrierzertifikat", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_calibration_date = PropertyTypeAssignment( + code="CALIBRATION_DATE", + data_type="DATE", + property_label="Calibration date // Kalibrierdatum", + description="""Calibration date // Kalibrierdatum""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_calibration_validity_time_period = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", + data_type="VARCHAR", + property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_calibration_result = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_RESULT", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT_CALIBRATION_RESULT", + property_label="Calibration result // Kalibrierergebnis", + description="""Calibration result // Kalibrierergebnis""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_calibration_range = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_RANGE", + data_type="REAL", + property_label="Calibration range [mm] // Kalibrierbereich [mm]", + description="""Calibration range // Kalibrierbereich [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + creep_test_calibration_standard = PropertyTypeAssignment( + code="CREEP_TEST_CALIBRATION_STANDARD", + data_type="VARCHAR", + property_label="Calibration standard // Kalibrierstandard", + description="""Calibration standard // Kalibrierstandard""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values and cross-sectional dimensions", + ) + + +# -------------------------------- +# Section: Metadata - Data processing procedures +# -------------------------------- + + +class CreepTestMetadataDataProcessingProcedures(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.DATA_PROCESSING_PROCEDURES", + description="""Metadata / Data processing procedures // Metadaten / Datenverarbeitungsverfahren""", + generated_code_prefix="EXP.MECH.CREEP.METADATA.DATA_PRO", + ) + + creep_test_primary_data_series = PropertyTypeAssignment( + code="CREEP_TEST_PRIMARY_DATA_SERIES", + data_type="VARCHAR", + property_label="Primary data series // Primärdatenreihen", + description="""Primary data series - Primary data is data that is directly acquired by sensors or measuring instruments during or after a test. Please add a list of the measured quantities and their corresponsing units. // Primärdatenreihen – Primärdaten sind Daten, die während oder nach einer Prüfung direkt von Sensoren oder Messgeräten erfasst werden. Bitte fügen Sie eine Liste der gemessenen Größen und der zugehörigen Einheiten hinzu.""", + mandatory=True, + show_in_edit_views=False, + section="Data processing procedures", + ) + + creep_test_processed_data_series = PropertyTypeAssignment( + code="CREEP_TEST_PROCESSED_DATA_SERIES", + data_type="VARCHAR", + property_label="Processed data series // Verarbeitete Datenreihen", + description="""Processed data series - Processed data is obtained as a result of using procedures (equations, algorithms, methods, unit conversions, averaging, smoothing) to transform primary data. Please describe the transformed quantities, their corresponsing units, and the applied procedures. // Verarbeitete Datenreihen – Verarbeitete Daten entstehen durch Verfahren (Gleichungen, Algorithmen, Methoden, Einheitenumrechnungen, Mittelung, Glättung), die Primärdaten transformieren. Bitte beschreiben Sie die transformierten Größen, deren Einheiten sowie die angewandten Verfahren.""", + mandatory=True, + show_in_edit_views=False, + section="Data processing procedures", + ) + + creep_test_data_analysis_procedures = PropertyTypeAssignment( + code="CREEP_TEST_DATA_ANALYSIS_PROCEDURES", + data_type="VARCHAR", + property_label="Data analysis procedures // Datenanalyseverfahren", + description="""Data analysis procedures - Description of the data processing and analysis procedures used to obtain specific test results, e.g. percentage elastic extension, ee // Datenanalyseverfahren – Beschreibung der Datenverarbeitungs- und Analyseverfahren zur Ermittlung spezifischer Prüfergebnisse, z. B. prozentuale elastische Dehnung (ee).""", + mandatory=True, + show_in_edit_views=False, + section="Data processing procedures", + ) + + creep_test_workflow_usage = PropertyTypeAssignment( + code="CREEP_TEST_WORKFLOW_USAGE", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_WORKFLOW_USAGE", + property_label="Workflow usage // Workflow-Nutzung", + description="""Workflow usage - Were automated (user-independent) analysis workflows used? // Workflow-Nutzung – Wurden automatisierte (benutzerunabhängige) Analyse-Workflows verwendet?""", + mandatory=True, + show_in_edit_views=False, + section="Data processing procedures", + ) + + creep_test_software = PropertyTypeAssignment( + code="CREEP_TEST_SOFTWARE", + data_type="VARCHAR", + property_label="Software // Software", + description="""Software - If applicable, please list the used software/workflow, including product and version // Software – Falls zutreffend, bitte die verwendete Software bzw. den Workflow mit Produkt und Version angeben.""", + mandatory=True, + show_in_edit_views=False, + section="Data processing procedures", + ) + + creep_test_related_publications = PropertyTypeAssignment( + code="CREEP_TEST_RELATED_PUBLICATIONS", + data_type="VARCHAR", + property_label="Related publications // Zugehörige Publikationen", + description="""Related publications - If applicable, please list publications related to the data analysis procedure/software used // Zugehörige Publikationen – Falls zutreffend, bitte Publikationen nennen, die sich auf das verwendete Datenanalyseverfahren bzw. die Software beziehen.""", + mandatory=False, + show_in_edit_views=False, + section="Data processing procedures", + ) + + +# -------------------------------- +# Section: Primary data - Test result +# -------------------------------- + + +# Section: Values recorded at test start +class CreepTestPrimaryDataTestResultValuesRecordedAtTestStart(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AT_TEST_START", + description="""Primary data / Test result / Values recorded at test start // Primärdaten / Prüfergebnis / Zu Testbeginn erfasste Werte""", + generated_code_prefix="EXP.MECH.CREEP.PRIMARY_.TEST_RES.VALUES_R", + ) + + creep_test_minimum_test_piece_diameter_at_room_temperature = PropertyTypeAssignment( + code="CREEP_TEST_MINIMUM_TEST_PIECE_DIAMETER_AT_ROOM_TEMPERATURE", + data_type="REAL", + property_label="Minimum test piece diameter at room temperature [mm] // Minimaler Proben-Durchmesser bei Raumtemperatur [mm]", + description="""Minimum test piece diameter at room temperature // Minimaler Proben-Durchmesser bei Raumtemperatur [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_original_gauge_length = PropertyTypeAssignment( + code="CREEP_TEST_ORIGINAL_GAUGE_LENGTH", + data_type="REAL", + property_label="Original gauge length [mm] // Ursprüngliche Messlänge [mm]", + description="""Original gauge length // Ursprüngliche Messlänge [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_parallel_length = PropertyTypeAssignment( + code="CREEP_TEST_PARALLEL_LENGTH", + data_type="REAL", + property_label="Parallel length [mm] // Parallele Länge [mm]", + description="""Parallel length // Parallele Länge [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_extensometer_gauge_length = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSOMETER_GAUGE_LENGTH", + data_type="REAL", + property_label="Extensometer gauge length [mm] // Extensometer-Messlänge [mm]", + description="""Extensometer gauge length // Extensometer-Messlänge [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_determination_of_reference_length = PropertyTypeAssignment( + code="CREEP_TEST_DETERMINATION_OF_REFERENCE_LENGTH", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_DETERMINATION_OF_REFERENCE_LENGTH", + property_label="Determination of reference length // Bestimmung der Referenzlänge", + description="""Determination of reference length - Case 1: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are inside the parallel length, Lc. In this case Lr = Le (percentage extensions) or Lr = Lo (percentage elongations). Case 2: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are outside the parallel length, Lc. In this case, Lr, for calculation of percentage is corrected to consider the strain contributions of the shoulders/ridges. // Bestimmung der Referenzlänge – Case 1: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are inside the parallel length, Lc. In this case Lr = Le (percentage extensions) or Lr = Lo (percentage elongations). Case 2: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are outside the parallel length, Lc. In this case, Lr, for calculation of percentage is corrected to consider the strain contributions of the shoulders/ridges.""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_reference_length_to_calculate_percentage_elongations = PropertyTypeAssignment( + code="CREEP_TEST_REFERENCE_LENGTH_TO_CALCULATE_PERCENTAGE_ELONGATIONS", + data_type="REAL", + property_label="Reference length to calculate percentage elongations [mm] // Referenzlänge zur Berechnung prozentualer Verlängerungen [mm]", + description="""Reference length to calculate percentage elongations // Referenzlänge zur Berechnung prozentualer Verlängerungen [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_reference_length_to_calculate_percentage_extensions = PropertyTypeAssignment( + code="CREEP_TEST_REFERENCE_LENGTH_TO_CALCULATE_PERCENTAGE_EXTENSIONS", + data_type="REAL", + property_label="Reference length to calculate percentage extensions [mm] // Referenzlänge zur Berechnung prozentualer Dehnungen [mm]", + description="""Reference length to calculate percentage extensions // Referenzlänge zur Berechnung prozentualer Dehnungen [mm]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_k_value = PropertyTypeAssignment( + code="CREEP_TEST_K_VALUE", + data_type="REAL", + property_label="k-Value [mm] // k-Wert [mm]", + description="""k-Value - Lr / ?So // k-Wert [mm] – Lr / ?So""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + creep_test_ratio_reference_length_to_diameter = PropertyTypeAssignment( + code="CREEP_TEST_RATIO_REFERENCE_LENGTH_TO_DIAMETER", + data_type="REAL", + property_label="Ratio reference length to diameter [mm] // Verhältnis Referenzlänge zu Durchmesser [mm]", + description="""Ratio reference length to diameter - Lr / D // Verhältnis Referenzlänge zu Durchmesser [mm] – Lr / D""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded at test start", + ) + + +# Section: Values recorded during test run +class CreepTestPrimaryDataTestResultValuesRecordedDuringTestRun(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", + description="""Primary data / Test result / Values recorded during test run // Primärdaten / Prüfergebnis / Während des Versuchs erfasste Werte""", + generated_code_prefix="EXP.MECH.CREEP.PRIMARY_.TEST_RES.VALUES_R", + ) + + creep_test_elapsed_time_from_end_of_loading = PropertyTypeAssignment( + code="CREEP_TEST_ELAPSED_TIME_FROM_END_OF_LOADING", + data_type="VARCHAR", + property_label="Elapsed time from end of loading [s / h] // Verstrichene Zeit seit Ende der Belastung [s / h]", + description="""Elapsed time from end of loading - Link to file, preferably with machine-readable (meta)data. // Verstrichene Zeit seit Ende der Belastung [s / h] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_force = PropertyTypeAssignment( + code="CREEP_TEST_FORCE", + data_type="REAL", + property_label="Force [kN] // Kraft [kN]", + description="""Force // Kraft [kN]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_extension = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSION", + data_type="VARCHAR", + property_label="Extension [mm] // Dehnung [mm]", + description="""Extension - Link to file, preferably with machine-readable (meta)data. // Dehnung [mm] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_elongation = PropertyTypeAssignment( + code="CREEP_TEST_ELONGATION", + data_type="VARCHAR", + property_label="Elongation [mm] // Verlängerung [mm]", + description="""Elongation - Link to file, preferably with machine-readable (meta)data. // Verlängerung [mm] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_heating_time = PropertyTypeAssignment( + code="CREEP_TEST_HEATING_TIME", + data_type="REAL", + property_label="Heating time [h] // Aufheizzeit [h]", + description="""Heating time // Aufheizzeit [h]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_soak_time = PropertyTypeAssignment( + code="CREEP_TEST_SOAK_TIME", + data_type="REAL", + property_label="Soak time [h] // Haltezeit [h]", + description="""Soak time - Soak time before the test // Haltezeit [h] – Haltezeit vor der Prüfung""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_test_duration = PropertyTypeAssignment( + code="CREEP_TEST_TEST_DURATION", + data_type="REAL", + property_label="Test duration [h] // Prüfdauer [h]", + description="""Test duration // Prüfdauer [h]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + +# Section: Values recorded after end of test +class CreepTestPrimaryDataTestResultValuesRecordedAfterEndOfTest(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AFTER_END_OF_TEST", + description="""Primary data / Test result / Values recorded after end of test // Primärdaten / Prüfergebnis / Nach Testende erfasste Werte""", + generated_code_prefix="EXP.MECH.CREEP.PRIMARY_.TEST_RES.VALUES_R", + ) + + creep_test_creep_rupture_time = PropertyTypeAssignment( + code="CREEP_TEST_CREEP_RUPTURE_TIME", + data_type="REAL", + property_label="Creep rupture time [h] // Kriechbruchzeit [h]", + description="""Creep rupture time // Kriechbruchzeit [h]""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded after end of test", + ) + + creep_test_fracture_position = PropertyTypeAssignment( + code="CREEP_TEST_FRACTURE_POSITION", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_FRACTURE_POSITION", + property_label="Fracture position // Bruchposition", + description="""Fracture position // Bruchposition""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded after end of test", + ) + + creep_test_final_gauge_length_after_fracture = PropertyTypeAssignment( + code="CREEP_TEST_FINAL_GAUGE_LENGTH_AFTER_FRACTURE", + data_type="REAL", + property_label="Final gauge length after fracture [mm] // Endmesslänge nach Bruch [mm]", + description="""Final gauge length after fracture // Endmesslänge nach Bruch [mm]""", + mandatory=False, + show_in_edit_views=False, + section="Values recorded after end of test", + ) + + +# -------------------------------- +# Section: Secondary data - Test result +# -------------------------------- + + +# Section: Values recorded during test run +class CreepTestSecondaryDataTestResultValuesRecordedDuringTestRun(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", + description="""Secondary data / Test result / Values recorded during test run // Sekundärdaten / Prüfergebnis / Während des Versuchs erfasste Werte""", + generated_code_prefix="EXP.MECH.CREEP.SECONDAR.TEST_RES.VALUES_R", + ) + + creep_test_corrected_measured_temperature = PropertyTypeAssignment( + code="CREEP_TEST_CORRECTED_MEASURED_TEMPERATURE", + data_type="VARCHAR", + property_label="Corrected measured temperature [?] // Korrigierte gemessene Temperatur [?]", + description="""Corrected measured temperature - Link to file, preferably with machine-readable (meta)data. // Korrigierte gemessene Temperatur [?] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_loading_rate = PropertyTypeAssignment( + code="CREEP_TEST_LOADING_RATE", + data_type="REAL", + property_label="Loading rate [MPa/s] // Belastungsrate [MPa/s]", + description="""Loading rate // Belastungsrate [MPa/s]""", + mandatory=False, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_unloading_rate = PropertyTypeAssignment( + code="CREEP_TEST_UNLOADING_RATE", + data_type="REAL", + property_label="Unloading rate [MPa/s] // Entlastungsrate [MPa/s]", + description="""Unloading rate // Entlastungsrate [MPa/s]""", + mandatory=False, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_heating_speed = PropertyTypeAssignment( + code="CREEP_TEST_HEATING_SPEED", + data_type="REAL", + property_label="Heating speed [?/min] // Aufheizgeschwindigkeit [?/min]", + description="""Heating speed // Aufheizgeschwindigkeit [?/min]""", + mandatory=False, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_cooling_speed = PropertyTypeAssignment( + code="CREEP_TEST_COOLING_SPEED", + data_type="REAL", + property_label="Cooling speed [?/min] // Abkühlgeschwindigkeit [?/min]", + description="""Cooling speed // Abkühlgeschwindigkeit [?/min]""", + mandatory=False, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + creep_test_percentage_extension = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_EXTENSION", + data_type="VARCHAR", + property_label="Percentage extension [%] // Prozentuale Dehnung [%]", + description="""Percentage extension - Link to file, preferably with machine-readable (meta)data. Data series corresponds to the percentage plastic extension from end of loading. If the percentage initial plastic extension is not zero, these data series coresponds to the percentage creep extension from end of loading. // Prozentuale Dehnung [%] – Link to file, preferably with machine-readable (meta)data. Data series corresponds to the percentage plastic extension from end of loading. If the percentage initial plastic extension is not zero, these data series coresponds to the percentage creep extension from end of loading.""", + mandatory=True, + show_in_edit_views=False, + section="Values recorded during test run", + ) + + +# Section: Elongation values +class CreepTestSecondaryDataTestResultElongationValues(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.ELONGATION_VALUES", + description="""Secondary data / Test result / Elongation values // Sekundärdaten / Prüfergebnis / Verlängerungswerte""", + generated_code_prefix="EXP.MECH.CREEP.SECONDAR.TEST_RES.ELONGATI", + ) + + creep_test_percentage_permanent_elongation = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_PERMANENT_ELONGATION", + data_type="REAL", + property_label="Percentage permanent elongation [%] // Prozentuale bleibende Verlängerung [%]", + description="""Percentage permanent elongation // Prozentuale bleibende Verlängerung [%]""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values", + ) + + creep_test_percentage_elongation_after_creep_fracture = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_ELONGATION_AFTER_CREEP_FRACTURE", + data_type="REAL", + property_label="Percentage elongation after creep fracture [%] // Prozentuale Bruchverlängerung nach Kriechbruch [%]", + description="""Percentage elongation after creep fracture // Prozentuale Bruchverlängerung nach Kriechbruch [%]""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values", + ) + + creep_test_percentage_reduction_of_area_after_creep_fracture = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_REDUCTION_OF_AREA_AFTER_CREEP_FRACTURE", + data_type="REAL", + property_label="Percentage reduction of area after creep fracture [%] // Prozentuale Brucheinschnürung nach Kriechbruch [%]", + description="""Percentage reduction of area after creep fracture // Prozentuale Brucheinschnürung nach Kriechbruch [%]""", + mandatory=True, + show_in_edit_views=False, + section="Elongation values", + ) + + +# Section: Extension values +class CreepTestSecondaryDataTestResultExtensionValues(ObjectType): + defs = ObjectTypeDef( + code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.EXTENSION_VALUES", + description="""Secondary data / Test result / Extension values // Sekundärdaten / Prüfergebnis / Dehnungswerte""", + generated_code_prefix="EXP.MECH.CREEP.SECONDAR.TEST_RES.EXTENSIO", + ) + + creep_test_percentage_total_extension = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_TOTAL_EXTENSION", + data_type="REAL", + property_label="Percentage total extension [%] // Prozentuale Gesamtdehnung [%]", + description="""Percentage total extension // Prozentuale Gesamtdehnung [%]""", + mandatory=True, + show_in_edit_views=False, + section="Extension values", + ) + + creep_test_percentage_initial_total_extension = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_INITIAL_TOTAL_EXTENSION", + data_type="REAL", + property_label="Percentage initial total extension [%] // Prozentuale anfängliche Gesamtdehnung [%]", + description="""Percentage initial total extension // Prozentuale anfängliche Gesamtdehnung [%]""", + mandatory=True, + show_in_edit_views=False, + section="Extension values", + ) + + creep_test_percentage_elastic_extension = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_ELASTIC_EXTENSION", + data_type="REAL", + property_label="Percentage elastic extension [%] // Prozentuale elastische Dehnung [%]", + description="""Percentage elastic extension // Prozentuale elastische Dehnung [%]""", + mandatory=True, + show_in_edit_views=False, + section="Extension values", + ) + + creep_test_percentage_initial_plastic_extension = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_INITIAL_PLASTIC_EXTENSION", + data_type="REAL", + property_label="Percentage initial plastic extension [%] // Prozentuale anfängliche plastische Dehnung [%]", + description="""Percentage initial plastic extension // Prozentuale anfängliche plastische Dehnung [%]""", + mandatory=True, + show_in_edit_views=False, + section="Extension values", + ) + + creep_test_percentage_plastic_extension = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_PLASTIC_EXTENSION", + data_type="REAL", + property_label="Percentage plastic extension [%] // Prozentuale plastische Dehnung [%]", + description="""Percentage plastic extension // Prozentuale plastische Dehnung [%]""", + mandatory=True, + show_in_edit_views=False, + section="Extension values", + ) + + creep_test_percentage_creep_extension = PropertyTypeAssignment( + code="CREEP_TEST_PERCENTAGE_CREEP_EXTENSION", + data_type="REAL", + property_label="Percentage creep extension [%] // Prozentuale Kriechdehnung [%]", + description="""Percentage creep extension // Prozentuale Kriechdehnung [%]""", + mandatory=True, + show_in_edit_views=False, + section="Extension values", + ) From 946c7a426c5c08491c16e4c90d54508d1881dfd0 Mon Sep 17 00:00:00 2001 From: "Jose M. Pizarro" <112697669+JosePizarro3@users.noreply.github.com> Date: Thu, 19 Feb 2026 15:58:26 +0100 Subject: [PATCH 2/9] Define inheritance for CreepTest from MechanicalTest --- bam_masterdata/datamodel/creep_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bam_masterdata/datamodel/creep_test.py b/bam_masterdata/datamodel/creep_test.py index 66e4b12..ea3c5ec 100644 --- a/bam_masterdata/datamodel/creep_test.py +++ b/bam_masterdata/datamodel/creep_test.py @@ -11,7 +11,7 @@ class MechanicalTest(ExperimentalStep): ) -class CreepTest(ObjectType): +class CreepTest(MechanicalTest): defs = ObjectTypeDef( code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST", description="""Creep test (mechanical) // Kriechversuch (mechanisch)""", From a1a8efecdbace26f57b4c7afeef0ccace4ea8a74 Mon Sep 17 00:00:00 2001 From: jpizarro Date: Tue, 19 May 2026 11:07:39 +0200 Subject: [PATCH 3/9] Moved object types and vocabularies to its own subfolder Clean up object definitions Added inline questions # ? --- .../object_types.py} | 1818 ++++++----------- .../datamodel/creep_test/vocabularies.py | 979 +++++++++ 2 files changed, 1654 insertions(+), 1143 deletions(-) rename bam_masterdata/datamodel/{creep_test.py => creep_test/object_types.py} (58%) create mode 100644 bam_masterdata/datamodel/creep_test/vocabularies.py diff --git a/bam_masterdata/datamodel/creep_test.py b/bam_masterdata/datamodel/creep_test/object_types.py similarity index 58% rename from bam_masterdata/datamodel/creep_test.py rename to bam_masterdata/datamodel/creep_test/object_types.py index ea3c5ec..5a021b4 100644 --- a/bam_masterdata/datamodel/creep_test.py +++ b/bam_masterdata/datamodel/creep_test/object_types.py @@ -1,4 +1,4 @@ -from bam_masterdata.datamodel.object_types import ExperimentalStep +from bam_masterdata.datamodel.object_types import ExperimentalStep, Instrument, Sample from bam_masterdata.metadata.definitions import ObjectTypeDef, PropertyTypeAssignment from bam_masterdata.metadata.entities import ObjectType @@ -7,7 +7,7 @@ class MechanicalTest(ExperimentalStep): defs = ObjectTypeDef( code="EXPERIMENTAL_STEP.MECHANICAL_TEST", description="""Mechanical test (experimental step) // Mechanischer Test (Versuchsschritt)""", - generated_code_prefix="EXP.MECH", + generated_code_prefix="EXP.MECH_TEST", ) @@ -20,338 +20,274 @@ class CreepTest(MechanicalTest): # --- Links to related creep-test sub-objects (OBJECT properties) --- link_material_history_and_condition = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_MATERIAL_HISTORY_AND_CONDITION", + code="CREEP_TEST_LINK_MATERIAL_HISTORY_AND_CONDITION", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST_MATERIAL_HISTORY_AND_CONDITION", + object_code="CREEP_TEST_MATERIAL_HISTORY_AND_CONDITION", property_label="Material history and condition", description="""Linked object: Material history and condition""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_test_piece = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEST_PIECE", + code="CREEP_TEST_LINK_TEST_PIECE", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.TEST_PIECE", + object_code="SAMPLE.CREEP_TEST_TEST_PIECE", property_label="Test piece", description="""Linked object: Test piece""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_test_machine = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEST_MACHINE", + code="CREEP_TEST_LINK_TEST_MACHINE", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE", + object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE", property_label="Test machine", description="""Linked object: Test machine""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_test_machine_heating_system = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEST_MACHINE_HEATING_SYSTEM", + code="CREEP_TEST_LINK_TEST_MACHINE_HEATING_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.HEATING_SYSTEM", + object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_HEATING_SYSTEM", property_label="Heating system", description="""Linked object: Heating system""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_test_machine_holder_system = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEST_MACHINE_HOLDER_SYSTEM", + code="CREEP_TEST_LINK_TEST_MACHINE_HOLDER_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.TEST_PIECE_HOLDER_SYSTEM", + object_code="INSTRUMENT.CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", property_label="Test piece holder system", description="""Linked object: Test piece holder system""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_test_machine_loading_system = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEST_MACHINE_LOADING_SYSTEM", + code="CREEP_TEST_LINK_TEST_MACHINE_LOADING_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.LOADING_SYSTEM", + object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM", property_label="Loading system", description="""Linked object: Loading system""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_test_machine_data_acquisition = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEST_MACHINE_DATA_ACQUISITION", + code="CREEP_TEST_LINK_TEST_MACHINE_DATA_ACQUISITION", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.DATA_ACQUISITION", + object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_DATA_ACQUISITION", property_label="Data acquisition (test machine)", description="""Linked object: Data acquisition (test machine)""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_load_sensor = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_LOAD_SENSOR", + code="CREEP_TEST_LINK_LOAD_SENSOR", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.LOAD_SENSOR", + object_code="INSTRUMENT.CREEP_TEST_LOAD_SENSOR", property_label="Load sensor", description="""Linked object: Load sensor""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - + # ? is this necessary? only a boolean inside CREEP_TEST_LINK_LOAD_MEASURING_DATA_ACQUISITION link_load_measuring_data_acquisition = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_LOAD_MEASURING_DATA_ACQUISITION", + code="CREEP_TEST_LINK_LOAD_MEASURING_DATA_ACQUISITION", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.DATA_ACQUISITION", + object_code="INSTRUMENT.CREEP_TEST_LOAD_DATA_ACQUISITION", property_label="Load measuring system data acquisition", description="""Linked object: Load measuring system data acquisition""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_laboratory_conditions = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_LABORATORY_CONDITIONS", + code="CREEP_TEST_LINK_LABORATORY_CONDITIONS", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.LABORATORY_CONDITIONS", + object_code="INSTRUMENT.CREEP_TEST_LABORATORY_CONDITIONS", property_label="Laboratory conditions", description="""Linked object: Laboratory conditions""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_temperature_measuring_system = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEMPERATURE_MEASURING_SYSTEM", + code="CREEP_TEST_LINK_TEMPERATURE_MEASURING_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM", + object_code="INSTRUMENT.CREEP_TEST_TEMPERATURE_MEASURING_SYSTEM", property_label="Temperature-measuring system", description="""Linked object: Temperature-measuring system""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_temperature_sensor = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEMPERATURE_SENSOR", + code="CREEP_TEST_LINK_TEMPERATURE_SENSOR", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.TEMPERATURE_SENSOR", + object_code="INSTRUMENT.CREEP_TEST_TEMPERATURE_SENSOR", property_label="Temperature sensor", description="""Linked object: Temperature sensor""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_temperature_daq = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_TEMPERATURE_DAQ", + code="CREEP_TEST_LINK_TEMPERATURE_DAQ", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.DATA_ACQUISITION", + object_code="INSTRUMENT.CREEP_TEST_TEMPERATURE_DATA_ACQUISITION", property_label="Temperature DAQ", description="""Linked object: Temperature measuring system data acquisition""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_extensometer_system = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_EXTENSOMETER_SYSTEM", + code="CREEP_TEST_LINK_EXTENSOMETER_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSOMETER_SYSTEM", + object_code="INSTRUMENT.CREEP_TEST_EXTENSOMETER_SYSTEM", property_label="Extensometer system", description="""Linked object: Extensometer system""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_contacting_extensometer = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_CONTACTING_EXTENSOMETER", + code="CREEP_TEST_LINK_CONTACTING_EXTENSOMETER", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSION_VALUES.CONTACTING_EXTENSOMETER", + object_code="INSTRUMENT.CREEP_TEST_EXTENSION_VALUES_CONTACTING_EXTENSOMETER", property_label="Contacting extensometer", description="""Linked object: Contacting extensometer""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_elongation_cross_sectional = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_ELONGATION_CROSS_SECTIONAL", + code="CREEP_TEST_LINK_ELONGATION_CROSS_SECTIONAL", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.ELONGATION_VALUES_AND_CROSS_SECTIONAL_DIMENSIONS", + object_code="INSTRUMENT.CREEP_TEST_ELONGATION_VALUES_AND_CROSS_SECTIONAL_DIMENSIONS", property_label="Elongation & cross-sectional dimensions", description="""Linked object: Elongation values and cross-sectional dimensions""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_data_processing = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_DATA_PROCESSING", + code="CREEP_TEST_LINK_DATA_PROCESSING", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.DATA_PROCESSING_PROCEDURES", + object_code="CREEP_TEST_DATA_PROCESSING_PROCEDURES", property_label="Data processing procedures", description="""Linked object: Data processing procedures""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_primary_data_at_start = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_PRIMARY_DATA_AT_START", + code="CREEP_TEST_LINK_PRIMARY_DATA_AT_START", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AT_TEST_START", + object_code="CREEP_TEST_PRIMARY_VALUES_RECORDED_AT_TEST_START", property_label="Primary data at test start", description="""Linked object: Primary data (values at test start)""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_primary_data_during_run = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_PRIMARY_DATA_DURING_RUN", + code="CREEP_TEST_LINK_PRIMARY_DATA_DURING_RUN", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", + object_code="CREEP_TEST_VALUES_RECORDED_DURING_TEST_RUN_BASE.CREEP_TEST_PRIMARY_VALUES_RECORDED_DURING_TEST_RUN", property_label="Primary data during test run", description="""Linked object: Primary data (values during test run)""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_primary_data_after_end = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_PRIMARY_DATA_AFTER_END", + code="CREEP_TEST_LINK_PRIMARY_DATA_AFTER_END", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AFTER_END_OF_TEST", + object_code="CREEP_TEST_PRIMARY_VALUES_RECORDED_AFTER_END_OF_TEST", property_label="Primary data after end of test", description="""Linked object: Primary data (values after end of test)""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_secondary_data_during_run = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_SECONDARY_DATA_DURING_RUN", + code="CREEP_TEST_LINK_SECONDARY_DATA_DURING_RUN", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", + object_code="CREEP_TEST_VALUES_RECORDED_DURING_TEST_RUN_BASE.CREEP_TEST_SECONDARY_VALUES_RECORDED_DURING_TEST_RUN", property_label="Secondary data during test run", description="""Linked object: Secondary data (values during test run)""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) link_secondary_elongation_values = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_SECONDARY_ELONGATION_VALUES", + code="CREEP_TEST_LINK_SECONDARY_ELONGATION_VALUES", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.ELONGATION_VALUES", + object_code="CREEP_TEST_SECONDARY_ELONGATION_VALUES", property_label="Secondary elongation values", description="""Linked object: Secondary data (elongation values)""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) - link_secondary_extension_values = PropertyTypeAssignment( - code="CREEP_TEST.LINK.LINK_SECONDARY_EXTENSION_VALUES", + code="CREEP_TEST_LINK_SECONDARY_EXTENSION_VALUES", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.EXTENSION_VALUES", + object_code="CREEP_TEST_SECONDARY_EXTENSION_VALUES", property_label="Secondary extension values", description="""Linked object: Secondary data (extension values)""", mandatory=False, - show_in_edit_views=False, section="Linked objects", ) # --------------------------- # Section: Metadata - Test info - Test job details # --------------------------- - - creep_test_date_of_test_start = PropertyTypeAssignment( - code="START_DATE", - data_type="TIMESTAMP", - property_label="Date of test start", - description="""Date of test start // Startdatum der Prüfung""", - mandatory=True, - show_in_edit_views=False, - section="Test job details", - ) - - creep_test_date_of_test_end = PropertyTypeAssignment( - code="END_DATE", - data_type="TIMESTAMP", - property_label="Date of test end", - description="""Date of test end // Enddatum der Prüfung""", - mandatory=True, - show_in_edit_views=False, - section="Test job details", - ) - - creep_test_test_id = PropertyTypeAssignment( - code="CREEP_TEST.TEST_ID", + creep_test_id = PropertyTypeAssignment( + code="CREEP_TEST_ID", data_type="VARCHAR", property_label="Test ID", description="""Test ID // Prüf-ID""", mandatory=True, - show_in_edit_views=False, section="Test job details", ) - - creep_test_project = PropertyTypeAssignment( - code="REQUEST.PROJECT", + # ? check if this is abstract enough for EXPERIMENTAL_STEP + creep_test_project_id = PropertyTypeAssignment( + code="CREEP_TEST_PROJECT_ID", data_type="VARCHAR", property_label="Project", - description="""Project // Projekt""", + description="""Project identifier (name, unique id, etc.)""", mandatory=False, - show_in_edit_views=False, section="Test job details", ) # --------------------------- # Section: Metadata - Test info - Test parameters # --------------------------- - - creep_test_test_standard_applied = PropertyTypeAssignment( - code="CREEP_TEST_TEST_STANDARD_APPLIED", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="TEST_STANDARD_APPLIED", - property_label="Test standard applied", - description="""Test standard applied - Was the test performed according to a test standard? // Prüfnorm angewendet – Wurde die Prüfung gemäß einer Prüfnorm durchgeführt?""", + creep_test_standard_applied = PropertyTypeAssignment( + code="CREEP_TEST_STANDARD_APPLIED", + data_type="BOOLEAN", + property_label="Test standard applied?", + description="""Test standard applied - Was the test performed according to a test standard? // Prüfnorm angewendet - Wurde die Prüfung gemäß einer Prüfnorm durchgeführt?""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - - creep_test_test_standard = PropertyTypeAssignment( - code="CREEP_TEST_TEST_STANDARD", + creep_test_standard = PropertyTypeAssignment( + code="CREEP_TEST_STANDARD", data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_TEST_STANDARD", + vocabulary_code="CREEP_TEST_STANDARD", property_label="Test standard", description="""Test standard // Prüfnorm""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_specified_temperature = PropertyTypeAssignment( - code="ATOM_MD_TARG_TEMP_IN_K", + code="TEMPERATURE_IN_KELVIN", data_type="REAL", - property_label="Specified temperature [K]", + property_label="Specified temperature", + units="K", description="""Specified temperature // Vorgegebene Temperatur""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_type_of_loading = PropertyTypeAssignment( code="CREEP_TEST_TYPE_OF_LOADING", data_type="CONTROLLEDVOCABULARY", @@ -359,10 +295,8 @@ class CreepTest(MechanicalTest): property_label="Type of loading", description="""Type of loading // Art der Belastung""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_load_control_type = PropertyTypeAssignment( code="CREEP_TEST_LOAD_CONTROL_TYPE", data_type="CONTROLLEDVOCABULARY", @@ -370,31 +304,26 @@ class CreepTest(MechanicalTest): property_label="Load control type", description="""Load control type // Lastregelungsart""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_initial_stress = PropertyTypeAssignment( code="CREEP_TEST_INITIAL_STRESS", data_type="REAL", - property_label="Initial stress [MPa]", + property_label="Initial stress", + units="MPa", description="""Initial stress // Anfangsspannung""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_test_type = PropertyTypeAssignment( - code="CREEP_TEST_TEST_TYPE", + code="CREEP_TEST_TYPE", data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_TEST_TYPE", + vocabulary_code="CREEP_TEST_TYPE", property_label="Test type", description="""Test type // Prüftyp""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_end_of_test_criterium = PropertyTypeAssignment( code="CREEP_TEST_END_OF_TEST_CRITERIUM", data_type="CONTROLLEDVOCABULARY", @@ -402,40 +331,34 @@ class CreepTest(MechanicalTest): property_label="End of test criterium", description="""End of test criterium // Abbruchkriterium""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_time_limit = PropertyTypeAssignment( code="CREEP_TEST_TIME_LIMIT", - data_type="VARCHAR", + data_type="REAL", property_label="Time Limit", + units="h", description="""Time Limit // Zeitlimit""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_extension_limit = PropertyTypeAssignment( code="CREEP_TEST_EXTENSION_LIMIT", - data_type="VARCHAR", + data_type="REAL", property_label="Extension Limit", + units="%", description="""Extension Limit // Dehnungsgrenze""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_end_of_test = PropertyTypeAssignment( code="CREEP_TEST_END_OF_TEST", data_type="VARCHAR", property_label="End of test", - description="""End of test - Describe the end of test if none of the preset criteria (time or extension limit) could be met // Testende – Beschreiben Sie das Testende, falls keines der vorgegebenen Kriterien (Zeit- oder Dehnungsgrenze) erreicht werden konnte.""", + description="""End of test - Describe the end of test if none of the preset criteria (time or extension limit) could be met // Testende - Beschreiben Sie das Testende, falls keines der vorgegebenen Kriterien (Zeit- oder Dehnungsgrenze) erreicht werden konnte.""", mandatory=False, - show_in_edit_views=False, section="Test parameters", ) - creep_test_interruption_course = PropertyTypeAssignment( code="CREEP_TEST_INTERRUPTION_COURSE", data_type="CONTROLLEDVOCABULARY", @@ -443,2480 +366,2089 @@ class CreepTest(MechanicalTest): property_label="Interruption course", description="""Interruption course // Unterbrechungsverlauf""", mandatory=True, - show_in_edit_views=False, section="Test parameters", ) - creep_test_test_force = PropertyTypeAssignment( code="CREEP_TEST_TEST_FORCE", data_type="REAL", - property_label="Test force [kN]", + property_label="Test force", + units="kN", description="""Test force // Prüfkraft""", mandatory=False, - show_in_edit_views=False, section="Test parameters", ) - creep_test_preload = PropertyTypeAssignment( code="CREEP_TEST_PRELOAD", data_type="REAL", - property_label="Preload [kN]", - description="""Preload - Part of the test force // Vorspannkraft – Teil der Prüfkraft""", + property_label="Preload", + units="kN", + description="""Preload - Part of the test force // Vorspannkraft - Teil der Prüfkraft""", mandatory=True, - show_in_edit_views=False, - section="Test parameters", - ) - - creep_test_additional_information = PropertyTypeAssignment( - code="NOTES", - data_type="MULTILINE_VARCHAR", - property_label="Additional information", - description="""Additional information // Zusätzliche Informationen""", - mandatory=False, - show_in_edit_views=False, section="Test parameters", ) # -------------------------------- # Section: Metadata - Test info - Related research outcome # -------------------------------- - creep_test_any_related_articles = PropertyTypeAssignment( code="CREEP_TEST_ANY_RELATED_ARTICLES", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_ANY_RELATED_ARTICLES", - property_label="Any related articles", - description="""Any related articles // Zugehörige Artikel vorhanden""", + data_type="BOOLEAN", + property_label="Any related articles?", + description="""Any related articles? // Zugehörige Artikel vorhanden?""", mandatory=False, - show_in_edit_views=False, section="Related research outcome", ) - creep_test_related_article = PropertyTypeAssignment( code="CREEP_TEST_RELATED_ARTICLE", data_type="MULTILINE_VARCHAR", property_label="Related article", - description="""Related article - Multiple input entries for instance for MSE research article DOI, Zenodo DOI, FDO // Zugehöriger Artikel – Mehrfache Eingaben, z. B. für DOI eines Fachartikels, Zenodo-DOI, FDO.""", + description="""Related article - Multiple input entries for instance for MSE research article DOI, Zenodo DOI, FDO // Zugehöriger Artikel - Mehrfache Eingaben, z. B. für DOI eines Fachartikels, Zenodo-DOI, FDO.""", mandatory=False, - show_in_edit_views=False, section="Related research outcome", ) class CreepTestMaterialHistoryAndCondition(ObjectType): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST_MATERIAL_HISTORY_AND_CONDITION", + code="CREEP_TEST_MATERIAL_HISTORY_AND_CONDITION", description="""Material history and condition for creep tests // Materialhistorie und -zustand für Kriechversuche""", - generated_code_prefix="EXP.MECH.CREEP.MAT_HIST", + generated_code_prefix="CREEP_MATER_HISTO", ) # --- Links to material sub-objects (OBJECT properties) --- link_chemical_composition_nominal = PropertyTypeAssignment( - code="CREEP_TEST.MATERIAL.LINK.LINK_CHEMICAL_COMPOSITION_NOMINAL", + code="CREEP_TEST_MATERIAL_LINK_CHEMICAL_COMPOSITION_NOMINAL", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.NOMINAL", + object_code="CREEP_TEST_CHEMICAL_COMPOSITION_NOMINAL", property_label="Chemical composition (nominal)", description="""Linked object: Chemical composition (nominal)""", mandatory=False, - show_in_edit_views=False, section="Linked material objects", ) - link_chemical_composition_measured = PropertyTypeAssignment( - code="CREEP_TEST.MATERIAL.LINK.LINK_CHEMICAL_COMPOSITION_MEASURED", + code="CREEP_TEST_MATERIAL_LINK_CHEMICAL_COMPOSITION_MEASURED", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.MEASURED", + object_code="CREEP_TEST_CHEMICAL_COMPOSITION_MEASURED", property_label="Chemical composition (measured)", description="""Linked object: Chemical composition (measured)""", mandatory=False, - show_in_edit_views=False, section="Linked material objects", ) - link_ndt_results = PropertyTypeAssignment( - code="CREEP_TEST.MATERIAL.LINK.LINK_NDT_RESULTS", + code="CREEP_TEST_MATERIAL_LINK_NDT_RESULTS", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.NDT_RESULTS", + object_code="CREEP_TEST_MATERIAL_HISTORY_NDT_RESULTS", property_label="NDT results", description="""Linked object: NDT results""", mandatory=False, - show_in_edit_views=False, section="Linked material objects", ) - link_mechanical_tests_results = PropertyTypeAssignment( - code="CREEP_TEST.MATERIAL.LINK.LINK_MECHANICAL_TESTS_RESULTS", + code="CREEP_TEST_MATERIAL_LINK_MECHANICAL_TESTS_RESULTS", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.MECHANICAL_TESTS_RESULTS", + object_code="CREEP_TEST_MATERIAL_HISTORY_MECHANICAL_TESTS_RESULTS", property_label="Mechanical tests results", description="""Linked object: Mechanical tests results""", mandatory=False, - show_in_edit_views=False, section="Linked material objects", ) # -------------------------------- # Section: Metadata - Material history and condition # -------------------------------- - creep_test_material_identifier = PropertyTypeAssignment( code="CREEP_TEST_MATERIAL_IDENTIFIER", data_type="VARCHAR", - property_label="Material Identifier // Materialkennung", - description="""Material Identifier - E.g., NIMONIC 75, 2.4630, CMSX-6, CMSX-4, ERBO1, // Materialkennung – z. B. NIMONIC 75, 2.4630, CMSX-6, CMSX-4, ERBO1,""", + property_label="Material Identifier", + description="""Material Identifier - E.g., NIMONIC 75, 2.4630, CMSX-6, CMSX-4, ERBO1, // Materialkennung - z. B. NIMONIC 75, 2.4630, CMSX-6, CMSX-4, ERBO1,""", mandatory=True, - show_in_edit_views=False, section="Material history and condition", ) + # -------------------------------- # Section: As-manufactured material + # -------------------------------- creep_test_phase_transformation_during_test = PropertyTypeAssignment( code="CREEP_TEST_PHASE_TRANSFORMATION_DURING_TEST", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_PHASE_TRANSFORMATION_DURING_TEST", - property_label="Phase transformation during test // Phasenumwandlung während der Prüfung", - description="""Phase transformation during test // Phasenumwandlung während der Prüfung""", + data_type="BOOLEAN", + property_label="Phase transformation during test?", + description="""Phase transformation during test? // Phasenumwandlung während der Prüfung?""", mandatory=False, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_possible_phase_transformation = PropertyTypeAssignment( code="CREEP_TEST_POSSIBLE_PHASE_TRANSFORMATION", data_type="VARCHAR", - property_label="Possible phase transformation // Mögliche Phasenumwandlung", - description="""Possible phase transformation - Is any phase transformation expected due to temperature during the creep test?. Please provide any supporting material if possible. Answers could be, e.g., a link to a TTT-curve or a DOI of an article // Mögliche Phasenumwandlung – Wird aufgrund der Temperatur während des Kriechversuchs eine Phasenumwandlung erwartet? Bitte fügen Sie nach Möglichkeit unterstützendes Material bei (z. B. Link zu einer ZTU-/TTT-Kurve oder DOI eines Artikels).""", + property_label="Possible phase transformation", + description="""Possible phase transformation - Is any phase transformation expected due to temperature during the creep test?. Please provide any supporting material if possible. Answers could be, e.g., a link to a TTT-curve or a DOI of an article // Mögliche Phasenumwandlung - Wird aufgrund der Temperatur während des Kriechversuchs eine Phasenumwandlung erwartet? Bitte fügen Sie nach Möglichkeit unterstützendes Material bei (z. B. Link zu einer ZTU-/TTT-Kurve oder DOI eines Artikels).""", mandatory=False, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_form_of_as_manufactured_material = PropertyTypeAssignment( code="CREEP_TEST_FORM_OF_AS_MANUFACTURED_MATERIAL", data_type="VARCHAR", - property_label="Form of as-manufactured material // Form des Materials im Herstellungszustand", - description="""Form of as-manufactured material - E.g., Cast, Ingot, Extrusion rod, // Form des Materials im Herstellungszustand – z. B. Guss, Block (Ingot), Extrusionsstab,""", + property_label="Form of as-manufactured material", + description="""Form of as-manufactured material - E.g., Cast, Ingot, Extrusion rod, // Form des Materials im Herstellungszustand - z. B. Guss, Block (Ingot), Extrusionsstab,""", mandatory=True, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_geometry_size_as_manufactured_material = PropertyTypeAssignment( code="CREEP_TEST_GEOMETRY_SIZE_AS_MANUFACTURED_MATERIAL", data_type="VARCHAR", - property_label="Geometry/size as-manufactured material // Geometrie/Abmessungen des Materials im Herstellungszustand", - description="""Geometry/size as-manufactured material - Please provide a description or/and any supporting material, e.g., link to image or technical drawing, if possible. // Geometrie/Abmessungen des Materials im Herstellungszustand – Bitte geben Sie eine Beschreibung und/oder nach Möglichkeit unterstützendes Material an (z. B. Link zu einem Bild oder einer technischen Zeichnung).""", + property_label="Geometry/size as-manufactured material", + description="""Geometry/size as-manufactured material - Please provide a description or/and any supporting material, e.g., link to image or technical drawing, if possible. // Geometrie/Abmessungen des Materials im Herstellungszustand - Bitte geben Sie eine Beschreibung und/oder nach Möglichkeit unterstützendes Material an (z. B. Link zu einem Bild oder einer technischen Zeichnung).""", mandatory=True, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_manufacturing_process_description_as_manufactured_material = PropertyTypeAssignment( code="CREEP_TEST_MANUFACTURING_PROCESS_DESCRIPTION_AS_MANUFACTURED_MATERIAL", data_type="VARCHAR", - property_label="Manufacturing process description as-manufactured material // Beschreibung des Herstellungsprozesses (Herstellungszustand)", - description="""Manufacturing process description as-manufactured material - E.g., Cast / Melting, Casting, and Remelting / Induction melting in air, casting into a circular ingot and then electroslag remelting // Beschreibung des Herstellungsprozesses (Herstellungszustand) – z. B. Guss / Schmelzen, Gießen und Umschmelzen / Induktionsschmelzen in Luft, Gießen in einen Rundblock und anschließend Elektroschlacke-Umschmelzen""", + property_label="Manufacturing process description as-manufactured material", + description="""Manufacturing process description as-manufactured material - E.g., Cast / Melting, Casting, and Remelting / Induction melting in air, casting into a circular ingot and then electroslag remelting // Beschreibung des Herstellungsprozesses (Herstellungszustand) - z. B. Guss / Schmelzen, Gießen und Umschmelzen / Induktionsschmelzen in Luft, Gießen in einen Rundblock und anschließend Elektroschlacke-Umschmelzen""", mandatory=False, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_casting_temperature = PropertyTypeAssignment( code="CREEP_TEST_CASTING_TEMPERATURE", data_type="REAL", - property_label="Casting temperature [°C] // Gießtemperatur [°C]", - description="""Casting temperature // Gießtemperatur [°C]""", + property_label="Casting temperature", + units="degC", + description="""Casting temperature in degrees Celsius // Gießtemperatur in Grad Celsius""", mandatory=False, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_casting_speed = PropertyTypeAssignment( code="CREEP_TEST_CASTING_SPEED", data_type="REAL", - property_label="Casting speed // Gießgeschwindigkeit", + property_label="Casting speed", description="""Casting speed // Gießgeschwindigkeit""", mandatory=False, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_solidification = PropertyTypeAssignment( code="CREEP_TEST_SOLIDIFICATION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_SOLIDIFICATION", - property_label="Solidification // Erstarrungsform", - description="""Solidification - Single/Polycrystal solidified? // Erstarrungsform – Einkristallin oder polykristallin erstarrt?""", + property_label="Solidification", + description="""Solidification - Single/Polycrystal solidified? // Erstarrungsform - Einkristallin oder polykristallin erstarrt?""", mandatory=True, - show_in_edit_views=False, section="As-manufactured material", ) - creep_test_condition = PropertyTypeAssignment( code="CREEP_TEST_CONDITION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_CONDITION", - property_label="Condition // Zustand", + property_label="Condition", description="""Condition // Zustand""", mandatory=True, - show_in_edit_views=False, section="As-manufactured material", ) + # -------------------------------- # Section: As-tested material + # -------------------------------- creep_test_supplier = PropertyTypeAssignment( code="SUPPLIER", data_type="VARCHAR", - property_label="Supplier // Lieferant", + property_label="Supplier", description="""Supplier // Lieferant""", mandatory=True, - show_in_edit_views=False, section="As-tested material", ) - creep_test_geometry_size_as_tested_material = PropertyTypeAssignment( code="CREEP_TEST_GEOMETRY_SIZE_AS_TESTED_MATERIAL", data_type="VARCHAR", - property_label="Geometry/size as-tested material // Geometrie/Abmessungen des Materials im Prüfzustand", - description="""Geometry/size as-tested material - The test piece is manufactured from the as-tested material. Please add a description or a link to Image or technical drawing. The as-tested material is the material to be tested. The as-tested material can be a component. // Geometrie/Abmessungen des Materials im Prüfzustand – Der Probekörper wird aus dem Material im Prüfzustand gefertigt. Bitte fügen Sie eine Beschreibung oder einen Link zu Bild/technischer Zeichnung hinzu. Das Material im Prüfzustand ist das zu prüfende Material und kann auch ein Bauteil sein.""", + property_label="Geometry/size as-tested material", + description="""Geometry/size as-tested material - The test piece is manufactured from the as-tested material. Please add a description or a link to Image or technical drawing. The as-tested material is the material to be tested. The as-tested material can be a component. // Geometrie/Abmessungen des Materials im Prüfzustand - Der Probekörper wird aus dem Material im Prüfzustand gefertigt. Bitte fügen Sie eine Beschreibung oder einen Link zu Bild/technischer Zeichnung hinzu. Das Material im Prüfzustand ist das zu prüfende Material und kann auch ein Bauteil sein.""", mandatory=True, - show_in_edit_views=False, section="As-tested material", ) - creep_test_manufacturing_process_description_as_tested_material = PropertyTypeAssignment( code="CREEP_TEST_MANUFACTURING_PROCESS_DESCRIPTION_AS_TESTED_MATERIAL", data_type="VARCHAR", - property_label="Manufacturing process description as-tested material // Beschreibung des Herstellungsprozesses (Prüfzustand)", + property_label="Manufacturing process description as-tested material", description="""Manufacturing process description as-tested material // Beschreibung des Herstellungsprozesses (Prüfzustand)""", mandatory=True, - show_in_edit_views=False, section="As-tested material", ) - creep_test_supply_date = PropertyTypeAssignment( code="SAMPLE_RECEIVED", data_type="TIMESTAMP", - property_label="Supply Date // Lieferdatum", + property_label="Supply Date", description="""Supply Date // Lieferdatum""", mandatory=True, - show_in_edit_views=False, section="As-tested material", ) - creep_test_order_number = PropertyTypeAssignment( - code="$ORDER.ADDITIONAL_INFORMATION", + code="WORKSHOP_ORDER_ID", data_type="VARCHAR", - property_label="Order number // Bestellnummer", - description="""Order number // Bestellnummer""", + property_label="Order number", + description="""Workshop/Order identifier (free text)""", mandatory=False, - show_in_edit_views=False, section="As-tested material", ) + # -------------------------------- # Section: Heat treatment + # -------------------------------- creep_test_heat_treatment_state = PropertyTypeAssignment( code="CREEP_TEST_HEAT_TREATMENT_STATE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_HEAT_TREATMENT_STATE", - property_label="Heat treatment - State // Wärmebehandlungszustand", + property_label="Heat treatment - State", description="""Heat treatment - State // Wärmebehandlungszustand""", mandatory=True, - show_in_edit_views=False, section="Heat treatment", ) - creep_test_multistage_annealing = PropertyTypeAssignment( code="CREEP_TEST_MULTISTAGE_ANNEALING", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_MULTISTAGE_ANNEALING", - property_label="Multistage annealing? // Mehrstufiges Glühen?", + data_type="BOOLEAN", + property_label="Multistage annealing?", description="""Multistage annealing? // Mehrstufiges Glühen?""", mandatory=False, - show_in_edit_views=False, section="Heat treatment", ) - creep_test_multistage_ageing = PropertyTypeAssignment( code="CREEP_TEST_MULTISTAGE_AGEING", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_MULTISTAGE_AGEING", - property_label="Multistage ageing? // Mehrstufiges Auslagern?", + data_type="BOOLEAN", + property_label="Multistage ageing?", description="""Multistage ageing? // Mehrstufiges Auslagern?""", mandatory=False, - show_in_edit_views=False, section="Heat treatment", ) - creep_test_heat_treatment_annealing_description = PropertyTypeAssignment( code="CREEP_TEST_HEAT_TREATMENT_ANNEALING_DESCRIPTION", data_type="VARCHAR", - property_label="Heat treatment - Annealing - Description // Wärmebehandlung – Glühen – Beschreibung", - description="""Heat treatment - Annealing - Description // Wärmebehandlung – Glühen – Beschreibung""", + property_label="Heat treatment - Annealing - Description", + description="""Heat treatment - Annealing - Description // Wärmebehandlung - Glühen - Beschreibung""", mandatory=True, - show_in_edit_views=False, section="Heat treatment", ) - creep_test_heat_treatment_ageing_description = PropertyTypeAssignment( code="CREEP_TEST_HEAT_TREATMENT_AGEING_DESCRIPTION", data_type="VARCHAR", - property_label="Heat treatment - Ageing - Description // Wärmebehandlung – Auslagern – Beschreibung", - description="""Heat treatment - Ageing - Description // Wärmebehandlung – Auslagern – Beschreibung""", + property_label="Heat treatment - Ageing - Description", + description="""Heat treatment - Ageing - Description // Wärmebehandlung - Auslagern - Beschreibung""", mandatory=True, - show_in_edit_views=False, section="Heat treatment", ) - creep_test_heat_treatment_protocol = PropertyTypeAssignment( code="CREEP_TEST_HEAT_TREATMENT_PROTOCOL", data_type="VARCHAR", - property_label="Heat treatment - Protocol // Wärmebehandlung – Protokoll", - description="""Heat treatment - Protocol - Link to file, preferably with machine-readable (meta)dataeta)data // Wärmebehandlung – Protokoll – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + property_label="Heat treatment - Protocol", + description="""Heat treatment - Protocol - Link to file, preferably with machine-readable (meta)dataeta), + data // Wärmebehandlung - Protokoll - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Heat treatment", ) + # -------------------------------- # Section: Microstructure + # -------------------------------- creep_test_microstructure_feature = PropertyTypeAssignment( code="CREEP_TEST_MICROSTRUCTURE_FEATURE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_MICROSTRUCTURE_FEATURE", - property_label="Microstructure feature // Mikrostrukturmerkmal", + property_label="Microstructure feature", description="""Microstructure feature // Mikrostrukturmerkmal""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_characterization_method = PropertyTypeAssignment( code="CREEP_TEST_CHARACTERIZATION_METHOD", data_type="VARCHAR", - property_label="Characterization method // Charakterisierungsmethode", - description="""Characterization method - E.g., STEM, HRTEM, TEM-EDX, AFM, SEM, SEM-EBSD, .... // Charakterisierungsmethode – z. B. STEM, HRTEM, TEM-EDX, AFM, SEM, SEM-EBSD, …""", + property_label="Characterization method", + description="""Characterization method - E.g., STEM, HRTEM, TEM-EDX, AFM, SEM, SEM-EBSD, .... // Charakterisierungsmethode - z. B. STEM, HRTEM, TEM-EDX, AFM, SEM, SEM-EBSD, …""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_measured_condition = PropertyTypeAssignment( code="CREEP_TEST_MEASURED_CONDITION", data_type="VARCHAR", - property_label="Measured condition // Gemessener Zustand", - description="""Measured condition - E.g., as-manufactured, heat-treated, before testing, after testing // Gemessener Zustand – z. B. wie hergestellt, wärmebehandelt, vor der Prüfung, nach der Prüfung""", + property_label="Measured condition", + description="""Measured condition - E.g., as-manufactured, heat-treated, before testing, after testing // Gemessener Zustand - z. B. wie hergestellt, wärmebehandelt, vor der Prüfung, nach der Prüfung""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_measuring_position = PropertyTypeAssignment( code="CREEP_TEST_MEASURING_POSITION", data_type="VARCHAR", - property_label="Measuring position // Messposition", - description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition – Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, …).""", + property_label="Measuring position", + description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition - Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, …).""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_microstructure_feature_information = PropertyTypeAssignment( code="CREEP_TEST_MICROSTRUCTURE_FEATURE_INFORMATION", data_type="VARCHAR", - property_label="Microstructure feature - Information // Mikrostrukturmerkmal – Informationen", - description="""Microstructure feature - Information - Include all relevant characterization results // Mikrostrukturmerkmal – Informationen – Führen Sie alle relevanten Charakterisierungsergebnisse auf.""", + property_label="Microstructure feature - Information", + description="""Microstructure feature - Information - Include all relevant characterization results // Mikrostrukturmerkmal - Informationen - Führen Sie alle relevanten Charakterisierungsergebnisse auf.""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_microstructure_image = PropertyTypeAssignment( code="CREEP_TEST_MICROSTRUCTURE_IMAGE", data_type="VARCHAR", - property_label="Microstructure Image // Mikrostrukturbild", - description="""Microstructure Image - Link to File, e.g., an optical micrograph, preferably with machine-readable (meta)data // Mikrostrukturbild – Link zu einer Datei, z. B. zu einem optischen Mikrographen, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + property_label="Microstructure Image", + description="""Microstructure Image - Link to File, e.g., an optical micrograph, preferably with machine-readable (meta)data // Mikrostrukturbild - Link zu einer Datei, z. B. zu einem optischen Mikrographen, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_microstructure_report = PropertyTypeAssignment( code="CREEP_TEST_MICROSTRUCTURE_REPORT", data_type="VARCHAR", - property_label="Microstructure report // Mikrostrukturbericht", - description="""Microstructure report - Link to file, preferably with machine-readable (meta)data // Mikrostrukturbericht – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + property_label="Microstructure report", + description="""Microstructure report - Link to file, preferably with machine-readable (meta)data // Mikrostrukturbericht - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_grain_size = PropertyTypeAssignment( code="CREEP_TEST_GRAIN_SIZE", data_type="REAL", - property_label="Grain size [µm] // Korngröße [µm]", - description="""Grain size - If polycrystal // Korngröße [µm] – Falls polykristallin.""", + property_label="Grain size", + units="µm", + description="""Grain size - If polycrystal // Korngröße [µm] - Falls polykristallin.""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_grain_size_determination_method = PropertyTypeAssignment( code="CREEP_TEST_GRAIN_SIZE_DETERMINATION_METHOD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_GRAIN_SIZE_DETERMINATION_METHOD", - property_label="Grain size - Determination method // Korngröße – Bestimmungsmethode", - description="""Grain size - Determination method // Korngröße – Bestimmungsmethode""", + property_label="Grain size - Determination method", + description="""Grain size - Determination method // Korngröße - Bestimmungsmethode""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_grain_size_measuring_region = PropertyTypeAssignment( code="CREEP_TEST_GRAIN_SIZE_MEASURING_REGION", data_type="VARCHAR", - property_label="Grain size - measuring region // Korngröße – Messbereich", - description="""Grain size - measuring region - E.g., in the bulk // Korngröße – Messbereich – z. B. im Volumen""", + property_label="Grain size - measuring region", + description="""Grain size - measuring region - E.g., in the bulk // Korngröße - Messbereich - z. B. im Volumen""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_grain_size_distribution = PropertyTypeAssignment( code="CREEP_TEST_GRAIN_SIZE_DISTRIBUTION", data_type="VARCHAR", - property_label="Grain size distribution // Korngrößenverteilung", - description="""Grain size distribution - Link to file, preferably with machine-readable (meta)data // Korngrößenverteilung – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + property_label="Grain size distribution", + description="""Grain size distribution - Link to file, preferably with machine-readable (meta)data // Korngrößenverteilung - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_grain_additional_information = PropertyTypeAssignment( code="CREEP_TEST_GRAIN_ADDITIONAL_INFORMATION", data_type="VARCHAR", - property_label="Grain - Additional Information // Korn – Zusätzliche Informationen", - description="""Grain - Additional Information - Include all further relevant characterization results // Korn – Zusätzliche Informationen – Führen Sie weitere relevante Charakterisierungsergebnisse auf.""", + property_label="Grain - Additional Information", + description="""Grain - Additional Information - Include all further relevant characterization results // Korn - Zusätzliche Informationen - Führen Sie weitere relevante Charakterisierungsergebnisse auf.""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_reprecipitated_gamma_gamma_prime_regions = PropertyTypeAssignment( code="CREEP_TEST_REPRECIPITATED_GAMMA_GAMMA_PRIME_REGIONS", data_type="VARCHAR", - property_label="Reprecipitated gamma-gamma prime regions [%] // Wieder ausgeschiedene Gamma/Gamma′-Bereiche [%]", - description="""Reprecipitated gamma-gamma prime regions - Completely dissolved and re-precipitated gamma-gamma' regions // Wieder ausgeschiedene Gamma/Gamma′-Bereiche [%] – Vollständig gelöste und wieder ausgeschiedene Gamma/Gamma′-Bereiche""", + property_label="Reprecipitated gamma-gamma prime regions", + units="%", + description="""Reprecipitated gamma-gamma prime regions - Completely dissolved and re-precipitated gamma-gamma' regions // Wieder ausgeschiedene Gamma/Gamma-Bereiche [%] - Vollständig gelöste und wieder ausgeschiedene Gamma/Gamma-Bereiche""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_gamma_prime_particles_average_size = PropertyTypeAssignment( code="CREEP_TEST_GAMMA_PRIME_PARTICLES_AVERAGE_SIZE", data_type="VARCHAR", - property_label="Gamma prime particles - average size [µm] // Gamma′-Partikel – mittlere Größe [µm]", - description="""Gamma prime particles - average size // Gamma′-Partikel – mittlere Größe [µm]""", + property_label="Gamma prime particles - average size", + units="µm", + description="""Gamma prime particles - average size // Gamma-Partikel - mittlere Größe [µm]""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_gamma_prime_particles_maximum_size = PropertyTypeAssignment( code="CREEP_TEST_GAMMA_PRIME_PARTICLES_MAXIMUM_SIZE", data_type="REAL", - property_label="Gamma prime particles - maximum size [µm] // Gamma′-Partikel – maximale Größe [µm]", - description="""Gamma prime particles - maximum size // Gamma′-Partikel – maximale Größe [µm]""", + property_label="Gamma prime particles - maximum size", + units="µm", + description="""Gamma prime particles - maximum size // Gamma-Partikel - maximale Größe [µm]""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_dendrite_spacings = PropertyTypeAssignment( code="CREEP_TEST_DENDRITE_SPACINGS", data_type="VARCHAR", - property_label="Dendrite spacings // Dendritenabstände", - description="""Dendrite spacings - Please describe the procedure and add a link to file, preferably with machine-readable (meta)data or add a reference to paper and section // Dendritenabstände – Bitte beschreiben Sie das Verfahren und fügen Sie einen Dateilink (vorzugsweise mit maschinenlesbaren (Meta-)Daten) oder eine Referenz auf Publikation und Abschnitt hinzu.""", + property_label="Dendrite spacings", + description="""Dendrite spacings - Please describe the procedure and add a link to file, preferably with machine-readable (meta)data or add a reference to paper and section // Dendritenabstände - Bitte beschreiben Sie das Verfahren und fügen Sie einen Dateilink (vorzugsweise mit maschinenlesbaren (Meta-)Daten) oder eine Referenz auf Publikation und Abschnitt hinzu.""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_proof_of_single_crystallinity = PropertyTypeAssignment( code="CREEP_TEST_PROOF_OF_SINGLE_CRYSTALLINITY", data_type="VARCHAR", - property_label="Proof of single crystallinity // Nachweis der Einkristallinität", - description="""Proof of single crystallinity - Link to file, preferably with machine-readable (meta)data // Nachweis der Einkristallinität – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + property_label="Proof of single crystallinity", + description="""Proof of single crystallinity - Link to file, preferably with machine-readable (meta)data // Nachweis der Einkristallinität - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) - creep_test_single_crystal_orientation = PropertyTypeAssignment( code="CREEP_TEST_SINGLE_CRYSTAL_ORIENTATION", data_type="VARCHAR", - property_label="Single crystal orientation // Einkristallorientierung", - description="""Single crystal orientation - Link to file, preferably with machine-readable (meta)data. Laue Crystal Verification. Must be documented for each test piece. // Einkristallorientierung – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Laue-Einkristallprüfung; muss für jeden Probekörper dokumentiert werden.""", + property_label="Single crystal orientation", + description="""Single crystal orientation - Link to file, preferably with machine-readable (meta)data. Laue Crystal Verification. Must be documented for each test piece. // Einkristallorientierung - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Laue-Einkristallprüfung; muss für jeden Probekörper dokumentiert werden.""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_single_crystal_orientation_determination_method = PropertyTypeAssignment( code="CREEP_TEST_SINGLE_CRYSTAL_ORIENTATION_DETERMINATION_METHOD", data_type="VARCHAR", - property_label="Single crystal orientation - Determination method // Einkristallorientierung – Bestimmungsmethode", - description="""Single crystal orientation - Determination method // Einkristallorientierung – Bestimmungsmethode""", + property_label="Single crystal orientation - Determination method", + description="""Single crystal orientation - Determination method // Einkristallorientierung - Bestimmungsmethode""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_single_crystal_orientation_measuring_point = PropertyTypeAssignment( code="CREEP_TEST_SINGLE_CRYSTAL_ORIENTATION_MEASURING_POINT", data_type="VARCHAR", - property_label="Single crystal orientation - Measuring point // Einkristallorientierung – Messpunkt", - description="""Single crystal orientation - Measuring point // Einkristallorientierung – Messpunkt""", + property_label="Single crystal orientation - Measuring point", + description="""Single crystal orientation - Measuring point // Einkristallorientierung - Messpunkt""", mandatory=True, - show_in_edit_views=False, section="Microstructure", ) - creep_test_orientation_determination_accuracy = PropertyTypeAssignment( code="CREEP_TEST_ORIENTATION_DETERMINATION_ACCURACY", data_type="VARCHAR", - property_label="Orientation - Determination accuracy // Orientierung – Bestimmungsgenauigkeit", - description="""Orientation - Determination accuracy // Orientierung – Bestimmungsgenauigkeit""", + property_label="Orientation - Determination accuracy", + description="""Orientation - Determination accuracy // Orientierung - Bestimmungsgenauigkeit""", mandatory=False, - show_in_edit_views=False, section="Microstructure", ) -# Section: Chemical composition -class CreepTestMaterialHistoryAndConditionChemicalCompositionNOMINAL(ObjectType): +class CreepTestChemicalCompositionNominal(ObjectType): + # ? check its relation with Chemical defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.NOMINAL", + code="CREEP_TEST_CHEMICAL_COMPOSITION_NOMINAL", description="""Material history and condition / Chemical composition (NOMINAL) // Materialhistorie und Zustand / Chemische Zusammensetzung (NOMINAL)""", - generated_code_prefix="EXP.MECH.CREEP.MATERIAL.CHEMICAL.NOMINAL", + generated_code_prefix="CREEP_CHEMI_COMPO", ) creep_test_measured_condition = PropertyTypeAssignment( code="CREEP_TEST_MEASURED_CONDITION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_MEASURED_CONDITION", - property_label="Measured condition // Gemessener Zustand", + property_label="Measured condition", description="""Measured condition // Gemessener Zustand""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) - creep_test_measuring_position = PropertyTypeAssignment( code="CREEP_TEST_MEASURING_POSITION", data_type="VARCHAR", - property_label="Measuring position // Messposition", - description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition – Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, ...).""", + property_label="Measuring position", + description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition - Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, ...).""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) - creep_test_measurement_method = PropertyTypeAssignment( code="CREEP_TEST_MEASUREMENT_METHOD", data_type="VARCHAR", - property_label="Measurement method // Messmethode", - description="""Measurement method - Provide a description of the used method(s) and details about measurement volume/points // Messmethode – Beschreiben Sie die verwendete(n) Methode(n) und geben Sie Details zu Messvolumen/-punkten an.""", + property_label="Measurement method", + description="""Measurement method - Provide a description of the used method(s) and details about measurement volume/points // Messmethode - Beschreiben Sie die verwendete(n) Methode(n) und geben Sie Details zu Messvolumen/-punkten an.""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) - creep_test_chemical_composition_nominal = PropertyTypeAssignment( - code="CHEM_SPECIES_BY_COMP_IN_PCT", - data_type="VARCHAR", - property_label="Chemical composition - nominal [wt.-% / at.-%] // Chemische Zusammensetzung – nominal [wt.-% / at.-%]", - description="""Chemical composition - nominal - Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung – nominal [wt.-% / at.-%] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", + code="CHEM_SPECIES_BY_COMP_IN_PCT", # ? check this code (why compacting it?) + data_type="REAL", + property_label="Chemical composition - nominal [wt.-% / at.-%]", + units="%", + description="""Chemical composition - nominal - Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung - nominal [wt.-% / at.-%] - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) -class CreepTestMaterialHistoryAndConditionChemicalCompositionMEASURED(ObjectType): +class CreepTestChemicalCompositionMeasured(ObjectType): + # ? check its relation with Chemical defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.CHEMICAL_COMPOSITION.MEASURED", + code="CREEP_TEST_CHEMICAL_COMPOSITION_MEASURED", description="""Material history and condition / Chemical composition (MEASURED) // Materialhistorie und Zustand / Chemische Zusammensetzung (MEASURED)""", - generated_code_prefix="EXP.MECH.CREEP.MATERIAL.CHEMICAL.MEASURED", + generated_code_prefix="CREEP_CHEMI_COMPO", ) creep_test_measured_condition = PropertyTypeAssignment( code="CREEP_TEST_MEASURED_CONDITION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_MEASURED_CONDITION", - property_label="Measured condition // Gemessener Zustand", + property_label="Measured condition", description="""Measured condition // Gemessener Zustand""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) - creep_test_measuring_position = PropertyTypeAssignment( code="CREEP_TEST_MEASURING_POSITION", data_type="VARCHAR", - property_label="Measuring position // Messposition", - description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition – Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, ...).""", + property_label="Measuring position", + description="""Measuring position - Specify position(s) for bulk (middle/top/bottom/surface) and/or microstructure feature (matrix, interdendtitic region, phase,...) // Messposition - Geben Sie Position(en) an, z. B. im Volumen (Mitte/oben/unten/Oberfläche) und/oder bezogen auf das Mikrostrukturmerkmal (Matrix, interdendritischer Bereich, Phase, ...).""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) - creep_test_measurement_method = PropertyTypeAssignment( code="CREEP_TEST_MEASUREMENT_METHOD", data_type="VARCHAR", - property_label="Measurement method // Messmethode", - description="""Measurement method - Provide a description of the used method(s) and details about measurement volume/points // Messmethode – Beschreiben Sie die verwendete(n) Methode(n) und geben Sie Details zu Messvolumen/-punkten an.""", + property_label="Measurement method", + description="""Measurement method - Provide a description of the used method(s) and details about measurement volume/points // Messmethode - Beschreiben Sie die verwendete(n) Methode(n) und geben Sie Details zu Messvolumen/-punkten an.""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) - creep_test_chemical_composition_measured = PropertyTypeAssignment( - code="CHEM_SPECIES_BY_COMP_IN_PCT", - data_type="VARCHAR", - property_label="Chemical composition - measured [wt.-% / at.-%] // Chemische Zusammensetzung – gemessen [wt.-% / at.-%]", - description="""Chemical composition - measured - Include precision, if available. Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung – gemessen [wt.-% / at.-%] – Geben Sie, falls verfügbar, die Präzision an. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", + code="CHEM_SPECIES_BY_COMP_IN_PCT", # ? check this code (why compacting it?) + data_type="REAL", + property_label="Chemical composition - measured [wt.-% / at.-%]", + units="%", + description="""Chemical composition - measured - Include precision, if available. Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung - gemessen [wt.-% / at.-%] - Geben Sie, falls verfügbar, die Präzision an. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", mandatory=True, - show_in_edit_views=False, section="Chemical composition", ) -# Section: NDT results -class CreepTestMaterialHistoryAndConditionNDTResults(ObjectType): +class CreepTestMaterialHistoryNDTResults(ObjectType): + # ? check if we need to define Results object type defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.NDT_RESULTS", + code="CREEP_TEST_MATERIAL_HISTORY_NDT_RESULTS", description="""Material history and condition / NDT Results // Materialhistorie und Zustand / ZfP-Ergebnisse""", - generated_code_prefix="EXP.MECH.CREEP.MATERIAL.NDT_RESU", + generated_code_prefix="CREEP_MATER_HISTO_NDT_RES", ) creep_test_crack_or_defect_inspection_method = PropertyTypeAssignment( code="CREEP_TEST_CRACK_OR_DEFECT_INSPECTION_METHOD", data_type="VARCHAR", - property_label="Crack or defect inspection - Method // Riss- oder Defektprüfung – Methode", - description="""Crack or defect inspection - Method - E.g., Penetrant certification/Radiographic certification/XCT/X-Ray film. Link to file, preferably with machine-readable (meta)data // Riss- oder Defektprüfung – Methode – z. B. Farbeindringprüfung / Röntgenprüfung / XCT / Röntgenfilm. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + property_label="Crack or defect inspection - Method", + description="""Crack or defect inspection - Method - E.g., Penetrant certification/Radiographic certification/XCT/X-Ray film. Link to file, preferably with machine-readable (meta)data // Riss- oder Defektprüfung - Methode - z. B. Farbeindringprüfung / Röntgenprüfung / XCT / Röntgenfilm. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="NDT Results", ) - creep_test_crack_or_defect_inspection_result = PropertyTypeAssignment( code="CREEP_TEST_CRACK_OR_DEFECT_INSPECTION_RESULT", data_type="VARCHAR", - property_label="Crack or defect inspection - Result // Riss- oder Defektprüfung – Ergebnis", - description="""Crack or defect inspection - Result // Riss- oder Defektprüfung – Ergebnis""", + property_label="Crack or defect inspection - Result", + description="""Crack or defect inspection - Result // Riss- oder Defektprüfung - Ergebnis""", mandatory=False, - show_in_edit_views=False, section="NDT Results", ) -# Section: Mechanical tests results -class CreepTestMaterialHistoryAndConditionMechanicalTestsResults(ObjectType): +class CreepTestMaterialHistoryMechanicalTestsResults(ObjectType): + # ? check if we need to define Results object type defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MATERIAL_HISTORY_AND_CONDITION.MECHANICAL_TESTS_RESULTS", + code="CREEP_TEST_MATERIAL_HISTORY_MECHANICAL_TESTS_RESULTS", description="""Material history and condition / Mechanical tests results // Materialhistorie und Zustand / Ergebnisse mechanischer Prüfungen""", - generated_code_prefix="EXP.MECH.CREEP.MATERIAL.MECHANIC", + generated_code_prefix="CREEP_MATER_HISTO_MECH_TEST_RES", ) creep_test_proof_strength_room_temperature = PropertyTypeAssignment( code="CREEP_TEST_PROOF_STRENGTH_ROOM_TEMPERATURE", data_type="REAL", - property_label="Proof strength - room temperature [MPa] // Streckgrenze – Raumtemperatur [MPa]", - description="""Proof strength - room temperature - 0.2 % Proof strength at room temperature // Streckgrenze – Raumtemperatur [MPa] – 0,2-%-Dehngrenze bei Raumtemperatur.""", + property_label="Proof strength - room temperature", + units="MPa", + description="""Proof strength - room temperature - 0.2 % Proof strength at room temperature // Streckgrenze - Raumtemperatur [MPa] - 0,2-%-Dehngrenze bei Raumtemperatur.""", mandatory=False, - show_in_edit_views=False, section="Mechanical tests results", ) - creep_test_proof_strength_creep_test_temperature = PropertyTypeAssignment( code="CREEP_TEST_PROOF_STRENGTH_CREEP_TEST_TEMPERATURE", data_type="REAL", - property_label="Proof strength - creep test temperature [MPa] // Streckgrenze – Kriechprüftemperatur [MPa]", - description="""Proof strength - creep test temperature - 0.2 % Proof strength at creep test temperature // Streckgrenze – Kriechprüftemperatur [MPa] – 0,2-%-Dehngrenze bei Kriechprüftemperatur.""", + property_label="Proof strength - creep test temperature", + units="MPa", + description="""Proof strength - creep test temperature - 0.2 % Proof strength at creep test temperature // Streckgrenze - Kriechprüftemperatur [MPa] - 0,2-%-Dehngrenze bei Kriechprüftemperatur.""", mandatory=False, - show_in_edit_views=False, section="Mechanical tests results", ) - creep_test_hardness = PropertyTypeAssignment( code="CREEP_TEST_HARDNESS", data_type="VARCHAR", - property_label="Hardness // Härte", + property_label="Hardness", description="""Hardness // Härte""", mandatory=False, - show_in_edit_views=False, section="Mechanical tests results", ) -# -------------------------------- -# Section: Metadata - Test piece -# -------------------------------- - - -class CreepTestTestPiece(ObjectType): +class CreepTestTestPiece(Sample): + # ? check its relation with Sample defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.TEST_PIECE", + code="SAMPLE.CREEP_TEST_TEST_PIECE", description="""Test piece // Probekörper""", - generated_code_prefix="EXP.MECH.CREEP.TEST_PIE", + generated_code_prefix="SAMPL.CREEP_PIECE", ) creep_test_test_piece_id = PropertyTypeAssignment( - code="CREEP_TEST.TEST_PIECE_ID", + code="CREEP_TEST_TEST_PIECE_ID", data_type="VARCHAR", - property_label="Test piece ID // Probekörper-ID", + property_label="Test piece ID", description="""Test piece ID // Probekörper-ID""", mandatory=False, - show_in_edit_views=False, section="Test piece", ) - creep_test_workshop_order_id = PropertyTypeAssignment( - code="$ORDER.ADDITIONAL_INFORMATION", + code="WORKSHOP_ORDER_ID", data_type="VARCHAR", - property_label="Workshop order ID // Werkstattauftrag-ID", - description="""Workshop order ID // Werkstattauftrag-ID""", + property_label="Workshop order ID", + description="""Workshop/Order identifier (free text)""", mandatory=False, - show_in_edit_views=False, section="Test piece", ) - creep_test_test_piece_history = PropertyTypeAssignment( code="CREEP_TEST_TEST_PIECE_HISTORY", data_type="VARCHAR", - property_label="Test piece history // Probekörperhistorie", - description="""Test piece history - Link to file, preferably with machine-readable (meta)data. The file(s) can include, e.g., data or documentation from previous experiments. // Probekörperhistorie – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Die Datei(en) können z. B. Daten oder Dokumentationen aus früheren Experimenten enthalten.""", + property_label="Test piece history", + description="""Test piece history - Link to file, preferably with machine-readable (meta)data. The file(s) can include, e.g., data or documentation from previous experiments. // Probekörperhistorie - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Die Datei(en) können z. B. Daten oder Dokumentationen aus früheren Experimenten enthalten.""", mandatory=False, - show_in_edit_views=False, section="Test piece", ) - creep_test_test_piece_type_i = PropertyTypeAssignment( code="CREEP_TEST_TEST_PIECE_TYPE_I", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_TEST_PIECE_TYPE_I", - property_label="Test piece type I // Probekörpertyp I", + property_label="Test piece type I", description="""Test piece type I // Probekörpertyp I""", mandatory=True, - show_in_edit_views=False, section="Test piece", ) - creep_test_test_piece_type_ii = PropertyTypeAssignment( code="CREEP_TEST_TEST_PIECE_TYPE_II", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_TEST_PIECE_TYPE_II", - property_label="Test piece type II // Probekörpertyp II", + property_label="Test piece type II", description="""Test piece type II // Probekörpertyp II""", mandatory=True, - show_in_edit_views=False, section="Test piece", ) - creep_test_test_piece_type_iii = PropertyTypeAssignment( code="CREEP_TEST_TEST_PIECE_TYPE_III", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_TEST_PIECE_TYPE_III", - property_label="Test piece type III // Probekörpertyp III", + property_label="Test piece type III", description="""Test piece type III // Probekörpertyp III""", mandatory=True, - show_in_edit_views=False, section="Test piece", ) - creep_test_test_piece_technical_drawing = PropertyTypeAssignment( code="CREEP_TEST_TEST_PIECE_TECHNICAL_DRAWING", data_type="VARCHAR", - property_label="Test piece technical drawing // Technische Zeichnung des Probekörpers", - description="""Test piece technical drawing - Link to file, preferably with machine-readable (meta)data // Technische Zeichnung des Probekörpers – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + property_label="Test piece technical drawing", + description="""Test piece technical drawing - Link to file, preferably with machine-readable (meta)data // Technische Zeichnung des Probekörpers - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=True, - show_in_edit_views=False, section="Test piece", ) - creep_test_test_piece_origin_and_orientation = PropertyTypeAssignment( code="CREEP_TEST_TEST_PIECE_ORIGIN_AND_ORIENTATION", data_type="VARCHAR", - property_label="Test piece origin and orientation // Herkunft und Orientierung des Probekörpers", - description="""Test piece origin and orientation - Describe the exact location / positioning of the test piece within the as-tested material. E.g.: Do rolling direction and the longitudinal axis coincide?. Is the test piece located on top or bottom. Do coordinate systems of as-tested material and test piece coincide?. Add a link to a file, e.g., a technical drawing showing this, preferably with machine-readable (meta)data. // Herkunft und Orientierung des Probekörpers – Beschreiben Sie die genaue Lage/Positionierung des Probekörpers im Material im Prüfzustand. z. B.: Stimmen Walzrichtung und Längsachse überein? Liegt der Probekörper oben oder unten? Stimmen die Koordinatensysteme von Material (Prüfzustand) und Probekörper überein? Fügen Sie nach Möglichkeit einen Dateilink (z. B. technische Zeichnung) mit maschinenlesbaren (Meta-)Daten hinzu.""", + property_label="Test piece origin and orientation", + description="""Test piece origin and orientation - Describe the exact location / positioning of the test piece within the as-tested material. E.g.: Do rolling direction and the longitudinal axis coincide?. Is the test piece located on top or bottom. Do coordinate systems of as-tested material and test piece coincide?. Add a link to a file, e.g., a technical drawing showing this, preferably with machine-readable (meta)data. // Herkunft und Orientierung des Probekörpers - Beschreiben Sie die genaue Lage/Positionierung des Probekörpers im Material im Prüfzustand. z. B.: Stimmen Walzrichtung und Längsachse überein? Liegt der Probekörper oben oder unten? Stimmen die Koordinatensysteme von Material (Prüfzustand) und Probekörper überein? Fügen Sie nach Möglichkeit einen Dateilink (z. B. technische Zeichnung) mit maschinenlesbaren (Meta-)Daten hinzu.""", mandatory=True, - show_in_edit_views=False, section="Test piece", ) - creep_test_test_piece_orientation_in_test_machine = PropertyTypeAssignment( code="CREEP_TEST_TEST_PIECE_ORIENTATION_IN_TEST_MACHINE", data_type="VARCHAR", - property_label="Test piece orientation in test machine // Orientierung des Probekörpers in der Prüfmaschine", - description="""Test piece orientation in test machine - Describe the exact orientation of the test piece within the test machine. E.g., is the longitudinal axis of the test piece exactly parallel to the loading axis of the test machine?. Add a link to a file providing evidence, preferably with machine-readable (meta)data. This can be, e.g., a technical drawing. // Orientierung des Probekörpers in der Prüfmaschine – Describe the exact orientation of the test piece within the test machine. E.g., is the longitudinal axis of the test piece exactly parallel to the loading axis of the test machine?. Add a link to a file providing evidence, preferably with machine-readable (meta)data. This can be, e.g., a technical drawing.""", + property_label="Test piece orientation in test machine", + description="""Test piece orientation in test machine - Describe the exact orientation of the test piece within the test machine. E.g., is the longitudinal axis of the test piece exactly parallel to the loading axis of the test machine?. Add a link to a file providing evidence, preferably with machine-readable (meta)data. This can be, e.g., a technical drawing. // Orientierung des Probekörpers in der Prüfmaschine - Describe the exact orientation of the test piece within the test machine. E.g., is the longitudinal axis of the test piece exactly parallel to the loading axis of the test machine?. Add a link to a file providing evidence, preferably with machine-readable (meta)data. This can be, e.g., a technical drawing.""", mandatory=True, - show_in_edit_views=False, section="Test piece", ) - creep_test_additional_information_test_piece = PropertyTypeAssignment( code="CREEP_TEST_ADDITIONAL_INFORMATION_TEST_PIECE", data_type="VARCHAR", - property_label="Additional information test piece // Zusätzliche Informationen zum Probekörper", - description="""Additional information test piece - Add the information or a link to file, preferably with machine-readable (meta)data, e.g., Roughness // Zusätzliche Informationen zum Probekörper – Fügen Sie die Information oder einen Dateilink hinzu, vorzugsweise mit maschinenlesbaren (Meta-)Daten, z. B. Rauheit.""", + property_label="Additional information test piece", + description="""Additional information test piece - Add the information or a link to file, preferably with machine-readable (meta)data, e.g., Roughness // Zusätzliche Informationen zum Probekörper - Fügen Sie die Information oder einen Dateilink hinzu, vorzugsweise mit maschinenlesbaren (Meta-)Daten, z. B. Rauheit.""", mandatory=False, - show_in_edit_views=False, section="Test piece", ) -# -------------------------------- -# Section: Metadata - Measuring and test equipment -# -------------------------------- - - -# Section: Test machine -class CreepTestMeasuringAndTestEquipmentTestMachine(ObjectType): +class CreepTestTestMachine(Instrument): + # ? check its relation with Instrument defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE", + code="INSTRUMENT.CREEP_TEST_TEST_MACHINE", description="""Measuring and test equipment / Test machine // Mess- und Prüfmittel / Prüfmaschine""", - generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC", + generated_code_prefix="INS.CREEP_MACHI", ) # --- Links to test machine sub-systems (OBJECT properties) --- link_heating_system = PropertyTypeAssignment( - code="CREEP_TEST.TEST_MACHINE.LINK.LINK_HEATING_SYSTEM", + code="CREEP_TEST_TEST_MACHINE_LINK_HEATING_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.HEATING_SYSTEM", + object_code="CREEP_TEST_TEST_MACHINE_HEATING_SYSTEM", property_label="Heating system", description="""Linked object: Heating system""", mandatory=False, - show_in_edit_views=False, section="Linked test machine objects", ) - link_holder_system = PropertyTypeAssignment( - code="CREEP_TEST.TEST_MACHINE.LINK.LINK_HOLDER_SYSTEM", + code="CREEP_TEST_TEST_MACHINE_LINK_HOLDER_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.TEST_PIECE_HOLDER_SYSTEM", + object_code="CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", property_label="Test piece holder system", description="""Linked object: Test piece holder system""", mandatory=False, - show_in_edit_views=False, section="Linked test machine objects", ) - link_loading_system = PropertyTypeAssignment( - code="CREEP_TEST.TEST_MACHINE.LINK.LINK_LOADING_SYSTEM", + code="CREEP_TEST_TEST_MACHINE_LINK_LOADING_SYSTEM", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.LOADING_SYSTEM", + object_code="CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM", property_label="Loading system", description="""Linked object: Loading system""", mandatory=False, - show_in_edit_views=False, section="Linked test machine objects", ) - link_data_acquisition = PropertyTypeAssignment( - code="CREEP_TEST.TEST_MACHINE.LINK.LINK_DATA_ACQUISITION", + code="CREEP_TEST_TEST_MACHINE_LINK_DATA_ACQUISITION", data_type="OBJECT", - object_code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.DATA_ACQUISITION", + object_code="CREEP_TEST_TEST_MACHINE_DATA_ACQUISITION", property_label="Data acquisition", description="""Linked object: Data acquisition""", mandatory=False, - show_in_edit_views=False, section="Linked test machine objects", ) creep_test_test_machine_id = PropertyTypeAssignment( - code="CREEP_TEST.TEST_MACHINE_ID", + code="CREEP_TEST_TEST_MACHINE_ID", data_type="VARCHAR", - property_label="Test machine ID // Prüfmaschinen-ID", + property_label="Test machine ID", description="""Test machine ID // Prüfmaschinen-ID""", mandatory=False, - show_in_edit_views=False, section="Test machine", ) - creep_test_test_machine_type = PropertyTypeAssignment( code="CREEP_TEST_TEST_MACHINE_TYPE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_MACHINE_TYPE", - property_label="Test machine type // Prüfmaschinentyp", + property_label="Test machine type", description="""Test machine type // Prüfmaschinentyp""", mandatory=False, - show_in_edit_views=False, section="Test machine", ) - creep_test_minimum_applicable_force = PropertyTypeAssignment( code="CREEP_TEST_MINIMUM_APPLICABLE_FORCE", data_type="REAL", - property_label="Minimum applicable force [kN] // Minimale anwendbare Kraft [kN]", - description="""Minimum applicable force // Minimale anwendbare Kraft [kN]""", + property_label="Minimum applicable force", + units="kN", + description="""Minimum applicable force // Minimale anwendbare Kraft""", mandatory=False, - show_in_edit_views=False, section="Test machine", ) - creep_test_maximum_applicable_force = PropertyTypeAssignment( code="MAX_STATIC_FORCE", data_type="REAL", - property_label="Maximum applicable force [kN] // Maximale anwendbare Kraft [kN]", - description="""Maximum applicable force // Maximale anwendbare Kraft [kN]""", + property_label="Maximum applicable force", + units="kN", + description="""Maximum applicable force // Maximale anwendbare Kraft""", mandatory=False, - show_in_edit_views=False, section="Test machine", ) - creep_test_test_frame_and_specimen_alignment = PropertyTypeAssignment( code="CREEP_TEST_TEST_FRAME_AND_SPECIMEN_ALIGNMENT", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_TEST_FRAME_AND_SPECIMEN_ALIGNMENT", - property_label="Test frame and specimen alignment // Ausrichtung von Testrahmen und Probekörper", - description="""Test frame and specimen alignment - Verification of Test Frame and Specimen Alignment according to ASTM E1012? // Ausrichtung von Testrahmen und Probekörper – Überprüfung der Ausrichtung von Testrahmen und Probekörper gemäß ASTM E1012?""", + data_type="BOOLEAN", + property_label="Test frame and specimen alignment?", + description="""Test frame and specimen alignment - Verification of Test Frame and Specimen Alignment according to ASTM E1012? // Ausrichtung von Testrahmen und Probekörper - Überprüfung der Ausrichtung von Testrahmen und Probekörper gemäß ASTM E1012?""", mandatory=True, - show_in_edit_views=False, section="Test machine", ) - creep_test_test_frame_and_specimen_alignment_description = PropertyTypeAssignment( code="CREEP_TEST_TEST_FRAME_AND_SPECIMEN_ALIGNMENT_DESCRIPTION", data_type="VARCHAR", - property_label="Test frame and specimen alignment - description // Ausrichtung von Testrahmen und Probekörper – Beschreibung", - description="""Test frame and specimen alignment - description - Please provide a description on the procedure followed for the Verification of Test Frame and Specimen Alignment if different from ASTM E1012 // Ausrichtung von Testrahmen und Probekörper – Beschreibung – Bitte beschreiben Sie das Verfahren zur Überprüfung der Ausrichtung von Testrahmen und Probekörper, falls es von ASTM E1012 abweicht.""", + property_label="Test frame and specimen alignment - description", + description="""Test frame and specimen alignment - description - Please provide a description on the procedure followed for the Verification of Test Frame and Specimen Alignment if different from ASTM E1012 // Ausrichtung von Testrahmen und Probekörper - Beschreibung - Bitte beschreiben Sie das Verfahren zur Überprüfung der Ausrichtung von Testrahmen und Probekörper, falls es von ASTM E1012 abweicht.""", mandatory=True, - show_in_edit_views=False, section="Test machine", ) - creep_test_calibration_class = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_CLASS", - data_type="VARCHAR", - property_label="Calibration class // Kalibrierklasse", - description="""Calibration class - Calibration class of test frame and specimen alignment, e.g., 5 / 5 starting from 3 kN (according to ASTM E1012) // Kalibrierklasse – Kalibrierklasse der Ausrichtung von Testrahmen und Probekörper, z. B. 5/5 ab 3 kN (gemäß ASTM E1012).""", + data_type="REAL", + property_label="Calibration class", + description="""Calibration class - Calibration class of test frame and specimen alignment, e.g., 5 / 5 starting from 3 kN (according to ASTM E1012) // Kalibrierklasse - Kalibrierklasse der Ausrichtung von Testrahmen und Probekörper, z. B. 5/5 ab 3 kN (gemäß ASTM E1012).""", mandatory=True, - show_in_edit_views=False, section="Test machine", ) -class CreepTestMeasuringAndTestEquipmentTestMachineHeatingSystem(ObjectType): +class CreepTestTestMachineHeatingSystem(Instrument): + # ? probably this is related with Furnace metainformation defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.HEATING_SYSTEM", + code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_HEATING_SYSTEM", description="""Measuring and test equipment / Test machine / Heating system // Mess- und Prüfmittel / Prüfmaschine / Heizsystem""", - generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.HEATING_", + generated_code_prefix="INS.CREEP_MACHI_HEATI", ) - creep_test_furnace_type = PropertyTypeAssignment( code="CREEP_TEST_FURNACE_TYPE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_FURNACE_TYPE", - property_label="Furnace type // Ofentyp", + property_label="Furnace type", description="""Furnace type // Ofentyp""", mandatory=True, - show_in_edit_views=False, section="Heating system", ) -class CreepTestMeasuringAndTestEquipmentTestMachineTestPieceHolderSystem(ObjectType): +class CreepTestTestPieceHolderSystem(Instrument): + # ? probably this is related with Holder metainformation defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.TEST_PIECE_HOLDER_SYSTEM", + code="INSTRUMENT.CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", description="""Measuring and test equipment / Test machine / Test piece holder system // Mess- und Prüfmittel / Prüfmaschine / Probenhaltersystem""", - generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.TEST_PIE", + generated_code_prefix="INS.CREEP_PIECE_HOLDE", ) - creep_test_fixing_technique = PropertyTypeAssignment( code="CREEP_TEST_FIXING_TECHNIQUE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_FIXING_TECHNIQUE", - property_label="Fixing technique // Befestigungstechnik", + property_label="Fixing technique", description="""Fixing technique // Befestigungstechnik""", mandatory=True, - show_in_edit_views=False, section="Test piece holder system", ) -class CreepTestMeasuringAndTestEquipmentTestMachineLoadingSystem(ObjectType): +class CreepTestTestMachineLoadingSystem(Instrument): + # ? is this Calibration metainformation? defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.LOADING_SYSTEM", + code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM", description="""Measuring and test equipment / Test machine / Loading system // Mess- und Prüfmittel / Prüfmaschine / Belastungssystem""", - generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.LOADING_", + generated_code_prefix="INS.CREEP_MACHI_LOADI", ) creep_test_verification_of_loading_system = PropertyTypeAssignment( code="CREEP_TEST_VERIFICATION_OF_LOADING_SYSTEM", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_VERIFICATION_OF_LOADING_SYSTEM", - property_label="Verification of loading system // Überprüfung des Belastungssystems", - description="""Verification of loading system - Was the loading system calibrated/verified? // Überprüfung des Belastungssystems – Wurde das Belastungssystem kalibriert/überprüft?""", + data_type="BOOLEAN", + property_label="Was the loading system calibrated/verified?", + description="""Verification of loading system - Was the loading system calibrated/verified? // Überprüfung des Belastungssystems - Wurde das Belastungssystem kalibriert/überprüft?""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) - creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="VARCHAR", - property_label="Calibration certificate // Kalibrierzertifikat", - description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. Please specify which device/feature/part of the test machine was calibrated. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Bitte geben Sie an, welches Gerät/Feature/welcher Teil der Prüfmaschine kalibriert wurde.""", + data_type="REAL", + property_label="Calibration certificate", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. Please specify which device/feature/part of the test machine was calibrated. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Bitte geben Sie an, welches Gerät/Feature/welcher Teil der Prüfmaschine kalibriert wurde.""", mandatory=False, - show_in_edit_views=False, section="Loading system", ) - creep_test_calibration_date = PropertyTypeAssignment( code="CALIBRATION_DATE", data_type="DATE", - property_label="Calibration date // Kalibrierdatum", + property_label="Calibration date", description="""Calibration date // Kalibrierdatum""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) - creep_test_calibration_validity_time_period = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", - data_type="VARCHAR", - property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + data_type="REAL", + property_label="Calibration validity time period", description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) - creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_STANDARD", + code="CREEP_TEST_LOAD_SYSTEM_CALIBRATION_STANDARD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_LOAD_SYSTEM_CALIBRATION_STANDARD", - property_label="Calibration standard // Kalibrierstandard", + property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) - - creep_test_calibration_class = PropertyTypeAssignment( + creep_test_calibration_class = PropertyTypeAssignment( # ? unclear code="CREEP_TEST_CALIBRATION_CLASS", data_type="REAL", - property_label="Calibration class // Kalibrierklasse", + property_label="Calibration class", description="""Calibration class // Kalibrierklasse""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) - creep_test_calibration_range = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_RANGE", - data_type="VARCHAR", - property_label="Calibration range [kN] // Kalibrierbereich [kN]", + data_type="REAL", + property_label="Calibration range", + units="kN", description="""Calibration range // Kalibrierbereich [kN]""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) - creep_test_use_of_calibrated_weights = PropertyTypeAssignment( code="CREEP_TEST_USE_OF_CALIBRATED_WEIGHTS", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_USE_OF_CALIBRATED_WEIGHTS", - property_label="Use of calibrated weights // Verwendung kalibrierter Gewichte", - description="""Use of calibrated weights - Were calibrated weights used to apply the test force? // Verwendung kalibrierter Gewichte – Wurden kalibrierte Gewichte verwendet, um die Prüfkraft aufzubringen?""", + data_type="BOOLEAN", + property_label="Use of calibrated weights?", + description="""Use of calibrated weights - Were calibrated weights used to apply the test force? // Verwendung kalibrierter Gewichte - Wurden kalibrierte Gewichte verwendet, um die Prüfkraft aufzubringen?""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) - creep_test_description_of_the_loading_system = PropertyTypeAssignment( code="CREEP_TEST_DESCRIPTION_OF_THE_LOADING_SYSTEM", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_DESCRIPTION_OF_THE_LOADING_SYSTEM", - property_label="Description of the loading system // Beschreibung des Belastungssystems", - description="""Description of the loading system - Please describe the loading system and related verification in the case that calibrated weights were not used. // Beschreibung des Belastungssystems – Bitte beschreiben Sie das Belastungssystem und die zugehörige Überprüfung für den Fall, dass keine kalibrierten Gewichte verwendet wurden.""", + data_type="BOOLEAN", + property_label="Were the loading system and related verification described in the case that calibrated weights were not used?", + description="""Description of The Loading System - Were the loading system and related verification described in the case that calibrated weights were not used? (Metadata, Measuring and test equipment, Test machine, Loading system) // Beschreibung des Belastungssystems - Wurden das Belastungssystem und die damit verbundene Überprüfung beschrieben im Fall, dass keine kalibrierten Gewichte verwendet wurden? (Metadaten, Mess- und Prüfmittel, Prüfmaschine, Belastungssystem).""", mandatory=True, - show_in_edit_views=False, section="Loading system", ) -class CreepTestMeasuringAndTestEquipmentTestMachineDataAcquisition(ObjectType): +class CreepTestTestMachineDataAcquisition(Instrument): + # ? this is possibly related with Software metainformation defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.TEST_MACHINE.DATA_ACQUISITION", + code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_DATA_ACQUISITION", description="""Measuring and test equipment / Test machine / Data acquisition // Mess- und Prüfmittel / Prüfmaschine / Datenerfassung""", - generated_code_prefix="EXP.MECH.CREEP.MEASURIN.TEST_MAC.DATA_ACQ", + generated_code_prefix="INS.CREEP_MACHI_DATA", ) creep_test_data_acquisition_unit_model_information = PropertyTypeAssignment( code="CREEP_TEST_DATA_ACQUISITION_UNIT_MODEL_INFORMATION", data_type="VARCHAR", - property_label="Data acquisition unit - Model information // Datenerfassungseinheit – Modellinformationen", - description="""Data acquisition unit - Model information // Datenerfassungseinheit – Modellinformationen""", + property_label="Data acquisition unit - Model information", + description="""Data acquisition unit - Model information // Datenerfassungseinheit - Modellinformationen""", mandatory=False, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_data_acquisition_unit_id = PropertyTypeAssignment( code="CREEP_TEST_DATA_ACQUISITION_UNIT_ID", data_type="VARCHAR", - property_label="Data acquisition unit - ID // Datenerfassungseinheit – ID", - description="""Data acquisition unit - ID // Datenerfassungseinheit – ID""", + property_label="Data acquisition unit - ID", + description="""Data acquisition unit - ID // Datenerfassungseinheit - ID""", mandatory=False, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_data_acquisition_software_and_version = PropertyTypeAssignment( code="CREEP_TEST_DATA_ACQUISITION_SOFTWARE_AND_VERSION", data_type="VARCHAR", - property_label="Data acquisition software and version // Datenerfassungssoftware und Version", + property_label="Data acquisition software and version", description="""Data acquisition software and version // Datenerfassungssoftware und Version""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_data_acquisition_description = PropertyTypeAssignment( code="CREEP_TEST_DATA_ACQUISITION_DESCRIPTION", data_type="VARCHAR", - property_label="Data acquisition - description // Datenerfassung – Beschreibung", - description="""Data acquisition - description // Datenerfassung – Beschreibung""", + property_label="Data acquisition - description", + description="""Data acquisition - description // Datenerfassung - Beschreibung""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_data_acquisition_time_check = PropertyTypeAssignment( code="CREEP_TEST_DATA_ACQUISITION_TIME_CHECK", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_DATA_ACQUISITION_TIME_CHECK", - property_label="Data acquisition time check // Zeitprüfung der Datenerfassung", - description="""Data acquisition time check - Was the time checked during data acquisition? // Zeitprüfung der Datenerfassung – Wurde die Zeit während der Datenerfassung überprüft?""", + data_type="BOOLEAN", + property_label="Was the time checked during data acquisition?", + description="""Data acquisition time check - Was the time checked during data acquisition? // Zeitprüfung der Datenerfassung - Wurde die Zeit während der Datenerfassung überprüft?""", mandatory=False, - show_in_edit_views=False, section="Data acquisition", ) -# Section: Load-measuring system -class CreepTestMeasuringAndTestEquipmentLoadMeasuringSystemLoadSensor(ObjectType): +class CreepTestLoadSensor(Instrument): + # ? why is this different from CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM? defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.LOAD_SENSOR", + code="INSTRUMENT.CREEP_TEST_LOAD_SENSOR", description="""Measuring and test equipment / Load-measuring system / Load sensor // Mess- und Prüfmittel / Kraftmesssystem / Kraftsensor""", - generated_code_prefix="EXP.MECH.CREEP.MEASURIN.LOAD_MEA.LOAD_SEN", + generated_code_prefix="INS.CREEP_LOAD_SENSO", ) creep_test_load_sensor_during_loading = PropertyTypeAssignment( code="CREEP_TEST_LOAD_SENSOR_DURING_LOADING", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_LOAD_SENSOR_DURING_LOADING", - property_label="Load sensor during loading // Kraftsensor während der Belastung", - description="""Load sensor during loading - Was a load sensor used during loading? // Kraftsensor während der Belastung – Wurde während des Lastaufbringens ein Kraftsensor verwendet?""", + data_type="BOOLEAN", + property_label="Was a load sensor used during loading?", + description="""Load sensor during loading - Was a load sensor used during loading? // Kraftsensor während der Belastung - Wurde während des Lastaufbringens ein Kraftsensor verwendet?""", mandatory=True, - show_in_edit_views=False, section="Load sensor", ) - creep_test_load_sensor_calibration = PropertyTypeAssignment( code="CREEP_TEST_LOAD_SENSOR_CALIBRATION", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_LOAD_SENSOR_CALIBRATION", - property_label="Load sensor calibration // Kalibrierung des Kraftsensors", - description="""Load sensor calibration - Was the load sensor calibrated? // Kalibrierung des Kraftsensors – War der Kraftsensor kalibriert?""", + data_type="BOOLEAN", + property_label="Was the load sensor calibrated?", + description="""Load sensor calibration - Was the load sensor calibrated? // Kalibrierung des Kraftsensors - War der Kraftsensor kalibriert?""", mandatory=True, - show_in_edit_views=False, section="Load sensor", ) - creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="VARCHAR", - property_label="Calibration certificate // Kalibrierzertifikat", - description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link to file, preferably with machine-readable (meta)data.""", + data_type="REAL", + property_label="Calibration certificate", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link to file, preferably with machine-readable (meta)data.""", mandatory=False, - show_in_edit_views=False, section="Load sensor", ) - creep_test_calibration_date = PropertyTypeAssignment( code="CALIBRATION_DATE", data_type="DATE", - property_label="Calibration date // Kalibrierdatum", + property_label="Calibration date", description="""Calibration date // Kalibrierdatum""", mandatory=True, - show_in_edit_views=False, section="Load sensor", ) - creep_test_calibration_validity_time_period = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", - data_type="VARCHAR", - property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + data_type="REAL", + property_label="Calibration validity time period", description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", mandatory=True, - show_in_edit_views=False, section="Load sensor", ) - + # ? sometimes this CALIBRATION_STANDARD is a REAL, sometimes a CONTROLLEDVOCABULARY. Check this. creep_test_calibration_standard = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STANDARD", - data_type="VARCHAR", - property_label="Calibration standard // Kalibrierstandard", + data_type="REAL", + property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, - show_in_edit_views=False, section="Load sensor", ) - creep_test_calibration_class = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_CLASS", data_type="REAL", - property_label="Calibration class // Kalibrierklasse", + property_label="Calibration class", description="""Calibration class // Kalibrierklasse""", mandatory=True, - show_in_edit_views=False, section="Load sensor", ) - creep_test_calibration_range = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_RANGE", - data_type="VARCHAR", - property_label="Calibration Range [kN] // Kalibrierbereich [kN]", + data_type="REAL", + property_label="Calibration Range", + units="kN", description="""Calibration Range // Kalibrierbereich [kN]""", mandatory=True, - show_in_edit_views=False, section="Load sensor", ) -class CreepTestMeasuringAndTestEquipmentLoadMeasuringSystemDataAcquisition(ObjectType): +class CreepTestLoadDataAcquisition(Instrument): + # ? is this necessary? + # ? is this an Instrument? defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.MEASURING_AND_TEST_EQUIPMENT.LOAD_MEASURING_SYSTEM.DATA_ACQUISITION", + code="INSTRUMENT.CREEP_TEST_LOAD_DATA_ACQUISITION", description="""Measuring and test equipment / Load-measuring system / Data acquisition // Mess- und Prüfmittel / Kraftmesssystem / Datenerfassung""", - generated_code_prefix="EXP.MECH.CREEP.MEASURIN.LOAD_MEA.DATA_ACQ", + generated_code_prefix="INS.CREEP_LOAD_DATA_ACQU", ) - creep_test_force_recording = PropertyTypeAssignment( code="CREEP_TEST_FORCE_RECORDING", - data_type="VARCHAR", - property_label="Force recording // Kraftaufzeichnung", - description="""Force recording - Was the force recorded continuously or periodically (e.g. during loading)? // Kraftaufzeichnung – Wurde die Kraft kontinuierlich oder periodisch aufgezeichnet (z. B. während des Lastaufbringens)?""", + data_type="BOOLEAN", + property_label="Was the force recorded continuously or periodically (e.g. during loading)? ", + description="""Force recording - Was the force recorded continuously or periodically (e.g. during loading)? // Kraftaufzeichnung - Wurde die Kraft kontinuierlich oder periodisch aufgezeichnet (z. B. während des Lastaufbringens)?""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) -# Section: Laboratory conditions -class CreepTestMetadataMeasuringAndTestEquipmentLaboratoryConditions(ObjectType): +class CreepTestLaboratoryConditions(Instrument): + # ? is this an Instrument? defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.LABORATORY_CONDITIONS", + code="INSTRUMENT.CREEP_TEST_LABORATORY_CONDITIONS", description="""Metadata / Measuring and test equipment / Laboratory conditions // Metadaten / Mess- und Prüfmittel / Laborbedingungen""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.LABORATO", + generated_code_prefix="INS.CREEP_LABOR_CONDI", ) - creep_test_room_temperature = PropertyTypeAssignment( code="CREEP_TEST_ROOM_TEMPERATURE", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_ROOM_TEMPERATURE", - property_label="Room temperature // Raumtemperatur", - description="""Room temperature - Was the room temperature recorded and checked? // Raumtemperatur – Wurde die Raumtemperatur aufgezeichnet und überprüft?""", + data_type="BOOLEAN", + property_label="Was the room temperature recorded and checked?", + description="""Room temperature - Was the room temperature recorded and checked? // Raumtemperatur - Wurde die Raumtemperatur aufgezeichnet und überprüft?""", mandatory=True, - show_in_edit_views=False, section="Laboratory conditions", ) - creep_test_room_humidity = PropertyTypeAssignment( code="CREEP_TEST_ROOM_HUMIDITY", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_ROOM_HUMIDITY", - property_label="Room humidity // Raumluftfeuchte", - description="""Room humidity - Was the room humidity recorded and checked? // Raumluftfeuchte – Wurde die Raumluftfeuchte aufgezeichnet und überprüft?""", + data_type="BOOLEAN", + property_label="Was the room humidity recorded and checked?", + description="""Room humidity - Was the room humidity recorded and checked? // Raumluftfeuchte - Wurde die Raumluftfeuchte aufgezeichnet und überprüft?""", mandatory=False, - show_in_edit_views=False, section="Laboratory conditions", ) -# Section: Temperature-measuring system -class CreepTestMetadataMeasuringAndTestEquipmentTemperatureMeasuringSystem(ObjectType): +class CreepTestTemperatureMeasuringSystem(Instrument): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM", + code="INSTRUMENT.CREEP_TEST_TEMPERATURE_MEASURING_SYSTEM", description="""Metadata / Measuring and test equipment / Temperature-measuring system // Metadaten / Mess- und Prüfmittel / Temperaturmesssystem""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.TEMPERAT", + generated_code_prefix="INS.CREEP_TEMPE_MEASU", ) creep_test_temperature_signal = PropertyTypeAssignment( code="CREEP_TEST_TEMPERATURE_SIGNAL", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_TEMPERATURE_SIGNAL", - property_label="Temperature signal // Temperatursignal", - description="""Temperature signal - Which temperature signal was used for temperature control? // Temperatursignal – Welches Temperatursignal wurde für die Temperaturregelung verwendet?""", + property_label="Temperature signal", + description="""Temperature signal - Which temperature signal was used for temperature control? // Temperatursignal - Welches Temperatursignal wurde für die Temperaturregelung verwendet?""", mandatory=True, - show_in_edit_views=False, section="Temperature-measuring system", ) - creep_test_metrological_traceability = PropertyTypeAssignment( code="CREEP_TEST_METROLOGICAL_TRACEABILITY", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_METROLOGICAL_TRACEABILITY", - property_label="Metrological traceability // Metrologische Rückführbarkeit", - description="""Metrological traceability - Yes, if temperature sensor and data acquisition are calibrated. // Metrologische Rückführbarkeit – Ja, wenn Temperatursensor und Datenerfassung kalibriert sind.""", + data_type="BOOLEAN", + property_label="True if temperature sensor and data acquisition are calibrated.", + description="""Metrological traceability - Yes, if temperature sensor and data acquisition are calibrated. // Metrologische Rückführbarkeit - Ja, wenn Temperatursensor und Datenerfassung kalibriert sind.""", mandatory=True, - show_in_edit_views=False, section="Temperature-measuring system", ) -class CreepTestMetadataMeasuringAndTestEquipmentTemperatureMeasuringSystemTemperatureSensor( - ObjectType -): +class CreepTestTemperatureSensor(Instrument): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.TEMPERATURE_SENSOR", + code="INSTRUMENT.CREEP_TEST_TEMPERATURE_SENSOR", description="""Metadata / Measuring and test equipment / Temperature-measuring system / Temperature sensor // Metadaten / Mess- und Prüfmittel / Temperaturmesssystem / Temperatursensor""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.TEMPERAT.TEMPERAT", + generated_code_prefix="INS.CREEP_TEMPE_SENSO", ) creep_test_sensor_type = PropertyTypeAssignment( code="CREEP_TEST_SENSOR_TYPE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_SENSOR_TYPE", - property_label="Sensor type // Sensortyp", + property_label="Sensor type", description="""Sensor type // Sensortyp""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_sensor_id = PropertyTypeAssignment( - code="CREEP_TEST.SENSOR_ID", + code="CREEP_TEST_SENSOR_ID", data_type="VARCHAR", - property_label="Sensor ID // Sensor-ID", + property_label="Sensor ID", description="""Sensor ID // Sensor-ID""", mandatory=False, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_thermocouple_type = PropertyTypeAssignment( code="CREEP_TEST_THERMOCOUPLE_TYPE", data_type="CONTROLLEDVOCABULARY", - # Vocabulary type taken from existing vocabulary vocabulary_code="THERMOCOUPLE_TYPE", - property_label="Thermocouple type // Thermoelementtyp", + property_label="Thermocouple type", description="""Thermocouple type // Thermoelementtyp""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_wire_gauge = PropertyTypeAssignment( code="CREEP_TEST_WIRE_GAUGE", data_type="REAL", - property_label="Wire gauge [mm] // Drahtdurchmesser [mm]", - description="""Wire gauge // Drahtdurchmesser [mm]""", + property_label="Wire gauge", + units="mm", + description="""Wire gauge // Drahtdurchmesser""", mandatory=False, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_layout = PropertyTypeAssignment( code="CREEP_TEST_LAYOUT", data_type="VARCHAR", - property_label="Layout // Aufbau", - description="""Layout - E.g., wire with 2-hole ceramic beads // Aufbau – E.g., wire with 2-hole ceramic beads""", + property_label="Layout", + description="""Layout - E.g., wire with 2-hole ceramic beads // Aufbau - E.g., wire with 2-hole ceramic beads""", mandatory=False, - show_in_edit_views=False, section="Temperature sensor", ) - + # ? extend this status to a CONTROLLEDVOCABULARY eventually creep_test_calibration_status = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STATUS", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STATUS", - property_label="Calibration status // Kalibrierstatus", - description="""Calibration status - Is/are the thermocouples calibrated? // Kalibrierstatus – Ist/sind das/die Thermoelement(e) kalibriert?""", + data_type="BOOLEAN", + property_label="Is/are the thermocouples calibrated?", + description="""Calibration status - Is/are the thermocouples calibrated? // Kalibrierstatus - Ist/sind das/die Thermoelement(e) kalibriert?""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_calibration_method = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_METHOD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_METHOD", - property_label="Calibration method // Kalibriermethode", + property_label="Calibration method", description="""Calibration method // Kalibriermethode""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_STANDARD", + code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STANDARD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STANDARD", - property_label="Calibration standard // Kalibrierstandard", + property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="VARCHAR", - property_label="Calibration certificate // Kalibrierzertifikat", - description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + data_type="REAL", + property_label="Calibration certificate", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_calibration_date = PropertyTypeAssignment( code="CALIBRATION_DATE", data_type="DATE", - property_label="Calibration date // Kalibrierdatum", + property_label="Calibration date", description="""Calibration date // Kalibrierdatum""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_calibration_validity_time_period = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", - data_type="VARCHAR", - property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + data_type="REAL", + property_label="Calibration validity time period", description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_temperature_deviation = PropertyTypeAssignment( code="CREEP_TEST_TEMPERATURE_DEVIATION", data_type="VARCHAR", - property_label="Temperature deviation [°C] // Temperaturabweichung [°C]", - description="""Temperature deviation - Measurement deviation detected during calibration // Temperaturabweichung [°C] – Bei der Kalibrierung festgestellte Messabweichung""", + property_label="Temperature deviation", + units="degC", + description="""Temperature deviation - Measurement deviation detected during calibration // Temperaturabweichung [°C] - Bei der Kalibrierung festgestellte Messabweichung""", mandatory=False, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_calibration_range = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_RANGE", - data_type="VARCHAR", - property_label="Calibration Range [°C] // Kalibrierbereich [°C]", + data_type="REAL", + property_label="Calibration Range", + units="degC", description="""Calibration Range // Kalibrierbereich [°C]""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_contact_method = PropertyTypeAssignment( code="CREEP_TEST_CONTACT_METHOD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_THERMOCOUPLE_CONTACT_METHOD", - property_label="Contact method // Kontaktmethode", + property_label="Contact method", description="""Contact method // Kontaktmethode""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_number_of_thermocouples = PropertyTypeAssignment( code="CREEP_TEST_NUMBER_OF_THERMOCOUPLES", - data_type="CONTROLLEDVOCABULARY", + data_type="INTEGER", vocabulary_code="CREEP_TEST_NUMBER_OF_THERMOCOUPLES", - property_label="Number of thermocouples // Anzahl der Thermoelemente", - description="""Number of thermocouples // Anzahl der Thermoelemente""", + property_label="Number of thermocouples (max. 3)", + description="""Number of thermocouples (max. 3) // Anzahl der Thermoelemente (maximum 3)""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) - creep_test_thermocouple_location = PropertyTypeAssignment( code="CREEP_TEST_THERMOCOUPLE_LOCATION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_THERMOCOUPLE_LOCATION", - property_label="Thermocouple location // Position des Thermoelements", - description="""Thermocouple location - Location with respect to gauge section // Position des Thermoelements – Position in Bezug auf den Messbereich""", + property_label="Thermocouple location", + description="""Thermocouple location - Location with respect to gauge section // Position des Thermoelements - Position in Bezug auf den Messbereich""", mandatory=True, - show_in_edit_views=False, section="Temperature sensor", ) -class CreepTestMetadataMeasuringAndTestEquipmentTemperatureMeasuringSystemDataAcquisition( - ObjectType -): +class CreepTestTemperatureDataAcquisition(Instrument): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.TEMPERATURE_MEASURING_SYSTEM.DATA_ACQUISITION", + code="INSTRUMENT.CREEP_TEST_TEMPERATURE_DATA_ACQUISITION", description="""Metadata / Measuring and test equipment / Temperature-measuring system / Data acquisition // Metadaten / Mess- und Prüfmittel / Temperaturmesssystem / Datenerfassung""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.TEMPERAT.DATA_ACQ", + generated_code_prefix="INS.CREEP_TEMPE_DATA", ) creep_test_calibration_status = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STATUS", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_DATA_AQUISITION_CALIBRATION_STATUS", - property_label="Calibration status // Kalibrierstatus", - description="""Calibration status - Is/are the data acquisition unit calibrated? // Kalibrierstatus – Ist/sind die Datenerfassungseinheit(en) kalibriert?""", + data_type="BOOLEAN", + property_label="Is/are the data acquisition unit calibrated?", + description="""Calibration status - Is/are the data acquisition unit calibrated? // Kalibrierstatus - Ist/sind die Datenerfassungseinheit(en) kalibriert?""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_reference_junction = PropertyTypeAssignment( code="CREEP_TEST_REFERENCE_JUNCTION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_REFERENCE_JUNCTION", - property_label="Reference junction // Referenzstelle", + property_label="Reference junction", description="""Reference junction // Referenzstelle""", mandatory=False, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="VARCHAR", - property_label="Calibration certificate // Kalibrierzertifikat", - description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + data_type="REAL", + property_label="Calibration certificate", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_calibration_date = PropertyTypeAssignment( code="CALIBRATION_DATE", data_type="DATE", - property_label="Calibration date // Kalibrierdatum", + property_label="Calibration date", description="""Calibration date // Kalibrierdatum""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_calibration_validity_time_period = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", - data_type="VARCHAR", - property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + data_type="REAL", + property_label="Calibration validity time period", description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) - + # ? sometimes the METHOD is a REAL, sometimes is a CONTROLLEDVOCABULARY creep_test_calibration_method = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_METHOD", - data_type="VARCHAR", - property_label="Calibration method // Kalibriermethode", + data_type="REAL", + property_label="Calibration method", description="""Calibration method // Kalibriermethode""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_STANDARD", + code="CREEP_TEST_DATA_ACQUISITION_CALIBRATION_STANDARD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_DATA_ACQUISITION_CALIBRATION_STANDARD", - property_label="Calibration standard // Kalibrierstandard", + property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_temperature_deviation = PropertyTypeAssignment( code="CREEP_TEST_TEMPERATURE_DEVIATION", - data_type="VARCHAR", - property_label="Temperature deviation [°C] // Temperaturabweichung [°C]", - description="""Temperature deviation - Measurement deviation detected during calibration // Temperaturabweichung [°C] – Bei der Kalibrierung festgestellte Messabweichung""", + data_type="REAL", + property_label="Temperature deviation", + units="degC", + description="""Temperature deviation - Measurement deviation detected during calibration // Temperaturabweichung [°C] - Bei der Kalibrierung festgestellte Messabweichung""", mandatory=False, - show_in_edit_views=False, section="Data acquisition", ) - creep_test_calibration_range = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_RANGE", - data_type="VARCHAR", - property_label="Calibration Range [°C] // Kalibrierbereich [°C]", + data_type="REAL", + property_label="Calibration Range", + units="degC", description="""Calibration Range // Kalibrierbereich [°C]""", mandatory=True, - show_in_edit_views=False, section="Data acquisition", ) -# Section: Extensometer system -class CreepTestMetadataMeasuringAndTestEquipmentExtensometerSystem(ObjectType): +class CreepTestExtensometerSystem(Instrument): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSOMETER_SYSTEM", + code="INSTRUMENT.CREEP_TEST_EXTENSOMETER_SYSTEM", description="""Metadata / Measuring and test equipment / Extensometer system // Metadaten / Mess- und Prüfmittel / Extensometersystem""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.EXTENSOM", + generated_code_prefix="INS.CREEP_EXTEN_SYSTE", ) creep_test_displacement_measuring_method = PropertyTypeAssignment( code="CREEP_TEST_DISPLACEMENT_MEASURING_METHOD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_DISPLACEMENT_MEASURING_METHOD", - property_label="Displacement measuring method // Wegmessverfahren", - description="""Displacement measuring method - Type of strain measuring device // Wegmessverfahren – Art des Dehnungsmessgeräts""", + property_label="Displacement measuring method", + description="""Displacement measuring method - Type of strain measuring device // Wegmessverfahren - Art des Dehnungsmessgeräts""", mandatory=True, - show_in_edit_views=False, section="Extensometer system", ) - creep_test_sensor_type_contacting_method = PropertyTypeAssignment( code="CREEP_TEST_SENSOR_TYPE_CONTACTING_METHOD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_SENSOR_TYPE_CONTACTING_METHOD", - property_label="Sensor type - Contacting method // Sensortyp – Kontaktmethode", - description="""Sensor type - Contacting method // Sensortyp – Kontaktmethode""", + property_label="Sensor type - Contacting method", + description="""Sensor type - Contacting method // Sensortyp - Kontaktmethode""", mandatory=True, - show_in_edit_views=False, section="Extensometer system", ) - creep_test_sensor_type_non_contacting_method = PropertyTypeAssignment( code="CREEP_TEST_SENSOR_TYPE_NON_CONTACTING_METHOD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_SENSOR_TYPE_NON_CONTACTING_METHOD", - property_label="Sensor type - Non-contacting method // Sensortyp – berührungslose Methode", - description="""Sensor type - Non-contacting method // Sensortyp – berührungslose Methode""", + property_label="Sensor type - Non-contacting method", + description="""Sensor type - Non-contacting method // Sensortyp - berührungslose Methode""", mandatory=True, - show_in_edit_views=False, section="Extensometer system", ) -# Section: Extension values -class CreepTestMetadataMeasuringAndTestEquipmentExtensionValuesContactingExtensometer( - ObjectType -): +class CreepTestExtensionValuesContactingExtensometer(Instrument): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.EXTENSION_VALUES.CONTACTING_EXTENSOMETER", + code="INSTRUMENT.CREEP_TEST_EXTENSION_VALUES_CONTACTING_EXTENSOMETER", description="""Metadata / Measuring and test equipment / Extension values / Contacting extensometer // Metadaten / Mess- und Prüfmittel / Dehnungswerte / kontaktierendes Extensometer""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.EXTENSIO.CONTACTI", + generated_code_prefix="INS.CREEP_EXTEN_VALUE", ) - creep_test_measurement_set_up = PropertyTypeAssignment( - code="CREEP_TEST_MEASUREMENT_SET_UP", + creep_test_measurement_setup = PropertyTypeAssignment( + code="CREEP_TEST_MEASUREMENT_SETUP", data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_MEASUREMENT_SET_UP", - property_label="Measurement set-up // Messaufbau", - description="""Measurement set-up - Measurement one-sided or two-sided? // Messaufbau – Einseitige oder beidseitige Messung?""", + vocabulary_code="CREEP_TEST_MEASUREMENT_SETUP", + property_label="Measurement setup", + description="""Measurement setup - Measurement one-sided or two-sided? // Messaufbau - Einseitige oder beidseitige Messung?""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_extension_averaging = PropertyTypeAssignment( code="CREEP_TEST_EXTENSION_AVERAGING", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_EXTENSION_AVERAGING", - property_label="Extension averaging // Dehnungsmittelung", - description="""Extension averaging - Was there an averaging of the extension values? (two-sided extensometer) // Dehnungsmittelung – Wurden die Dehnungswerte gemittelt? (beidseitiger Dehnungsmesser)""", + data_type="BOOLEAN", + property_label="Was there an averaging of the extension values? (two-sided extensometer)", + description="""Extension averaging - Was there an averaging of the extension values? (two-sided extensometer) // Dehnungsmittelung - Wurden die Dehnungswerte gemittelt? (beidseitiger Dehnungsmesser)""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_measurement_direction = PropertyTypeAssignment( code="CREEP_TEST_MEASUREMENT_DIRECTION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_EXTENSION_MEASUREMENT_DIRECTION", - property_label="Measurement direction // Messrichtung", + property_label="Measurement direction", description="""Measurement direction // Messrichtung""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_mounting_type = PropertyTypeAssignment( code="CREEP_TEST_MOUNTING_TYPE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_EXTENSOMETER_MOUNTING_TYPE", - property_label="Mounting type // Montageart", + property_label="Mounting type", description="""Mounting type // Montageart""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_extensometer_model_information = PropertyTypeAssignment( code="CREEP_TEST_EXTENSOMETER_MODEL_INFORMATION", data_type="VARCHAR", - property_label="Extensometer model information // Extensometer-Modellinformationen", + property_label="Extensometer model information", description="""Extensometer model information // Extensometer-Modellinformationen""", mandatory=False, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_extensometer_id = PropertyTypeAssignment( - code="CREEP_TEST.EXTENSOMETER_ID", + code="CREEP_TEST_EXTENSOMETER_ID", data_type="VARCHAR", - property_label="Extensometer ID // Extensometer-ID", - description="""Extensometer ID - The ID used for identification in the laboratory // Extensometer-ID – ID zur Identifikation im Labor""", + property_label="Extensometer ID", + description="""Extensometer ID - The ID used for identification in the laboratory // Extensometer-ID - ID zur Identifikation im Labor""", mandatory=False, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_extensometer_leg_material = PropertyTypeAssignment( code="CREEP_TEST_EXTENSOMETER_LEG_MATERIAL", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_EXTENSOMETER_LEG_MATERIAL", - property_label="Extensometer leg material // Material der Extensometerschenkel", - description="""Extensometer leg material - Material of upper/lower legs, e.g., in LVDT systems // Material der Extensometerschenkel – Material der Ober-/Unterbeine, z. B. in LVDT-Systemen""", + property_label="Extensometer leg material", + description="""Extensometer leg material - Material of upper/lower legs, e.g., in LVDT systems // Material der Extensometerschenkel - Material der Ober-/Unterbeine, z. B. in LVDT-Systemen""", mandatory=False, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_measuring_amplifier_model_information = PropertyTypeAssignment( code="CREEP_TEST_MEASURING_AMPLIFIER_MODEL_INFORMATION", data_type="VARCHAR", - property_label="Measuring amplifier - Model information // Messverstärker – Modellinformationen", - description="""Measuring amplifier - Model information // Messverstärker – Modellinformationen""", + property_label="Measuring amplifier - Model information", + description="""Measuring amplifier - Model information // Messverstärker - Modellinformationen""", mandatory=False, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_extension_range_upper_limit = PropertyTypeAssignment( code="CREEP_TEST_EXTENSION_RANGE_UPPER_LIMIT", data_type="REAL", - property_label="Extension range - Upper limit [% / mm] // Dehnmessbereich – Obergrenze [% / mm]", - description="""Extension range - Upper limit // Dehnmessbereich – Obergrenze [% / mm]""", + property_label="Extension range - Upper limit", + units="% / mm", + description="""Extension range - Upper limit // Dehnmessbereich - Obergrenze [% / mm]""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_extension_range_lower_limit = PropertyTypeAssignment( code="CREEP_TEST_EXTENSION_RANGE_LOWER_LIMIT", data_type="REAL", - property_label="Extension range - Lower limit [% / mm] // Dehnmessbereich – Untergrenze [% / mm]", - description="""Extension range - Lower limit // Dehnmessbereich – Untergrenze [% / mm]""", + property_label="Extension range - Lower limit", + units="% / mm", + description="""Extension range - Lower limit // Dehnmessbereich - Untergrenze [% / mm]""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_nominal_gauge_length = PropertyTypeAssignment( code="CREEP_TEST_NOMINAL_GAUGE_LENGTH", data_type="REAL", - property_label="Nominal gauge length [mm] // Nennmesslänge [mm]", - description="""Nominal gauge length - If applicable // Nennmesslänge [mm] – If applicable""", + property_label="Nominal gauge length", + units="mm", + description="""Nominal gauge length - If applicable // Nennmesslänge [mm] - If applicable""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_is_the_extensometer_incl_the_data_acquisition_calibrated = PropertyTypeAssignment( code="CREEP_TEST_IS_THE_EXTENSOMETER_INCL_THE_DATA_ACQUISITION_CALIBRATED", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_EXTENSOMETER_CALIBRATION_STATUS", - property_label="Is the extensometer incl. the data acquisition calibrated? // Extensometer inkl. Datenerfassung kalibriert?", - description="""Is the extensometer incl. the data acquisition calibrated? - Is the extensometer incl. the data acquisition calibrated? // Extensometer inkl. Datenerfassung kalibriert? – Ist/War das Extensometer inkl. Datenerfassung kalibriert?""", + data_type="BOOLEAN", + property_label="Is the extensometer incl. the data acquisition calibrated?", + description="""Is the extensometer incl. the data acquisition calibrated? - Is the extensometer incl. the data acquisition calibrated? // Extensometer inkl. Datenerfassung kalibriert? - Ist/War das Extensometer inkl. Datenerfassung kalibriert?""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="VARCHAR", - property_label="Calibration certificate // Kalibrierzertifikat", - description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + data_type="REAL", + property_label="Calibration certificate", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_calibration_date = PropertyTypeAssignment( code="CALIBRATION_DATE", data_type="DATE", - property_label="Calibration date // Kalibrierdatum", + property_label="Calibration date", description="""Calibration date // Kalibrierdatum""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_calibration_validity_time_period = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", - data_type="VARCHAR", - property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + data_type="REAL", + property_label="Calibration validity time period", description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_calibration_class = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_CLASS", - data_type="VARCHAR", - property_label="Calibration class // Calibration class", + data_type="REAL", + property_label="Calibration class", description="""Calibration class // Calibration class""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_calibration_range = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_RANGE", - data_type="VARCHAR", - property_label="Calibration Range [% (mm)] // Kalibrierbereich [% (mm)]", + data_type="REAL", + property_label="Calibration Range", + units="% (mm)", description="""Calibration Range // Kalibrierbereich [% (mm)]""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) - creep_test_calibration_standard = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STANDARD", - data_type="VARCHAR", - property_label="Calibration standard // Kalibrierstandard", + data_type="REAL", + property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, - show_in_edit_views=False, section="Contacting extensometer", ) -# Section: Elongation values and cross-sectional dimensions -class CreepTestMetadataMeasuringAndTestEquipmentElongationValuesAndCrossSectionalDimensions( - ObjectType -): +class CreepTestElongationValuesAndCrossSectionalDimensions(Instrument): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.MEASURING_AND_TEST_EQUIPMENT.ELONGATION_VALUES_AND_CROSS_SECTIONAL_DIMENSIONS", + code="INSTRUMENT.CREEP_TEST_ELONGATION_VALUES_AND_CROSS_SECTIONAL_DIMENSIONS", description="""Metadata / Measuring and test equipment / Elongation values and cross-sectional dimensions // Metadaten / Mess- und Prüfmittel / Verlängerungswerte und Querschnittsabmessungen""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.MEASURIN.ELONGATI", + generated_code_prefix="INS.CREEP_ELONG_VALUE", ) creep_test_measuring_equipment = PropertyTypeAssignment( code="CREEP_TEST_MEASURING_EQUIPMENT", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT", - property_label="Measuring equipment // Messgerät", + property_label="Measuring equipment", description="""Measuring equipment // Messgerät""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - - creep_test_measuring_equipment_s_usage = PropertyTypeAssignment( - code="CREEP_TEST_MEASURING_EQUIPMENT_S_USAGE", + creep_test_measuring_equipments_usage = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_EQUIPMENTS_USAGE", data_type="VARCHAR", - property_label="Measuring equipment's usage // Verwendung des Messgeräts", + property_label="Measuring equipment's usage", description="""Measuring equipment's usage // Verwendung des Messgeräts""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_resolution = PropertyTypeAssignment( - code="FTIR.RESOLUTION", + code="CREEP_TEST_RESOLUTION", data_type="INTEGER", - property_label="Resolution [mm] // Auflösung [mm]", - description="""Resolution // Auflösung [mm]""", + property_label="Resolution", + units="mm", + description="""Resolution // Auflösung""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - - creep_test_type = PropertyTypeAssignment( - code="CREEP_TEST_TYPE", + creep_test_measuring_equipment_type = PropertyTypeAssignment( + code="CREEP_TEST_MEASURING_EQUIPMENT_TYPE", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT_TYPE", - property_label="Type // Typ", - description="""Type // Typ""", + property_label="Measuring equipment type", + description="""Measuring equipment type // Messgerätetyp""", mandatory=False, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_equipment_model_information = PropertyTypeAssignment( code="DEVICE_MODEL_NAME", data_type="VARCHAR", - property_label="Equipment model information // Gerätemodellinformationen", + property_label="Equipment model information", description="""Equipment model information // Gerätemodellinformationen""", mandatory=False, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_equipment_id = PropertyTypeAssignment( code="CREEP_TEST_EQUIPMENT_ID", data_type="VARCHAR", - property_label="Equipment ID // Geräte-ID", - description="""Equipment ID - The ID used for identification in the laboratory // Geräte-ID – ID zur Identifikation im Labor""", + property_label="Equipment ID", + description="""Equipment ID - The ID used for identification in the laboratory // Geräte-ID - ID zur Identifikation im Labor""", mandatory=False, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_calibration_status = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STATUS", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT_CALIBRATION_STATUS", - property_label="Calibration status // Kalibrierstatus", - description="""Calibration status - Is the measuring equipment calibrated? // Kalibrierstatus – Sind/Waren die Messgeräte kalibriert?""", + data_type="BOOLEAN", + property_label="Is the measuring equipment calibrated?", + description="""Calibration status - Is the measuring equipment calibrated? // Kalibrierstatus - Sind/Waren die Messgeräte kalibriert?""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="VARCHAR", - property_label="Calibration certificate // Kalibrierzertifikat", - description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + data_type="REAL", + property_label="Calibration certificate", + description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_calibration_date = PropertyTypeAssignment( code="CALIBRATION_DATE", data_type="DATE", - property_label="Calibration date // Kalibrierdatum", + property_label="Calibration date", description="""Calibration date // Kalibrierdatum""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_calibration_validity_time_period = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_VALIDITY_TIME_PERIOD", - data_type="VARCHAR", - property_label="Calibration validity time period // Gültigkeitszeitraum der Kalibrierung", + data_type="REAL", + property_label="Calibration validity time period", description="""Calibration validity time period // Gültigkeitszeitraum der Kalibrierung""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_calibration_result = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_RESULT", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_MEASURING_EQUIPMENT_CALIBRATION_RESULT", - property_label="Calibration result // Kalibrierergebnis", - description="""Calibration result // Kalibrierergebnis""", + data_type="BOOLEAN", + property_label="Does the measuring equipment meet the required calibration standards?", + description="""Calibration result - Does the measuring equipment meet the required calibration standards? // Kalibrierergebnis - Erfüllt das Messgerät die erforderlichen Kalibrierstandards?""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_calibration_range = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_RANGE", data_type="REAL", - property_label="Calibration range [mm] // Kalibrierbereich [mm]", + property_label="Calibration range", + units="mm", description="""Calibration range // Kalibrierbereich [mm]""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) - creep_test_calibration_standard = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STANDARD", - data_type="VARCHAR", - property_label="Calibration standard // Kalibrierstandard", + data_type="REAL", + property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, - show_in_edit_views=False, section="Elongation values and cross-sectional dimensions", ) -# -------------------------------- -# Section: Metadata - Data processing procedures -# -------------------------------- - - -class CreepTestMetadataDataProcessingProcedures(ObjectType): +class CreepTestDataProcessingProcedures(ObjectType): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.METADATA.DATA_PROCESSING_PROCEDURES", + code="CREEP_TEST_DATA_PROCESSING_PROCEDURES", description="""Metadata / Data processing procedures // Metadaten / Datenverarbeitungsverfahren""", - generated_code_prefix="EXP.MECH.CREEP.METADATA.DATA_PRO", + generated_code_prefix="CREEP_DATA_PROCE", ) creep_test_primary_data_series = PropertyTypeAssignment( code="CREEP_TEST_PRIMARY_DATA_SERIES", data_type="VARCHAR", - property_label="Primary data series // Primärdatenreihen", - description="""Primary data series - Primary data is data that is directly acquired by sensors or measuring instruments during or after a test. Please add a list of the measured quantities and their corresponsing units. // Primärdatenreihen – Primärdaten sind Daten, die während oder nach einer Prüfung direkt von Sensoren oder Messgeräten erfasst werden. Bitte fügen Sie eine Liste der gemessenen Größen und der zugehörigen Einheiten hinzu.""", + property_label="Primary data series", + description="""Primary data series - Primary data is data that is directly acquired by sensors or measuring instruments during or after a test. Please add a list of the measured quantities and their corresponsing units. // Primärdatenreihen - Primärdaten sind Daten, die während oder nach einer Prüfung direkt von Sensoren oder Messgeräten erfasst werden. Bitte fügen Sie eine Liste der gemessenen Größen und der zugehörigen Einheiten hinzu.""", mandatory=True, - show_in_edit_views=False, section="Data processing procedures", ) - creep_test_processed_data_series = PropertyTypeAssignment( code="CREEP_TEST_PROCESSED_DATA_SERIES", data_type="VARCHAR", - property_label="Processed data series // Verarbeitete Datenreihen", - description="""Processed data series - Processed data is obtained as a result of using procedures (equations, algorithms, methods, unit conversions, averaging, smoothing) to transform primary data. Please describe the transformed quantities, their corresponsing units, and the applied procedures. // Verarbeitete Datenreihen – Verarbeitete Daten entstehen durch Verfahren (Gleichungen, Algorithmen, Methoden, Einheitenumrechnungen, Mittelung, Glättung), die Primärdaten transformieren. Bitte beschreiben Sie die transformierten Größen, deren Einheiten sowie die angewandten Verfahren.""", + property_label="Processed data series", + description="""Processed data series - Processed data is obtained as a result of using procedures (equations, algorithms, methods, unit conversions, averaging, smoothing) to transform primary data. Please describe the transformed quantities, their corresponsing units, and the applied procedures. // Verarbeitete Datenreihen - Verarbeitete Daten entstehen durch Verfahren (Gleichungen, Algorithmen, Methoden, Einheitenumrechnungen, Mittelung, Glättung), die Primärdaten transformieren. Bitte beschreiben Sie die transformierten Größen, deren Einheiten sowie die angewandten Verfahren.""", mandatory=True, - show_in_edit_views=False, section="Data processing procedures", ) - creep_test_data_analysis_procedures = PropertyTypeAssignment( code="CREEP_TEST_DATA_ANALYSIS_PROCEDURES", data_type="VARCHAR", - property_label="Data analysis procedures // Datenanalyseverfahren", - description="""Data analysis procedures - Description of the data processing and analysis procedures used to obtain specific test results, e.g. percentage elastic extension, ee // Datenanalyseverfahren – Beschreibung der Datenverarbeitungs- und Analyseverfahren zur Ermittlung spezifischer Prüfergebnisse, z. B. prozentuale elastische Dehnung (ee).""", + property_label="Data analysis procedures", + description="""Data analysis procedures - Description of the data processing and analysis procedures used to obtain specific test results, e.g. percentage elastic extension, ee // Datenanalyseverfahren - Beschreibung der Datenverarbeitungs- und Analyseverfahren zur Ermittlung spezifischer Prüfergebnisse, z. B. prozentuale elastische Dehnung (ee).""", mandatory=True, - show_in_edit_views=False, section="Data processing procedures", ) - creep_test_workflow_usage = PropertyTypeAssignment( code="CREEP_TEST_WORKFLOW_USAGE", - data_type="CONTROLLEDVOCABULARY", - vocabulary_code="CREEP_TEST_WORKFLOW_USAGE", - property_label="Workflow usage // Workflow-Nutzung", - description="""Workflow usage - Were automated (user-independent) analysis workflows used? // Workflow-Nutzung – Wurden automatisierte (benutzerunabhängige) Analyse-Workflows verwendet?""", + data_type="BOOLEAN", + property_label="Were automated (user-independent) analysis workflows used?", + description="""Workflow usage - Were automated (user-independent) analysis workflows used? // Workflow-Nutzung - Wurden automatisierte (benutzerunabhängige) Analyse-Workflows verwendet?""", mandatory=True, - show_in_edit_views=False, section="Data processing procedures", ) - creep_test_software = PropertyTypeAssignment( code="CREEP_TEST_SOFTWARE", data_type="VARCHAR", - property_label="Software // Software", - description="""Software - If applicable, please list the used software/workflow, including product and version // Software – Falls zutreffend, bitte die verwendete Software bzw. den Workflow mit Produkt und Version angeben.""", + property_label="Software", + description="""Software - If applicable, please list the used software/workflow, including product and version // Software - Falls zutreffend, bitte die verwendete Software bzw. den Workflow mit Produkt und Version angeben.""", mandatory=True, - show_in_edit_views=False, section="Data processing procedures", ) - creep_test_related_publications = PropertyTypeAssignment( code="CREEP_TEST_RELATED_PUBLICATIONS", - data_type="VARCHAR", - property_label="Related publications // Zugehörige Publikationen", - description="""Related publications - If applicable, please list publications related to the data analysis procedure/software used // Zugehörige Publikationen – Falls zutreffend, bitte Publikationen nennen, die sich auf das verwendete Datenanalyseverfahren bzw. die Software beziehen.""", + data_type="MULTILINE_VARCHAR", + property_label="Related publications", + description="""Related publications - If applicable, please list publications related to the data analysis procedure/software used // Zugehörige Publikationen - Falls zutreffend, bitte Publikationen nennen, die sich auf das verwendete Datenanalyseverfahren bzw. die Software beziehen.""", mandatory=False, - show_in_edit_views=False, section="Data processing procedures", ) -# -------------------------------- -# Section: Primary data - Test result -# -------------------------------- - - -# Section: Values recorded at test start -class CreepTestPrimaryDataTestResultValuesRecordedAtTestStart(ObjectType): +class CreepTestPrimaryValuesRecordedAtTestStart(ObjectType): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AT_TEST_START", + code="CREEP_TEST_PRIMARY_VALUES_RECORDED_AT_TEST_START", description="""Primary data / Test result / Values recorded at test start // Primärdaten / Prüfergebnis / Zu Testbeginn erfasste Werte""", - generated_code_prefix="EXP.MECH.CREEP.PRIMARY_.TEST_RES.VALUES_R", + generated_code_prefix="CREEP_PRIMA_VALUE", ) creep_test_minimum_test_piece_diameter_at_room_temperature = PropertyTypeAssignment( code="CREEP_TEST_MINIMUM_TEST_PIECE_DIAMETER_AT_ROOM_TEMPERATURE", data_type="REAL", - property_label="Minimum test piece diameter at room temperature [mm] // Minimaler Proben-Durchmesser bei Raumtemperatur [mm]", + property_label="Minimum test piece diameter at room temperature", + units="mm", description="""Minimum test piece diameter at room temperature // Minimaler Proben-Durchmesser bei Raumtemperatur [mm]""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_original_gauge_length = PropertyTypeAssignment( code="CREEP_TEST_ORIGINAL_GAUGE_LENGTH", data_type="REAL", - property_label="Original gauge length [mm] // Ursprüngliche Messlänge [mm]", + property_label="Original gauge length", + units="mm", description="""Original gauge length // Ursprüngliche Messlänge [mm]""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_parallel_length = PropertyTypeAssignment( code="CREEP_TEST_PARALLEL_LENGTH", data_type="REAL", - property_label="Parallel length [mm] // Parallele Länge [mm]", + property_label="Parallel length", + units="mm", description="""Parallel length // Parallele Länge [mm]""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_extensometer_gauge_length = PropertyTypeAssignment( code="CREEP_TEST_EXTENSOMETER_GAUGE_LENGTH", data_type="REAL", - property_label="Extensometer gauge length [mm] // Extensometer-Messlänge [mm]", + property_label="Extensometer gauge length", + units="mm", description="""Extensometer gauge length // Extensometer-Messlänge [mm]""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_determination_of_reference_length = PropertyTypeAssignment( code="CREEP_TEST_DETERMINATION_OF_REFERENCE_LENGTH", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_DETERMINATION_OF_REFERENCE_LENGTH", - property_label="Determination of reference length // Bestimmung der Referenzlänge", - description="""Determination of reference length - Case 1: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are inside the parallel length, Lc. In this case Lr = Le (percentage extensions) or Lr = Lo (percentage elongations). Case 2: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are outside the parallel length, Lc. In this case, Lr, for calculation of percentage is corrected to consider the strain contributions of the shoulders/ridges. // Bestimmung der Referenzlänge – Case 1: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are inside the parallel length, Lc. In this case Lr = Le (percentage extensions) or Lr = Lo (percentage elongations). Case 2: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are outside the parallel length, Lc. In this case, Lr, for calculation of percentage is corrected to consider the strain contributions of the shoulders/ridges.""", + property_label="Determination of reference length", + description="""Determination of reference length - Case 1: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are inside the parallel length, Lc. In this case Lr = Le (percentage extensions) or Lr = Lo (percentage elongations). Case 2: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are outside the parallel length, Lc. In this case, Lr, for calculation of percentage is corrected to consider the strain contributions of the shoulders/ridges. // Bestimmung der Referenzlänge - Case 1: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are inside the parallel length, Lc. In this case Lr = Le (percentage extensions) or Lr = Lo (percentage elongations). Case 2: Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are outside the parallel length, Lc. In this case, Lr, for calculation of percentage is corrected to consider the strain contributions of the shoulders/ridges.""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_reference_length_to_calculate_percentage_elongations = PropertyTypeAssignment( code="CREEP_TEST_REFERENCE_LENGTH_TO_CALCULATE_PERCENTAGE_ELONGATIONS", data_type="REAL", - property_label="Reference length to calculate percentage elongations [mm] // Referenzlänge zur Berechnung prozentualer Verlängerungen [mm]", + property_label="Reference length to calculate percentage elongations", + units="mm", description="""Reference length to calculate percentage elongations // Referenzlänge zur Berechnung prozentualer Verlängerungen [mm]""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_reference_length_to_calculate_percentage_extensions = PropertyTypeAssignment( code="CREEP_TEST_REFERENCE_LENGTH_TO_CALCULATE_PERCENTAGE_EXTENSIONS", data_type="REAL", - property_label="Reference length to calculate percentage extensions [mm] // Referenzlänge zur Berechnung prozentualer Dehnungen [mm]", + property_label="Reference length to calculate percentage extensions", + units="mm", description="""Reference length to calculate percentage extensions // Referenzlänge zur Berechnung prozentualer Dehnungen [mm]""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_k_value = PropertyTypeAssignment( code="CREEP_TEST_K_VALUE", data_type="REAL", - property_label="k-Value [mm] // k-Wert [mm]", - description="""k-Value - Lr / ?So // k-Wert [mm] – Lr / ?So""", + property_label="k-Value", + units="mm", + description="""k-Value - Lr / ?So // k-Wert [mm] - Lr / ?So""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) - creep_test_ratio_reference_length_to_diameter = PropertyTypeAssignment( code="CREEP_TEST_RATIO_REFERENCE_LENGTH_TO_DIAMETER", data_type="REAL", - property_label="Ratio reference length to diameter [mm] // Verhältnis Referenzlänge zu Durchmesser [mm]", - description="""Ratio reference length to diameter - Lr / D // Verhältnis Referenzlänge zu Durchmesser [mm] – Lr / D""", + property_label="Ratio reference length to diameter", + units="mm", + description="""Ratio reference length to diameter - Lr / D // Verhältnis Referenzlänge zu Durchmesser [mm] - Lr / D""", mandatory=True, - show_in_edit_views=False, section="Values recorded at test start", ) -# Section: Values recorded during test run -class CreepTestPrimaryDataTestResultValuesRecordedDuringTestRun(ObjectType): +class CreepTestValuesRecordedDuringTestRunBase(ObjectType): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", - description="""Primary data / Test result / Values recorded during test run // Primärdaten / Prüfergebnis / Während des Versuchs erfasste Werte""", - generated_code_prefix="EXP.MECH.CREEP.PRIMARY_.TEST_RES.VALUES_R", + code="CREEP_TEST_VALUES_RECORDED_DURING_TEST_RUN_BASE", + description="""Common properties for data recorded during test run""", + generated_code_prefix="CREEP_VALUE_RECOR", ) creep_test_elapsed_time_from_end_of_loading = PropertyTypeAssignment( code="CREEP_TEST_ELAPSED_TIME_FROM_END_OF_LOADING", - data_type="VARCHAR", - property_label="Elapsed time from end of loading [s / h] // Verstrichene Zeit seit Ende der Belastung [s / h]", - description="""Elapsed time from end of loading - Link to file, preferably with machine-readable (meta)data. // Verstrichene Zeit seit Ende der Belastung [s / h] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", - mandatory=True, - show_in_edit_views=False, - section="Values recorded during test run", - ) - - creep_test_force = PropertyTypeAssignment( - code="CREEP_TEST_FORCE", data_type="REAL", - property_label="Force [kN] // Kraft [kN]", - description="""Force // Kraft [kN]""", + property_label="Elapsed time from end of loading", + units="s / h", + description="""Elapsed time from end of loading - Link to file, preferably with machine-readable (meta)data. // Verstrichene Zeit seit Ende der Belastung [s / h] - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=True, - show_in_edit_views=False, - section="Values recorded during test run", - ) - - creep_test_extension = PropertyTypeAssignment( - code="CREEP_TEST_EXTENSION", - data_type="VARCHAR", - property_label="Extension [mm] // Dehnung [mm]", - description="""Extension - Link to file, preferably with machine-readable (meta)data. // Dehnung [mm] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", - mandatory=False, - show_in_edit_views=False, - section="Values recorded during test run", - ) - - creep_test_elongation = PropertyTypeAssignment( - code="CREEP_TEST_ELONGATION", - data_type="VARCHAR", - property_label="Elongation [mm] // Verlängerung [mm]", - description="""Elongation - Link to file, preferably with machine-readable (meta)data. // Verlängerung [mm] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", - mandatory=False, - show_in_edit_views=False, section="Values recorded during test run", ) - creep_test_heating_time = PropertyTypeAssignment( code="CREEP_TEST_HEATING_TIME", data_type="REAL", - property_label="Heating time [h] // Aufheizzeit [h]", + property_label="Heating time", + units="h", description="""Heating time // Aufheizzeit [h]""", mandatory=True, - show_in_edit_views=False, section="Values recorded during test run", ) - creep_test_soak_time = PropertyTypeAssignment( code="CREEP_TEST_SOAK_TIME", data_type="REAL", - property_label="Soak time [h] // Haltezeit [h]", - description="""Soak time - Soak time before the test // Haltezeit [h] – Haltezeit vor der Prüfung""", + property_label="Soak time", + units="h", + description="""Soak time - Soak time before the test // Haltezeit [h] - Haltezeit vor der Prüfung""", mandatory=True, - show_in_edit_views=False, section="Values recorded during test run", ) - creep_test_test_duration = PropertyTypeAssignment( code="CREEP_TEST_TEST_DURATION", data_type="REAL", - property_label="Test duration [h] // Prüfdauer [h]", + property_label="Test duration", + units="h", description="""Test duration // Prüfdauer [h]""", mandatory=True, - show_in_edit_views=False, section="Values recorded during test run", ) -# Section: Values recorded after end of test -class CreepTestPrimaryDataTestResultValuesRecordedAfterEndOfTest(ObjectType): +class CreepTestPrimaryValuesRecordedDuringTestRun( + CreepTestValuesRecordedDuringTestRunBase +): + defs = ObjectTypeDef( + code="CREEP_TEST_VALUES_RECORDED_DURING_TEST_RUN_BASE.CREEP_TEST_PRIMARY_VALUES_RECORDED_DURING_TEST_RUN", + description="""Primary data / Test result / Values recorded during test run // Primärdaten / Prüfergebnis / Während des Versuchs erfasste Werte""", + generated_code_prefix="CREEP_VALUE_RECOR.CREEP_PRIMA_VALUE", + ) + creep_test_force = PropertyTypeAssignment( + code="CREEP_TEST_FORCE", + data_type="REAL", + property_label="Force", + units="kN", + description="""Force // Kraft [kN]""", + mandatory=True, + section="Values recorded during test run", + ) + creep_test_extension = PropertyTypeAssignment( + code="CREEP_TEST_EXTENSION", + data_type="REAL", + property_label="Extension", + units="mm", + description="""Extension - Link to file, preferably with machine-readable (meta)data. // Dehnung [mm] - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + section="Values recorded during test run", + ) + creep_test_elongation = PropertyTypeAssignment( + code="CREEP_TEST_ELONGATION", + data_type="REAL", + property_label="Elongation", + units="mm", + description="""Elongation - Link to file, preferably with machine-readable (meta)data. // Verlängerung [mm] - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", + mandatory=False, + section="Values recorded during test run", + ) + + +class CreepTestPrimaryValuesRecordedAfterEndOfTest(ObjectType): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.PRIMARY_DATA.TEST_RESULT.VALUES_RECORDED_AFTER_END_OF_TEST", + code="CREEP_TEST_PRIMARY_VALUES_RECORDED_AFTER_END_OF_TEST", description="""Primary data / Test result / Values recorded after end of test // Primärdaten / Prüfergebnis / Nach Testende erfasste Werte""", - generated_code_prefix="EXP.MECH.CREEP.PRIMARY_.TEST_RES.VALUES_R", + generated_code_prefix="CREEP_PRIMA_VALUE", ) creep_test_creep_rupture_time = PropertyTypeAssignment( code="CREEP_TEST_CREEP_RUPTURE_TIME", data_type="REAL", - property_label="Creep rupture time [h] // Kriechbruchzeit [h]", + property_label="Creep rupture time", + units="h", description="""Creep rupture time // Kriechbruchzeit [h]""", mandatory=True, - show_in_edit_views=False, section="Values recorded after end of test", ) - creep_test_fracture_position = PropertyTypeAssignment( code="CREEP_TEST_FRACTURE_POSITION", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_FRACTURE_POSITION", - property_label="Fracture position // Bruchposition", + property_label="Fracture position", description="""Fracture position // Bruchposition""", mandatory=True, - show_in_edit_views=False, section="Values recorded after end of test", ) - creep_test_final_gauge_length_after_fracture = PropertyTypeAssignment( code="CREEP_TEST_FINAL_GAUGE_LENGTH_AFTER_FRACTURE", data_type="REAL", - property_label="Final gauge length after fracture [mm] // Endmesslänge nach Bruch [mm]", + property_label="Final gauge length after fracture", + units="mm", description="""Final gauge length after fracture // Endmesslänge nach Bruch [mm]""", mandatory=False, - show_in_edit_views=False, section="Values recorded after end of test", ) -# -------------------------------- -# Section: Secondary data - Test result -# -------------------------------- - - -# Section: Values recorded during test run -class CreepTestSecondaryDataTestResultValuesRecordedDuringTestRun(ObjectType): +class CreepTestSecondaryValuesRecordedDuringTestRun( + CreepTestValuesRecordedDuringTestRunBase +): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.VALUES_RECORDED_DURING_TEST_RUN", + code="CREEP_TEST_VALUES_RECORDED_DURING_TEST_RUN_BASE.CREEP_TEST_SECONDARY_VALUES_RECORDED_DURING_TEST_RUN", description="""Secondary data / Test result / Values recorded during test run // Sekundärdaten / Prüfergebnis / Während des Versuchs erfasste Werte""", - generated_code_prefix="EXP.MECH.CREEP.SECONDAR.TEST_RES.VALUES_R", - ) - - creep_test_corrected_measured_temperature = PropertyTypeAssignment( - code="CREEP_TEST_CORRECTED_MEASURED_TEMPERATURE", - data_type="VARCHAR", - property_label="Corrected measured temperature [?] // Korrigierte gemessene Temperatur [?]", - description="""Corrected measured temperature - Link to file, preferably with machine-readable (meta)data. // Korrigierte gemessene Temperatur [?] – Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", - mandatory=True, - show_in_edit_views=False, - section="Values recorded during test run", + generated_code_prefix="CREEP_VALUE_RECOR.CREEP_SECON_VALUE", ) creep_test_loading_rate = PropertyTypeAssignment( code="CREEP_TEST_LOADING_RATE", data_type="REAL", - property_label="Loading rate [MPa/s] // Belastungsrate [MPa/s]", + property_label="Loading rate", + units="MPa/s", description="""Loading rate // Belastungsrate [MPa/s]""", mandatory=False, - show_in_edit_views=False, section="Values recorded during test run", ) - creep_test_unloading_rate = PropertyTypeAssignment( code="CREEP_TEST_UNLOADING_RATE", data_type="REAL", - property_label="Unloading rate [MPa/s] // Entlastungsrate [MPa/s]", + property_label="Unloading rate", + units="MPa/s", description="""Unloading rate // Entlastungsrate [MPa/s]""", mandatory=False, - show_in_edit_views=False, section="Values recorded during test run", ) - creep_test_heating_speed = PropertyTypeAssignment( code="CREEP_TEST_HEATING_SPEED", data_type="REAL", - property_label="Heating speed [?/min] // Aufheizgeschwindigkeit [?/min]", + property_label="Heating speed", + units="degC/min", description="""Heating speed // Aufheizgeschwindigkeit [?/min]""", mandatory=False, - show_in_edit_views=False, section="Values recorded during test run", ) - creep_test_cooling_speed = PropertyTypeAssignment( code="CREEP_TEST_COOLING_SPEED", data_type="REAL", - property_label="Cooling speed [?/min] // Abkühlgeschwindigkeit [?/min]", + property_label="Cooling speed", + units="degC/min", description="""Cooling speed // Abkühlgeschwindigkeit [?/min]""", mandatory=False, - show_in_edit_views=False, section="Values recorded during test run", ) - creep_test_percentage_extension = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_EXTENSION", - data_type="VARCHAR", - property_label="Percentage extension [%] // Prozentuale Dehnung [%]", - description="""Percentage extension - Link to file, preferably with machine-readable (meta)data. Data series corresponds to the percentage plastic extension from end of loading. If the percentage initial plastic extension is not zero, these data series coresponds to the percentage creep extension from end of loading. // Prozentuale Dehnung [%] – Link to file, preferably with machine-readable (meta)data. Data series corresponds to the percentage plastic extension from end of loading. If the percentage initial plastic extension is not zero, these data series coresponds to the percentage creep extension from end of loading.""", + data_type="REAL", + property_label="Percentage extension", + units="%", + description="""Percentage extension - Link to file, preferably with machine-readable (meta)data. Data series corresponds to the percentage plastic extension from end of loading. If the percentage initial plastic extension is not zero, these data series coresponds to the percentage creep extension from end of loading. // Prozentuale Dehnung [%] - Link to file, preferably with machine-readable (meta)data. Data series corresponds to the percentage plastic extension from end of loading. If the percentage initial plastic extension is not zero, these data series coresponds to the percentage creep extension from end of loading.""", mandatory=True, - show_in_edit_views=False, section="Values recorded during test run", ) -# Section: Elongation values -class CreepTestSecondaryDataTestResultElongationValues(ObjectType): +class CreepTestSecondaryElongationValues(ObjectType): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.ELONGATION_VALUES", + code="CREEP_TEST_SECONDARY_ELONGATION_VALUES", description="""Secondary data / Test result / Elongation values // Sekundärdaten / Prüfergebnis / Verlängerungswerte""", - generated_code_prefix="EXP.MECH.CREEP.SECONDAR.TEST_RES.ELONGATI", + generated_code_prefix="CREEP_SECON_ELONG", ) creep_test_percentage_permanent_elongation = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_PERMANENT_ELONGATION", data_type="REAL", - property_label="Percentage permanent elongation [%] // Prozentuale bleibende Verlängerung [%]", + property_label="Percentage permanent elongation", + units="%", description="""Percentage permanent elongation // Prozentuale bleibende Verlängerung [%]""", mandatory=True, - show_in_edit_views=False, section="Elongation values", ) - creep_test_percentage_elongation_after_creep_fracture = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_ELONGATION_AFTER_CREEP_FRACTURE", data_type="REAL", - property_label="Percentage elongation after creep fracture [%] // Prozentuale Bruchverlängerung nach Kriechbruch [%]", + property_label="Percentage elongation after creep fracture", + units="%", description="""Percentage elongation after creep fracture // Prozentuale Bruchverlängerung nach Kriechbruch [%]""", mandatory=True, - show_in_edit_views=False, section="Elongation values", ) - creep_test_percentage_reduction_of_area_after_creep_fracture = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_REDUCTION_OF_AREA_AFTER_CREEP_FRACTURE", data_type="REAL", - property_label="Percentage reduction of area after creep fracture [%] // Prozentuale Brucheinschnürung nach Kriechbruch [%]", + property_label="Percentage reduction of area after creep fracture", + units="%", description="""Percentage reduction of area after creep fracture // Prozentuale Brucheinschnürung nach Kriechbruch [%]""", mandatory=True, - show_in_edit_views=False, section="Elongation values", ) -# Section: Extension values -class CreepTestSecondaryDataTestResultExtensionValues(ObjectType): +class CreepTestSecondaryExtensionValues(ObjectType): defs = ObjectTypeDef( - code="EXPERIMENTAL_STEP.MECHANICAL_TEST.CREEP_TEST.SECONDARY_DATA.TEST_RESULT.EXTENSION_VALUES", + code="CREEP_TEST_SECONDARY_EXTENSION_VALUES", description="""Secondary data / Test result / Extension values // Sekundärdaten / Prüfergebnis / Dehnungswerte""", - generated_code_prefix="EXP.MECH.CREEP.SECONDAR.TEST_RES.EXTENSIO", + generated_code_prefix="CREEP_SECON_EXTEN", ) creep_test_percentage_total_extension = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_TOTAL_EXTENSION", data_type="REAL", - property_label="Percentage total extension [%] // Prozentuale Gesamtdehnung [%]", + property_label="Percentage total extension", + units="%", description="""Percentage total extension // Prozentuale Gesamtdehnung [%]""", mandatory=True, - show_in_edit_views=False, section="Extension values", ) - creep_test_percentage_initial_total_extension = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_INITIAL_TOTAL_EXTENSION", data_type="REAL", - property_label="Percentage initial total extension [%] // Prozentuale anfängliche Gesamtdehnung [%]", + property_label="Percentage initial total extension", + units="%", description="""Percentage initial total extension // Prozentuale anfängliche Gesamtdehnung [%]""", mandatory=True, - show_in_edit_views=False, section="Extension values", ) - creep_test_percentage_elastic_extension = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_ELASTIC_EXTENSION", data_type="REAL", - property_label="Percentage elastic extension [%] // Prozentuale elastische Dehnung [%]", + property_label="Percentage elastic extension", + units="%", description="""Percentage elastic extension // Prozentuale elastische Dehnung [%]""", mandatory=True, - show_in_edit_views=False, section="Extension values", ) - creep_test_percentage_initial_plastic_extension = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_INITIAL_PLASTIC_EXTENSION", data_type="REAL", - property_label="Percentage initial plastic extension [%] // Prozentuale anfängliche plastische Dehnung [%]", + property_label="Percentage initial plastic extension", + units="%", description="""Percentage initial plastic extension // Prozentuale anfängliche plastische Dehnung [%]""", mandatory=True, - show_in_edit_views=False, section="Extension values", ) - creep_test_percentage_plastic_extension = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_PLASTIC_EXTENSION", data_type="REAL", - property_label="Percentage plastic extension [%] // Prozentuale plastische Dehnung [%]", + property_label="Percentage plastic extension", + units="%", description="""Percentage plastic extension // Prozentuale plastische Dehnung [%]""", mandatory=True, - show_in_edit_views=False, section="Extension values", ) - creep_test_percentage_creep_extension = PropertyTypeAssignment( code="CREEP_TEST_PERCENTAGE_CREEP_EXTENSION", data_type="REAL", - property_label="Percentage creep extension [%] // Prozentuale Kriechdehnung [%]", + property_label="Percentage creep extension", + units="%", description="""Percentage creep extension // Prozentuale Kriechdehnung [%]""", mandatory=True, - show_in_edit_views=False, section="Extension values", ) diff --git a/bam_masterdata/datamodel/creep_test/vocabularies.py b/bam_masterdata/datamodel/creep_test/vocabularies.py new file mode 100644 index 0000000..df33a78 --- /dev/null +++ b/bam_masterdata/datamodel/creep_test/vocabularies.py @@ -0,0 +1,979 @@ +from bam_masterdata.metadata.definitions import VocabularyTerm, VocabularyTypeDef +from bam_masterdata.metadata.entities import VocabularyType + + +class CreepTestStandard(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_STANDARD", + description="""Test Standard (Metadata, Test info, Test parameters) // Test Standard (Metadaten, Test-Information, Test-Parameter)""", + ) + + iso_204 = VocabularyTerm( + code="DIN EN ISO_204", + label="DIN EN ISO 204", + description="""DIN EN ISO 204 - Metallic materials - Uniaxial creep testing in tension - Method of test // DIN EN ISO 204 - Metallische Werkstoffe - Einachsiger Zeitstandversuch unter Zugbeanspruchung - Prüfverfahren""", + ) + + astm_e139 = VocabularyTerm( + code="ASTM_E139", + label="ASTM E139", + description="""ASTM E139 - Standard Test Methods for Conducting Creep, Creep-Rupture, and Stress-Rupture Tests of Metallic Materials // ASTM E139 - Standardtestmethoden zur Durchführung von Kriech-, Kriechbruch- und Spannungsbruchprüfungen an metallischen Werkstoffen""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class TypeOfLoading(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_TYPE_OF_LOADING", + description="""Type of Loading (Metadata, Test info, Test parameters) // Art der Lastaufbringung (Metadaten, Test-Information, Test-Parameter)""", + ) + + tension = VocabularyTerm( + code="TENSION", + label="Tension", + description="""tension // Zug""", + ) + + compression = VocabularyTerm( + code="COMPRESSION", + label="Compression", + description="""compression // Druck""", + ) + + bending = VocabularyTerm( + code="BENDING", + label="Bending", + description="""bending // Biegung""", + ) + + +class LoadControlType(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_LOAD_CONTROL_TYPE", + description="""Load Control Type (Metadata, Test info, Test parameters) // Laststeuerungstyp (Metadaten, Test-Information, Test-Parameter)""", + ) + + constant_force = VocabularyTerm( + code="CONSTANT_FORCE", + label="Constant force", + description="""Constant force // Konstante Kraft""", + ) + + constant_stress = VocabularyTerm( + code="CONSTANT_STRESS", + label="Constant stress", + description="""Constant stress // Konstante Spannung""", + ) + + +class CreepTestType(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_TYPE", + description="""Test Type (Metadata, Test info, Test parameters) // Test-Typ (Metadaten, Test-Information, Test-Parameter)""", + ) + + uninterrupted_creep_tests_with_continuous_monitoring_of_extension = VocabularyTerm( + code="UNINTERRUPTED_CREEP_TESTS_WITH_CONTINUOUS_MONITORING_OF_EXTENSION", + label="Uninterrupted creep tests with continuous monitoring of extension", + description="""Uninterrupted creep tests with continuous monitoring of extension // Ununterbrochene Kriechprüfungen mit kontinuierlicher Überwachung der Verlängerung""", + ) + + interrupted_creep_tests_with_periodic_measurement_of_elongation = VocabularyTerm( + code="INTERRUPTED_CREEP_TESTS_WITH_PERIODIC_MEASUREMENT_OF_ELONGATION", + label="Interrupted creep tests with periodic measurement of elongation", + description="""Interrupted creep tests with periodic measurement of elongation // Unterbrochene Kriechprüfungen mit periodischer Messung der Verlängerung""", + ) + + stress_rupture_tests_where_normally_only_the_time_to_fracture_is_measured = VocabularyTerm( + code="STRESS_RUPTURE_TESTS_WHERE_NORMALLY_ONLY_THE_TIME_TO_FRACTURE_IS_MEASURED", + label="Stress rupture tests where normally only the time to fracture is measured", + description="""Stress rupture tests where normally only the time to fracture is measured // Spannungsbruchprüfungen, bei denen normalerweise nur die Zeit bis zum Bruch gemessen wird""", + ) + + +class EndOfTestCriterium(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_END_OF_TEST_CRITERIUM", + description="""End of Test Criterium (Metadata, Test info, Test parameters) // Testabbruchkriterium (Metadaten, Test-Information, Test-Parameter)""", + ) + + test_piece_break = VocabularyTerm( + code="TEST_PIECE_BREAK", + label="Test piece break", + description="""Test piece break // Probenbruch""", + ) + + time_limit = VocabularyTerm( + code="TIME_LIMIT", + label="Time limit", + description="""Time limit // Zeitlimit""", + ) + + extension_limit = VocabularyTerm( + code="EXTENSION_LIMIT", + label="Extension limit", + description="""Extension limit // Dehnungsgrenzenlimit""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class InterruptionCourse(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_INTERRUPTION_COURSE", + description="""Interruption Course (Metadata, Test info, Test parameters) // Unterbrechungsverlauf (Metadaten, Test-Information, Test-Parameter)""", + ) + + unloading_before_cooling = VocabularyTerm( + code="UNLOADING_BEFORE_COOLING", + label="Unloading before cooling", + description="""Unloading before cooling // Entlastung vor Abkühlung""", + ) + + unloading_after_cooling = VocabularyTerm( + code="UNLOADING_AFTER_COOLING", + label="Unloading after cooling", + description="""Unloading after cooling // Entlastung nach Abkühlung""", + ) + + +class Solidification(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_SOLIDIFICATION", + description="""Solidification - In which form was the material solidified, e.g. single crystal, poly crystal? (Metadata, Material history and condition, As-manufactured material) // Solidification - In welcher Form wurde das Material verfestigt, z. B. Einkristall, Polykristall? (Metadaten, Materialhistorie und Zustand, Material im Herstellungszustand)""", + ) + + single_crystal = VocabularyTerm( + code="SINGLE_CRYSTAL", + label="Single crystal", + description="""Single crystal // Einkristall""", + ) + + polycrystal = VocabularyTerm( + code="POLYCRYSTAL", + label="Polycrystal", + description="""polycrystal // Polykristall""", + ) + + +class Condition(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_CONDITION", + description="""Condition (Metadata, Material history and condition, As-manufactured material) // Condition (Metadaten, Materialhistorie und Zustand, Material im Herstellungszustand)""", + ) + + heat_treated = VocabularyTerm( + code="HEAT_TREATED", + label="Heat treated", + description="""Heat treated // Wärmebehandelt""", + ) + + as_manufactured = VocabularyTerm( + code="AS_MANUFACTURED", + label="As manufactured", + description="""As manufactured // Material im Herstellungszustand""", + ) + + +class HeatTreatmentState(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_HEAT_TREATMENT_STATE", + description="""Heat Treatment - State (Metadata, Material history and condition, Heat treatment) // Wärmebehandlung - Zustand (Metadaten, Materialhistorie und Zustand, Wärmebehandlung)""", + ) + + term_none = VocabularyTerm( + code="NONE", + label="None", + description="""none // keine""", + ) + + annealed = VocabularyTerm( + code="ANNEALED", + label="Annealed", + description="""annealed // annealed""", + ) + + hardened = VocabularyTerm( + code="HARDENED", + label="Hardened", + description="""hardened // gehärtet""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class MicrostructureFeature(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_MICROSTRUCTURE_FEATURE", + description="""Microstructure Feature (Metadata, Material history and condition, Microstructure) // Mikrostrukturmerkmal (Metadaten, Materialhistorie und Zustand, Mikrostruktur)""", + ) + + matrix = VocabularyTerm( + code="MATRIX", + label="Matrix", + description="""matrix // Matrix""", + ) + + phase = VocabularyTerm( + code="PHASE", + label="Phase", + description="""phase // Phase""", + ) + + grain_boundary = VocabularyTerm( + code="GRAIN_BOUNDARY", + label="Grain Boundary", + description="""Grain Boundary // Korngrenze""", + ) + + dendrite = VocabularyTerm( + code="DENDRITE", + label="Dendrite", + description="""dendrite // Dendrit""", + ) + + precipitate = VocabularyTerm( + code="PRECIPITATE", + label="Precipitate", + description="""precipitate // Ausscheidung""", + ) + + inclusion = VocabularyTerm( + code="INCLUSION", + label="Inclusion", + description="""inclusion // Einschluss""", + ) + + grain = VocabularyTerm( + code="GRAIN", + label="Grain", + description="""grain // Korn""", + ) + + segregation = VocabularyTerm( + code="SEGREGATION", + label="Segregation", + description="""segregation // Segregation""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class GrainSizeDeterminationMethod(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_GRAIN_SIZE_DETERMINATION_METHOD", + description="""Grain Size - Determination Method (Metadata, Material history and condition, Microstructure) // Korngröße - Bestimmungsmethode (Metadaten, Materialhistorie und Zustand, Mikrostruktur)""", + ) + + line_intercept = VocabularyTerm( + code="LINE_INTERCEPT", + label="Line Intercept", + description="""Line Intercept // Schnittlinienmethode""", + ) + + circular_intercept = VocabularyTerm( + code="CIRCULAR_INTERCEPT", + label="Circular Intercept", + description="""Circular Intercept // kreisförmige Schnittlinienmethode""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class MeasuredCondition(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_MEASURED_CONDITION", + description="""Measured Condition (Metadata, Material history and condition, Chemical composition) // Gemessener Zustand (Metadaten, Materialhistorie und Zustand, Chemische Zusammensetzung)""", + ) + + as_manufactured = VocabularyTerm( + code="AS_MANUFACTURED", + label="As-manufactured", + description="""As-manufactured // wie hergestellt""", + ) + + heat_treated = VocabularyTerm( + code="HEAT_TREATED", + label="Heat-treated", + description="""Heat-treated // wärmebehandelt""", + ) + + as_tested = VocabularyTerm( + code="AS_TESTED", + label="As-tested", + description="""As-tested // wie getestet""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class TestPieceTypeI(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_TEST_PIECE_TYPE_I", + description="""Test Piece Type I (Metadata, Test piece) // Prüfstück Typ I (Metadaten, Probenkörper)""", + ) + + miniaturized_specimen = VocabularyTerm( + code="MINIATURIZED_SPECIMEN", + label="Miniaturized specimen", + description="""Miniaturized specimen // Miniaturisierte Proben""", + ) + + specimen_according_to_standard = VocabularyTerm( + code="SPECIMEN_ACCORDING_TO_STANDARD", + label="Specimen according to standard", + description="""Specimen according to standard // Probe gemäß Norm""", + ) + + +class TestPieceTypeII(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_TEST_PIECE_TYPE_II", + description="""Test Piece Type II (Metadata, Test piece) // Prüfstück Typ II (Metadaten, Probenkörper)""", + ) + + round_cross_section = VocabularyTerm( + code="ROUND_CROSS_SECTION", + label="Round cross section", + description="""Round cross section // Rundquerschnitt""", + ) + + rectangular_section = VocabularyTerm( + code="RECTANGULAR_SECTION", + label="Rectangular section", + description="""Rectangular section // Rechteckquerschnitt""", + ) + + +class TestPieceTypeIII(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_TEST_PIECE_TYPE_III", + description="""Test Piece Type III (Metadata, Test piece) // Prüfstück Typ III (Metadaten, Probenkörper)""", + ) + + smooth_test_piece = VocabularyTerm( + code="SMOOTH_TEST_PIECE", + label="Smooth test piece", + description="""Smooth test piece // Glatter Prüfkörper""", + ) + + notched_test_piece = VocabularyTerm( + code="NOTCHED_TEST_PIECE", + label="Notched test piece", + description="""Notched test piece // Gekerbter Prüfkörper""", + ) + + combined_test_piece = VocabularyTerm( + code="COMBINED_TEST_PIECE", + label="Combined test piece", + description="""Combined test piece // Kombinierter Prüfkörper""", + ) + + other_type_specify = VocabularyTerm( + code="OTHER_TYPE_SPECIFY", + label="Other type (specify)", + description="""Other type (specify) // andere (bitte angeben)""", + ) + + +class CreepTestMachineType(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_MACHINE_TYPE", + description="""Test Machine Type (Metadata, Measuring and test equipment, Test machine) // Prüfmaschinentyp (Metadaten, Mess- und Prüfmittel, Prüfmaschine)""", + ) + + lever_arm = VocabularyTerm( + code="LEVER_ARM", + label="Lever arm", + description="""Lever arm // Hebelarm""", + ) + + electromechanical_drive = VocabularyTerm( + code="ELECTROMECHANICAL_DRIVE", + label="Electromechanical drive", + description="""Electromechanical drive // Elektromechanischer Antrieb""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class CreepTestFurnaceType(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_FURNACE_TYPE", + description="""Furnace Type (Metadata, Measuring and test equipment, Test machine, Heating system) // Ofentyp (Metadaten, Mess- und Prüfmittel, Prüfmaschine, Heizsystem)""", + ) + + split_tube_furnace_with_two_zones = VocabularyTerm( + code="SPLIT_TUBE_FURNACE_WITH_TWO_ZONES", + label="Split Tube Furnace with Two-zones", + description="""Split Tube Furnace with Two-zones // Spaltrohr-Röhrenofen mit zwei Zonen""", + ) + + split_tube_furnace_with_three_zones = VocabularyTerm( + code="SPLIT_TUBE_FURNACE_WITH_THREE_ZONES", + label="Split Tube Furnace with Three-zones", + description="""Split Tube Furnace with Three-zones // Spaltrohr-Röhrenofen mit drei Zonen""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (specify)", + description="""Other (specify) // andere (bitte angeben)""", + ) + + +class CreepTestFixingTechnique(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_FIXING_TECHNIQUE", + description="""Fixing Technique (Metadata, Measuring and test equipment, Test machine, Test piece holder system) // Befestigungstechnik (Metadaten, Mess- und Prüfmittel, Prüfmaschine, Probenhaltersystem)""", + ) + + threaded = VocabularyTerm( + code="THREADED", + label="Threaded", + description="""threaded // verschraubt""", + ) + + button_head = VocabularyTerm( + code="BUTTON_HEAD", + label="Button-head", + description="""Button-head // Knopfkopf""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (specify)", + description="""Other (specify) // andere (bitte angeben)""", + ) + + +class CreepTestLoadSystemCalibrationStandard(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_LOAD_SYSTEM_CALIBRATION_STANDARD", + description="""Calibration Standard (Metadata, Measuring and test equipment, Test machine, Loading system) // Kalibrierstandard (Metadaten, Mess- und Prüfmittel, Prüfmaschine, Belastungssystem)""", + ) + + din_en_iso_7500_2 = VocabularyTerm( + code="DIN_EN_ISO_7500_2", + label="DIN EN ISO 7500-2", + description="""DIN EN ISO 7500-2 - Metallic materials - Verification of static uniaxial testing machines - Part 2: Tension creep testing machines - Verification of the applied force // DIN EN ISO 7500-2 - Metallische Werkstoffe - Prüfung von statischen einachsigen Prüfmaschinen - Teil 2: Zeitstandprüfmaschinen für Zugbeanspruchung - Prüfung der angewendeten Kraft""", + ) + + others_specify = VocabularyTerm( + code="OTHERS_SPECIFY", + label="Others (specify)", + description="""Others (specify) // Others (specify)""", + ) + + +class TemperatureSignal(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_TEMPERATURE_SIGNAL", + description="""Temperature Signal - Which temperature signal was used for temperature control? (Metadata, Measuring and test equipment, Temperature-measuring system) // Temperatursignal - Welches Temperatursignal wurde für die Temperatursteuerung verwendet? (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem)""", + ) + + on_test_piece = VocabularyTerm( + code="ON_TEST_PIECE", + label="On test piece", + description="""On test piece // am Prüfkörper""", + ) + + via_furnace = VocabularyTerm( + code="VIA_FURNACE", + label="Via furnace", + description="""Via furnace // über dem Ofen""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (specify)", + description="""Other (specify) // andere (bitte angeben)""", + ) + + +class CreepTestSensorType(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_SENSOR_TYPE", + description="""Sensor Type (Metadata, Measuring and test equipment, Temperature-measuring system, Temperature sensor) // Sensortyp (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem, Temperatursensor)""", + ) + + thermocouple = VocabularyTerm( + code="THERMOCOUPLE", + label="Thermocouple", + description="""thermocouple // Thermoelement""", + ) + + thermocamera = VocabularyTerm( + code="THERMOCAMERA", + label="Thermocamera", + description="""thermocamera // Thermokamera""", + ) + + +class CreepTestThermocoupleCalibrationMethod(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_METHOD", + description="""Calibration Method (Metadata, Measuring and test equipment, Temperature-measuring system, Temperature sensor) // Kalibriermethode (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem, Temperatursensor)""", + ) + + comparison_method = VocabularyTerm( + code="COMPARISON_METHOD", + label="Comparison method", + description="""Comparison method // Vergleichsmethode""", + ) + + fix_point_method = VocabularyTerm( + code="FIX_POINT_METHOD", + label="Fix-point method", + description="""Fix-point method // Fixpunktmethode""", + ) + + +class CreepTestThermocoupleCalibrationStandard(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STANDARD", + description="""Calibration Standard (Metadata, Measuring and test equipment, Temperature-measuring system, Temperature sensor) // Kalibrierstandard (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem, Temperatursensor)""", + ) + + astm_e220 = VocabularyTerm( + code="ASTM_E220", + label="ASTM E220", + description="""ASTM E220 - Standard Test Method for Calibration of Thermocouples By Comparison Techniques // ASTM E220 - Standardtestverfahren zur Kalibrierung von Thermoelementen durch Vergleichstechniken""", + ) + + euramet_cg_08 = VocabularyTerm( + code="EURAMET_CG_08", + label="EURAMET cg-08", + description="""EURAMET cg-08 - Calibration of Thermocouples // EURAMET cg-08 - Kalibrierung von Thermoelementen""", + ) + + guideline_dkd_r_5_3 = VocabularyTerm( + code="GUIDELINE_DKD_R_5_3", + label="Guideline DKD-R 5-3", + description="""Guideline DKD-R 5-3 - Calibration of Thermocouples // Guideline DKD-R 5-3 - Kalibrierung von Thermoelementen""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class CreepTestThermocoupleContactMethod(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_THERMOCOUPLE_CONTACT_METHOD", + description="""Contact Method (Metadata, Measuring and test equipment, Temperature-measuring system, Temperature sensor) // Kontaktmethode (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem, Temperatursensor)""", + ) + + welded = VocabularyTerm( + code="WELDED", + label="Welded", + description="""welded // angeschweißt""", + ) + + attached = VocabularyTerm( + code="ATTACHED", + label="Attached", + description="""attached // befestigt""", + ) + + pressed = VocabularyTerm( + code="PRESSED", + label="Pressed", + description="""pressed // (an)gepresst""", + ) + + glued = VocabularyTerm( + code="GLUED", + label="Glued", + description="""glued // geklebt""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (specify)", + description="""Other (specify) // andere (bitte angeben)""", + ) + + +class CreepTestThermocoupleLocation(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_THERMOCOUPLE_LOCATION", + description="""Thermocouple Location - Location with respect to gauge section (Metadata, Measuring and test equipment, Temperature-measuring system, Temperature sensor) // Position des Thermoelements - Position in Bezug auf den Messbereich (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem, Temperatursensor)""", + ) + + inside = VocabularyTerm( + code="INSIDE", + label="Inside", + description="""inside // innen""", + ) + + outside = VocabularyTerm( + code="OUTSIDE", + label="Outside", + description="""outside // außen""", + ) + + +class CreepTestReferenceJunction(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_REFERENCE_JUNCTION", + description="""Reference Junction (Metadata, Measuring and test equipment, Temperature-measuring system, Data acquisition) // Referenzstelle (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem, Datenerfassung)""", + ) + + internal = VocabularyTerm( + code="INTERNAL", + label="Internal", + description="""internal // intern""", + ) + + external = VocabularyTerm( + code="EXTERNAL", + label="External", + description="""external // extern""", + ) + + +class CreepTestDataAcquisitionCalibrationStandard(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_DATA_ACQUISITION_CALIBRATION_STANDARD", + description="""Calibration Standard for data acquisition system (Metadata, Measuring and test equipment, Temperature-measuring system, Data acquisition) // Kalibrierstandard für das Datenerfassungssystem (Metadaten, Mess- und Prüfmittel, Temperaturmesssystem, Datenerfassung)""", + ) + + euramet_cg_11 = VocabularyTerm( + code="EURAMET_CG_11", + label="EURAMET cg-11", + description="""EURAMET cg-11 // EURAMET cg-11""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (specify)", + description="""Other (specify) // Other (specify)""", + ) + + +class CreepTestDisplacementMeasuringMethod(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_DISPLACEMENT_MEASURING_METHOD", + description="""Displacement Measuring Method - Type of strain measuring device (Metadata, Measuring and test equipment, Extensometer system) // Wegmessverfahren - Art des Dehnungsmessgeräts (Metadaten, Mess- und Prüfmittel, Extensometersystem)""", + ) + + contacting_method = VocabularyTerm( + code="CONTACTING_METHOD", + label="Contacting method", + description="""Contacting method // Kontaktmethode""", + ) + + non_contacting_method = VocabularyTerm( + code="NON_CONTACTING_METHOD", + label="Non-contacting method", + description="""Non-contacting method // berührungslose Methode""", + ) + + +class CreepTestSensorTypeContactingMethod(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_SENSOR_TYPE_CONTACTING_METHOD", + description="""Sensor Type - Contacting Method (Metadata, Measuring and test equipment, Extensometer system) // Sensortyp – Kontaktmethode (Metadaten, Mess- und Prüfmittel, Extensometersystem)""", + ) + + lvdt_with_extension_legs = VocabularyTerm( + code="LVDT_WITH_EXTENSION_LEGS", + label="LVDT with extension legs", + description="""LVDT with extension legs // LVDT mit Verlängerungsarmen""", + ) + + clip_on_extensometer = VocabularyTerm( + code="CLIP_ON_EXTENSOMETER", + label="Clip-on extensometer", + description="""Clip-on extensometer // Clip-on-Extensometer""", + ) + + analog_dial_gauges = VocabularyTerm( + code="ANALOG_DIAL_GAUGES", + label="Analog dial gauges", + description="""Analog dial gauges // Analoge Messuhren""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class CreepTestSensorTypeNonContactingMethod(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_SENSOR_TYPE_NON_CONTACTING_METHOD", + description="""Sensor Type - Non-contacting Method (Metadata, Measuring and test equipment, Extensometer system) // Sensortyp – berührungslose Methode (Metadaten, Mess- und Prüfmittel, Extensometersystem)""", + ) + + laserextensometer = VocabularyTerm( + code="LASEREXTENSOMETER", + label="Laserextensometer", + description="""laserextensometer // Laserextensometer""", + ) + + digital_image_correlation_technique = VocabularyTerm( + code="DIGITAL_IMAGE_CORRELATION_TECHNIQUE", + label="Digital image correlation technique", + description="""Digital image correlation technique // Digitale Bildkorrelation (DIC)""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class CreepTestMeasurementSetup(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_MEASUREMENT_SETUP", + description="""Measurement Setup - Measurement one-sided or two-sided? (Metadata, Measuring and test equipment, Extension values, Contacting extensometer) // Messaufbau - Einseitige oder beidseitige Messung? (Metadaten, Mess- und Prüfmittel, Dehnungswerte, kontaktierendes Extensometer)""", + ) + + one_sided = VocabularyTerm( + code="ONE_SIDED", + label="One-sided", + description="""One-sided // einseitig""", + ) + + two_sided = VocabularyTerm( + code="TWO_SIDED", + label="Two-sided", + description="""Two-sided // beidseitig""", + ) + + +class CreepTestMeasurementDirection(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_EXTENSION_MEASUREMENT_DIRECTION", + description="""Measurement Direction (Metadata, Measuring and test equipment, Extension values, Contacting extensometer) // Messrichtung (Metadaten, Mess- und Prüfmittel, Dehnungswerte, kontaktierendes Extensometer)""", + ) + + axial_action = VocabularyTerm( + code="AXIAL_ACTION", + label="Axial action", + description="""Axial action // axial""", + ) + + diametrical_action = VocabularyTerm( + code="DIAMETRICAL_ACTION", + label="Diametrical action", + description="""Diametrical action // diametral""", + ) + + +class CreepTestMountingType(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_EXTENSOMETER_MOUNTING_TYPE", + description="""Mounting Type (Metadata, Measuring and test equipment, Extension values, Contacting extensometer) // Montageart (Metadaten, Mess- und Prüfmittel, Dehnungswerte, kontaktierendes Extensometer)""", + ) + + at_test_piece_in_parallel_length = VocabularyTerm( + code="AT_TEST_PIECE_IN_PARALLEL_LENGTH", + label="At test piece in parallel length", + description="""At test piece in parallel length // Am Prüfkörper in der parallelen Länge""", + ) + + at_collars = VocabularyTerm( + code="AT_COLLARS", + label="At collars", + description="""At collars // An den Kragen""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class ExtensometerLegMaterial(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_EXTENSOMETER_LEG_MATERIAL", + description="""Extensometer Leg Material - Material of upper/lower legs, e.g., in LVDT systems (Metadata, Measuring and test equipment, Extension values, Contacting extensometer) // Material der Extensometerschenkel - Material der Ober-/Unterbeine, z. B. in LVDT-Systemen (Metadaten, Mess- und Prüfmittel, Dehnungswerte, kontaktierendes Extensometer)""", + ) + + ceramic_legs = VocabularyTerm( + code="CERAMIC_LEGS", + label="Ceramic legs", + description="""Ceramic legs // Keramikschenkel""", + ) + + metallic_legs = VocabularyTerm( + code="METALLIC_LEGS", + label="Metallic legs", + description="""Metallic legs // Metallschenkel""", + ) + + +class MeasuringEquipment(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_MEASURING_EQUIPMENT", + description="""Measuring Equipment (Metadata, Measuring and test equipment, Elongation values and cross-sectional dimensions) // Messgeräte (Metadaten, Mess- und Prüfmittel, Dehnungswerte und Querschnittsabmessungen)""", + ) + + caliper_gauge = VocabularyTerm( + code="CALIPER_GAUGE", + label="Caliper gauge", + description="""Caliper gauge // Messschieber""", + ) + + measuring_microscope = VocabularyTerm( + code="MEASURING_MICROSCOPE", + label="Measuring microscope", + description="""Measuring microscope // Messmikroskop""", + ) + + micrometer_screw_gauge = VocabularyTerm( + code="MICROMETER_SCREW_GAUGE", + label="Micrometer screw gauge", + description="""Micrometer screw gauge // Bügelmessschraube""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (specify)", + description="""Other (specify) // andere (bitte angeben)""", + ) + + +class MeasuringEquipmentType(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_MEASURING_EQUIPMENT_TYPE", + description="""Type of measuring equipment (Metadata, Measuring and test equipment, Elongation values and cross-sectional dimensions) // Typ der Messgeräte (Metadaten, Mess- und Prüfmittel, Dehnungswerte und Querschnittsabmessungen)""", + ) + + digital = VocabularyTerm( + code="DIGITAL", + label="Digital", + description="""digital // digital""", + ) + + analog = VocabularyTerm( + code="ANALOG", + label="Analog", + description="""analog // analog""", + ) + + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (specify)", + description="""Other (specify) // andere (bitte angeben)""", + ) + + +class CreepTestDeterminationOfReferenceLength(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_DETERMINATION_OF_REFERENCE_LENGTH", + description="""Determination of Reference Length - Case 1 or Case 2 (see description) // Bestimmung der Referenzlänge - Fall 1 oder Fall 2 (siehe Beschreibung) """, + ) + + case_1 = VocabularyTerm( + code="CASE_1", + label="Case 1", + description="""Case 1 - Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are inside the parallel length, Lc. In this case Lr = Le (percentage extensions) or Lr = Lo (percentage elongations). // Fall 1 - Referenzlänge für die Berechnung der prozentualen Dehnungen/Verlängerungen, wenn die ursprüngliche Messlänge Lo und/oder der Dehnungsmesser Le innerhalb der parallelen Länge Lc liegen. In diesem Fall gilt Lr = Le (prozentuale Dehnungen) oder Lr = Lo (prozentuale Verlängerungen). +""", + ) + + case_2 = VocabularyTerm( + code="CASE_2", + label="Case 2", + description="""Case 2 - Reference length for calculation of percentage extensions/elongations if the original gauge length Lo and/or extensometer Le are outside the parallel length, Lc. In this case, Lr, for calculation of percentage is corrected to consider the strain contributions of the shoulders/ridges. + (Primary data, Test result, Values recorded at test start) // Fall 2 - Referenzlänge für die Berechnung der prozentualen Dehnungen/Verlängerungen, wenn die ursprüngliche Messlänge Lo und/oder der Dehnungsmesser Le außerhalb der parallelen Länge Lc liegen. In diesem Fall wird Lr für die Berechnung des Prozentsatzes korrigiert, um die Dehnungsbeiträge der Schultern/Kanten zu berücksichtigen. + (Primärdaten, Prüfergebnis, Zu Testbeginn erfasste Werte)""", + ) + + +class CreepTestFracturePosition(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_FRACTURE_POSITION", + description="""Fracture Position (Primary data, Test result, Values recorded after end of test) // Bruchposition (Primärdaten, Prüfergebnis, Nach Testende erfasste Werte)""", + ) + + centered = VocabularyTerm( + code="CENTERED", + label="Centered", + description="""centered // mittig""", + ) + + within_the_gauge_length = VocabularyTerm( + code="WITHIN_THE_GAUGE_LENGTH", + label="Within the gauge length", + description="""Within the gauge length // innerhalb der Messlänge""", + ) + + within_the_gauge_length_and_the_parallel_length = VocabularyTerm( + code="WITHIN_THE_GAUGE_LENGTH_AND_THE_PARALLEL_LENGTH", + label="Within the gauge length and the parallel length", + description="""Within the gauge length and the parallel length // innerhalb der Messlänge und der parallelen Länge""", + ) + + at_the_edge_of_the_upper_extensometer_gauge_length = VocabularyTerm( + code="AT_THE_EDGE_OF_THE_UPPER_EXTENSOMETER_GAUGE_LENGTH", + label="At the edge of the upper extensometer gauge length", + description="""At the edge of the upper extensometer gauge length // am Rand der oberen Extensometer-Messlänge""", + ) + + at_the_edge_of_the_lower_extensometer_gauge_length = VocabularyTerm( + code="AT_THE_EDGE_OF_THE_LOWER_EXTENSOMETER_GAUGE_LENGTH", + label="At the edge of the lower extensometer gauge length", + description="""At the edge of the lower extensometer gauge length // am Rand der unteren Extensometer-Messlänge""", + ) + + at_the_edge_of_the_upper_parallel_length = VocabularyTerm( + code="AT_THE_EDGE_OF_THE_UPPER_PARALLEL_LENGTH", + label="At the edge of the upper parallel length", + description="""At the edge of the upper parallel length // am Rand der oberen parallelen Länge""", + ) + + at_the_edge_of_the_lower_parallel_length = VocabularyTerm( + code="AT_THE_EDGE_OF_THE_LOWER_PARALLEL_LENGTH", + label="At the edge of the lower parallel length", + description="""At the edge of the lower parallel length // am Rand der unteren parallelen Länge""", + ) + + outside_the_extensometer_gauge_length = VocabularyTerm( + code="OUTSIDE_THE_EXTENSOMETER_GAUGE_LENGTH", + label="Outside the extensometer gauge length", + description="""Outside the extensometer gauge length // außerhalb der Extensometer-Messlänge""", + ) + + outside_the_extensometer_the_extensometer_gauge_length_and_the_parallel_length = VocabularyTerm( + code="OUTSIDE_THE_EXTENSOMETER_THE_EXTENSOMETER_GAUGE_LENGTH_AND_THE_PARALLEL_LENGTH", + label="Outside the extensometer the extensometer gauge length and the parallel length", + description="""Outside the extensometer the extensometer gauge length and the parallel length // außerhalb der Extensometer-Messlänge und der parallelen Länge""", + ) From 68e41081e90067fbc53ac57d53c1e097778754ed Mon Sep 17 00:00:00 2001 From: jpizarro Date: Tue, 19 May 2026 11:13:19 +0200 Subject: [PATCH 4/9] Added inline_comments.py script --- tools/scripts/inline_comments.py | 89 ++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 tools/scripts/inline_comments.py diff --git a/tools/scripts/inline_comments.py b/tools/scripts/inline_comments.py new file mode 100644 index 0000000..941394b --- /dev/null +++ b/tools/scripts/inline_comments.py @@ -0,0 +1,89 @@ +import argparse +import json +import re +from pathlib import Path + +PATTERNS = { + "questions": re.compile(r"^\s*#\s*\?(.*)"), + "todos": re.compile(r"^\s*#\s*TODO(.*)", re.IGNORECASE), + "checks": re.compile(r"^\s*#\s*!(.*)"), +} + + +def extract_markers(root: Path): + results = { + "questions": [], + "todos": [], + "checks": [], + } + + for pyfile in root.rglob("*.py"): + try: + lines = pyfile.read_text(encoding="utf-8").splitlines() + except Exception as exc: + print(f"Skipping {pyfile}: {exc}") + continue + + for lineno, line in enumerate(lines, start=1): + for category, pattern in PATTERNS.items(): + match = pattern.search(line) + + if match: + results[category].append( + { + "file": str(pyfile.relative_to(root)), + "line": lineno, + "text": match.group(1).strip(), + "raw": line.strip(), + } + ) + + return results + + +def write_outputs(results, output_dir: Path): + output_dir.mkdir(parents=True, exist_ok=True) + + for category, items in results.items(): + outfile = output_dir / f"{category}.json" + + with outfile.open("w", encoding="utf-8") as f: + json.dump(items, f, indent=2, ensure_ascii=False) + + print(f"Wrote {outfile} ({len(items)} entries)") + + +def parse_args(): + parser = argparse.ArgumentParser( + description="Extract special inline comments from Python modules." + ) + + parser.add_argument( + "path", + type=Path, + help="Path to the Python module/package", + ) + + parser.add_argument( + "-o", + "--output-dir", + type=Path, + default=Path("."), + help="Directory where JSON files will be written", + ) + + return parser.parse_args() + + +def main(): + args = parse_args() + + if not args.path.exists(): + raise SystemExit(f"Path does not exist: {args.path}") + + results = extract_markers(args.path) + write_outputs(results, args.output_dir) + + +if __name__ == "__main__": + main() From 991779057adf86a79c87bdb70cd6db2f2d3382a6 Mon Sep 17 00:00:00 2001 From: jpizarro Date: Wed, 24 Jun 2026 14:15:24 +0200 Subject: [PATCH 5/9] Final changes --- .../datamodel/creep_test/object_types.py | 179 +++++++----------- .../datamodel/creep_test/vocabularies.py | 87 +++++++++ 2 files changed, 156 insertions(+), 110 deletions(-) diff --git a/bam_masterdata/datamodel/creep_test/object_types.py b/bam_masterdata/datamodel/creep_test/object_types.py index 5a021b4..194c900 100644 --- a/bam_masterdata/datamodel/creep_test/object_types.py +++ b/bam_masterdata/datamodel/creep_test/object_types.py @@ -1,4 +1,12 @@ -from bam_masterdata.datamodel.object_types import ExperimentalStep, Instrument, Sample +from bam_masterdata.datamodel.object_types import ( + ComputationalAnalysis, + EnvironmentalConditions, + ExperimentalStep, + Instrument, + InstrumentAccessory, + Sample, + TestingMachine, +) from bam_masterdata.metadata.definitions import ObjectTypeDef, PropertyTypeAssignment from bam_masterdata.metadata.entities import ObjectType @@ -42,48 +50,12 @@ class CreepTest(MechanicalTest): link_test_machine = PropertyTypeAssignment( code="CREEP_TEST_LINK_TEST_MACHINE", data_type="OBJECT", - object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE", + object_code="TESTING_MACHINE.CREEP_TEST_TEST_MACHINE", property_label="Test machine", description="""Linked object: Test machine""", mandatory=False, section="Linked objects", ) - link_test_machine_heating_system = PropertyTypeAssignment( - code="CREEP_TEST_LINK_TEST_MACHINE_HEATING_SYSTEM", - data_type="OBJECT", - object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_HEATING_SYSTEM", - property_label="Heating system", - description="""Linked object: Heating system""", - mandatory=False, - section="Linked objects", - ) - link_test_machine_holder_system = PropertyTypeAssignment( - code="CREEP_TEST_LINK_TEST_MACHINE_HOLDER_SYSTEM", - data_type="OBJECT", - object_code="INSTRUMENT.CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", - property_label="Test piece holder system", - description="""Linked object: Test piece holder system""", - mandatory=False, - section="Linked objects", - ) - link_test_machine_loading_system = PropertyTypeAssignment( - code="CREEP_TEST_LINK_TEST_MACHINE_LOADING_SYSTEM", - data_type="OBJECT", - object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM", - property_label="Loading system", - description="""Linked object: Loading system""", - mandatory=False, - section="Linked objects", - ) - link_test_machine_data_acquisition = PropertyTypeAssignment( - code="CREEP_TEST_LINK_TEST_MACHINE_DATA_ACQUISITION", - data_type="OBJECT", - object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_DATA_ACQUISITION", - property_label="Data acquisition (test machine)", - description="""Linked object: Data acquisition (test machine)""", - mandatory=False, - section="Linked objects", - ) link_load_sensor = PropertyTypeAssignment( code="CREEP_TEST_LINK_LOAD_SENSOR", @@ -94,11 +66,10 @@ class CreepTest(MechanicalTest): mandatory=False, section="Linked objects", ) - # ? is this necessary? only a boolean inside CREEP_TEST_LINK_LOAD_MEASURING_DATA_ACQUISITION link_load_measuring_data_acquisition = PropertyTypeAssignment( code="CREEP_TEST_LINK_LOAD_MEASURING_DATA_ACQUISITION", data_type="OBJECT", - object_code="INSTRUMENT.CREEP_TEST_LOAD_DATA_ACQUISITION", + object_code="CREEP_TEST_LOAD_DATA_ACQUISITION", property_label="Load measuring system data acquisition", description="""Linked object: Load measuring system data acquisition""", mandatory=False, @@ -108,7 +79,7 @@ class CreepTest(MechanicalTest): link_laboratory_conditions = PropertyTypeAssignment( code="CREEP_TEST_LINK_LABORATORY_CONDITIONS", data_type="OBJECT", - object_code="INSTRUMENT.CREEP_TEST_LABORATORY_CONDITIONS", + object_code="ENVIRONMENTAL_CONDITIONS.CREEP_TEST_LABORATORY_CONDITIONS", property_label="Laboratory conditions", description="""Linked object: Laboratory conditions""", mandatory=False, @@ -175,7 +146,7 @@ class CreepTest(MechanicalTest): link_data_processing = PropertyTypeAssignment( code="CREEP_TEST_LINK_DATA_PROCESSING", data_type="OBJECT", - object_code="CREEP_TEST_DATA_PROCESSING_PROCEDURES", + object_code="COMPUTATIONAL_ANALYSIS.CREEP_TEST_DATA_PROCESSING_PROCEDURES", property_label="Data processing procedures", description="""Linked object: Data processing procedures""", mandatory=False, @@ -249,12 +220,12 @@ class CreepTest(MechanicalTest): mandatory=True, section="Test job details", ) - # ? check if this is abstract enough for EXPERIMENTAL_STEP creep_test_project_id = PropertyTypeAssignment( - code="CREEP_TEST_PROJECT_ID", - data_type="VARCHAR", + code="CREEP_TEST_LINK_PROJECT", + data_type="OBJECT", + object_code="PROJECT", property_label="Project", - description="""Project identifier (name, unique id, etc.)""", + description="""Linked object: Project associated with this creep test // Verknüpftes Objekt: Projekt, dem dieser Kriechversuch zugeordnet ist""", mandatory=False, section="Test job details", ) @@ -664,7 +635,8 @@ class CreepTestMaterialHistoryAndCondition(ObjectType): ) creep_test_measured_condition = PropertyTypeAssignment( code="CREEP_TEST_MEASURED_CONDITION", - data_type="VARCHAR", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_MEASURED_CONDITION", property_label="Measured condition", description="""Measured condition - E.g., as-manufactured, heat-treated, before testing, after testing // Gemessener Zustand - z. B. wie hergestellt, wärmebehandelt, vor der Prüfung, nach der Prüfung""", mandatory=True, @@ -822,7 +794,6 @@ class CreepTestMaterialHistoryAndCondition(ObjectType): class CreepTestChemicalCompositionNominal(ObjectType): - # ? check its relation with Chemical defs = ObjectTypeDef( code="CREEP_TEST_CHEMICAL_COMPOSITION_NOMINAL", description="""Material history and condition / Chemical composition (NOMINAL) // Materialhistorie und Zustand / Chemische Zusammensetzung (NOMINAL)""", @@ -855,8 +826,8 @@ class CreepTestChemicalCompositionNominal(ObjectType): section="Chemical composition", ) creep_test_chemical_composition_nominal = PropertyTypeAssignment( - code="CHEM_SPECIES_BY_COMP_IN_PCT", # ? check this code (why compacting it?) - data_type="REAL", + code="CHEM_SPECIES_BY_COMP_IN_PCT", + data_type="VARCHAR", property_label="Chemical composition - nominal [wt.-% / at.-%]", units="%", description="""Chemical composition - nominal - Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung - nominal [wt.-% / at.-%] - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", @@ -866,7 +837,6 @@ class CreepTestChemicalCompositionNominal(ObjectType): class CreepTestChemicalCompositionMeasured(ObjectType): - # ? check its relation with Chemical defs = ObjectTypeDef( code="CREEP_TEST_CHEMICAL_COMPOSITION_MEASURED", description="""Material history and condition / Chemical composition (MEASURED) // Materialhistorie und Zustand / Chemische Zusammensetzung (MEASURED)""", @@ -899,8 +869,8 @@ class CreepTestChemicalCompositionMeasured(ObjectType): section="Chemical composition", ) creep_test_chemical_composition_measured = PropertyTypeAssignment( - code="CHEM_SPECIES_BY_COMP_IN_PCT", # ? check this code (why compacting it?) - data_type="REAL", + code="CHEM_SPECIES_BY_COMP_IN_PCT", + data_type="VARCHAR", property_label="Chemical composition - measured [wt.-% / at.-%]", units="%", description="""Chemical composition - measured - Include precision, if available. Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung - gemessen [wt.-% / at.-%] - Geben Sie, falls verfügbar, die Präzision an. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", @@ -910,7 +880,6 @@ class CreepTestChemicalCompositionMeasured(ObjectType): class CreepTestMaterialHistoryNDTResults(ObjectType): - # ? check if we need to define Results object type defs = ObjectTypeDef( code="CREEP_TEST_MATERIAL_HISTORY_NDT_RESULTS", description="""Material history and condition / NDT Results // Materialhistorie und Zustand / ZfP-Ergebnisse""", @@ -936,7 +905,6 @@ class CreepTestMaterialHistoryNDTResults(ObjectType): class CreepTestMaterialHistoryMechanicalTestsResults(ObjectType): - # ? check if we need to define Results object type defs = ObjectTypeDef( code="CREEP_TEST_MATERIAL_HISTORY_MECHANICAL_TESTS_RESULTS", description="""Material history and condition / Mechanical tests results // Materialhistorie und Zustand / Ergebnisse mechanischer Prüfungen""", @@ -972,7 +940,6 @@ class CreepTestMaterialHistoryMechanicalTestsResults(ObjectType): class CreepTestTestPiece(Sample): - # ? check its relation with Sample defs = ObjectTypeDef( code="SAMPLE.CREEP_TEST_TEST_PIECE", description="""Test piece // Probekörper""", @@ -1064,19 +1031,18 @@ class CreepTestTestPiece(Sample): ) -class CreepTestTestMachine(Instrument): - # ? check its relation with Instrument +class CreepTestTestMachine(TestingMachine): defs = ObjectTypeDef( - code="INSTRUMENT.CREEP_TEST_TEST_MACHINE", + code="TESTING_MACHINE.CREEP_TEST_TEST_MACHINE", description="""Measuring and test equipment / Test machine // Mess- und Prüfmittel / Prüfmaschine""", - generated_code_prefix="INS.CREEP_MACHI", + generated_code_prefix="TM.CREEP_MACHI", ) # --- Links to test machine sub-systems (OBJECT properties) --- link_heating_system = PropertyTypeAssignment( code="CREEP_TEST_TEST_MACHINE_LINK_HEATING_SYSTEM", data_type="OBJECT", - object_code="CREEP_TEST_TEST_MACHINE_HEATING_SYSTEM", + object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_HEATING_SYSTEM", property_label="Heating system", description="""Linked object: Heating system""", mandatory=False, @@ -1085,7 +1051,7 @@ class CreepTestTestMachine(Instrument): link_holder_system = PropertyTypeAssignment( code="CREEP_TEST_TEST_MACHINE_LINK_HOLDER_SYSTEM", data_type="OBJECT", - object_code="CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", + object_code="INSTRUMENT_ACCESSORY.CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", property_label="Test piece holder system", description="""Linked object: Test piece holder system""", mandatory=False, @@ -1094,7 +1060,7 @@ class CreepTestTestMachine(Instrument): link_loading_system = PropertyTypeAssignment( code="CREEP_TEST_TEST_MACHINE_LINK_LOADING_SYSTEM", data_type="OBJECT", - object_code="CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM", + object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM", property_label="Loading system", description="""Linked object: Loading system""", mandatory=False, @@ -1103,7 +1069,7 @@ class CreepTestTestMachine(Instrument): link_data_acquisition = PropertyTypeAssignment( code="CREEP_TEST_TEST_MACHINE_LINK_DATA_ACQUISITION", data_type="OBJECT", - object_code="CREEP_TEST_TEST_MACHINE_DATA_ACQUISITION", + object_code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_DATA_ACQUISITION", property_label="Data acquisition", description="""Linked object: Data acquisition""", mandatory=False, @@ -1172,7 +1138,6 @@ class CreepTestTestMachine(Instrument): class CreepTestTestMachineHeatingSystem(Instrument): - # ? probably this is related with Furnace metainformation defs = ObjectTypeDef( code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_HEATING_SYSTEM", description="""Measuring and test equipment / Test machine / Heating system // Mess- und Prüfmittel / Prüfmaschine / Heizsystem""", @@ -1189,12 +1154,11 @@ class CreepTestTestMachineHeatingSystem(Instrument): ) -class CreepTestTestPieceHolderSystem(Instrument): - # ? probably this is related with Holder metainformation +class CreepTestTestPieceHolderSystem(InstrumentAccessory): defs = ObjectTypeDef( - code="INSTRUMENT.CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", + code="INSTRUMENT_ACCESSORY.CREEP_TEST_TEST_PIECE_HOLDER_SYSTEM", description="""Measuring and test equipment / Test machine / Test piece holder system // Mess- und Prüfmittel / Prüfmaschine / Probenhaltersystem""", - generated_code_prefix="INS.CREEP_PIECE_HOLDE", + generated_code_prefix="INS_ACC.CREEP_PIECE_HOLDE", ) creep_test_fixing_technique = PropertyTypeAssignment( code="CREEP_TEST_FIXING_TECHNIQUE", @@ -1208,7 +1172,6 @@ class CreepTestTestPieceHolderSystem(Instrument): class CreepTestTestMachineLoadingSystem(Instrument): - # ? is this Calibration metainformation? defs = ObjectTypeDef( code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM", description="""Measuring and test equipment / Test machine / Loading system // Mess- und Prüfmittel / Prüfmaschine / Belastungssystem""", @@ -1225,7 +1188,7 @@ class CreepTestTestMachineLoadingSystem(Instrument): ) creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="REAL", + data_type="VARCHAR", property_label="Calibration certificate", description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. Please specify which device/feature/part of the test machine was calibrated. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten. Bitte geben Sie an, welches Gerät/Feature/welcher Teil der Prüfmaschine kalibriert wurde.""", mandatory=False, @@ -1248,7 +1211,7 @@ class CreepTestTestMachineLoadingSystem(Instrument): section="Loading system", ) creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_LOAD_SYSTEM_CALIBRATION_STANDARD", + code="CREEP_TEST_LOADING_SYSTEM_CALIBRATION_STANDARD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_LOAD_SYSTEM_CALIBRATION_STANDARD", property_label="Calibration standard", @@ -1292,7 +1255,6 @@ class CreepTestTestMachineLoadingSystem(Instrument): class CreepTestTestMachineDataAcquisition(Instrument): - # ? this is possibly related with Software metainformation defs = ObjectTypeDef( code="INSTRUMENT.CREEP_TEST_TEST_MACHINE_DATA_ACQUISITION", description="""Measuring and test equipment / Test machine / Data acquisition // Mess- und Prüfmittel / Prüfmaschine / Datenerfassung""", @@ -1342,7 +1304,6 @@ class CreepTestTestMachineDataAcquisition(Instrument): class CreepTestLoadSensor(Instrument): - # ? why is this different from CREEP_TEST_TEST_MACHINE_LOADING_SYSTEM? defs = ObjectTypeDef( code="INSTRUMENT.CREEP_TEST_LOAD_SENSOR", description="""Measuring and test equipment / Load-measuring system / Load sensor // Mess- und Prüfmittel / Kraftmesssystem / Kraftsensor""", @@ -1367,7 +1328,7 @@ class CreepTestLoadSensor(Instrument): ) creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="REAL", + data_type="VARCHAR", property_label="Calibration certificate", description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link to file, preferably with machine-readable (meta)data.""", mandatory=False, @@ -1389,10 +1350,10 @@ class CreepTestLoadSensor(Instrument): mandatory=True, section="Load sensor", ) - # ? sometimes this CALIBRATION_STANDARD is a REAL, sometimes a CONTROLLEDVOCABULARY. Check this. creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_STANDARD", - data_type="REAL", + code="CREEP_TEST_LOAD_SENSOR_CALIBRATION_STANDARD", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_LOAD_SYSTEM_CALIBRATION_STANDARD", property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, @@ -1417,13 +1378,11 @@ class CreepTestLoadSensor(Instrument): ) -class CreepTestLoadDataAcquisition(Instrument): - # ? is this necessary? - # ? is this an Instrument? +class CreepTestLoadDataAcquisition(ObjectType): defs = ObjectTypeDef( - code="INSTRUMENT.CREEP_TEST_LOAD_DATA_ACQUISITION", + code="CREEP_TEST_LOAD_DATA_ACQUISITION", description="""Measuring and test equipment / Load-measuring system / Data acquisition // Mess- und Prüfmittel / Kraftmesssystem / Datenerfassung""", - generated_code_prefix="INS.CREEP_LOAD_DATA_ACQU", + generated_code_prefix="CREEP_LOAD_DATA_ACQU", ) creep_test_force_recording = PropertyTypeAssignment( code="CREEP_TEST_FORCE_RECORDING", @@ -1435,12 +1394,11 @@ class CreepTestLoadDataAcquisition(Instrument): ) -class CreepTestLaboratoryConditions(Instrument): - # ? is this an Instrument? +class CreepTestLaboratoryConditions(EnvironmentalConditions): defs = ObjectTypeDef( - code="INSTRUMENT.CREEP_TEST_LABORATORY_CONDITIONS", - description="""Metadata / Measuring and test equipment / Laboratory conditions // Metadaten / Mess- und Prüfmittel / Laborbedingungen""", - generated_code_prefix="INS.CREEP_LABOR_CONDI", + code="ENVIRONMENTAL_CONDITIONS.CREEP_TEST_LABORATORY_CONDITIONS", + description="""Metadata / Environmental conditions / Laboratory conditions during creep test // Metadaten / Umgebungsbedingungen / Laborbedingungen während des Kriechversuchs""", + generated_code_prefix="ENV.CREEP_LABOR_CONDI", ) creep_test_room_temperature = PropertyTypeAssignment( code="CREEP_TEST_ROOM_TEMPERATURE", @@ -1536,17 +1494,17 @@ class CreepTestTemperatureSensor(Instrument): mandatory=False, section="Temperature sensor", ) - # ? extend this status to a CONTROLLEDVOCABULARY eventually creep_test_calibration_status = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STATUS", - data_type="BOOLEAN", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_CALIBRATION_STATUS", property_label="Is/are the thermocouples calibrated?", description="""Calibration status - Is/are the thermocouples calibrated? // Kalibrierstatus - Ist/sind das/die Thermoelement(e) kalibriert?""", mandatory=True, section="Temperature sensor", ) creep_test_calibration_method = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_METHOD", + code="CREEP_TEST_TEMPERATURE_SENSOR_CALIBRATION_METHOD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_METHOD", property_label="Calibration method", @@ -1555,7 +1513,7 @@ class CreepTestTemperatureSensor(Instrument): section="Temperature sensor", ) creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STANDARD", + code="CREEP_TEST_TEMPERATURE_SENSOR_CALIBRATION_STANDARD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_THERMOCOUPLE_CALIBRATION_STANDARD", property_label="Calibration standard", @@ -1565,7 +1523,7 @@ class CreepTestTemperatureSensor(Instrument): ) creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="REAL", + data_type="VARCHAR", property_label="Calibration certificate", description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, @@ -1643,7 +1601,8 @@ class CreepTestTemperatureDataAcquisition(Instrument): creep_test_calibration_status = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STATUS", - data_type="BOOLEAN", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_CALIBRATION_STATUS", property_label="Is/are the data acquisition unit calibrated?", description="""Calibration status - Is/are the data acquisition unit calibrated? // Kalibrierstatus - Ist/sind die Datenerfassungseinheit(en) kalibriert?""", mandatory=True, @@ -1660,7 +1619,7 @@ class CreepTestTemperatureDataAcquisition(Instrument): ) creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="REAL", + data_type="VARCHAR", property_label="Calibration certificate", description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, @@ -1682,17 +1641,16 @@ class CreepTestTemperatureDataAcquisition(Instrument): mandatory=True, section="Data acquisition", ) - # ? sometimes the METHOD is a REAL, sometimes is a CONTROLLEDVOCABULARY creep_test_calibration_method = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_METHOD", - data_type="REAL", + code="CREEP_TEST_TEMPERATURE_DAQ_CALIBRATION_METHOD", + data_type="VARCHAR", property_label="Calibration method", description="""Calibration method // Kalibriermethode""", mandatory=True, section="Data acquisition", ) creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_DATA_ACQUISITION_CALIBRATION_STANDARD", + code="CREEP_TEST_TEMPERATURE_DAQ_CALIBRATION_STANDARD", data_type="CONTROLLEDVOCABULARY", vocabulary_code="CREEP_TEST_DATA_ACQUISITION_CALIBRATION_STANDARD", property_label="Calibration standard", @@ -1702,7 +1660,7 @@ class CreepTestTemperatureDataAcquisition(Instrument): ) creep_test_temperature_deviation = PropertyTypeAssignment( code="CREEP_TEST_TEMPERATURE_DEVIATION", - data_type="REAL", + data_type="VARCHAR", property_label="Temperature deviation", units="degC", description="""Temperature deviation - Measurement deviation detected during calibration // Temperaturabweichung [°C] - Bei der Kalibrierung festgestellte Messabweichung""", @@ -1868,7 +1826,7 @@ class CreepTestExtensionValuesContactingExtensometer(Instrument): ) creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="REAL", + data_type="VARCHAR", property_label="Calibration certificate", description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, @@ -1908,8 +1866,8 @@ class CreepTestExtensionValuesContactingExtensometer(Instrument): section="Contacting extensometer", ) creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_STANDARD", - data_type="REAL", + code="CREEP_TEST_EXTENSOMETER_CALIBRATION_STANDARD", + data_type="VARCHAR", property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, @@ -1977,7 +1935,8 @@ class CreepTestElongationValuesAndCrossSectionalDimensions(Instrument): ) creep_test_calibration_status = PropertyTypeAssignment( code="CREEP_TEST_CALIBRATION_STATUS", - data_type="BOOLEAN", + data_type="CONTROLLEDVOCABULARY", + vocabulary_code="CREEP_TEST_CALIBRATION_STATUS", property_label="Is the measuring equipment calibrated?", description="""Calibration status - Is the measuring equipment calibrated? // Kalibrierstatus - Sind/Waren die Messgeräte kalibriert?""", mandatory=True, @@ -1985,7 +1944,7 @@ class CreepTestElongationValuesAndCrossSectionalDimensions(Instrument): ) creep_test_calibration_certificate = PropertyTypeAssignment( code="CALIBRATION_CERTIFICATE_NUMBER", - data_type="REAL", + data_type="VARCHAR", property_label="Calibration certificate", description="""Calibration certificate - Link to file, preferably with machine-readable (meta)data. // Kalibrierzertifikat - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten.""", mandatory=False, @@ -2025,8 +1984,8 @@ class CreepTestElongationValuesAndCrossSectionalDimensions(Instrument): section="Elongation values and cross-sectional dimensions", ) creep_test_calibration_standard = PropertyTypeAssignment( - code="CREEP_TEST_CALIBRATION_STANDARD", - data_type="REAL", + code="CREEP_TEST_ELONGATION_MEASURING_EQUIPMENT_CALIBRATION_STANDARD", + data_type="VARCHAR", property_label="Calibration standard", description="""Calibration standard // Kalibrierstandard""", mandatory=True, @@ -2034,11 +1993,11 @@ class CreepTestElongationValuesAndCrossSectionalDimensions(Instrument): ) -class CreepTestDataProcessingProcedures(ObjectType): +class CreepTestDataProcessingProcedures(ComputationalAnalysis): defs = ObjectTypeDef( - code="CREEP_TEST_DATA_PROCESSING_PROCEDURES", + code="COMPUTATIONAL_ANALYSIS.CREEP_TEST_DATA_PROCESSING_PROCEDURES", description="""Metadata / Data processing procedures // Metadaten / Datenverarbeitungsverfahren""", - generated_code_prefix="CREEP_DATA_PROCE", + generated_code_prefix="COMP.CREEP_DATA_PROCE", ) creep_test_primary_data_series = PropertyTypeAssignment( diff --git a/bam_masterdata/datamodel/creep_test/vocabularies.py b/bam_masterdata/datamodel/creep_test/vocabularies.py index df33a78..d72a30d 100644 --- a/bam_masterdata/datamodel/creep_test/vocabularies.py +++ b/bam_masterdata/datamodel/creep_test/vocabularies.py @@ -977,3 +977,90 @@ class CreepTestFracturePosition(VocabularyType): label="Outside the extensometer the extensometer gauge length and the parallel length", description="""Outside the extensometer the extensometer gauge length and the parallel length // außerhalb der Extensometer-Messlänge und der parallelen Länge""", ) + + +class CreepTestCalibrationStatus(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_CALIBRATION_STATUS", + description="""Calibration status for creep-test instruments and measuring equipment // Kalibrierstatus für Kriechversuchsgeräte und Messmittel""", + ) + calibrated = VocabularyTerm( + code="CALIBRATED", + label="Calibrated", + description="""Calibrated // kalibriert""", + ) + not_calibrated = VocabularyTerm( + code="NOT_CALIBRATED", + label="Not calibrated", + description="""Not calibrated // nicht kalibriert""", + ) + expired = VocabularyTerm( + code="EXPIRED", + label="Expired", + description="""Calibration expired // Kalibrierung abgelaufen""", + ) + unknown = VocabularyTerm( + code="UNKNOWN", + label="Unknown", + description="""Unknown // unbekannt""", + ) + not_applicable = VocabularyTerm( + code="NOT_APPLICABLE", + label="Not applicable", + description="""Not applicable // nicht zutreffend""", + ) + + +class ThermocoupleType(VocabularyType): + defs = VocabularyTypeDef( + code="THERMOCOUPLE_TYPE", + description="""Thermocouple type // Thermoelementtyp""", + ) + type_k = VocabularyTerm( + code="TYPE_K", + label="Type K", + description="""Type K // Typ K""", + ) + type_n = VocabularyTerm( + code="TYPE_N", + label="Type N", + description="""Type N // Typ N""", + ) + type_s = VocabularyTerm( + code="TYPE_S", + label="Type S", + description="""Type S // Typ S""", + ) + type_r = VocabularyTerm( + code="TYPE_R", + label="Type R", + description="""Type R // Typ R""", + ) + other_specify = VocabularyTerm( + code="OTHER_SPECIFY", + label="Other (Specify)", + description="""Other (Specify) // andere (bitte angeben)""", + ) + + +class CreepTestNumberOfThermocouples(VocabularyType): + defs = VocabularyTypeDef( + code="CREEP_TEST_NUMBER_OF_THERMOCOUPLES", + description="""Number of thermocouples used in the creep-test temperature measurement // Anzahl der im Kriechversuch verwendeten Thermoelemente""", + ) + one = VocabularyTerm( + code="ONE", + label="1", + description="""One thermocouple // ein Thermoelement""", + ) + two = VocabularyTerm( + code="TWO", + label="2", + description="""Two thermocouples // zwei Thermoelemente""", + ) + three = VocabularyTerm( + code="THREE", + label="3", + description="""Three thermocouples // drei Thermoelemente""", + ) + From a6083676f96d201ab3411cd8cb7e32221651d9c5 Mon Sep 17 00:00:00 2001 From: jpizarro Date: Wed, 24 Jun 2026 14:23:48 +0200 Subject: [PATCH 6/9] Fix precommit --- bam_masterdata/datamodel/creep_test/vocabularies.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bam_masterdata/datamodel/creep_test/vocabularies.py b/bam_masterdata/datamodel/creep_test/vocabularies.py index d72a30d..bdeb361 100644 --- a/bam_masterdata/datamodel/creep_test/vocabularies.py +++ b/bam_masterdata/datamodel/creep_test/vocabularies.py @@ -1063,4 +1063,3 @@ class CreepTestNumberOfThermocouples(VocabularyType): label="3", description="""Three thermocouples // drei Thermoelemente""", ) - From 42602894be00d0a5bba0adb2d842264e0cb053d2 Mon Sep 17 00:00:00 2001 From: jpizarro Date: Wed, 24 Jun 2026 14:24:38 +0200 Subject: [PATCH 7/9] Added Markus Schilling as owner of datamodel/creep_test subfolder --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b8cb959..4698c12 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -8,3 +8,4 @@ # Specific datamodel subfolders # Owners of individual datamodel directories and its subdirectories /bam_masterdata/datamodel/welding/ @CagtayFabry +/bam_masterdata/datamodel/creep_test/ @MarkusSchilling From 336150cdfa6458b54cdafbc2c83ff0beba3c0612 Mon Sep 17 00:00:00 2001 From: jpizarro Date: Wed, 24 Jun 2026 14:57:14 +0200 Subject: [PATCH 8/9] Fix code length to max 50 in vocabulary terms Fix [] broken property_label in two properties --- .../datamodel/creep_test/object_types.py | 4 ++-- .../datamodel/creep_test/vocabularies.py | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bam_masterdata/datamodel/creep_test/object_types.py b/bam_masterdata/datamodel/creep_test/object_types.py index 194c900..307b599 100644 --- a/bam_masterdata/datamodel/creep_test/object_types.py +++ b/bam_masterdata/datamodel/creep_test/object_types.py @@ -828,7 +828,7 @@ class CreepTestChemicalCompositionNominal(ObjectType): creep_test_chemical_composition_nominal = PropertyTypeAssignment( code="CHEM_SPECIES_BY_COMP_IN_PCT", data_type="VARCHAR", - property_label="Chemical composition - nominal [wt.-% / at.-%]", + property_label="Chemical composition - nominal", units="%", description="""Chemical composition - nominal - Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung - nominal [wt.-% / at.-%] - Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", mandatory=True, @@ -871,7 +871,7 @@ class CreepTestChemicalCompositionMeasured(ObjectType): creep_test_chemical_composition_measured = PropertyTypeAssignment( code="CHEM_SPECIES_BY_COMP_IN_PCT", data_type="VARCHAR", - property_label="Chemical composition - measured [wt.-% / at.-%]", + property_label="Chemical composition - measured", units="%", description="""Chemical composition - measured - Include precision, if available. Link to file, preferably with machine-readable (meta)data or add the wt.-% value of for each element // Chemische Zusammensetzung - gemessen [wt.-% / at.-%] - Geben Sie, falls verfügbar, die Präzision an. Link zu einer Datei, vorzugsweise mit maschinenlesbaren (Meta-)Daten, oder geben Sie für jedes Element den Gewichts-%-Wert an.""", mandatory=True, diff --git a/bam_masterdata/datamodel/creep_test/vocabularies.py b/bam_masterdata/datamodel/creep_test/vocabularies.py index bdeb361..7210ec1 100644 --- a/bam_masterdata/datamodel/creep_test/vocabularies.py +++ b/bam_masterdata/datamodel/creep_test/vocabularies.py @@ -9,7 +9,7 @@ class CreepTestStandard(VocabularyType): ) iso_204 = VocabularyTerm( - code="DIN EN ISO_204", + code="DIN_EN_ISO_204", label="DIN EN ISO 204", description="""DIN EN ISO 204 - Metallic materials - Uniaxial creep testing in tension - Method of test // DIN EN ISO 204 - Metallische Werkstoffe - Einachsiger Zeitstandversuch unter Zugbeanspruchung - Prüfverfahren""", ) @@ -77,20 +77,20 @@ class CreepTestType(VocabularyType): description="""Test Type (Metadata, Test info, Test parameters) // Test-Typ (Metadaten, Test-Information, Test-Parameter)""", ) - uninterrupted_creep_tests_with_continuous_monitoring_of_extension = VocabularyTerm( - code="UNINTERRUPTED_CREEP_TESTS_WITH_CONTINUOUS_MONITORING_OF_EXTENSION", + uninterrupted_creep_tests_continuous_extension = VocabularyTerm( + code="UNINTERRUPTED_CREEP_TESTS_CONTINUOUS_EXTENSION", label="Uninterrupted creep tests with continuous monitoring of extension", description="""Uninterrupted creep tests with continuous monitoring of extension // Ununterbrochene Kriechprüfungen mit kontinuierlicher Überwachung der Verlängerung""", ) - interrupted_creep_tests_with_periodic_measurement_of_elongation = VocabularyTerm( - code="INTERRUPTED_CREEP_TESTS_WITH_PERIODIC_MEASUREMENT_OF_ELONGATION", + interrupted_creep_tests_periodic_elongation = VocabularyTerm( + code="INTERRUPTED_CREEP_TESTS_PERIODIC_ELONGATION", label="Interrupted creep tests with periodic measurement of elongation", description="""Interrupted creep tests with periodic measurement of elongation // Unterbrochene Kriechprüfungen mit periodischer Messung der Verlängerung""", ) - stress_rupture_tests_where_normally_only_the_time_to_fracture_is_measured = VocabularyTerm( - code="STRESS_RUPTURE_TESTS_WHERE_NORMALLY_ONLY_THE_TIME_TO_FRACTURE_IS_MEASURED", + stress_rupture_tests_time_to_fracture_measured = VocabularyTerm( + code="STRESS_RUPTURE_TESTS_TIME_TO_FRACTURE_MEASURED", label="Stress rupture tests where normally only the time to fracture is measured", description="""Stress rupture tests where normally only the time to fracture is measured // Spannungsbruchprüfungen, bei denen normalerweise nur die Zeit bis zum Bruch gemessen wird""", ) @@ -972,8 +972,8 @@ class CreepTestFracturePosition(VocabularyType): description="""Outside the extensometer gauge length // außerhalb der Extensometer-Messlänge""", ) - outside_the_extensometer_the_extensometer_gauge_length_and_the_parallel_length = VocabularyTerm( - code="OUTSIDE_THE_EXTENSOMETER_THE_EXTENSOMETER_GAUGE_LENGTH_AND_THE_PARALLEL_LENGTH", + outside_extensometer_gauge_and_parallel_length = VocabularyTerm( + code="OUTSIDE_EXTENSOMETER_GAUGE_AND_PARALLEL_LENGTH", label="Outside the extensometer the extensometer gauge length and the parallel length", description="""Outside the extensometer the extensometer gauge length and the parallel length // außerhalb der Extensometer-Messlänge und der parallelen Länge""", ) From 05d8aedb1923d8b26349a1ca8f0a898daf799e24 Mon Sep 17 00:00:00 2001 From: jpizarro Date: Wed, 24 Jun 2026 15:02:42 +0200 Subject: [PATCH 9/9] Added validation max 50 characters in VocabularyTerm --- bam_masterdata/metadata/definitions.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bam_masterdata/metadata/definitions.py b/bam_masterdata/metadata/definitions.py index aaa9106..117cb08 100644 --- a/bam_masterdata/metadata/definitions.py +++ b/bam_masterdata/metadata/definitions.py @@ -612,3 +612,12 @@ class DocumentType(VocabularyType): True, description="""""", ) + + @field_validator("code") + @classmethod + def validate_code_length(cls, value: str) -> str: + if len(value) > 50: + raise ValueError( + f"VocabularyTerm code must not exceed 50 characters (got {len(value)} characters)." + ) + return value