New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reach-Down subcomponent hierarchy does not set property EMV2::OccurrenceDistribution #2112
Comments
Hi Brian, your model fragment does not give me a chance to test out your assertion that values do not get assigned for FTA. |
Peter,
I ran the example in Issue1837, and it works fine.
My model reaches far down the subcomponent hierarchy to set OccurrenceDistribution properties, and there are ample opportunities to mess-up composite state machines on the way up.
For now, I am setting all OccurrenceDistribution properties locally, which later can (should) be overridden by properties set in a top-level system implementation.
…--Brian
On Dec 18, 2019, at 12:46 PM, Peter Feiler <notifications@github.com<mailto:notifications@github.com>> wrote:
Hi Brian,
your model fragment does not give me a chance to test out your assertion that values do not get assigned for FTA.
The example is similar to one of our test cases (link below).
Instantiate TMR_Archetype.impl2 and run FTA and you will see that it picks up the assigned probabilities.
Peter
https://github.com/osate/osate2/blob/master/emv2/org.osate.aadl2.errormodel.faulttree.tests/models/FTATests/Issue1837.aadl
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2112?email_source=notifications&email_token=AAJC32X6VUSUZU7IMRBJZR3QZJVYXA5CNFSM4J3AXAPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHHC4YA#issuecomment-567160416>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAJC32WTNKO2QODMX4KISSLQZJVYXANCNFSM4J3AXAPA>.
|
Brian,
I found the issue. Working on a fix.
Peter
From: Brian R Larson <notifications@github.com>
Sent: Thursday, December 19, 2019 11:53 AM
To: osate/osate2 <osate2@noreply.github.com>
Cc: Peter Feiler <phf@sei.cmu.edu>; Assign <assign@noreply.github.com>
Subject: Re: [osate/osate2] Reach-Down subcomponent hierarchy does not set property EMV2::OccurrenceDistribution (#2112)
Peter,
I ran the example in Issue1837, and it works fine.
My model reaches far down the subcomponent hierarchy to set OccurrenceDistribution properties, and there are ample opportunities to mess-up composite state machines on the way up.
For now, I am setting all OccurrenceDistribution properties locally, which later can (should) be overridden by properties set in a top-level system implementation.
…--Brian
On Dec 18, 2019, at 12:46 PM, Peter Feiler <notifications@github.com<mailto:notifications@github.com<mailto:notifications@github.com%3cmailto:notifications@github.com>>> wrote:
Hi Brian,
your model fragment does not give me a chance to test out your assertion that values do not get assigned for FTA.
The example is similar to one of our test cases (link below).
Instantiate TMR_Archetype.impl2 and run FTA and you will see that it picks up the assigned probabilities.
Peter
https://github.com/osate/osate2/blob/master/emv2/org.osate.aadl2.errormodel.faulttree.tests/models/FTATests/Issue1837.aadl
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2112?email_source=notifications&email_token=AAJC32X6VUSUZU7IMRBJZR3QZJVYXA5CNFSM4J3AXAPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHHC4YA#issuecomment-567160416>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAJC32WTNKO2QODMX4KISSLQZJVYXANCNFSM4J3AXAPA>.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub<#2112?email_source=notifications&email_token=AAFXHOEUWFPRJJMO4Q6PMLLQZORGZA5CNFSM4J3AXAPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHKHJAY#issuecomment-567571587>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFXHOGUP5TFWTHJHVMUROLQZORGZANCNFSM4J3AXAPA>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I wanted to set all EMV2::OccurrenceDistribution properties in extensions of my top-level system implementation, so I could easily compare analyses of designs with different reliability devices.
However, reaching down to set EMV2::OccurrenceDistribution properties, does not assign values when used for FTA.
Expected and Current Behavior
does not assign the probability to error event post_not_detect_failure.
while
EMV2::OccurrenceDistribution => iPCA_Properties::POSTfailureToDetectRate
applies to post_not_detect_failure;
does.
Steps to Reproduce
Try to set EMV2::OccurrenceDistribution property in an EMV2 annex subclause of a top-level system implementation by reaching down through subcomponent to desired error event. (Comment-out properties in iPCA_Error_Detector.i below.)
Environment
The text was updated successfully, but these errors were encountered: