Use cases
Estimate the cost of a requirement
1.2 * (@Man\ days * 150 + ext@Manufacturing\ Cost)
![](../__attachments/1876459521/Screenshot%20from%202023-09-26%2016-39-08.png?inst-v=b1694082-ebe2-4a91-bc5b-2c6c65d06bab)
Here, we see that the result for requirement AA-003
is marked as error because the property @Man days
used in the calculation is not a valid number.
![](../__attachments/1876459521/Screenshot%20from%202023-09-26%2016-39-45.png?inst-v=b1694082-ebe2-4a91-bc5b-2c6c65d06bab)
Estimate the total cost of a parent requirement
SUM(ext@Cost, child)
![](../__attachments/1876459521/Screenshot%20from%202023-09-26%2016-37-00.png?inst-v=b1694082-ebe2-4a91-bc5b-2c6c65d06bab)
Detect when a parent requirement is over budget
SUM(ext@Cost, child@Uses) > @Budget
![](../__attachments/1876459521/Screenshot%20from%202023-09-26%2016-48-36.png?inst-v=b1694082-ebe2-4a91-bc5b-2c6c65d06bab)
Detect when parts composing an assembly are too heavy
SUM(@Weight, child@Refines→child@Uses) > @Max\ weight
![](../__attachments/1876459521/Screenshot%20from%202023-09-26%2017-05-06.png?inst-v=b1694082-ebe2-4a91-bc5b-2c6c65d06bab)
Here, we see that the result for requirement AA-003
is marked as error because the property @Weight
used in the calculation is not a valid number.
![](../__attachments/1876459521/Screenshot%20from%202023-09-26%2017-07-05.png?inst-v=b1694082-ebe2-4a91-bc5b-2c6c65d06bab)
Measure the coverage of a requirement
100 * IF(COUNT(child) = 0, 0, COUNT(child@Refines) / COUNT(child))
![Screenshot 2024-03-18 at 10.05.54.png](../__attachments/1876459521/Screenshot%202024-03-18%20at%2010.05.54.png?inst-v=b1694082-ebe2-4a91-bc5b-2c6c65d06bab)
Here, we’ll measure the percentage of BR requirements that have a children with the relationship name Refines.