hrbonz / python-aqi

A library to convert between AQI value and pollutant concentration (µg/m³ or ppm)
BSD 3-Clause "New" or "Revised" License
60 stars 28 forks source link

Add support for Dutch AQI #5

Open justb4 opened 6 years ago

justb4 commented 6 years ago

Within the Netherlands the National Institute for Public Health and the Environment - RIVM has developed a local AQI, called "LKI", based on NO2, O3 and PM10 (and PM2.5?). See: http://www.rivm.nl/Onderwerpen/S/Smog/Waarschuwingsgrenzen_en_luchtkwaliteitsindex

image

It would be useful to extend the current python-aqi algorithms with DutchRIVM. I need to figure out the exact algorithms first though. A use would be in the Smart Emission Project and the issue there.

I hope to contribute via a PR, but maybe others can help me finding the exact calculations for the algorithm.

hrbonz commented 6 years ago

If you can provide me with the formula concentration -> RIVM, I can give a hand.

justb4 commented 6 years ago

Thanks! Yes, found some more details, even in English, though it doesn't expand the formula in English, but only in the Dutch version:

image

The full RIVM report is here (106 pages) though in Dutch as well but the PDF can't be opened at the moment....

In Dutch: "Zowel de gemeten als berekende luchtkwaliteit wordt ingedeeld in vijf klassen van goed tot zeer slecht. Per stof wordt een concentratie omgezet tot een getal van 1 (weinig luchtverontreiniging) tot 11 (veel luchtverontreiniging). De stof met het hoogste indexgetal bepaalt de totale luchtkwaliteitsindex. Als alle stoffen hetzelfde indexgetal hebben dan wordt de totale index één punt hoger."

Trying to convert this to English:

Only thing I see that there are three ranges: 1-5, 1-11 and even 1-17 in the legend below, though this is refinement on the 1-11 index, so I think it should range 1-11.

image

So basically we have all the info I think. Now we can see about the next step.

hrbonz commented 5 years ago

I'm back working on the project so I'll take a look at this this weekend.