Skip to content

Site model ​

pvmon reads devices. It calculates and shows values for meters.

TermDescriptionExample
SiteThe household. Each installation has one siteHome
ConnectionA physical access path with an addresstcp://10.0.0.5:502
DeviceA connection, a unit ID (Modbus) and a profileSolis S6
ProfileThe description of a device modelsolis/s6-hybrid
MeterA measurement point with one role. One device supplies itRoof, Grid, Wallbox
ChannelA value of a meter with a unit and a sign rulepower, energy_in
SeriesThe stored history of a channel or a site quantitygrid/energy_in

Roles and signs ​

RoleA power above 0 isEnergy channelsMore than one
pvgenerationenergy_outyes
gridimportenergy_in (import), energy_out (export)no, exactly one is necessary
batterydischargeenergy_in (charge), energy_out (discharge), socyes
consumerconsumptionenergy_inyes, each with a category
backupconsumption on the backup outputenergy_inyes
inverterAC output of an inverter, for diagnosisenergy_out, energy_inyes

The profile sets the signs. The web interface does not change them.

Parent meters ​

Each consumer has a parent: the site or a different meter. pvmon subtracts the consumer from the consumption of its parent. Thus pvmon counts the energy one time.

For the PV strings (MPPT) of an inverter, set the total pv meter as their parent. pvmon does not add the strings to the PV total.

The consumer categories are wallbox, heatpump, heater and other.

Site quantities ​

pvmon calculates the site quantities from the meters.

QuantityDefinition
site/pvSum of the PV meters that have no parent
site/grid_in, site/grid_outImport and export of the grid meter, after netting
site/battery_in, site/battery_outSum of the batteries
site/socState of charge of all batteries
site/consumptionPV + import − export + discharge − charge
site/loadpoints/<category>Sum of the consumers of one category with the site as parent
site/house_restConsumption minus the consumers with the site as parent
site/self_sufficiency(consumption − import) / consumption
site/self_consumption(PV − export) / PV

If each battery has a capacity, site/soc uses the capacities as weights. If not, site/soc is the mean value, with the mark ≈.

A negative site/house_rest shows that the meter values do not agree.

Grid meter and inverter ​

An inverter can report grid values also if you have a separate grid meter. In this case, give the grid block of the inverter the role inverter.

Version 0.4.0-66c93c2. MIT license.