LASS 專案 - Simulator

LASS Simulator

Current code: https://github.com/LinkItONEDevGroup/LASS/tree/master/LASS-Simulator

開發步驟

需求

規格

設計

基本

Producer

Consumer

Effect

Boundry

Status

設定

基本演算法

total ↔ value

跨邊界效應

模擬結果評估

匯入資料

及時 Download 新版環境資料

Files/Directories Definition

doc

Codes : codes

Include :

Output

Lib : the code that may easy to be reused

test:

sim.py : startup program

Auto environment data update list

name url file location(ini variable name)

帶起步驟設計

Basic fundation, classes/cfg/reporting

車輛與沈積效應的平衡

Wind effect + boundry handler

大地圖, grouping → 走向全台灣模擬

Climate effect

Real data input, real data comparsion

 模擬概念圖 

 目前空汙模式主要在中尺度(a) 模擬的解析度

 LASS 觀測為(c) 小尺度觀測成果 

 當點位資料夠多後可以擴展為(b)區域尺度成果

 

參考資料來源 http://library.wmo.int/pmb_ged/wmo_8-2012_en.pdf

Versions

V0.0.1 

V0.1

V0.2

V0.2.1

V0.2.2

V0.2.3

資料匯入狀態

項目 狀態 資料週期 說明
土地面積、人口及密度 已匯入 每季 資料內容只有人口,codepage: big5
機動車輛登記數及密度 已匯入 每季
環保署列管污染源 已匯入 每月 codepage: utf16
自動氣象站-氣象觀測資料 已匯入 即時

Installation

執行

Export CSV Format

timestamp,device_Id, SiteName, gps_lon , gps_lat, PM2_5, PM10, temperature, humidity

timestamp format: yyyy-MM-dd HH:mm:ss

#      "timestamp": "2016-10-25T00:00:00Z",

#      "temperature": 31.61,

#      "humidity": 81.14,

#      "PM2_5": 7.62,

#      "PM10": 9.15

Study

Current Progress

2D Raster Display  Sample by QGIS

動態展示方式(內插參數還需修正)

https://youtu.be/mGEg9AtpmAo

模擬評估

簡單實驗,什麼都不做,用上個小時的值來預測下一個小時,公式是:平均(新小時感測值 - 上一小時感測值)

Problems

3D 問題

基礎參數收集

資料格式

show the hourly average of a partucylar PM25 device in the past two days: http://nrl.iis.sinica.edu.tw/LASS/history-hourly.php?device_id=FT1_001

{

  "device_id": "FT1_001",

  "feeds": [

    {

      "timestamp": "2016-10-25T00:00:00Z",

      "temperature": 31.61,

      "humidity": 81.14,

      "PM2_5": 7.62,

      "PM10": 9.15

    },

    ...

      ]

}

參考資料