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). Please note that some placeholder nodes are optional. For example, the following filter node is only used if you want to filter requirements used by the SUM function.

...

Advanced mode

You also have the option of building calculations using formulas.

...