Optimal Utilization of Renewable Energy in Aquaponic Systems

Aquaponic systems require energy in different forms, heat, solar radiation, electricity etc. Typical actuator components of an aquaponic system include pumps, aerators, heaters, coolers, feeders, propagators, lights, etc., which need electrical energy to operate. Hybrid Energy Systems (HES) can help in improving the economic and environmental sustainability of aquaponic systems with respect to energy aspects. Energy management is one of the key issues in operating the HES, which needs to be optimized with respect to the current and future change in generation, demand, and market price, etc. In this paper, a Decision Support System (DSS) for optimal energy management of an aquaponic system that integrates different energy sources and storage mechanisms according to priorities will be presented. The integrated model consists of photovoltaic and solar thermal modules, wind turbine, hydropower, biomass plant, CHP, gas boiler, energy and heat storage systems and access to the power grid and district heating. The results show that the proposed method can significantly increase the utilization of HES and reduce the exchange with the power grid and district heating and consequently reduce running costs.


Introduction
Global warming and climatic shift has become a major concern nowadays.Because of this, most of the countries have begun to turn their attention towards the clean green renewable energy sources.The design of hybrid solar-wind power systems has received considerable attention in the last decade [1]- [6].Main reason for adopting these two energies in particular is that wind power generation (WT) brings less adverse effects on the environment and PV arrays are long lasting, emission-free and requires very little maintenance during their life cycle.However, the negative aspects of solar and wind are that they are intermittent.
Power from PVs is not available all day and during unpredictable cloudy days.
Wind is also not there throughout the whole year [7] [8].Due to this nature of the energy sources, power fluctuations will incur.These effects on the power system can be minimized by energy storage technologies, i.e., batteries and heat storage systems (HSS) can be used to store surplus electric and heat energy, respectively for later use in the power system [9] [10] [11].Ru et al. determined the required battery bank storage capacity in a grid-connected PV system [12].
Usually, renewable energy systems (RES) are supplemented by devices fed by fossil fuels, such as diesel generators [13] [14] [15] [16], and if thermal energy is required, cogeneration is taken into consideration, leading to a better exploitation of fossil fuel [17].
Due to the complexity of hybrid systems, their design and operation is very difficult.Therefore, many approaches have been proposed for the optimization of these systems [18] [19] [20] [21] [22].In [19], a review of various approaches for the planning, assessment and optimization of such systems is given.In [2], a hybrid charge controller is used to connect PV and WT.Depending on the load, the surplus power is used to charge the battery.Further, the battery is used to supply the power to the load in case of insufficient power generation from PV and WT.In most cases, the optimization problem is aimed at cost minimization and energy demand fulfillment [23].In some cases, the goal is to minimize the use of fossil fuels or greenhouse gas (GHG) emissions [19] [20].This paper presents a method based on a network flow problem formulation to determine the optimal energy supply mix for aquaponic systems under consideration of the daily profiles for electricity, heat and water pumping demand.
The objective is to minimize demand deficit, while maximizing the utilization of renewables at low exchange with the power grid.Hence, a basic understanding of aquaponics is vital and required.Aquaponics can be described as an energy efficient method of producing food particularly in comparison to conventional hydroponics and aquaculture systems.This is predominately because the combination of the two techniques allows the energy costs to be shared.Aquaponic systems on the whole operate within a controlled environment for year round production and this requires an energy input of some kind particularly in temperate climates.Essential components such as the pump and aerators may be mechanically powered via a non-electrical means e.g.via foot or gravity.This may not be possible however in larger systems or where a high level of automation is required and so in most aquaponic systems it is strived to integrate renewable energy technologies within the systems wherever possible.The novelty of the model lies in the prioritization of renewable energy source for allocation based on the produced-energy form and requested-energy form, i.e., why use electrical energy produced by PV for heating if there direct is heat energy from biomass of flat plate solar collector.Therefore, many different priority constraints DOI: 10.4236/epe.2018.106018are included in the network flow optimization problem formulation.
The paper is organized as follows: In Section 2, a detailed problem description will be presented.The proposed methodology will be given in Section 3.An analysis of the current situation and the implementation of the proposed methodology as well as the obtained results for a case study will be given in Section 4. Sensitivity analysis of the main influencing variables is shown in Section 4.2.
Finally, in Section 5 the main conclusions are drawn.

Problem Description
The ideal hybrid energy generation system for an aquaponic system is shown in Figure 1.This hybrid system consists of PV modules, wind turbine (WT), biomass plant (BP), solar flat plat collector (FPC), small hydropower plant (SHP), a battery to store electricity, heat pumps to convert electricity into heat, a Heat Storage System (HSS), Combined Heat and Power System (CHP) and power grid access, which can be configured according to the available components on each specific site as will be shown in the case study.The optimization of such a system aims to generate energy satisfying the demands in real time (i.e., heating demand, electrical demand and pumping) thus preferably taking into account the available renewable energy resources in each time interval.FPC and biomass plant, boiler are only used to guarantee heating demand.Either energy produced by the wind turbine or the energy produced by the PV, CHP and the SHP system can be directly used to satisfy a part of the electrical demand as well as the water demand through pumping, and/or can contribute to supply the heating demand.
The electricity surplus from WT, SHP and the PV can be sent to the battery or/and sold to the grid depending on the energy prices.The battery storage system can provide free energy for heating, electricity, and pumping needs in cases of deficit in electricity.Furthermore, the power grid connection offers the possibility to purchase district heat (DH) in case of failure of the storage system and the boiler.

Methodology
For a generic system, it is important to have a well-defined and standardized procedure taken for the management of the hybrid system based power generation for aquaponics.The procedure is as follows: 1) Demand side assessment: Assess the energy users in the aquaponic system [24] 2) Energy resources assessment: Resource assessment can be done by calculating potential available renewable energy resources using meteorological data (wind solar irradiation) or primary source data (e.g.gas in case of CHP) available.
3) Constraints: annual electricity and heat demand, reliability, net present cost, environmental factors etc. 4) Once the system configuration is selected, optimization is performed with suitable optimization technique as will be described in the following sections.

Optimization Problem Formulation
This is a discrete-time energy flow allocation problem, demanding to strictly satisfy all the physical constraints of the system, handling all the operational targets according to a predefined priority series and minimize the total energy conveyance cost and system's losses.At the same time the deviations between the actual and the desired releases have to be minimized.Following Figure 1, several variables can be adjusted by the decision maker or optimizer with the aim of controlling the response of the system.These decision variables of the optimization problem are listed in Table 1.
The SoC and the thermal storage varies dynamically in the system.Therefore, these variables are used to represent the overall state of the system.The energy allocation problem is formulated as a discrete-time optimal control problem as in [25]: subject to ( ) where 0 x is the initial states vector; k h is a vector of m equality constraints (e.As in [25], the dynamic optimization problem can be solved by formulating the mathematical model of the system as a network optimization problem, which is solved at each time step k, assuming that the system's components and attributes are represented in a capacitated digraph form (node-link), as shown in Figure 2.
The equality and inequality constraints of the full discrete-time optimal control problem are composed of the constraints of the individual network elements (nodes and connections).The node-link representation enable node specific definition of the objective function, e.g. for a demand node the demand fulfillment need to be defined.The overall objective function is the weighted sum of all objectives defined in the network elements.In the node-link HES network, a node represents a physical component of interest such as energy source, storage,

Models for Nodes
The Mainly, there are six types of network elements for nodes: Source/Supply nodes (S), Generation nodes (SG), Distributor nodes (DT), Storage nodes (R), Consumer nodes (D) and Supply/Consumer nodes (SD).
As in [25], the general model for distributor nodes has no parameters and describes a node where the energy from the incoming connections is distributed to the outgoing connections.The flow dynamics can be expressed as where is the adjacency set of node j.
For example in Figure 2, the distributor nodes 12 and 14 represent the hourly energy that can be used in time interval t for heating, ( ) h E t and for electricity ( ) e E t which can be expressed as the sum of the heating and electric energy supply, respectively as follows: ( ) w Q t is proportional to the energy used for pumping water, i.e.

( ) ( ) ( )
where ρ is the water density [kg•m −3 ], g is the gravity constant acceleration [m −2 ]; ps η is the pumping system efficiency, H is the height of pumping and ( ) p E t is represented by node 13 and is the hourly energy that can be used in the time interval t for pumping water.
For node 20, the energy that is sent to the network ( ) netin E t is composed of the surplus energy produced by the WT, PV and SHP, i.e.
, are known because they are the surplus of electrical energy.That is, For node 12, if there is deficit in energy supply, energy is taken from the net- , as follows: For supply nodes, the supply model describes a node to which energy is supplied to the network at a predefined rate, e.g., node 15 in Figure 2. Its flow dynamics and the mass balance can be expressed as in Equation ( 15).
D. Karimanzira, T. Rauschenbach The storage model describes a storage based on a discrete-time energy balance equation expressed in Equation ( 16) with stored volumes as state variables.Control variable is the energy outflow ( Y CH ).The model includes time-varying constraints for the storage volume as well as an objective term to penalize deviations from a predefined reference trajectory for the storage content. ( 1 The storage volume is denoted by S, the self-discharge of the storage by α, the power inflow is denoted by Q and discrete time step is denoted by t.Y CH de-  notes the discharged power, θ the time delay, c η the storage charging efficiency and d η the storage discharging efficiency.The volume of the storage can be scaled to enhance convergence properties of the optimization algorithm.Equation ( 16) is subjected to the following constraints, ,min ,max ( ) Specifically for node 10, the battery works as an inventory for the surplus electrical energy that can, in this way, be stored.Specifically, a state equation for Every battery has a maximum capacity max SoC .Therefore, this restriction in battery capacity is also considered as a constraint of the system as follows: The same principle can be applied to express the heat storage state Equation node 11, ( ) where h α is the self-discharge of the heat storage, ( ) According to the management goal several objective functions can be defined for the demand model which penalizes the demand deficit of the consumer node j, e.g., a quadratic penalty term: A power generation node is governed by some primary energy source, e.g.solar radiation, wind, flow and the generation efficiency.The power generation by WT, PV, and SHP are governed by the following equations, respectively: For the BP, FPC plant and CHP, the following restrictions apply, the BP, FPC and CHP may not be in operation e.g., in summer heating is not necessary, and water for heating passing through the plate collector may be stopped.This implies the following relations: ) ,max chp chp The Equations ( 25)- (30) for energy generation by renewable energy source have been discussed in several journal papers and we therefore refer to [26] [27] for WT, [28] [29] [30] for PV, [31] for FPC, [32] [33] [34] for SHP.In the simulation, the CHP unit is characterized by the following parameters: static performance characteristics with the upper and lower limits; maximum electrical and thermal performance gradient (ΔPel/t and ΔPth/t); minimum operation/downtime; maximum number of load cycles and operating cycles per day.Characteristics of the start and stop behavior including the necessary energy needs and associated costs.Basically, any kind of CHP (e.g.motor or on the basis of a fuel cell) can be modeled.The results of analysis presented here refer to a gas driven CHP plant with 16kw rated and 34 kW of thermal power, as it is currently available on the market.The minimum power performance is 1 kW electric and 1.6 kW thermal.The electrical power where , th n η is the thermal power efficiency.

Models for Connections
Each arc/connection in Figure 2  ,min ,max The basic model can be extended to a model which defines a time-varying lower and upper bound for the discharge along the connection as well as an objective term to attenuate discharge variations.The objective function can be expressed as in Equation ( 35) Please note that the objective term is associated with the introduction of auxiliary optimization variables according to the number of steps for considering the discharge variation penalty term.Therefore, only a few time steps should be considered in this term.In most cases one step will be enough for a sufficient attenuation of the discharge variation.

Solving the Optimal Control Problem
This is a special optimization problem, because the solution we are looking for should give priorities to some decision variables compared to the others.Precisely this means if PV alone can generate enough power then the other variables like the grid are kept at their minimum.If PV alone cannot generate enough then WT will follow and so on according to their priority.There are some solvers, e.g., CPLEX which can solve this problem by issuing priority orders.
In order to reach a more adequate level of adherence to the physical system more detailed models are resolved by taking into account nonlinearities in the objective function and constraints, which request a nonlinear programming solver [25].The process simulation model basically consists of the governing physical equations that describe physical processes such as conservation of mass, energy and momentum.These equations are typically large in number, sparse and nonlinear in terms of the decision variables.An existing approach is to transform the discrete-time optimal control problem into a large scale, structured non-linear programming problem in the state and control variables and then apply solvers such as IPOPT [35] and HQP [36].

Case Study
To test the feasibility of the proposed methodology, it was applied to one demonstration project setting, which is built to supply power for an aquaponic system [37].According to our methodology (section 3) the first and second steps are to assess the energy demand and the potential available energy suppliers, respectively.Therefore, the Hydrid Energy System at the site was analyzed.The current main energy systems of the aquaponic plant in consideration include energy producers (CHP, PV System, Boiler, Energy storage system and Power Grid) as well as energy consumers (Heating/Cooling, Electricity, Pumping).
Combined heat and power (CHP) at the site is used to generate both electricity and heat.This has an electrical output of 16 kW and a thermal output of 34.5 kW.The gas driven CHP plant has an electrical efficiency of 31.0%and a thermal efficiency of 66.9%, which means that the overall efficiency is 97.9% [38].
There are 48 PV modules from Heckert NeMo P60-with an area of 80.16 m 2 .
Together, the modules have a total output of 12.48 kWp.According to the system simulation of the manufacturer, the yield of the system is approx.12,500 kWh/a [39] and account for only a small part, about 9% of the total power generation, which corresponds to a total production of 10,878 kWh/a (Figure 3).This value is very close to the manufacturer's information of 12,500 kWh/a and may fluctuate monthly, depending on the number of hours of sun.One reason for the low power generation of the PV system during the period of consideration is, as can be seen in Figure 3, the comparatively low hours of sunshine of 186 hours in July 2017 in comparison to the average value of the hours of sunshine (measured in the period from 1981 to 2010) in the region in the month of July is 232 hours (German weather service 2017).Further, the CHP plant produced 96,010 kWh of electricity in the aquaponics system.This accounts for 75% of the total power generation of the entire plant.In the case of possible technical failures of the CHP, electricity can be obtained from the grid.In addition, the CHP is less used in the warm summer months.With the power generation only by the photovoltaic system, the high energy demand of the cooling system cannot be covered, which is why additional electricity from the grid is needed.Over the year, this is a share of 20,580 kWh, so that the grid cover accounts for about 16% of the current coverage.
A boiler (gas heating) is used as a redundant device for heat generation in the event of a failure of the CHP.It also runs on days with very high heat requirements.There is no more detailed information on gas heating from the site.For this reason, with the help of invoices, approximate values for gas consumption were determined.

D. Karimanzira, T. Rauschenbach
The energy consumption of the plant is divided into the consumption of the aquaculture, the greenhouse and the cooling system and the gas requirement of the CHP and boiler.The electricity consumption is read off every month by the electricity meters in the system.An air/water heat pump of the type Zeta Rev HE LN from the company Bluebox is used for cooling.It has a cooling capacity of 49.2 kW and is responsible for various functions.The main task is to cool the room temperature in the greenhouse in the summer months to constant 19˚C.
The system also produces cooling water for the cooling fins, which is used to produce condensation.
In the balance-sheet period of 12 months (August 2016 to July 2017), the high energy consumption of the cooling system (3000 to 4300 kWh/month) can be seen in the warm summer months-May to September (Figure 4).Due to the high external temperature and solar radiation of the sun on the greenhouse, the cooling system requires a high demand for electricity.Starting at a greenhouse temperature of 19˚C, the cooling system is switched on to keep the temperature.
In principle, the 30˚C mark should not be exceeded, since too high temperatures have a bad effect on the plant growth of the tomatoes.
The heat required by the greenhouse can be easily calculated according to the scheme of the KTBL (Board of Trustees for Engineering and Construction in agriculture).According to the scheme, the Thermal transmittance U of the  respective building components, the surfaces to be heated A and the temperature difference ΔT (between temperature in the greenhouse and the outside temperature) flows into the calculation as follows: ( ) Roof surface area greenhouse Warmeubertragende Hu ( ) Glass wall surface area greenhouse Warmeubertragende Hullflache Gewachshaus 1.27 W m K 360.30 m 2.857 0.35 9.5 K 4346.00W ( ) Aquaculture surface area Warmeubertragende Hullflache Gewachshau 0.284 W m K 360.30 m 2.85 28041.00 W where the parameters are defined as in Table 2.
To calculate the maximum heat requirement of the plant, the standard temperature of minus 12˚C is used.The internal temperature remains constant at 19˚C.Thus, the design temperature difference is ∆T = 31 K and this results in a heat demand of 90.818 W for the aquaponics plant.
An assumed annual heating load curve of the aquaponics plant can be seen Figure 5.The base load is carried out by the CHP, on very cold days, such as −12˚C outside temperature or snowfall, the boiler is connected.
In percentage terms, the components of aquaculture (pumps, filters, mixing tanks, etc.) consume about 18,624 kWh/a in a continuous production process.
The usage is between 1500 and 2000 kWh/month.Despite the production stop in the winter months of December and January, the components of the greenhouse (pumps, measuring and control systems, condensate traps etc.) consume about the same amount of electricity (18,810 kWh/a).Over the entire year, the power consumption in both zones is 30% for each of them.The current required for cooling is 24,876 kW/a, which accounts for a total of 40%, although the cooling system is not used during the production stop of the greenhouse.In total, the plant consumes 45,876 kWh of electricity in one year.
A primary disadvantage of RAS technology is that water must be moved from the culture tank to the different unit processes that restore used water to acceptable levels of quality for fish growth.Therefore, pumping is required.
Pumping energy is estimated based upon the amount of lift required (how high the water must be elevated above the culture tank free water surface) and the flow rate required to support fish growth.Thus, it can be seen that the energy requirements for pumping are proportional to the pumping pressure (total dynamic head (TDH) the pump works against), the Feed to gain ratio ( ) Figure 6 shows electricity consumption and power generation.The entire plant consumes around 62,000 kWh in the period from August 2016 to July 2017.The CHP and the PV system generate around 106,000 kWh of electricity.In addition, there are about 20,000 kWh of electricity from the Power grid.This means that the aquaponics plant generates about 42% more electricity than required, and including the mains electricity, 50% more electricity is produced.The surplus electricity-i.e., around 64,000 kWh/a-is supplied to the fish factory in order to cover part of its energy requirements.

Cost analysis
The costs of the CHP, the photovoltaic system and the grid are listed in order to obtain a power cost value over an accounting period of twelve months.In German, a CHP ordered before the year 2016 falls under the KWKG (Cogeneration Law) 2012 and is remunerated at 5.41 cents/kWh.The prerequisite for this is own use and kWel ≤ 50 kW, which is given in this aquaponics plant.Since 2017, however, the electricity consumed by the company itself has been subject to a levy of up to 40% for the EEG (renewable energy law) levy, i.e., 2.5 cents/kWh.Similarly, taxes for the electricity own use of the photovoltaic system amounts to 2.54 cents/kWh, must also be paid.The electricity from the grid results in costs of 16.8 cents/kWh.Therefore, the overview of Electricity costs of the aquaponics plant (August 2016-July 2017) are listed in Table 3 and in overall, the asset recorded a minus of 18.95608 €/a in ancillary costs.Consumption is particularly high due to natural gas consumption.Due to the demand of the CHP for natural gas, the operator of the aquaponics system requested to conduct a feasibility study to utilize only renewable energy sources and design an hourly operational strategy for the only RES system.In the following, the intention is to initiate and evaluate possibilities for optimization using the methodology described in this paper by conducting a feasibility analysis on RES for sustainable and efficient methods of energy production by tapping the natural resources of wind and photovoltaic solar energy, biomass, FPC, and micro-hydro.The dimensions of the proposed system components are listed in Table 4.There was no hourly data available for the demand.Therefore the first task was to generate hourly demand data using the monthly information described previously in this section, hourly pumping behavior, and typical heat requirements for a day using information from literature.For example, the water flow delivered by the pumps in rearing water conditions vary during the day according to fish feeding (Figure 7(a)).The figure is for three times feeding per day.After feeding, the water flow increases and decreases following the second order processes of digestion and waste production.Hourly energy demand for different shapes of greenhouses are discussed in [40].A Gable-shaped greenhouse was considered in the aquaponics system and hence its hourly energy requirement profile was extracted and scaled for this study using the value obtained from Equation (37).It is shown in Figure 7(a) where negative values mean cooling.
The meteorological input data used for the study was taken from Hydro-Met/AgriMet.At the measured site, the wind speed [m/s] and the solar radiation [W/m 2 ] for the selected month August, 2015 are as plotted in Figure 8.
The average water current velocity of the nearby creek during this month is 0.036 m 3 /s.Also available from the aquaponic system were the energy requirements of different components, with which the average hourly demand for the different purposes (heating, electricity, pumping) could be estimated for a typical day in August.Due to this a representative day for August was created from the hourly data and the results are shown in Figure 7   The network flow optimization formulation described in 3 was implemented C++ and solved using the IPOPT Solver to find an hourly operation strategy for the hybrid management system for the aquaponics.The results will be discussed in the next section.

Results and Discussions
The results illustrated in Figure 9 show that all demand requirements are met depending on the optimization criteria, priority of utilization of different energy sources and the availability of the resources.
The variability of the energy generated by the wind turbine can be seen in Figure 10(a) and that the maximum production of the PV and FPC are at midday and zero in the night time due to lack of solar irradiation.Due to the flexibility and storage capability of the hydropower, it has a steady power production and also for the biomass plant a constant supply of heating material was assumed, therefore the production is also constant if FPC is not available.It can be seen that the energy for heating is satisfied by the energy produced mainly by the biomass plant and the FPC.The biomass plant contributes most of the energy during the whole day while being supplemented by the FPC in the hours from 8 to 16.

Sensitivity Analysis
After finding the optimal solution using the mean meteorological conditions scenario (mean wind and solar irradiation in impact on the cost analysis of the system as the efficiency of the renewable components of the hybrid system hugely depends upon these parameters.The system will become more feasible if the wind speed is higher, amount of solar radiation is higher and primary energy price is lower and vice versa.Sensitivity analysis is the study of the sensitivity of the system when these parameters change their values.Figure 11 shows how the system behaves to combined variations of wind speed, solar radiation and primary energy price.

Conclusion
A decision support system for real time HES management was presented in this paper to define the optimal energy flows in an aquaponic facility.Firstly the current HES was analyzed both on supply and demand sides to find potential improvements.The potential HES system in consideration is characterized by a mix of renewable resources (SHP, solar plate collector, PV, biomass and wind supplemented by storage systems, the power grid and district heating) to satisfy sustainably different energy and heat demands.The methodology was applied to a typical aquaponic system with all types of energy needs, heating, pumping and electricity.A typical August day scenario was created and the optimal results to satisfy all the energy demands were found.Further, sensitivity analysis of the optimal solution using other meteorological scenarios was performed to check the robustness of the solution.It could be shown that the strategy can be applied to an aquaponic facility to manage its energy system sustainably while allocating renewable energy sources to the maximum extent according to demand and

Figure 1 .
Figure 1.Hybrid Energy System for an aquaponic system.
the battery storage can be formalized as the actual state of Charge of the battery plus the excess energy from the supply [ ] , , X WT PV HP ∈ and the energy utilized from the battery by the different users [ ] , , Y h e p ∈ .That is, a given load to the electrical power efficiency at nominal load as expressed in Equation(32) has three parameters: a weighting, penalty, or unit cost factor (relative priorities) ij c associated with ij Q ; lower bound ij l on ij Q ; and an upper bound ij U on ij Q .The requirement for lower and upper bounds results in the term capacitated flow network.The basic model for connections defines a time-varying lower and upper bound for the discharge along the connection and is subjected to the following constraints:

Figure 3 .
Figure 3. Energy production of the aquaponics plant.

(Figure 5 .
Figure 5. Annual heating load curve of the aquaponics plant.

Figure 6 .
Figure 6.Ratio of electricity consumption to power generation.

Figure 7 .
Figure 7. (a) Typical demand profiles for energy use; (b) solar irradiation and (c) Wind speed hourly average for August.

Figure 10 (Figure 9 .
Figure 9. Energy demand and supply contributions of different sources.

Figure 10 .
Figure 10.(a) Energy production and (b) allocation to/from Battery/Grid.

Table 1 .
Decision and state variables of the optimization problem.
DOI: 10.4236/epe.2018.106018283 Energy and Power Engineering aggregate energy demand site.A link represents an energy flow between two different nodes, but can also stand for energy losses.

Table 3 .
Overview of electricity costs of the aquaponics plant (August 2016-July 2017).

Table 4 .
Parameter of the proposed alternative renewable energy systems.