Skip to content

Expand displayed probability in FTA table #2359

Description

@sprocter

Summary

Once the model is instantiated and the generation of FTA for given state is completed, the table contains numeric values in the truncated (short) format that rounds up the entries in "Specified probability" column resulting in precision loss or even complete degradation. Here are couple of examples from FaultTreeTable:

  1. original 27.182477e-6 becomes 2,70E-05
  2. original 99.9985e-2 becomes 1,00E+00
  3. original 99.9973625723e-2 becomes 1,00E+00
    etc.

See full discussion on the OSATE mailing list

Expected and Current Behavior

Expected & Current Behavior: Occurrence probabilities are shown in the graphical and table view with a single digit after the decimal point. In the actual fault tree representation the values are stored with greater precision. (see the EMV2 docs)

Desired Behavior: Additional digits of precision are displayed.

Steps to Reproduce

This issue shows up in the tutorial when using the associated aadl model

Environment

  • OSATE Version: 2.7.1
  • Operating System: Mac OS 10.15.5

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions