SampleHome with PV, Battery and Electric Vehicle


The OGEMA Resource Model contains the Grid Connection (ElectricityConnectionBox) including a meter providing consumption energy, generation energy and net energy / power. It also contains the PV plant and the electric vehicle model. The electric vehicle is not always connected, of course.

Model Tree:

TestHH1_2.png

org.ogema.model.devices.storage.ElectricityStorage Battery:

The resource presents the battery inverter together with some information on the connected DC battery.

The charge sensor presents the current state of charge of the connected battery. The battery inverter is connected via Modbus, but not all ModbusCommunicationInformation objects are given here. TODO: In the new driver concepts such configuration information is not stored as a decorator of the value resource anymore, but in a separate resource extending CommunicationInformation. The decorator optimizationTarget is required by the MLO App in order to specifiy the SOC target at the end of each 24h optimization period (see app for details).

The setpoint for the current inverter power can be set via electricityConnection/powerSensor/deviceSettings/setpoint . The current power read from the inverter is provided in the reading value of this power sensor.

The battery inverter has a rated upper RMS voltage (single phase) of 250V, the lower limit is 210 - these AC limits specified here are provided as information to the controlling application. Settings that are used by the inverter itself would be stored in the voltage sensor deviceSettings.

The ratedEnergy is provided in Joule, so to get the value in kWh you have to divide by 3,600,000 . The BooleanResource scheduleFromExternal is used to configure optimization. Finally the selfDischargeRate of the entire AC battery system is provided. If the battery inverter powers itself from the battery this contains also the power consumption of the battery inverter besides the direct self-discharge of the battery. The value is provided in SOC/seconds, so 1/selfDischargeRate provides the time in seconds after a fully charged battery will be completely discharged.

org.ogema.model.devices.connectiondevices.ElectricityConnectionBox NETZ_TH1 (grid connection of the building):

The resource presents the battery inverter together with some information on the connected DC battery.

Tags:
Created by David Nestle on 2016/06/30 18:02
    
XWiki Enterprise Debian 9.4