Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue
nameCalculations

You can now transform, aggregate, and perform calculation on your requirement's data with this new feature.

...

Estimate the cost of a requirement

1.2 * (@Man\ days * 150 + ext@Manufacturing\ Cost)

...

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.

...

Estimate the total cost of a parent requirement

SUM(ext@Cost, from@Refines)

...

Detect when a parent requirement is over budget

SUM(ext@Cost, from@Uses) > @Budget

...

Detect when parts composing an assembly are too heavy

SUM(@Weight, child@Refineschild@Uses) > @Max\ weight

...

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.

...

In the end, you should end up with a diagram like the following (or a little more complicated, depending on your needs).

...

Advanced mode

You Finally, you also have the option of building calculations using formulas.

...

Check out the Calculation Syntax for more details!.