本文主要介绍了EMV2.aadl这个文件的基本内容,一方面更加深入的学习emv2的功能,另一方面为自己编写一个annex做准备
property set EMV2
is
OccurrenceDistribution : EMV2::DistributionSpecification
applies to ({emv2}**error propagation, {emv2}**error flow, {emv2}**error behavior event
,{emv2}**error behavior state,{emv2}**error type,{emv2}**type set);
DistributionSpecification : type record (
ProbabilityValue : aadlreal;
OccurrenceRate : aadlreal;
MeanValue : aadlreal;
StandardDeviation : aadlreal;
ShapeParameter : aadlreal;
ScaleParameter : aadlreal;
SuccessCount : aadlreal;
SampleCount : aadlreal;
Probability : aadlreal;
Distribution : EMV2::DistributionFunction;);
DistributionFunction : type enumeration (Fixed, Poisson, Exponential, Normal, Gauss, Weibull, Binominal);
ExposurePeriod : aadlreal
applies to ({emv2}**error propagation, {emv2}**error flow, {emv2}**error behavior event
,{emv2}**error behavior state,{emv2}**error type,{emv2}**type set);
DurationDistributionSpecification : type record (
Duration : Time_Range;
Distribution : EMV2::DistributionFunction;
);
DurationDistribution : EMV2::DurationDistributionSpecification applies to ({emv2}**Repair Event, {emv2}**Recover Event,
{emv2}**Error Behavior Transition);
PropagationTimeDelay: EMV2::DurationDistributionSpecification
applies to (connection, {emv2}**propagation path);
TransientFailureRatio: aadlreal applies to ({EMV2}** Error Behavior Transition);
RecoveryFailureRatio: aadlreal applies to ({EMV2}** Error Behavior Transition);
StateKind : EMV2::StateKindEnum
applies to ({emv2}**error behavior state);
StateKindEnum: type enumeration (Working, NonWorking);
FaultKind : EMV2::FaultKindEnum
applies to ( {emv2}**error event, {emv2}**error propagation, {emv2}**error source, {emv2}**error type, {emv2}**type set);
FaultKindEnum: type enumeration (Design, Operational);
Persistence : EMV2::PersistenceEnum
applies to ({emv2}**error type, {emv2}**type set, {emv2}**error behavior state,
{emv2}**error behavior event, {emv2}**error propagation);
PersistenceEnum: type enumeration (Permanent, Transient, Singleton);
Severity : inherit EMV2::SeverityRange applies to ({emv2}**error type, {emv2}**type set, {emv2}**error behavior state,
{emv2}**error propagation, {emv2}**error event, {emv2}**error flow);
SeverityRange: type aadlinteger 1 .. 5;
ProbabilityRange: type aadlreal 0.0 .. 1.0;
Likelihood : inherit EMV2::LikelihoodLabels applies to ({emv2}**error type, {emv2}**type set, {emv2}**error behavior state,
{emv2}**error propagation, {emv2}**error event, {emv2}**error flow);
LikelihoodLabels: type enumeration (A, B, C, D, E, F);
DALLabels: type enumeration (A,B,C,D,E);
Hazards: list of record
(
CrossReference : aadlstring; -- 对外部文档的交叉引用
HazardTitle : aadlstring; -- 危险的简短描述短语
Description : aadlstring; -- 危险描述(与hazardtitle类似)
Failure : aadlstring; -- 导致故障影响的系统偏差
FailureEffect : aadlstring; -- 故障影响的描述(模式)
Phases : list of aadlstring; -- 与危险相关的操作阶段
Environment : aadlstring; -- 操作环境描述
Mishap : aadlstring; -- 导致以下情况的事件(系列)描述
-- 意外、死亡等。(MILSTD882)
FailureCondition : aadlstring; -- 导致以下情况的事件(系列)描述
-- 意外、死亡等。(ARP4761)
Risk : aadlstring; -- 风险描述。风险的特点是
-- 严重性、可能性和发生概率
Severity : EMV2::SeverityRange ; -- 作为严重程度的实际风险
Likelihood : EMV2::LikelihoodLabels; -- 作为可能性/概率的实际风险
Probability: EMV2::ProbabilityRange; -- 发生危险的可能性
TargetSeverity : EMV2::SeverityRange; -- 严重程度可接受的风险
TargetLikelihood : EMV2::LikelihoodLabels; -- 作为可能性/问题的可接受风险
DevelopmentAssuranceLevel : EMV2::DALLabels; -- 开发保证的严格程度 (ARP4761)
VerificationMethod : aadlstring; -- 解决危险的验证方法
SafetyReport : aadlstring; -- 危险分析/评估
Comment : aadlstring;
)
applies to ({emv2}**error type, {emv2}**type set, {emv2}**error behavior state,
{emv2}**error propagation, {emv2}**error event, {emv2}**error flow);
Description : aadlstring applies to (all);
Description : aadlstring applies to (all);
HazardAllocation: record (
AssumedProbability : aadlreal;
ExposureTime : Time;
Notes : aadlstring;
) applies to (all);