STARIONGROUP / COMET-IME-Community-Edition

The Concurrent Design Desktop Application and Excel Integration compliant with ECSS-E-TM-10-25 Annex A and Annex C
https://www.stariongroup.eu
Other
21 stars 5 forks source link

Verification requirement with relational expression fails #1252

Open eltazar86 opened 1 year ago

eltazar86 commented 1 year ago

Prerequisites

Description

We have a requirement with a parameter constraint with AND operator in order to have a parameter between two values. We have linked the requirement to the parameter through the function "Create a binary relationship" When we try to verify the requirements, this requirement is yellow (does it means that the link does not work?)

System Configuration

samatstariongroup commented 1 year ago

please make use of the drag-n-drop capability to drop a parameter on a parametric constrating to create the relationship, that should work. @lxatrhea do you agree this is the approach?

lxatstariongroup commented 1 year ago

please make use of the drag-n-drop capability to drop a parameter on a parametric constrating to create the relationship, that should work. @lxatrhea do you agree this is the approach?

@samatrhea That is indeed the easiest way. I think the problem here is that in the BinaryRelationship the parameter should reference both RelationalExpressions that are part of the AND operator. When you drag and drop you will see that you cannot even drop a parameter on a requirement, only on RelationExpressions.

Explanation of this is that in theory a single requirement might affect multiple parameter values using all kinds of combinations of those parameter values in the RelationalExpression/Operator tree.

Example: Mass parameter should be lower than 100 AND peak_power parameter should be lower than 10 as a Parameteric Constraint.