# SDM630 as meter for microgrid

**URL:** <https://community.openems.io/t/sdm630-as-meter-for-microgrid/2044>\
**Category:** Uncategorized\
**Created:** [October 26, 2023, 5:12am UTC](https://community.openems.io/t/sdm630-as-meter-for-microgrid/2044 "2023-10-26T05:12:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![klinki](https://community.openems.io/letter_avatar_proxy/v4/letter/k/858c86/32.png) [@klinki](https://community.openems.io/u/klinki)\
**Post date:** [October 28, 2023, 9:27am UTC](https://community.openems.io/t/sdm630-as-meter-for-microgrid/2044/4 "2023-10-28T09:27:32Z")

</div>

Hi Paul,

The problem with the production “direction” ist that ActivePower can be negative. Not good for a production meter but also physically correct. So I took a modified SDM630 which does not allow negative values for production.  
With consumption vice versa. Now OpenEMS shows 2 meters but uses the same hardware meter. That´s ok for my purpose.  
I have to say that I am still struggeling with energy flow and the different meter types make it even more complicated.  
But I am happy with my solution even if it is not out of the box any more.

It´s the same discussion that @phfeustel kicked off in this [thread](https://community.openems.io/t/change-energy-channel-assignment-based-on-meter-type/1603). By the way: his small table helped me to understand energy flow the right way.

Regards,  
klinki

---

_[View the full topic](https://community.openems.io/t/sdm630-as-meter-for-microgrid/2044)._
