|
|
std::string | timestamp |
| | Timestamp of measurement.
|
| |
|
Energy | energy_Wh_import |
| | Imported energy in Wh (from grid)
|
| |
|
std::optional< std::string > | meter_id |
| | A (user defined) meter if (e.g. id printed on the case)
|
| |
|
std::optional< bool > | phase_seq_error |
| | AC only: true for 3 phase rotation error (ccw)
|
| |
|
std::optional< Energy > | energy_Wh_export |
| | Exported energy in Wh (to grid)
|
| |
|
std::optional< Power > | power_W |
| | Instantaneous power in Watt. Negative values are exported, positive values imported Energy.
|
| |
|
std::optional< Voltage > | voltage_V |
| | Voltage in Volts.
|
| |
|
std::optional< ReactivePower > | VAR |
| | Reactive power VAR.
|
| |
|
std::optional< Current > | current_A |
| | Current in ampere.
|
| |
|
std::optional< Frequency > | frequency_Hz |
| | Grid frequency in Hertz.
|
| |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const Powermeter & |
k |
|
) |
| |
|
friend |
- Returns
- an output stream with the Powermeter written to
The documentation for this struct was generated from the following file: