models

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InverterStatus

type InverterStatus int

Inverter Device Status Values

type PVSolarReading

type PVSolarReading struct {

	// Identifier of component being measured.
	MeterId *string

	// AC Voltage Phase A/L1 to N value (Volts)
	AC_Voltage_L1_N *float64
	// AC Voltage Phase B/L2 to N value (Volts)
	AC_Voltage_L2_N *float64
	// AC Voltage Phase C/L3 to N value (Volts)
	AC_Voltage_L3_N *float64

	// AC Power (Watts)
	AC_Power *float64

	// AC Frequency (hz)
	AC_Frequency *float64

	// AC Active Power (VA)
	AC_VA *float64 // Apparent Power

	// AC Reactive Power (VAR)
	AC_VAR *float64 // Reactive Power

	// AC Power Factor (pf, 0.0-1.0)
	AC_PF *float64 // Power Factor

	// AC Lifetime Energy production
	AC_Energy_WH *float64

	// DC Current (Amps)
	DC_Current *float64

	// DC Voltage (Volts)
	DC_Voltage *float64

	// DC Power (Watts)
	DC_Power *float64

	// Inverter Heat Sink Temperatur (°C)
	Temp_Sink *float64

	/*
	 Inverter Status:
	 {ivsSTATUS_OFF,ivsSTATUS_SLEEPING,ivsSTATUS_STARTING,ivsSTATUS_MPPT,ivsSTATUS_THROTTLED,ivsSTATUS_SHUTTING_DOWN,ivsSTATUS_FAULT,ivsSTATUS_STANDBY}
	*/
	InverterStatus *uint16

	// Unix time in milliseconds of Modbus read
	Time *int64 `json:"time"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL