Discussions
Categories
Groups
Documentation
Knowledge base
Developer portal
App catalog
The Hub
GitHub
Home
Newly Imported
User Forums
How it Works
Avoid false errors from dynamic constraint 0033 "Check if every hazardous event has an unique identifier"
medini_1059007410
Hi, this may help you if you encounter the issue that the dynamic constraint 0033 gives you false errors of duplicated IDs for hazardous events (lines in the HARA). You may use this during "Validate" the project, even though the IDs are only used once in your project. The reason for that may be that you have an Operational Situation Catalog template (in the Project Settings), which was created a long time ago, then still getting IDs, which is not the case anymore today. You may unfortunately use the same IDs in your project as the hidden Catalog entry IDs. Two solutions are possible: a) Delete the Operational Situation Catalog template in the Project Settings, if you don't need it, or b) run once the attached script to remove any IDs from the Operational Situation Catalog template entries. To do this, you may have to enable scripting development for your project and place the script file in the project's subfolder config\scripts\. See Introduction to Scripting for more details. I hope that helps. Cheers, Nils
Find more posts tagged with
medini
medini legacy
Accepted answers
medini_1024169437
Usually those entries should not have an ID but there are scripts out there that copy them from a HARA and forget to clean the ID. Nils, maybe you can improve a bit: by default, entries in the catalog get "-" as ID, not "" so to be consistent you may change the script to set "-". Jan
All comments
medini_1024169437
Usually those entries should not have an ID but there are scripts out there that copy them from a HARA and forget to clean the ID. Nils, maybe you can improve a bit: by default, entries in the catalog get "-" as ID, not "" so to be consistent you may change the script to set "-". Jan
medini_1059007410
Thanks for the hint, Jan. The script is updated. Cheers, Nils
medini_1040753747
What is the recommended item to trace to for a Hazard model?
medini_1040753747
What is a PlainItem?
inv: self.mediniGetTracedElements(PlainItem)->notEmpty() I tried to trace to an Element (Category: Item/System) named "Item" and an Item Usage... still no success.
medini_1024169437
Johan, medini has a separate concept of an Item Definition, outsid eof SysML. Historically the PlainItem is located in the hazard Package: Metamodel.hazard.PlainItem Example in ESL: The tool has sevaral places to help linking HARAs with Item + constraints to validate that. However, this is not mandatory. Regards Jan
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of