Interface VirtualMeter

All Superinterfaces:
ElectricityMeter, OpenemsComponent
All Known Subinterfaces:
MeterVirtualAdd, VirtualSubtractMeter
All Known Implementing Classes:
MeterVirtualAddImpl, VirtualSubtractMeterImpl

public interface VirtualMeter extends ElectricityMeter
A VirtualMeter is a meter that does not exist physically.
  • Method Details

    • addToSum

      boolean addToSum()
      Whether or not to add the values of this meter to Sum.

      Use case: there are two production meters which should be joined to one virtual meter. In this case you would not want this VirtualMeter to be added to the total sum of Production power ("_sum/ActiveProductionPower").

      true if it should be added to sum.