Technical Elements Documentation
    Preparing search index...

    Interface QuantificationInput

    Interface representing the input data for quantification of fault trees and event trees. This comprehensive interface defines the structure of models to be analyzed, including basic events, gates, fault trees, event trees, and their relationships.

    Quantification

    const input: QuantificationInput = {
    name: "reactor-protection-system",
    label: "Reactor Protection System Analysis",
    modelData: {
    basicEvents: [
    {
    name: "pump-a-fail",
    label: "Pump A Fails to Start",
    expression: { value: 1.0e-3 }
    },
    {
    name: "pump-b-fail",
    label: "Pump B Fails to Start",
    expression: { value: 1.2e-3 }
    }
    ],
    houseEvents: [
    {
    name: "maintenance-mode",
    label: "System in Maintenance Mode",
    constant: false
    }
    ],
    parameters: [
    {
    name: "mission-time",
    label: "Mission Time",
    unit: "hours",
    expression: { value: 24 }
    }
    ]
    },
    faultTrees: [
    {
    name: "cooling-system-failure",
    label: "Cooling System Failure Analysis",
    events: [
    {
    name: "cooling-failure",
    label: "Cooling System Failure",
    formula: {
    or: [
    { name: "pump-a-fail" },
    { name: "pump-b-fail" }
    ]
    }
    }
    ]
    }
    ],
    eventTrees: [
    {
    name: "loss-of-cooling",
    label: "Loss of Cooling Event Tree",
    functionalEvents: [
    { name: "operator-action", label: "Operator Takes Corrective Action" }
    ],
    initialState: {
    branch: {
    fork: {
    functionalEvent: "operator-action",
    paths: [
    {
    state: "success",
    branch: {
    endState: { sequence: { name: "safe-shutdown" } }
    }
    },
    {
    state: "failure",
    branch: {
    endState: { sequence: { name: "core-damage" } }
    }
    }
    ]
    }
    }
    },
    sequences: [
    { name: "safe-shutdown", label: "Safe Shutdown Sequence" },
    { name: "core-damage", label: "Core Damage Sequence" }
    ]
    }
    ],
    ccfGroups: [
    {
    name: "pump-ccf",
    label: "Pump Common Cause Failure Group",
    model: "beta-factor",
    members: {
    basicEvents: [
    { name: "pump-a-fail" },
    { name: "pump-b-fail" }
    ]
    },
    distribution: {
    expression: { value: 1.0e-4 }
    },
    factors: {
    factor: [
    {
    level: 2,
    expression: { value: 0.1 }
    }
    ]
    }
    }
    ]
    };
    interface QuantificationInput {
        alignments?: AlignmentDefinition[];
        attributes?: Attribute[];
        ccfGroups?: CCFGroupDefinition[];
        eventTrees?: EventTreeDefinition[];
        externFunctions?: ExternFunctionDefinition[];
        externLibraries?: ExternLibraryDefinition[];
        faultTrees?: FaultTreeDefinition[];
        initiatingEvents?: InitiatingEventDefinition[];
        label?: string;
        modelData?: {
            basicEvents?: BasicEventDefinition[];
            houseEvents?: HouseEventDefinition[];
            parameters?: ParameterDefinition[];
        };
        name?: string;
        rules?: RuleDefinition[];
        substitutions?: SubstitutionDefinition[];
    }
    Index

    Properties

    alignments?: AlignmentDefinition[]

    Alignment definitions (representing phases of operation)

    attributes?: Attribute[]

    Additional attributes for the model

    ccfGroups?: CCFGroupDefinition[]

    Common cause failure group definitions

    eventTrees?: EventTreeDefinition[]

    Event tree definitions (models of accident progression)

    externFunctions?: ExternFunctionDefinition[]

    External function definitions for custom calculations

    externLibraries?: ExternLibraryDefinition[]

    External library definitions for custom functions

    faultTrees?: FaultTreeDefinition[]

    Fault tree definitions (logical models of system failures)

    initiatingEvents?: InitiatingEventDefinition[]

    Initiating event definitions (events that start accident sequences)

    label?: string

    Human-readable label for the model

    modelData?: {
        basicEvents?: BasicEventDefinition[];
        houseEvents?: HouseEventDefinition[];
        parameters?: ParameterDefinition[];
    }

    Global model data including basic events, house events, and parameters

    Type declaration

    • OptionalbasicEvents?: BasicEventDefinition[]

      Basic events (elementary failure events with probabilities)

    • OptionalhouseEvents?: HouseEventDefinition[]

      House events (boundary conditions that are either true or false)

    • Optionalparameters?: ParameterDefinition[]

      Parameters (constants or expressions used in the model)

    name?: string

    Name of the model or analysis

    rules?: RuleDefinition[]

    Rule definitions (instructions for model transformations)

    substitutions?: SubstitutionDefinition[]

    Substitution definitions (rules for model transformations)