# KPI計算流程及說明

本專案為檢定各來源單位所傳送之資料品質是否良好，因此定義了五種關鍵效能指標(KPI)來進行評估作業，分別為資料完整率、資料維護率、資料妥善率、資料即時率以及檔案介接率，並以這五種指標來檢定單一設備與來源單位之資料品質，而系統必須提供介面讓管理者可設定設備之資料完整率、資料維護率、資料妥善率、資料即時率等四項門檻值，當該設備的資料所計算出來的值超過該門檻值，方可稱為正常或異常。

![ ](https://raw.githubusercontent.com/trafficmotc/UploadInformation/master/KPI/路側設施資料KPI計算流程.png)

## 【總設備即時XX率】

* 指標包含完整率、即時率、維護率、妥善率 ：

$$\frac{新XML檔案中符合條件的設備數}{建構數}$$

## 【單支設備指標統計】

* 單支統計指標分為以小時累計、每日累積及當日累積。
* 指標包含完整率、即時率、維護率、妥善率 ：

$$\frac{統計期間內符合條件設備次數}{統計期間內應收總次數}$$

## 【總設備指標統計】

* 單支統計指標分別為以小時累計、每日累積及當日累積。
* 指標包含完整率、即時率、維護率、妥善率 ：

$$統計期間總設備XX率之平均$$

**更詳細即時路況KPI指標說明：**[**請點我**](https://docs.google.com/viewer?url=https://github.com/trafficmotc/UploadInformation/blob/master/KPI/路側設施KPI說明_20181031.pdf?raw=true)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://motc-traffic.gitbook.io/traffic/kpi-zhi-biao-shuo-ming/sop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
