modelGlobalSystem_1

Greenhouse connected to a CHP and thermal energy storage

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

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.

Results

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.

Components

TypeNameDefaultDescription
RealMdot_2ry
RealE_gas_CHP
RealE_el_CHP
RealE_th_CHP
RealE_gen
RealE_G
RealE_amb_TES
RealPi_buy0.0550euro/MWh
RealPi_sell
RealE_el_sell
RealE_el_buy
RealC_sell
RealC_buy
RealE_gas_CHP_kWhm2
RealE_el_CHP_kWhm2
RealE_th_CHP_kWhm2
RealE_gen_kWhm2
RealE_G_kWhm2
RealE_amb_TES_kWhm2
RealE_el_sell_kWhm2
RealE_el_buy_kWhm2
Greenhouses.Components.HVAC.CHPCHP
Modelica.Fluid.Sensors.TemperatureT_ex_CHP
Modelica.Fluid.Sensors.TemperatureT_su_CHP
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowQdot_nom_gas_CHP
Modelica.Blocks.Sources.Constantset_Qdot_nom_gas_CHP
Greenhouses.Components.HVAC.HeatStorageWaterHeater.Heat_storage_hx_RTES
Modelica.Fluid.Sensors.TemperatureT_ex_TES
Modelica.Fluid.Sensors.TemperatureT_su_G
Modelica.Fluid.Sensors.TemperatureT_ex_G
Greenhouses.Flows.FluidFlow.Pump_Mdotpump_2ry
Greenhouses.Flows.FluidFlow.Reservoirs.SinkPsinkP_2ry
Greenhouses.Flows.FluidFlow.Pdroppdrop_2ry
Greenhouses.Components.Greenhouse.Unit.GreenhouseG
ControlSystems.HVAC.Control_1controller
Greenhouses.Flows.FluidFlow.Pump_Mdotpump_1ry
Greenhouses.Flows.FluidFlow.Pdroppdrop_1ry
Greenhouses.Flows.FluidFlow.Reservoirs.SinkPsinkP_1ry
Modelica.Blocks.Sources.RealExpressionset_Mdot_2ry