TMED Cause Codes to Exclude

By default, all incident types are included as part of the TMED calculation. However, also by default, planned outages and non-outages are not included in the reliability indices. The steps in this topic outline how you can modify the TMED calculation to exclude these cause codes or others if you so choose.

  1. Open Miner.Responder.ArchiveServices.exe.config. By default, this file is installed here: C:\Program Files (x86)\Miner and Miner\Responder\Server.
  2. Add the following new setting to the appSettings section:
    <add key="CauseCodesToExclude" value="6,10" /> 

    The above XML indicates which incidents (by cause) are excluded from the TMED calculation. By default Planned Outages (6) and Non-Outages (10) are excluded from the reliability indices.

  3. Modify the Value parameter to include only the types of outages to exclude from the TMED calculation. To identify the numerical values that correspond to each cause, advance to step 4.
  4. The Cause domain is defined in ArchiveSchemaConfig.xml. Open this file. By default, it is installed here: C:\Program Files (x86)\Miner and Miner\Responder\Server.
  5. Look for the following XML:  
    <Domain Name="CAUSE" xsi:type="CodedDomainConfig" DataType="Int32">
        <DomainPair Value="0" Description="&lt;Unknown&gt;" />
        <DomainPair Value="1" Description="Weather" />
        <DomainPair Value="2" Description="Vegetation" />
        <DomainPair Value="3" Description="Animals" />
        <DomainPair Value="4" Description="Foreign Interference" />
        <DomainPair Value="5" Description="Human Cause" />
        <DomainPair Value="6" Description="Planned Outage" />
        <DomainPair Value="7" Description="Undetermined" />
        <DomainPair Value="8" Description="Equipment Failure" />
        <DomainPair Value="9" Description="All Remaining" />
        <DomainPair Value="10" Description="Non-Outage" />
    </Domain>
  6. Use the Value parameter in the CAUSE domain (ArchiveSchemaConfig.xml) to identify the types of incidents to exclude from the TMED calculation. Enter these values in the XML displayed in step 2 (ArchiveQueriesConfig.xml).
  7. Save and close ArchiveServices.exe.config. Then restart Archive Services.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?