http://reliawiki.org/index.php/RBDs_and_Analytical_System_Reliability is a little confusing as it calls the logic k-out-of-n and presents it as success logic. The text states "This type of configuration requires that at least components succeed out of the total parallel components for the system to succeed."
The fail logic would be 1 - Psuccess. I interpreted this as n-k ormore failures.
The formula for 2 ormore of 3 failure would be P1P2(1-P3) + P1*(1-P2)P3 + (1-P1)P2P3 + P1P2P3 which leads to P1P2 + P2P3 + P1P3 - 2P1P2P3. For all components with the same P it would be 3PP - 2PPP where P is the failure rate.
when I assign different values to the three Modules in you test case I still do not get the right numbers.
When they are the same the numbers are ok.
in TMR_Archetype.impl EMV2 annex
emv2::OccurrenceDistribution => [ProbabilityValue => 0.1; ] applies to ^Module_1@Failure;
emv2::OccurrenceDistribution => [ProbabilityValue => 0.2; ] applies to ^Module_2@Failure;
emv2::OccurrenceDistribution => [ProbabilityValue => 0.3; ] applies to ^Module_3@Failure;