This example intends to illustrate the energy flows interacting between the greenhouse and generation and storage units. To that end, the greenhouse model is used as a grey box and is connected to a CHP unit and a thermal energy storage tank.
The storage tank is connected as an open buffer, i.e. the CHP is not connected to the greenhouse but only to the tank.
The CHP unit is sized to provide the peak load of the thermal demand of the greenhouse, which can be extracted from the example Greenhouse_1. The thermal energy storage unit is sized considering a storage period of 8h and given a nominal temperature difference between the inlet and outlet.
The CHP is providing the heating and electrical demand from the greenhouse. Excess of electricity is sold back to the grid. Lack of electricity is bought from the grid. Constant prices are used for the selling and buying of electricity and buying of gas.
The results obtained from this simulation are discussed in the online documentation: https://greenhouses-library.readthedocs.io/en/latest. A more detailed discussion including a comparison between this example and GlobalSystem_2 is presented in the following article:
Altes-Buch Q., Quoilin S., Lemort V.. Modeling and control of CHP generation for greenhouse cultivation including thermal energy storage. In Proceedings of the 31st international conference on efficiency, cost, optimization, simulation and environmental impact of energy systems, Guimaraes, Portugal, June 2018.