ndokter / dsmr_parser

Library to parse Dutch Smart Meter Requirements (DSMR) telegrams.
MIT License
110 stars 64 forks source link

add instantaneous reactive power + fixed swapped reactive total import export #124

Closed yada75 closed 1 year ago

yada75 commented 1 year ago

add instantaneous reactive power + fixed swapped reactive total import export

ndokter commented 1 year ago

Do you perhaps have any documentation related to this? I looked in this 5.0.2 spec document and couldn't find it there https://www.netbeheernederland.nl/_upload/Files/Slimme_meter_15_a727fce1f1.pdf

yada75 commented 1 year ago

Do you perhaps have any documentation related to this? I looked in this 5.0.2 spec document and couldn't find it there https://www.netbeheernederland.nl/_upload/Files/Slimme_meter_15_a727fce1f1.pdf

It's already referenced i code. https://github.com/ndokter/dsmr_parser/blob/0a259a3c9d1c315824d7f120e7eeedc91551ce12/dsmr_parser/telegram_specifications.py#L234-L235

direct link to same document, look at last 3 pages, but unfortunately only in Swedish. https://www.energiforetagen.se/globalassets/energiforetagen/det-erbjuder-vi/kurser-och-konferenser/elnat/branschrekommendation-lokalt-granssnitt-v2_0-201912.pdf

Good page on description of current OBIS code and covers above. https://www.promotic.eu/en/pmdoc/Subsystems/Comm/PmDrivers/IEC62056_OBIS.htm

Output from my Swedish meter.

0-0:96.1.0(38303034363937333432383437313030333936353238)
0-0:1.0.0(230114124705W)
1-0:1.8.0(009487.172*kWh)
1-0:2.8.0(000817.659*kWh)
1-0:3.8.0(000002.158*kvarh)
1-0:4.8.0(005023.041*kvarh)
1-0:1.7.0(0000.945*kW)
1-0:2.7.0(0000.000*kW)
1-0:3.7.0(0000.000*kvar)
1-0:4.7.0(0000.633*kvar)
1-0:21.7.0(0000.207*kW)
1-0:22.7.0(0000.000*kW)
1-0:41.7.0(0000.676*kW)
1-0:42.7.0(0000.000*kW)
1-0:61.7.0(0000.061*kW)
1-0:62.7.0(0000.000*kW)
1-0:23.7.0(0000.000*kvar)
1-0:24.7.0(0000.147*kvar)
1-0:43.7.0(0000.000*kvar)
1-0:44.7.0(0000.361*kvar)
1-0:63.7.0(0000.000*kvar)
1-0:64.7.0(0000.124*kvar)
1-0:32.7.0(238.7*V)
1-0:52.7.0(237.6*V)
1-0:72.7.0(237.7*V)
1-0:31.7.0(001.4*A)
1-0:51.7.0(003.6*A)
1-0:71.7.0(001.1*A)
!26E5
ndokter commented 1 year ago

Thank you and thanks for the addition. I will merge it and make a new build soon

yada75 commented 1 year ago

Thanks!

ndokter commented 1 year ago

I've made a new release for your change: https://pypi.org/project/dsmr-parser/1.1.0/