@memoarchitect/ontology 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/examples/connected-patient-monitor/model/catalog/connected_patient_monitor.sysml +11 -18
- package/examples/connected-patient-monitor/model/catalog/viewpoints/logical/views/connected_patient_monitor_overview.sysml +1 -3
- package/examples/connected-patient-monitor/model/methodology/project.sysml +2 -6
- package/examples/embedded-infusion-pump/model/catalog/embedded_infusion_pump.sysml +35 -47
- package/examples/embedded-infusion-pump/model/catalog/viewpoints/logical/views/embedded_infusion_pump_overview.sysml +1 -3
- package/examples/embedded-infusion-pump/model/methodology/project.sysml +2 -6
- package/examples/functional-logical-physical/model/catalog/functional_logical_physical.sysml +24 -36
- package/examples/functional-logical-physical/model/catalog/viewpoints/logical/views/functional_logical_physical_overview.sysml +1 -3
- package/examples/functional-logical-physical/model/methodology/project.sysml +2 -6
- package/examples/gastric-bypass-variants/model/catalog/gastric_bypass_variants.sysml +5 -19
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/clinical_workflow/views/bypass_flow.sysml +1 -5
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/functional/views/bypass_flows.sysml +1 -5
- package/examples/gastric-bypass-variants/model/catalog/viewpoints/operational/views/bypass_flows.sysml +1 -5
- package/examples/gastric-bypass-variants/model/methodology/project.sysml +2 -6
- package/examples/gpca-pump/methodology/gpca_methodology.sysml +2 -4
- package/examples/gpca-pump/methodology/gpca_profiles.sysml +1 -10
- package/examples/gpca-pump/model/catalog/gpca_analysis.sysml +27 -30
- package/examples/gpca-pump/model/catalog/gpca_architecture.sysml +125 -136
- package/examples/gpca-pump/model/catalog/gpca_behavior_actions.sysml +1 -5
- package/examples/gpca-pump/model/catalog/gpca_behavior_modes.sysml +40 -44
- package/examples/gpca-pump/model/catalog/gpca_behavior_subsystems.sysml +36 -45
- package/examples/gpca-pump/model/catalog/gpca_context.sysml +14 -26
- package/examples/gpca-pump/model/catalog/gpca_cybersecurity.sysml +21 -29
- package/examples/gpca-pump/model/catalog/gpca_devices.sysml +4 -7
- package/examples/gpca-pump/model/catalog/gpca_formal_behavior.sysml +21 -28
- package/examples/gpca-pump/model/catalog/gpca_interfaces.sysml +14 -22
- package/examples/gpca-pump/model/catalog/gpca_operational.sysml +45 -55
- package/examples/gpca-pump/model/catalog/gpca_physical.sysml +7 -11
- package/examples/gpca-pump/model/catalog/gpca_requirements.sysml +211 -215
- package/examples/gpca-pump/model/catalog/gpca_risk.sysml +87 -106
- package/examples/gpca-pump/model/catalog/gpca_standards.sysml +44 -53
- package/examples/gpca-pump/model/catalog/gpca_system.sysml +15 -22
- package/examples/gpca-pump/model/catalog/gpca_trace.sysml +301 -322
- package/examples/gpca-pump/model/catalog/gpca_verification.sysml +38 -41
- package/examples/gpca-pump/model/catalog/viewpoints/context/views/context_system_context_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/cybersecurity_cybersecurity_view.sysml +2 -16
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_cyber_assessment_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/cybersecurity/views/document_threat_model_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/functional/views/functional_function_allocation_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/functional/views/functional_function_browser_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/behavior_action_flow_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_device_interconnect_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_logical_architecture_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_mode_state_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/logical/views/logical_system_decomposition_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/operational/views/operational_scenario_sequence_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/operational/views/operational_use_case_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/physical/views/physical_physical_bom_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/requirements/views/requirements_requirements_trace_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_hazard_analysis_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/document_rmf_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/risk_fmea_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/risk/views/risk_risk_chain_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/shared/views/document_architecture_description_view.sysml +3 -10
- package/examples/gpca-pump/model/catalog/viewpoints/shared/views/document_dhf_index_view.sysml +3 -10
- package/examples/gpca-pump/model/catalog/viewpoints/software/views/document_sdd_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/software/views/software_software_architecture_view.sysml +2 -15
- package/examples/gpca-pump/model/catalog/viewpoints/usability/views/document_usability_view.sysml +3 -9
- package/examples/gpca-pump/model/catalog/viewpoints/verification/views/document_vv_view.sysml +3 -8
- package/examples/gpca-pump/model/catalog/viewpoints/verification/views/verification_verification_coverage_view.sysml +2 -15
- package/examples/gpca-pump/model/methodology/project.sysml +1 -4
- package/examples/ivd-laboratory-system/model/catalog/ivd_laboratory_system.sysml +10 -19
- package/examples/ivd-laboratory-system/model/catalog/viewpoints/logical/views/ivd_laboratory_system_overview.sysml +1 -3
- package/examples/ivd-laboratory-system/model/methodology/project.sysml +2 -6
- package/examples/manual-surgical-instrument/model/catalog/manual_surgical_instrument.sysml +3 -8
- package/examples/manual-surgical-instrument/model/catalog/viewpoints/logical/views/manual_surgical_instrument_overview.sysml +1 -3
- package/examples/manual-surgical-instrument/model/methodology/project.sysml +2 -6
- package/examples/multidimensional-layers/model/catalog/multidimensional_layers.sysml +10 -20
- package/examples/multidimensional-layers/model/catalog/viewpoints/logical/views/multidimensional_layers_overview.sysml +1 -3
- package/examples/multidimensional-layers/model/methodology/project.sysml +2 -6
- package/examples/nested-architecture-dsm/README.md +5 -5
- package/examples/nested-architecture-dsm/model/catalog/architecture/functional/functions.sysml +19 -24
- package/examples/nested-architecture-dsm/model/catalog/architecture/logical/structure.sysml +19 -24
- package/examples/nested-architecture-dsm/model/catalog/architecture/operational/context.sysml +3 -7
- package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/needs.sysml +20 -24
- package/examples/nested-architecture-dsm/model/catalog/assurance/requirements/requirements.sysml +15 -19
- package/examples/nested-architecture-dsm/model/catalog/assurance/verification_validation/verification_validation.sysml +25 -29
- package/examples/nested-architecture-dsm/model/catalog/traces.sysml +1 -2
- package/examples/nested-architecture-dsm/model/methodology/project.sysml +2 -6
- package/examples/reusable-instrument/model/catalog/reusable_instrument.sysml +18 -27
- package/examples/reusable-instrument/model/catalog/viewpoints/logical/views/reusable_instrument_overview.sysml +1 -3
- package/examples/reusable-instrument/model/methodology/project.sysml +2 -6
- package/examples/robot-cell-family/model/catalog/shared/shared.sysml +1 -6
- package/examples/robot-cell-family/model/catalog/sos/chains.sysml +2 -7
- package/examples/robot-cell-family/model/catalog/sos/icds.sysml +1 -4
- package/examples/robot-cell-family/model/catalog/sos/sos.sysml +1 -3
- package/examples/robot-cell-family/model/catalog/sos/use_cases.sysml +1 -4
- package/examples/robot-cell-family/model/catalog/systems/manipulation/manipulation_system.sysml +4 -9
- package/examples/robot-cell-family/model/catalog/systems/navigation/navigation_system.sysml +4 -9
- package/examples/robot-cell-family/model/catalog/systems/perception/perception_system.sysml +4 -9
- package/examples/robot-cell-family/model/methodology/project.sysml +2 -6
- package/examples/robot-platform/model/platform.sysml +1 -3
- package/examples/ros-mobile-robot/model/catalog/ros_mobile_robot.sysml +43 -56
- package/examples/ros-mobile-robot/model/catalog/viewpoints/logical/views/ros_mobile_robot_overview.sysml +1 -3
- package/examples/ros-mobile-robot/model/methodology/project.sysml +2 -6
- package/examples/software-only-medical-device/model/catalog/software_only_medical_device.sysml +16 -26
- package/examples/software-only-medical-device/model/catalog/viewpoints/logical/views/software_only_medical_device_overview.sysml +1 -3
- package/examples/software-only-medical-device/model/methodology/project.sysml +2 -6
- package/examples/surgical-closure-workflow/model/catalog/surgical_closure_workflow.sysml +32 -43
- package/examples/surgical-closure-workflow/model/catalog/viewpoints/logical/views/surgical_closure_workflow_overview.sysml +1 -3
- package/examples/surgical-closure-workflow/model/methodology/project.sysml +2 -6
- package/examples/surgical-robot/model/catalog/surgical_robot.sysml +9 -16
- package/examples/surgical-robot/model/catalog/viewpoints/logical/views/surgical_robot_overview.sysml +1 -3
- package/examples/surgical-robot/model/methodology/project.sysml +2 -6
- package/examples/sysml-diagram-samples/model/catalog/samples/action_flow_view.sysml +7 -17
- package/examples/sysml-diagram-samples/model/catalog/samples/browser_view.sysml +8 -16
- package/examples/sysml-diagram-samples/model/catalog/samples/context_view.sysml +4 -12
- package/examples/sysml-diagram-samples/model/catalog/samples/drill_down_view.sysml +9 -15
- package/examples/sysml-diagram-samples/model/catalog/samples/functional_flow_view.sysml +11 -19
- package/examples/sysml-diagram-samples/model/catalog/samples/grid_view.sysml +4 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/interconnection_view.sysml +10 -20
- package/examples/sysml-diagram-samples/model/catalog/samples/operational_behaviour_view.sysml +3 -12
- package/examples/sysml-diagram-samples/model/catalog/samples/package_view.sysml +8 -15
- package/examples/sysml-diagram-samples/model/catalog/samples/requirements_view.sysml +15 -23
- package/examples/sysml-diagram-samples/model/catalog/samples/sequence_view.sysml +2 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/standard_activity_view.sysml +1 -6
- package/examples/sysml-diagram-samples/model/catalog/samples/state_transition_view.sysml +4 -10
- package/examples/sysml-diagram-samples/model/catalog/samples/tree_view.sysml +7 -14
- package/examples/sysml-diagram-samples/model/catalog/samples/use_case_view.sysml +5 -12
- package/examples/sysml-diagram-samples/model/catalog/viewpoints/shared/views/diagram_samples.sysml +1 -25
- package/examples/sysml-diagram-samples/model/methodology/project.sysml +2 -6
- package/examples/temperature-alarm/model/catalog/temperature_alarm.sysml +43 -63
- package/examples/temperature-alarm/model/catalog/viewpoints/logical/views/temperature_alarm_overview.sysml +1 -3
- package/examples/temperature-alarm/model/methodology/project.sysml +2 -6
- package/examples/ui-screen-regions/model/catalog/architecture/functional/functions.sysml +10 -28
- package/examples/ui-screen-regions/model/catalog/architecture/implementation/ui.sysml +14 -36
- package/examples/ui-screen-regions/model/catalog/artifacts/assets/catalog.sysml +4 -19
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/comments.sysml +4 -19
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/notes.sysml +2 -15
- package/examples/ui-screen-regions/model/catalog/artifacts/reviews/rationales.sysml +2 -15
- package/examples/ui-screen-regions/model/catalog/assurance/human_factors/human_factors.sysml +8 -25
- package/examples/ui-screen-regions/model/catalog/assurance/requirements/needs.sysml +3 -15
- package/examples/ui-screen-regions/model/catalog/assurance/requirements/requirements.sysml +25 -37
- package/examples/ui-screen-regions/model/catalog/assurance/safety_risk/risk.sysml +31 -48
- package/examples/ui-screen-regions/model/catalog/assurance/verification_validation/verification_validation.sysml +7 -19
- package/examples/ui-screen-regions/model/catalog/traces.sysml +53 -64
- package/examples/ui-screen-regions/model/catalog/viewpoints/functional/views/ui_functional_tree.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/requirements/views/ui_requirements_trace.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/risk/views/ui_risk_chain.sysml +2 -17
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/main_screen_layout.sysml +1 -15
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/settings_screen_layout.sysml +1 -15
- package/examples/ui-screen-regions/model/catalog/viewpoints/ui_layout/views/ui_region_trace.sysml +1 -15
- package/examples/ui-screen-regions/model/methodology/project.sysml +1 -5
- package/extensions/README.md +2 -2
- package/extensions/aadl/memo.package.yaml +1 -1
- package/extensions/aadl/src/correspondence/memo_aadl_correspondence.sysml +2 -2
- package/extensions/aadl/src/runtime/memo_aadl_runtime.sysml +9 -13
- package/extensions/anatomy/memo.package.yaml +1 -1
- package/extensions/clinical/memo.package.yaml +1 -1
- package/extensions/cloud/memo.package.yaml +1 -1
- package/extensions/cloud/src/cloud_extension.sysml +2 -4
- package/extensions/container/memo.package.yaml +1 -1
- package/extensions/container/src/container_extension.sysml +2 -5
- package/extensions/messaging/memo.package.yaml +1 -1
- package/extensions/messaging/src/messaging_extension.sysml +4 -5
- package/extensions/ros/memo.package.yaml +1 -1
- package/extensions/ros/src/ros_extension.sysml +5 -10
- package/methodologies/default/memo.package.yaml +1 -1
- package/methodologies/gpca/memo.package.yaml +1 -1
- package/ontology/memo.package.yaml +1 -1
- package/package.json +1 -1
- package/profile/memo.package.yaml +1 -1
- package/src/architecture/functional/behavior/memo_behavior.sysml +15 -27
- package/src/architecture/functional/functions/memo_functions.sysml +31 -44
- package/src/architecture/implementation/hardware/common/memo_hardware_common.sysml +1 -1
- package/src/architecture/implementation/hardware/electrical/memo_hardware_electrical.sysml +3 -3
- package/src/architecture/implementation/hardware/fluidic/memo_hardware_fluidic.sysml +3 -2
- package/src/architecture/implementation/hardware/mechanical/memo_hardware_mechanical.sysml +2 -2
- package/src/architecture/implementation/hardware/optical/memo_hardware_optical.sysml +2 -2
- package/src/architecture/implementation/hardware/sensing/memo_hardware_sensing.sysml +2 -2
- package/src/architecture/implementation/hardware/structure/memo_hardware_structure.sysml +5 -4
- package/src/architecture/implementation/software/runtime/memo_software_runtime.sysml +17 -20
- package/src/architecture/implementation/software/structure/memo_software_structure.sysml +2 -2
- package/src/architecture/implementation/ui/memo_ui.sysml +33 -43
- package/src/architecture/logical/interfaces/memo_interfaces.sysml +21 -27
- package/src/architecture/logical/structure/memo_logical_structure.sysml +15 -18
- package/src/architecture/operational/activities/memo_activities.sysml +2 -2
- package/src/architecture/operational/context/actors/memo_actors.sysml +8 -7
- package/src/architecture/operational/context/stakeholders/memo_stakeholders.sysml +1 -1
- package/src/architecture/operational/context/use_context/memo_use_context.sysml +9 -13
- package/src/architecture/operational/rollups/memo_rollups.sysml +5 -4
- package/src/architecture/operational/scenarios/memo_scenarios.sysml +5 -6
- package/src/architecture/operational/structure/memo_operational.sysml +3 -5
- package/src/architecture/operational/use_cases/memo_use_cases.sysml +18 -23
- package/src/architecture/operational/workflows/memo_workflows.sysml +4 -7
- package/src/architecture/realization/deployment/memo_deployment.sysml +18 -24
- package/src/architecture/realization/physical/memo_physical_architecture.sysml +16 -19
- package/src/artifacts/configuration_management/memo_configuration_management.sysml +30 -22
- package/src/artifacts/standards/cfr_21_820.sysml +0 -1
- package/src/artifacts/standards/fda_cybersecurity_2023.sysml +2 -5
- package/src/artifacts/standards/iec_60601_1.sysml +0 -1
- package/src/artifacts/standards/iec_60601_1_2.sysml +0 -1
- package/src/artifacts/standards/iec_60812.sysml +0 -1
- package/src/artifacts/standards/iec_62304.sysml +0 -1
- package/src/artifacts/standards/iec_62366_1.sysml +0 -1
- package/src/artifacts/standards/iec_81001_5_1.sysml +1 -2
- package/src/artifacts/standards/iso_13485.sysml +0 -1
- package/src/artifacts/standards/iso_14971.sysml +0 -1
- package/src/artifacts/standards/iso_iec_ieee_42010.sysml +0 -1
- package/src/artifacts/standards/memo_artifacts_standards_traceability.sysml +2 -0
- package/src/assurance/cybersecurity/memo_cybersecurity.sysml +1 -0
- package/src/assurance/human_factors/memo_human_factors.sysml +9 -6
- package/src/assurance/requirements/memo_requirements.sysml +6 -11
- package/src/assurance/requirements/needs/memo_needs.sysml +4 -5
- package/src/assurance/safety_risk/analysis/memo_fmea.sysml +1 -0
- package/src/assurance/safety_risk/memo_risk.sysml +19 -22
- package/src/assurance/verification_validation/memo_assurance.sysml +14 -18
- package/src/core/annotations/memo_annotations.sysml +2 -2
- package/src/core/common/memo_common.sysml +40 -56
- package/src/core/dimensions/dimensions.sysml +9 -12
- package/src/core/enumerations/memo_enumerations.sysml +4 -12
- package/src/core/methodology_scope/methodology_scope.sysml +3 -6
- package/src/core/relationships/memo_relationships.sysml +54 -85
- package/src/memo_namespaces.sysml +3 -0
- package/src/methodology/archetypes/memo_archetypes.sysml +0 -1
- package/src/methodology/core/memo_core.sysml +12 -12
- package/src/methodology/profiles/memo_profiles.sysml +9 -10
- package/src/methodology/workflow/memo_workflow.sysml +7 -8
- package/src/rules/closure/closure_rules.sysml +7 -9
- package/src/rules/crosslayer/cross_layer_rules.sysml +0 -1
- package/src/rules/ontology/ontology_invariants.sysml +63 -95
- package/src/rules/quantitative/quantitative_rules.sysml +0 -1
- package/src/viewpoints/catalog/memo_viewpoint_catalog.sysml +5 -6
- package/src/viewpoints/clinical/clinical_viewpoint.sysml +0 -1
- package/src/viewpoints/clinical/views/clinical_evidence_view/clinical_evidence_view.sysml +8 -8
- package/src/viewpoints/clinical_workflow/clinical_workflow_viewpoint.sysml +0 -1
- package/src/viewpoints/context/context_viewpoint.sysml +0 -1
- package/src/viewpoints/context/views/system_context_view/system_context_view.sysml +19 -20
- package/src/viewpoints/cybersecurity/cybersecurity_viewpoint.sysml +0 -1
- package/src/viewpoints/cybersecurity/views/cybersecurity_assessment_view/cybersecurity_assessment_view.sysml +8 -8
- package/src/viewpoints/cybersecurity/views/threat_model_view/threat_model_view.sysml +8 -8
- package/src/viewpoints/definitions/memo_view_layout.sysml +25 -3
- package/src/viewpoints/definitions/memo_viewpoint_definitions.sysml +8 -12
- package/src/viewpoints/functional/functional_viewpoint.sysml +0 -1
- package/src/viewpoints/functional/views/function_allocation_view/function_allocation_view.sysml +19 -20
- package/src/viewpoints/functional/views/system_functional_tree_view/system_functional_tree_view.sysml +19 -20
- package/src/viewpoints/logical/logical_viewpoint.sysml +0 -1
- package/src/viewpoints/logical/views/logical_architecture_view/logical_architecture_view.sysml +19 -20
- package/src/viewpoints/operational/operational_viewpoint.sysml +0 -1
- package/src/viewpoints/operational/views/use_case_view/use_case_view.sysml +19 -20
- package/src/viewpoints/physical/physical_viewpoint.sysml +0 -1
- package/src/viewpoints/physical/views/network_topology_view/network_topology_view.sysml +19 -20
- package/src/viewpoints/physical/views/physical_bom_view/physical_bom_view.sysml +19 -20
- package/src/viewpoints/rendering/memo_rendering.sysml +5 -8
- package/src/viewpoints/requirements/requirements_viewpoint.sysml +0 -1
- package/src/viewpoints/requirements/views/requirements_traceability_view/requirements_traceability_view.sysml +19 -20
- package/src/viewpoints/risk/risk_viewpoint.sysml +0 -1
- package/src/viewpoints/risk/views/risk_chain_view/risk_chain_view.sysml +20 -21
- package/src/viewpoints/software/software_viewpoint.sysml +0 -1
- package/src/viewpoints/software/views/software_architecture_view/software_architecture_view.sysml +19 -20
- package/src/viewpoints/stakeholders_concerns/memo_stakeholders_concerns.sysml +7 -16
- package/src/viewpoints/ui_layout/ui_layout_viewpoint.sysml +0 -1
- package/src/viewpoints/ui_layout/views/screen_layout_view/screen_layout_view.sysml +0 -1
- package/src/viewpoints/usability/usability_viewpoint.sysml +0 -1
- package/src/viewpoints/usability/views/usability_engineering_view/usability_engineering_view.sysml +8 -8
- package/src/viewpoints/verification/verification_viewpoint.sysml +0 -1
- package/src/viewpoints/verification/views/verification_coverage_view/verification_coverage_view.sysml +19 -20
- package/stage1/opensysml-ddad9e2794141c08532910cf.json.gz +0 -0
- package/stage1/syside-8176a62528c701f2f2e0fc7f.ids.gz +0 -0
- package/stage1/syside-8176a62528c701f2f2e0fc7f.json.gz +0 -0
- package/templates/default/model/catalog/assurance/requirements.sysml +1 -1
- package/stage1/opensysml-78b939a8e298313dd51f9813.json.gz +0 -0
- package/stage1/syside-d48ff8bfaf540531526ec21a.ids.gz +0 -0
- package/stage1/syside-d48ff8bfaf540531526ec21a.json.gz +0 -0
|
@@ -3,18 +3,13 @@
|
|
|
3
3
|
//
|
|
4
4
|
// ─── A component exchange is an interface ────────────────────────────────
|
|
5
5
|
//
|
|
6
|
-
// `ComponentExchange` is an `interface def`: the edge between two ports IS
|
|
7
|
-
//
|
|
8
|
-
// refs named the ports, beside a separate `flow` or `bind` naming them again,
|
|
9
|
-
// and CR-ONT-076 existed only to keep the two representations in step. It
|
|
10
|
-
// also lost information: the builder stored a dotted ref value as its first
|
|
11
|
-
// segment only, so every endpoint read as the enclosing device, and
|
|
12
|
-
// CR-ONT-072/073 checked the device instead of the port.
|
|
6
|
+
// `ComponentExchange` is an `interface def`: the edge between two ports IS the
|
|
7
|
+
// exchange.
|
|
13
8
|
//
|
|
14
|
-
// Its ends are the ports, and they are ports, never components:
|
|
15
|
-
//
|
|
16
|
-
//
|
|
17
|
-
//
|
|
9
|
+
// Its ends are the ports, and they are ports, never components: an exchange
|
|
10
|
+
// needs an actual boundary port, and a rule (CR-ONT-072/073) says so because
|
|
11
|
+
// the compiler does not — it accepts a part at an interface end even when the
|
|
12
|
+
// definition types its ends.
|
|
18
13
|
//
|
|
19
14
|
// ─── Transport, delegation, and the choice between them ──────────────────
|
|
20
15
|
//
|
|
@@ -43,14 +38,14 @@ package memo_architecture_logical_interfaces {
|
|
|
43
38
|
private import memo_architecture_functional_functions::*;
|
|
44
39
|
|
|
45
40
|
// ─── One Interface definition ────────────────────────────────────
|
|
46
|
-
// Realization domain (hardware vs software), signaling family
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
41
|
+
// Realization domain (hardware vs software), signaling family (digital /
|
|
42
|
+
// analog / synchronous / asynchronous) and concrete protocol (SPI, CAN,
|
|
43
|
+
// Ethernet, 4-20mA, REST, gRPC, message-queue …) are captured by
|
|
44
|
+
// `interfaceKind` + `protocol`, NOT by a class branch. Every descriptive
|
|
45
|
+
// attribute below is optional, so an interface carries only the ones that
|
|
46
|
+
// apply to it. There is no HardwareInterface / DigitalInterface /
|
|
47
|
+
// SPIInterface / RestInterface … hierarchy: such classes would differ only
|
|
48
|
+
// in the value of `protocol`.
|
|
54
49
|
|
|
55
50
|
// The common contract of an interface, whatever layer it is on: what
|
|
56
51
|
// crosses, which way, under what timing, and how much it matters to
|
|
@@ -154,16 +149,15 @@ package memo_architecture_logical_interfaces {
|
|
|
154
149
|
// data port), modeled as a first-class element so exchanges can
|
|
155
150
|
// reference it and views can render the system boundary.
|
|
156
151
|
//
|
|
157
|
-
// A `port def`
|
|
158
|
-
//
|
|
159
|
-
//
|
|
160
|
-
// `portKind` is duplicated on both ports instead of hoisted onto a base.
|
|
152
|
+
// A `port def` — see PhysicalPort in memo_architecture_realization_physical
|
|
153
|
+
// for why `direction` is native and why `portKind` is declared on both
|
|
154
|
+
// ports instead of on a base.
|
|
161
155
|
port def SoftwarePort specializes MemoPort {
|
|
162
156
|
attribute portKind : InterfaceKind;
|
|
163
|
-
// AADL port category
|
|
164
|
-
//
|
|
165
|
-
//
|
|
166
|
-
//
|
|
157
|
+
// AADL port category. Sampled vs. queued delivery decides whether a
|
|
158
|
+
// missed deadline drops a sample or grows a queue, which the timing
|
|
159
|
+
// analysis and the safety case both need. `portKind` says what crosses;
|
|
160
|
+
// this says how.
|
|
167
161
|
attribute portCategory : PortCategoryKind;
|
|
168
162
|
attribute dataTypeName : String;
|
|
169
163
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Logical architecture
|
|
2
|
-
//
|
|
1
|
+
// Logical architecture. Technology-independent structure: what parts of the
|
|
2
|
+
// solution exist and how they interact, before committing to software,
|
|
3
3
|
// electronics, or mechanics. Redundancy is expressed by typed channel roles
|
|
4
4
|
// plus independence constraints — never by duplicating identically named
|
|
5
5
|
// components.
|
|
@@ -13,7 +13,7 @@ package memo_architecture_logical_structure {
|
|
|
13
13
|
private import memo_architecture_logical_interfaces::Interface;
|
|
14
14
|
|
|
15
15
|
// What a logical connection carries: information and control, but also
|
|
16
|
-
// energy, material, fluid, and mechanical force
|
|
16
|
+
// energy, material, fluid, and mechanical force.
|
|
17
17
|
enum def FlowContentKind {
|
|
18
18
|
enum information;
|
|
19
19
|
enum command;
|
|
@@ -190,19 +190,16 @@ package memo_architecture_logical_structure {
|
|
|
190
190
|
// attribute :>> contentKind = FlowContentKind::measurement;
|
|
191
191
|
// }
|
|
192
192
|
//
|
|
193
|
-
//
|
|
194
|
-
//
|
|
195
|
-
//
|
|
196
|
-
// and its payload the item feature on them. `direction` is not carried
|
|
197
|
-
// over: the ports say `in` and `out`, and a second writable direction is
|
|
198
|
-
// the duplicate §8 of the architecture plan forbids.
|
|
193
|
+
// The flow's ends are those ports, and its payload the item feature on
|
|
194
|
+
// them. It declares no `direction`: the ports say `in` and `out`, and a
|
|
195
|
+
// second writable direction would be a duplicate.
|
|
199
196
|
//
|
|
200
|
-
// The ends are not restricted to `LogicalPort`.
|
|
201
|
-
//
|
|
202
|
-
//
|
|
203
|
-
//
|
|
204
|
-
//
|
|
205
|
-
//
|
|
197
|
+
// The ends are not restricted to `LogicalPort`. A flow may move a specimen
|
|
198
|
+
// or a force between hardware parts, and a flow def that named
|
|
199
|
+
// `LogicalPort` ends would refuse it. `payload` is not declared either: `of
|
|
200
|
+
// <type>` on a usage of a flow def that declares a feature is not
|
|
201
|
+
// distinguishable (namespace distinguishability) from the library's own
|
|
202
|
+
// `payload`, so the payload lives on the ports.
|
|
206
203
|
abstract flow def LogicalExchange {
|
|
207
204
|
attribute contentKind : FlowContentKind;
|
|
208
205
|
attribute latencyRequirement : String;
|
|
@@ -222,7 +219,7 @@ package memo_architecture_logical_structure {
|
|
|
222
219
|
attribute executionSemantics : String;
|
|
223
220
|
}
|
|
224
221
|
|
|
225
|
-
// Isolation, fault containment, and trust boundaries
|
|
222
|
+
// Isolation, fault containment, and trust boundaries.
|
|
226
223
|
part def IsolationBoundary specializes MemoPart {
|
|
227
224
|
attribute boundaryKind : String;
|
|
228
225
|
attribute isolationMechanism : String;
|
|
@@ -243,7 +240,7 @@ package memo_architecture_logical_structure {
|
|
|
243
240
|
:> annotatedElement : SysML::ConnectionUsage;
|
|
244
241
|
:>> baseType = independentOfLinks meta SysML::Usage;
|
|
245
242
|
}
|
|
246
|
-
//
|
|
247
|
-
// `dependency <monitorChannel> to <monitoredComponent
|
|
243
|
+
// A channel monitoring a component is a native `dependency`: write
|
|
244
|
+
// `dependency <monitorChannel> to <monitoredComponent>;`.
|
|
248
245
|
|
|
249
246
|
}
|
|
@@ -68,8 +68,8 @@ package memo_architecture_operational_activities {
|
|
|
68
68
|
attribute feedbackExpected : String;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
// Difficulty of a task in a particular context
|
|
72
|
-
//
|
|
71
|
+
// Difficulty of a task in a particular context. Associated by typed
|
|
72
|
+
// references, not inheritance; assessments are evidence-bearing.
|
|
73
73
|
part def TaskDifficultyAssessment specializes MemoPart {
|
|
74
74
|
attribute overallDifficulty : DemandLevelKind;
|
|
75
75
|
attribute physicalDemand : DemandLevelKind;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
// Operational participants
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
// performers, so there is no "personnel" resource kind, which would
|
|
1
|
+
// Operational participants interact with the system. A stakeholder — someone
|
|
2
|
+
// with a concern about the system who need not interact with it — is a native
|
|
3
|
+
// SysML notion (a Part in a stakeholder membership on a concern or viewpoint),
|
|
4
|
+
// not a separate MEMO type; the same Part may fill both roles. "User" is
|
|
5
|
+
// reserved for a human who interacts with the medical device. A User is also a
|
|
6
|
+
// `MemoResource`: staff are a resource with a capacity cost rate, and are
|
|
7
|
+
// already the performers, so there is no "personnel" resource kind, which would
|
|
8
|
+
// be a second spelling of User.
|
|
8
9
|
package memo_architecture_operational_context_actors {
|
|
9
10
|
private import ScalarValues::*;
|
|
10
11
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ISO/IEC/IEEE 42010 architecture-description core
|
|
1
|
+
// ISO/IEC/IEEE 42010 architecture-description core: ArchitectureDescription,
|
|
2
2
|
// ModelKind, and CorrespondenceRule below. Stakeholders and concerns — 42010's
|
|
3
3
|
// other cornerstones — are native SysML v2 constructs (stakeholder memberships
|
|
4
4
|
// and `concern def`), used directly rather than reinvented as MEMO types. A
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
// reasonably foreseeable misuse are assurance requirements/risk inputs and
|
|
3
3
|
// live in memo_assurance_requirements.
|
|
4
4
|
//
|
|
5
|
-
//
|
|
6
|
-
// flow
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
// `flow`, ch. 12 delegates across a boundary with `bind`.
|
|
5
|
+
// Directional context-level data flow between boundary entities is SysML v2's
|
|
6
|
+
// own `flow`, because `of <ItemDef>` says WHAT moves and two untyped connection
|
|
7
|
+
// ends cannot. Delegation between a boundary port and the interior it stands
|
|
8
|
+
// for is `bind` — identity, not transport. SysML v2 keeps the two apart the
|
|
9
|
+
// same way: training ch. 13 wires components with `flow`, ch. 12 delegates
|
|
10
|
+
// across a boundary with `bind`.
|
|
12
11
|
package memo_architecture_operational_context_use_context {
|
|
13
12
|
private import Metaobjects::SemanticMetadata;
|
|
14
13
|
private import ScalarValues::*;
|
|
@@ -66,12 +65,9 @@ package memo_architecture_operational_context_use_context {
|
|
|
66
65
|
:>> baseType = interactsInContextLinks meta SysML::Usage;
|
|
67
66
|
}
|
|
68
67
|
|
|
69
|
-
//
|
|
70
|
-
// `connection connect <
|
|
71
|
-
//
|
|
72
|
-
// `ConnectsPhysically` is native `connect` (R10-S6): write
|
|
73
|
-
// `connection connect source ::> <a> to target ::> <b>;` — the ordinary
|
|
74
|
-
// untyped binary connection — instead of a connection def for it.
|
|
68
|
+
// An interaction between participants, or a physical connection, is native
|
|
69
|
+
// `connect`: write `connection connect <a> to <b>;`, the ordinary untyped
|
|
70
|
+
// binary connection.
|
|
75
71
|
connection def AppliesInContext :> MemoRelationship {
|
|
76
72
|
end useContext : UseContext :>> source;
|
|
77
73
|
end subjectElement : MemoPart :>> target;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
// Roll-ups of a level-2 procedure flow
|
|
2
|
-
// activity (`expectedDuration`, `plannedSuccessProbability`, the cost rates of
|
|
3
|
-
// and every figure above it is derived here: a scenario, a
|
|
4
|
-
// compares variants by these, so nothing a
|
|
1
|
+
// Roll-ups of a level-2 procedure flow. A number is entered once, on an
|
|
2
|
+
// activity (`expectedDuration`, `plannedSuccessProbability`, the cost rates of
|
|
3
|
+
// its `instruments`), and every figure above it is derived here: a scenario, a
|
|
4
|
+
// procedure, a variant. A `TradeStudy` compares variants by these, so nothing a
|
|
5
|
+
// study reads is typed in twice.
|
|
5
6
|
//
|
|
6
7
|
// ─── Traversal ──────────────────────────────────────────────────────────
|
|
7
8
|
// `ActivitiesOf` is the one place that decides which activities count, and every roll-up reads
|
|
@@ -48,11 +48,10 @@ package memo_architecture_operational_scenarios {
|
|
|
48
48
|
// (a robot and a laparoscopic tower do not convert to open at the same rate); level 2 only.
|
|
49
49
|
attribute likelihood : ProbabilityValue[0..1];
|
|
50
50
|
|
|
51
|
-
// The workflow this scenario belongs to is the one it is nested in
|
|
52
|
-
// (a `HasScenario` relation was removed for that reason); a
|
|
51
|
+
// The workflow this scenario belongs to is the one it is nested in; a
|
|
53
52
|
// nominal/alternate pair are scenarios of the same workflow,
|
|
54
|
-
// distinguished by scenarioKind — no baseScenario back-ref.
|
|
55
|
-
//
|
|
53
|
+
// distinguished by scenarioKind — no baseScenario back-ref. Actors are
|
|
54
|
+
// derived from `perform` on the nested steps, not listed.
|
|
56
55
|
ref useContext : UseContext[0..1];
|
|
57
56
|
// threat scenario
|
|
58
57
|
attribute actorDescription : String;
|
|
@@ -69,6 +68,6 @@ package memo_architecture_operational_scenarios {
|
|
|
69
68
|
}
|
|
70
69
|
|
|
71
70
|
// A workflow is composed of one or more scenarios (nominal + alternate
|
|
72
|
-
// paths).
|
|
73
|
-
//
|
|
71
|
+
// paths). An actual execution is a native SysML *usage* of the scenario,
|
|
72
|
+
// not a separate def + relation.
|
|
74
73
|
}
|
|
@@ -10,11 +10,9 @@ package memo_architecture_operational_structure {
|
|
|
10
10
|
// IEC 62366-1 / ISO 14971 intended use: the medical device's declared
|
|
11
11
|
// purpose and the root of the operational spine. A MemoMission, because
|
|
12
12
|
// "mission" has no medical-device meaning — intended use is what a device
|
|
13
|
-
// exists to do.
|
|
14
|
-
//
|
|
15
|
-
//
|
|
16
|
-
// 5.2 asks for it to be documented as the starting point of risk analysis.
|
|
17
|
-
// It was a `part def`, which made it a structural thing.
|
|
13
|
+
// exists to do. It is a `requirement def`: the intended use is the top
|
|
14
|
+
// obligation the device's design inputs derive from, and ISO 14971 5.2 asks
|
|
15
|
+
// for it to be documented as the starting point of risk analysis.
|
|
18
16
|
requirement def IntendedUse :> MemoMission {
|
|
19
17
|
attribute indication : String;
|
|
20
18
|
attribute contraindication : String;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Use cases
|
|
2
|
-
//
|
|
3
|
-
//
|
|
1
|
+
// Use cases. A UseCase is a goal a person or organization wants to achieve with
|
|
2
|
+
// system support — there is no separate Goal class. Clinical, service,
|
|
3
|
+
// manufacturing, and development use cases specialize the same base.
|
|
4
4
|
//
|
|
5
5
|
// A use case is at one of two levels, and the level is its own type (`ClinicalUseCase` or
|
|
6
6
|
// `SystemUseCase`), kept in agreement with its subject by CR-ONT-093.
|
|
@@ -49,18 +49,15 @@ package memo_architecture_operational_use_cases {
|
|
|
49
49
|
attribute useCaseKind : UseCaseKind;
|
|
50
50
|
|
|
51
51
|
// The device or system under consideration supports the goal. Native
|
|
52
|
-
// `subject`, not `ref
|
|
53
|
-
//
|
|
54
|
-
//
|
|
55
|
-
//
|
|
56
|
-
// waiting to surface once `actor` needed a subject to attach to.
|
|
52
|
+
// `subject`, not `ref`: a use case needs an explicit subject before it
|
|
53
|
+
// can declare `actor` (the subject parameter comes first), and "the
|
|
54
|
+
// device/system under consideration" is exactly what a case's subject
|
|
55
|
+
// means.
|
|
57
56
|
subject supportingSystem : MemoPart[0..1];
|
|
58
57
|
ref useContext : UseContext[0..1];
|
|
59
58
|
// Who takes part is native `actor` (`actor <role> = <participant>;`),
|
|
60
|
-
// inherited from `UseCases::UseCase`.
|
|
61
|
-
//
|
|
62
|
-
// same thing and were removed; which actor initiates is carried by
|
|
63
|
-
// the actor's name, as the note on `Initiates` below says.
|
|
59
|
+
// inherited from `UseCases::UseCase`. Which actor initiates is carried
|
|
60
|
+
// by the actor's name, as the note below says.
|
|
64
61
|
}
|
|
65
62
|
|
|
66
63
|
// The two levels are types, declared and not derived. A clinical use case has an
|
|
@@ -74,6 +71,7 @@ package memo_architecture_operational_use_cases {
|
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
connection def Motivates :> MemoRelationship {
|
|
74
|
+
attribute :>> isTrace = true;
|
|
77
75
|
end motivatingNeed : Need :>> source;
|
|
78
76
|
end motivatedUseCase : UseCase :>> target;
|
|
79
77
|
}
|
|
@@ -83,15 +81,12 @@ package memo_architecture_operational_use_cases {
|
|
|
83
81
|
:> annotatedElement : SysML::ConnectionUsage;
|
|
84
82
|
:>> baseType = motivatesLinks meta SysML::Usage;
|
|
85
83
|
}
|
|
86
|
-
//
|
|
87
|
-
//
|
|
88
|
-
//
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
//
|
|
92
|
-
//
|
|
93
|
-
//
|
|
94
|
-
// has no use-case `extend` (the textual BNF defines IncludeUseCaseUsage
|
|
95
|
-
// and nothing for extend), and MEMO does not add one: an optional path
|
|
96
|
-
// through a use case is an alternate scenario, not a second use case.
|
|
84
|
+
// Who initiates or takes part in a use case is native `actor`: write `actor
|
|
85
|
+
// <role> = <existingElement>;` inside the use case. Native `actor` does not
|
|
86
|
+
// distinguish an initiating actor from a participating one; that is in how
|
|
87
|
+
// the actor is named on the use case. UML use-case decomposition is native
|
|
88
|
+
// `include use case` / `include`. SysML v2 has no use-case `extend` (the
|
|
89
|
+
// textual BNF defines IncludeUseCaseUsage and nothing for extend), and MEMO
|
|
90
|
+
// does not add one: an optional path through a use case is an alternate
|
|
91
|
+
// scenario, not a second use case.
|
|
97
92
|
}
|
|
@@ -97,12 +97,9 @@ package memo_architecture_operational_workflows {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
// ── Workflow-level relationships ─────────────────────────────
|
|
100
|
-
// An element supports (affords, enables) an action — e.g. a UI element
|
|
101
|
-
//
|
|
102
|
-
//
|
|
103
|
-
//
|
|
104
|
-
// SupportKind discriminator is gone: what used to be three enum values
|
|
105
|
-
// that each implied a different target type are now two typed refs plus
|
|
106
|
-
// this one plain relation.
|
|
100
|
+
// An element supports (affords, enables) an action — e.g. a UI element that
|
|
101
|
+
// affords a user task. Use-case and capability tracing are direct refs
|
|
102
|
+
// (OperationalWorkflow.useCase, OperativeAction.contributesToCapabilities),
|
|
103
|
+
// so this is one plain relation.
|
|
107
104
|
|
|
108
105
|
}
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
// SoftwareDeploymentUnit deploysTo ProcessingNode. Software deploys only to capable
|
|
3
3
|
// execution nodes (rules/crosslayer).
|
|
4
4
|
//
|
|
5
|
-
// `HostedBy` is NOT part of that chain
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
// other way and between different things. Software reaches a node through
|
|
10
|
-
// DeploysTo.
|
|
5
|
+
// `HostedBy` is NOT part of that chain. It is `processingNode : ProcessingNode
|
|
6
|
+
// -> hostAssembly : PhysicalAssembly`: physical hosting of a node by the
|
|
7
|
+
// assembly it is mounted in, running the other way and between different
|
|
8
|
+
// things. Software reaches a node through DeploysTo.
|
|
11
9
|
package memo_architecture_realization_deployment {
|
|
12
10
|
private import memo_core_stdlib_quantities::*;
|
|
13
11
|
private import Metaobjects::SemanticMetadata;
|
|
@@ -41,7 +39,7 @@ package memo_architecture_realization_deployment {
|
|
|
41
39
|
attribute certificationEvidence : String;
|
|
42
40
|
}
|
|
43
41
|
|
|
44
|
-
|
|
42
|
+
// A module BUILDS INTO a deployment unit: that is an allocation, and the
|
|
45
43
|
// language has one. Rooted like MemoryBinding / ConnectionBinding below,
|
|
46
44
|
// so the whole deployment family spells allocation the same way.
|
|
47
45
|
allocation def BuildsInto :> MemoRelationship, Allocations::Allocation {
|
|
@@ -72,8 +70,7 @@ package memo_architecture_realization_deployment {
|
|
|
72
70
|
:> annotatedElement : SysML::AllocationUsage;
|
|
73
71
|
:>> baseType = realizedByLinks meta SysML::Usage;
|
|
74
72
|
}
|
|
75
|
-
|
|
76
|
-
// to b;` -- the declaration was the only part still saying `connection`.
|
|
73
|
+
// Written `allocation x : DeploysTo allocate a to b;`.
|
|
77
74
|
allocation def DeploysTo :> MemoRelationship, Allocations::Allocation {
|
|
78
75
|
attribute deploymentKind : DeploymentKind;
|
|
79
76
|
end deploymentUnit : SoftwareDeploymentUnit :>> source;
|
|
@@ -96,24 +93,21 @@ package memo_architecture_realization_deployment {
|
|
|
96
93
|
:>> baseType = providesEnvironmentLinks meta SysML::Usage;
|
|
97
94
|
}
|
|
98
95
|
|
|
99
|
-
// ─── AADL bindings (SAE AS5506)
|
|
96
|
+
// ─── AADL bindings (SAE AS5506) ────────────────────────────
|
|
100
97
|
//
|
|
101
98
|
// AADL's analytic power is that EVERYTHING is bound to something, and the
|
|
102
|
-
// binding is where latency, bandwidth and fault propagation accrue.
|
|
103
|
-
//
|
|
104
|
-
//
|
|
105
|
-
//
|
|
106
|
-
//
|
|
107
|
-
// the model could not perform.
|
|
99
|
+
// binding is where latency, bandwidth and fault propagation accrue.
|
|
100
|
+
// `DeploysTo` is `actual_processor_binding`. Without the other two,
|
|
101
|
+
// `SoftwareComponent.memoryBudget` is unanalysable and
|
|
102
|
+
// `EndToEndFlow.latencyBudgetMs` cannot be checked against the media the
|
|
103
|
+
// flow traverses.
|
|
108
104
|
//
|
|
109
105
|
// Both are `allocation def`s rooted on the standard's
|
|
110
106
|
// `Allocations::Allocation`, because a binding IS an allocation and the
|
|
111
107
|
// language says so. The double specialization keeps MEMO's identification
|
|
112
108
|
// core from `MemoRelationship` while adding the standard's allocation
|
|
113
109
|
// semantics; both root on `Connections::BinaryConnection`, so this is a
|
|
114
|
-
// diamond and not a conflict.
|
|
115
|
-
// negative control (a non-existent supertype is reported), so the clean
|
|
116
|
-
// result is the checker agreeing rather than the checker skipping.
|
|
110
|
+
// diamond and not a conflict.
|
|
117
111
|
|
|
118
112
|
// AADL `actual_memory_binding`. Which memory a software component's code
|
|
119
113
|
// and data occupy — what makes a memory budget a claim about a device
|
|
@@ -134,10 +128,10 @@ package memo_architecture_realization_deployment {
|
|
|
134
128
|
// interface: a network medium under a component exchange, a cable or
|
|
135
129
|
// harness under a hardware `Interface`, a connector, a tube. The source is
|
|
136
130
|
// the interface usage rather than a link, because the interface is the
|
|
137
|
-
// ELEMENT that owns the budget
|
|
138
|
-
//
|
|
139
|
-
//
|
|
140
|
-
//
|
|
131
|
+
// ELEMENT that owns the budget and a link instance is not something the
|
|
132
|
+
// graph can bind to; it is also exactly where the latency the medium
|
|
133
|
+
// contributes has to be accounted. Ends are the two bases (MemoInterface,
|
|
134
|
+
// PhysicalComponent) so one binding serves every layer.
|
|
141
135
|
allocation def ConnectionBinding :> MemoRelationship, Allocations::Allocation {
|
|
142
136
|
attribute allocatedBandwidth : String;
|
|
143
137
|
attribute mediumLatencyMs : DurationValue;
|
|
@@ -198,7 +192,7 @@ package memo_architecture_realization_deployment {
|
|
|
198
192
|
:>> baseType = flowComprisesSpecLinks meta SysML::Usage;
|
|
199
193
|
}
|
|
200
194
|
// The flow traverses a software→hardware binding; latency accrues here.
|
|
201
|
-
|
|
195
|
+
// A binding IS an allocation, exactly as MemoryBinding and
|
|
202
196
|
// ConnectionBinding already declare.
|
|
203
197
|
allocation def FlowTraversesBinding :> MemoRelationship, Allocations::Allocation {
|
|
204
198
|
end endToEndFlow : EndToEndFlow :>> source;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Execution-platform elements of the physical architecture
|
|
2
|
-
//
|
|
3
|
-
//
|
|
1
|
+
// Execution-platform elements of the physical architecture: the nodes software
|
|
2
|
+
// runs on and the ports the outside world plugs into. The broader physical
|
|
3
|
+
// taxonomy lives in memo_architecture_implementation_hardware_structure.
|
|
4
4
|
package memo_architecture_realization_physical {
|
|
5
5
|
private import memo_core_stdlib_quantities::*;
|
|
6
6
|
private import ScalarValues::*;
|
|
@@ -32,31 +32,28 @@ package memo_architecture_realization_physical {
|
|
|
32
32
|
}
|
|
33
33
|
// A physical boundary feature: the connector the outside world plugs into.
|
|
34
34
|
//
|
|
35
|
-
// A `port def
|
|
36
|
-
//
|
|
37
|
-
//
|
|
38
|
-
// a part (CR-ONT-002, since rewritten). Track A0 made those ends
|
|
39
|
-
// metaclass-neutral, and KerML forbids a port from specializing a
|
|
40
|
-
// part-based type, so the specialization moves to `MemoPort`.
|
|
35
|
+
// A `port def`, not a part. Exchange ends are metaclass-neutral, and KerML
|
|
36
|
+
// forbids a port from specializing a part-based type, so it specializes
|
|
37
|
+
// `MemoPort`.
|
|
41
38
|
//
|
|
42
|
-
// `direction
|
|
43
|
-
// natively
|
|
44
|
-
//
|
|
39
|
+
// It declares no `direction`: the port usage carries `in` / `out` / `inout`
|
|
40
|
+
// natively. `DirectionKind` is for the non-port constructs that need one —
|
|
41
|
+
// see memo_core_enumerations.
|
|
45
42
|
//
|
|
46
43
|
// `portKind` is declared here AND on SoftwarePort rather than on a shared
|
|
47
44
|
// base. `MemoPort` is the identification core and nothing else — the block
|
|
48
|
-
// comment in memo_core_common makes that a stated invariant across all
|
|
49
|
-
//
|
|
45
|
+
// comment in memo_core_common makes that a stated invariant across all five
|
|
46
|
+
// bases — and pushing `portKind` down onto DataPort, SensorPort,
|
|
50
47
|
// CommandPort, and LogicalPort would give them a second classifier beside
|
|
51
48
|
// the ones they already carry (`interfaceType`, `sensorDomain`,
|
|
52
49
|
// `commandDomain`, `contentKind`). An intermediate `abstract port def`
|
|
53
|
-
// holding one attribute is a class standing in for an attribute
|
|
54
|
-
//
|
|
50
|
+
// holding one attribute is a class standing in for an attribute. One
|
|
51
|
+
// attribute, two sites, no new type.
|
|
55
52
|
port def PhysicalPort specializes MemoPort {
|
|
56
53
|
attribute portKind : InterfaceKind;
|
|
57
|
-
// AADL port category
|
|
58
|
-
//
|
|
59
|
-
//
|
|
54
|
+
// AADL port category — see SoftwarePort. A physical port carries it for
|
|
55
|
+
// the same reason: a sampled sensor line and a queued interrupt line
|
|
56
|
+
// fail differently under overload.
|
|
60
57
|
attribute portCategory : PortCategoryKind;
|
|
61
58
|
attribute connectorType : String;
|
|
62
59
|
}
|
|
@@ -15,15 +15,17 @@ package memo_artifacts_configuration_management {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
part def ConfigurationItem :> MemoPart {
|
|
18
|
-
// No version and no baseline: both belong to a release of the item, not
|
|
19
|
-
//
|
|
18
|
+
// No version and no baseline: both belong to a release of the item, not
|
|
19
|
+
// to the item. A `ReleaseRecord` whose `#ReleaseOf` is this item
|
|
20
|
+
// carries them.
|
|
20
21
|
attribute controlLevel : String;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
// A release record is one release of one item: rev D and rev E of a part,
|
|
24
|
-
// release, are separate records, each with its own
|
|
25
|
-
// definition of the item is held once and
|
|
26
|
-
//
|
|
24
|
+
// A release record is one release of one item: rev D and rev E of a part,
|
|
25
|
+
// or its EU and its US release, are separate records, each with its own
|
|
26
|
+
// part number and revision. The definition of the item is held once and
|
|
27
|
+
// carries no revision. The record is an element with a status (inherited
|
|
28
|
+
// from MemoPart: proposed, draft, ... released), so a release moves through
|
|
27
29
|
// the lifecycle the way any element does.
|
|
28
30
|
//
|
|
29
31
|
// part relPumpD : ReleaseRecord {
|
|
@@ -66,9 +68,11 @@ package memo_artifacts_configuration_management {
|
|
|
66
68
|
doc /* `#AffectsRelease dependency from <change request> to <record>;` The release a change request is raised against. */
|
|
67
69
|
}
|
|
68
70
|
|
|
69
|
-
// A regulated device is one approval in one jurisdiction
|
|
70
|
-
// clear. It is not an item and not a release: it
|
|
71
|
-
//
|
|
71
|
+
// A regulated device is one approval in one jurisdiction: the thing a
|
|
72
|
+
// regulator is asked to clear. It is not an item and not a release: it
|
|
73
|
+
// COVERS the system releases the approval names, so two markets can ship
|
|
74
|
+
// different releases of one system, each with its own design history and
|
|
75
|
+
// risk file.
|
|
72
76
|
//
|
|
73
77
|
// part deviceFda : RegulatedDevice {
|
|
74
78
|
// attribute :>> jurisdiction = RegulatoryRegimeKind::FDA_510k;
|
|
@@ -76,20 +80,22 @@ package memo_artifacts_configuration_management {
|
|
|
76
80
|
// }
|
|
77
81
|
// #Covers dependency from deviceFda to relPumpD;
|
|
78
82
|
//
|
|
79
|
-
// The jurisdiction is a `RegulatoryRegimeKind`, the same enum the standards
|
|
80
|
-
// templates (`required_for`) are written against,
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
+
// The jurisdiction is a `RegulatoryRegimeKind`, the same enum the standards
|
|
84
|
+
// library and the document templates (`required_for`) are written against,
|
|
85
|
+
// so a device selects the standards it must meet and the documents it must
|
|
86
|
+
// have. `ModelMethodBinding.regulatoryRegime` states one regime set for a
|
|
87
|
+
// whole model and is read only when the model declares no device.
|
|
83
88
|
//
|
|
84
|
-
// The device's other two links
|
|
89
|
+
// The device's other two links, both typed dependencies like `Covers`:
|
|
85
90
|
//
|
|
86
91
|
// #IntendedUseOf dependency from pumpIntendedUse to deviceFda;
|
|
87
92
|
// #UsedWith dependency from deviceFda to deviceInfusionSet;
|
|
88
93
|
//
|
|
89
|
-
// `IntendedUseOf` runs from the intended use (a `requirement def`,
|
|
90
|
-
// name reads; a device can have one
|
|
91
|
-
//
|
|
92
|
-
//
|
|
94
|
+
// `IntendedUseOf` runs from the intended use (a `requirement def`,
|
|
95
|
+
// `IntendedUse`) to the device, as its name reads; a device can have one
|
|
96
|
+
// per indication. `UsedWith` runs between regulated devices: the compatible
|
|
97
|
+
// devices and accessories that are themselves approved. An accessory that
|
|
98
|
+
// is not a device is not a target.
|
|
93
99
|
part def RegulatedDevice :> MemoPart {
|
|
94
100
|
attribute jurisdiction : RegulatoryRegimeKind[1];
|
|
95
101
|
attribute submissionId : String[0..1];
|
|
@@ -105,10 +111,12 @@ package memo_artifacts_configuration_management {
|
|
|
105
111
|
doc /* `#UsedWith dependency from <device> to <device>, <device>;` The device is used with these regulated devices (compatible devices and approved accessories). */
|
|
106
112
|
}
|
|
107
113
|
|
|
108
|
-
// A project is a change set in an iteration
|
|
109
|
-
// where the work is tracked and nothing else;
|
|
110
|
-
//
|
|
111
|
-
//
|
|
114
|
+
// A project is a change set in an iteration: the work that produces
|
|
115
|
+
// releases. It holds a link to where the work is tracked and nothing else;
|
|
116
|
+
// the merge request is the approval. It FEEDS the release records it
|
|
117
|
+
// contributes to, and a variant records the project that introduced it, so
|
|
118
|
+
// "which work gave us this option, and which releases did it reach" is two
|
|
119
|
+
// links.
|
|
112
120
|
//
|
|
113
121
|
// part prjIrrigatedTip : Project { attribute :>> trackerLink = "https://tracker.example/PRJ-12"; }
|
|
114
122
|
// #Feeds dependency from prjIrrigatedTip to relGeneratorEu, relGeneratorUs;
|
|
@@ -16,7 +16,6 @@ package memo_artifacts_standards_cfr_21_820 {
|
|
|
16
16
|
private import memo_artifacts_standards_traceability::*;
|
|
17
17
|
|
|
18
18
|
private import memo_core_common::*;
|
|
19
|
-
private import memo_core_common::MemoIdentity;
|
|
20
19
|
part cfr21Part820 : RegulatoryStandard {
|
|
21
20
|
@MemoIdentity { :>> providedId = "STD-21-CFR-820"; }
|
|
22
21
|
attribute :>> designation = "21 CFR Part 820";
|