Technical Elements Documentation
    Preparing search index...

    Interface OpenPSASerializable

    Interface for objects that can be serialized to OpenPSA XML format.

    interface OpenPSASerializable {
        eventTreeToOpenPSAXML(
            eventTree: event_sequence_analysis.EventTree,
        ): string;
        openPSAAttributes?: Record<string, any>;
        openPSAFieldMappings?: Record<string, string>;
        openPSAMetadata?: {
            formatVersion?: string;
            modelName?: string;
            modelType?: "fault-tree" | "event-tree" | "reliability-block";
        };
        toOpenPSAXML(): string;
    }
    Index

    Methods

    OpenPSA XML

    • Serializes the object to OpenPSA XML format.

      Returns string

      The XML string representation.

    Properties

    openPSAAttributes?: Record<string, any>

    Extension points for OpenPSA specific attributes

    openPSAFieldMappings?: Record<string, string>

    Field mappings between OpenPRA and OpenPSA

    openPSAMetadata?: {
        formatVersion?: string;
        modelName?: string;
        modelType?: "fault-tree" | "event-tree" | "reliability-block";
    }

    Metadata for OpenPSA format

    Type declaration

    • OptionalformatVersion?: string

      Version of the OpenPSA format being used

    • OptionalmodelName?: string

      Name of the model

    • OptionalmodelType?: "fault-tree" | "event-tree" | "reliability-block"

      Type of model being serialized