====== HEMS v1.2.x Introduction ====== Home Energy Management System (HEMS) is a system for: * monitoring electricity flows at home (consumption, production, and storage) * control of key consumers * optimizing consumption in terms of reducing consumption and using cheaper energy to ensure the same comfort with lower costs * maximize in-house consumption of self generated renewable energy * minimize cost of electrical energy * contribute to local micro grid balance as a prosumer * provide relevant information and help understanding energy flow * control and manage devices (producers, consumers, prosumers) * get access to flexibility trade and other digital services * manage charging of electric vehicles (EV fleet) * protect main fuse(s) from overcurrent \\ \\ {{:hiq_energy:hems:flow_chart.png?direct&600|}} \\ \\ HEMS consists of two parts, one is hardware installed at physical object while second is software to support above listed tasks. Hardware consists of HEMS master controller and units to be connected on it. Units can be divided on input and output: * from **input**, controller gets measured values e.g. from different sensors (power sensor-PS, temperature) or ON/OFF signals from thermostat, switches, push buttons, while * on **output**, controller applies result of control algorithm e.g. with power relays switches ON/OFF devices (water heater, heat pump, washing machine...) or set charging current for EV on charging station or set charge/discharge current on storage system. **HEMS supports**: ✔ 1 grid power sensor ✔ up to 3 local power plants (PV, Wind, Cogeneration, Generator, etc) - as SOURCES ✔ up to 2 local storage systems (home battery) - as CONSUMER OR SOURCE ✔ up to 8 devices (electrical heating, EV charging station, electrical domestic water heater, washing machine, tumble dryer, …) as CONSUMERS. In terms of HEMS terminology there are devices producing energy (i.e. PV) named as **sources** and devices consuming energy named **consumers**. For both types, measured electrical characteristic are provided by power sensor connected to this device. Consumers can be defined as: - Power sensor connected to a measured device without capability of control (just measuring), - Power sensor connected to a measured device with capability of control (HEMS is in charge of controlling a device), - Managed device connected to HEMS without power sensor but with the default set nominal power for device, - Managed device connected to HEMS without power sensor and without set of default nominal power. For connection to cloud HEMS is using IOT linker device. Below is illustrated HEMS scheme. Connection between controller and units can be **wired** (directly on port, modbus RTU/TCP) or **wireless** (using EnOcean protocol or [[en:hiq_hw:wm-1|wireless modbus to modbus bridge]]): {{:hiq_energy:hems_v1_2_0:HEMS_intro.png?direct&600|}} where: * temperature sensor is directly wired ([[en:hiq_hw:es|Digital temperature sensor]]) or paired ([[en:hiq_hw:en-ts-iq|Wireless temperature sensor]] and [[en:hiq_hw:en-tsh-iq|Wireless temperature and humidity sensor]] ) to the HEMS master controller [[en:hiq_hw:mc-230|MC-230]]. **Note**: only one temperature sensor can be added, * measurement of electrical power and energy is provided by single-phase ([[en:hiq_hw:pm1-e-d|PM1-E-D]]) or three-phase ([[en:hiq_hw:pm3-i-d|PM3-I-D]] and [[en:hiq_hw:pm3-e-d-ct|PM3-E-D]]) power sensors which are connected directly to HEMS master controller [[en:hiq_hw:mc-230|MC-230]] or they could be connected wirelessly using [[en:hiq_hw:wm-1|WM-1]] wireless modbus unit. * there are also wireless modules [[en:hiq_hw:en-p1-iq|Metering smart plug]] and [[en:hiq_hw:en-p2-iq|Micro smart plug]] with integrated power sensor to measure consumption and power of consumer, * power relays are used for control of managed consumers. They are toggling power supply or enabling signals for the operation of the device. Supported connection is as wired relay or as [[en:hiq_hw:en-rs2-iq|wireless relay switch]], * push button are used for manual control of managed devices and are directly wired to HEMS master controller.