Smarthoods: Aquaponics Integrated Microgrids

With the pressure to transition towards a fully renewable energy system increasing, a new type of power system architecture is emerging: the microgrid. A microgrid integrates a multitude of decentralised renewable energy technologies using smart energy management systems, in order to ef ﬁ ciently balance the local production and consumption of renewable energy, resulting in a high degree of ﬂ exibility and resilience. Generally, the performance of a microgrid increases with the number of technologies present, although it remains dif ﬁ cult to create a fully autonomous microgrid within economic reason (de Graaf F, New strategies for smart integrated decentralised energy systems, 2018). In order to improve the self-suf ﬁ ciency and ﬂ exibility of these microgrids, this research proposes integrating a neighbourhood microgrid with an urban agriculture facility that houses a decoupled multi-loop aquaponics facility. This new concept is called Smarthood , where all Food – Water – Energy ﬂ ows are circularly connected. In doing so, the performance of the microgrid greatly improves, due to the high ﬂ exibility present within the thermal mass, pumps and lighting systems. As a result, it is possible to achieve 95.38% power and 100% heat self-suf ﬁ ciency. This result is promising, as it could pave the way towards realising these fully circular, decentralised Food – Water – Energy systems.


The Smarthoods Concept
To unlock the full potential of the Food-Water-Energy nexus with respect to decentralised microgrids, a fully integrated approach focuses not only on energy (microgrid) and food (aquaponics) but also on utilising the local water cycle. The integration of various water systems (such as rainwater collection, storage and wastewater treatment) within aquaponic-integrated microgrids yields the biggest potential for efficiency, resilience and circularity. The concept of a fully integrated and decentralised Food-Water-Energy microgrid will from now on be referred to as a Smarthood (smart neighbourhood) and is depicted in Fig. 15.2.
The benefit of implementing aquaponics into the Smarthoods concept is its potential to contribute to optimise integrated nutrient, energy and water flows ( Fig. 15.1). This integration potential goes well beyond the already-mentioned

The Food−Water−Energy Nexus
30% of global energy demand is used for agriculture 70% of global freshwater demand is used for agriculture Collection, treatment and distribution of (waste)water Storage and transportation of heat.
Biogas from black/grey water. Providing flexibility for the microgrid.
B io f il t r a t io n o f w a t e r . M a in t a in in g w a t e r q u a li t y .
N u t r ie n t r e c o v e r y o f p h o s p h a t e s a n d n it r a t e s .  The Food-Water-Energy nexus shows the interplay between energy, water and food production (based on IRENA 2015) crossovers between the energy and food systems. For instance, occurring biodegradable waste streams can be treated in anaerobic reactors (e.g. UASBs) and generate both biogas and bio-fertiliser (Goddek et al. 2018). Even the demineralized waste sludge can be utilised as liquid manure on conventional cropland.  Fig. 15.2 The integration of decoupled aquaponics systems (as described in Chap. 8) in a decentralised local environment as designed for the Smarthoods concept. The green arrows show to what extent an aquaponics system can interact with the overall system. The red arrows represent heat flows, the blue arrows water flows and the yellow arrows power flows Example 15.1 An early example of an urban integrated aquaponic microgrid development is De Ceuvel, a previously abandoned shipyard in Amsterdam-North that has been converted into a self-sufficient office space and recreational hub. De Ceuvel serves as a testbed for new technologies and policies aimed at creating a circular economy. It features an all-electric microgrid including solar PV, heat pumps and peer-to-peer energy trading over the blockchain using their own energy token: the Jouliette. 1 A small aquaponic facility produces herbs and vegetables for the on-site restaurant. The same restaurant utilises biogas extracted from locally produced organic waste for their cooking activities as well as space heating. In addition, there is a lab present that is used for testing the water quality and extracting phosphates and nitrates.

Decoupled Aquaponics Systems in a Smarthood
Although De Ceuvel is currently not actively using the aquaponics facility to increase the flexibility of its microgrid, sensors are being installed to monitor the energy and nutrient flows in order to assess its performance. This data will be used to aid in the development of newer and smarter urban integrated aquaponics microgrids, such as the Smarthoods concept proposed in this chapter. Early use cases found in urban living labs like De Ceuvel are essential to the successful development of the Smarthoods concept ( Fig. 15.3). Although a holistic approach to urban FWE systems such as the Smarthoods concepts yields many benefits, the integration of aquaponics systems within microgrids remains very case-dependent. Aquaponic food production systems are characterised by a higher yield and a lower water, nutrient and energy footprint than conventional agricultural systems; however, they are also more costly to build. They are therefore best suited in locations that require high yields due to, for instance, space limitations. In dense urban areas, there may not always be sufficient space to build an aquaponics facility, whereas for rural areas the cost of land may be too low to warrant building a state-of-the-art aquaponics facility; a standard agricultural facility with lower financing costs and yield will be more suited in such cases. The most optimal use case for an integrated aquaponic facility is one where sufficient space is available, and a high yield per area is required to offset the cost of land use. Suburban neighbourhoods and other urban areas (e.g. an abandoned warehouse) are therefore most likely to see the first implementation of microgrids integrated with an aquaponic facility (see Example 15.1).

Goal
The goal of this research is to quantify the degree of self-sufficiency and flexibility for a microgrid integrated with a decoupled multi-loop aquaponics system.

Method
A neighbourhood of 50 households was assumed a 'Smarthood', with a decoupled multi-loop aquaponics facility present that is capable of providing fish and vegetables for all the 100 inhabitants of the Smarthood.
For the detailed modelling of the Smarthood, a hypothetical reference case of a suburban neighbourhood in Amsterdam was used, consisting of 50 households (houses) with an average household occupancy of 2 persons per household (100 persons total). In addition, one urban aquaponic facility consists of a greenhouse, aquaculture system, a UASB and a distillation unit. The dimensioning of the different components is motivated using data for a typical Dutch household and greenhouse (see Table 15.1).

The Energy System Model
An Energy System Model (ESM) was made that can simulate the energy flows of a wide range of components, whose main specifications are shown in Table 15.2. The ESM is capable of calculating energy flows for each component for each hour of the year.
The energy system was modelled in MATLAB using energy profile data for Amsterdam obtained through DesignBuilder. The numerical time-series model incorporates a wide selection of energy technologies, listed in Table 15.2 with their relevant specifications ( Fig. 15.4).
The Energy System Model (ESM) uses simple conditional statements for the decision-making process, i.e. it is a rule-based control system. In the current version of this model, the control is centralised, with the objective of self-consumption  maximisation for the system as a whole (in a future version, the control architecture will be decentralised, see Sect. 15.5). The conditional statements to achieve this can be stated as follows: 1. Keep the heat storage to a minimum. 2. Forecast the predicted inflexible electricity production and consumption. 3. (a) If the battery will be full, turn on flexible consumption. (b) If the battery will be empty, turn on flexible generation.
By keeping the heat storage to a minimum, the buffer for flexible energy balancing is maximised. If there is an overproduction of inflexible electricity (i.e. electricity production that cannot be flexibly scheduled or controlled, such as solar or wind), the heat pump can be turned on to create a buffer provided by hot water storage and the thermal mass of the aquaponic RAS system. Conversely, if there is an underproduction of electricity, flexible generation such as the CHP and the fuel cell can be turned on, thereby utilising the thermal storage capacity.
For both heat and power, the energy balance is equivalent to P gen, flex þ P gen, inflex þ P grid ¼ P cons, inflex þ P cons, flex þ P storage ð15:1Þ Flexible generations include the heat pump, Combined Heat and Power (CHP) unit, fuel cell, battery and smart/flexible devices (e.g. aquaponic pumps). Wind, solar photovoltaics (PV) and solar collectors are classified as inflexible generation. Non-flexible devices make up the bulk of electricity consumption, especially in winter (due to the need for instant lighting) (Fig. 15.5).

Results
The total electrical and thermal consumption of both the houses and the aquaponic greenhouse facility (modelled from the data in Tables 15.1 and 15.2) is shown in Table 15.3. The aquaponic greenhouse facility is responsible for 38.3% of power consumption and 51.4% of heat consumption. The power demand for an aquaponics facility integrated in a residential microgrid is therefore slightly over one-third of the total local energy demand, given that all of the residential energy and vegetable/fish production is done locally. The heat demand comprises roughly 50% of the total heat demand, which can be attributed for a large part to the distillation unit running on high-temperature water.
As can be seen in Figs. 15.4 and 15.6, the Smarthoods energy system is capable of balancing production and demand most of the time. The total share of imported electricity from the grid is 4.62% for the reference case. At times, a slight imbalance of power can be observed, which can be attributed to suboptimal control for the current version of the model for the most part. The CHP, for instance, switches from an on-to off-state multiple times over the course of several hours, resulting in an overproduction of electricity. Such behaviour will not occur for a more optimised control system, since the CHP can be ramped down in coordination with the heat pump in order to deliver the precise amount of electricity and heat needed.

Flexibility
The system is highly flexible as a result of the CHP and the aquaponics facility with its flexible lighting and pumps, and high thermal buffering capacity, as well as the This particular configuration does not include the Combined Heat and Power unit that is present within the Smarthood concept, nor does it take into account a large aquaponics facility battery, and the hydrogen system. The aquaponic system, especially, greatly increases the overall flexibility of the system, as it can function for a wide range of energy input, as can be derived from Table 15.4. As a result of this flexibility, the system manages to achieve near total (95.38%) power self-sufficiency and 100% heat self-sufficiency.

Discussion
Self-Sufficiency The energy system proposed for the Smarthood concept is capable of achieving near full grid-independence through the use of the flexibility provided by the various system components. The aquaponic system, especially, has a positive  effect on the overall flexibility of the system. With 95.38% power self-sufficiency, this system performs better than any other economically feasible system assessed in previous research (de Graaf 2018).
Control Architecture Facilitating a decentralised local energy economy, such as the one proposed in the Smarthoods concept, requires a platform that keeps track of all the peer-to-peer transactions occurring within the neighbourhood. The corresponding peer-to-peer network can be classified as a multi-agent system (MAS) approach, in which multiple nodes (e.g. households or utility buildings) function as independent agents with their own objective (e.g. minimise cost or maximise energy saving) and corresponding decision-making process. Such a decentralised, multi-agent decision-making approach is necessary due to the complexity of the system. There is simply too much information and too many variables for the computation of a hierarchical, top-down and centralised control architecture.
Blockchain A blockchain-based multi-agent system control architecture could potentially provide the necessary framework to accommodate a decentralised peerto-peer network. A vast number of distributed nodes ensure stability and security for the network, and an alternative to mining can be used: minting. With minting, tokens/coins are generated based on the data provided by a real-world device such as a smart energy metre. Provided that these sources of information can be trusted, i.e. that these devices can be tamper-proofed, a secure and independent ledger can be created in which various stakeholders can exchange goods (e.g. electricity) and services (e.g. demand-side management). Using smart contracts, complex services such as flexibility trading can be programmed into the control architecture of the system.

Internet of Things
The constituent components within the Smarthood system, such as heat pumps, greenhouse lighting or the UASB, can all be controlled using Internet-connected sensors and actuators, known as Internet of Things. An IoT sensor network allows for the extensive acquisition of data, ranging from fish tank nutrient concentration to, for instance, battery load cycles, all on a per-time-step basis. This data can be used to verify the numerical model and optimise the dynamical control of the system.
Artificial Intelligence Optimising the control of the Smarthood system can be done by analysing the data using artificial intelligence algorithms, such as genetic programming (evolutionary algorithms) or machine reinforcement learning. With machine reinforcement learning, for instance, a set of actions and their influence on the environment are passed to the algorithm as input arguments, along with the current state of the system and a cumulative objective/cost function. An incrementally improving, heuristic decision-making process can be implemented at each household that will dynamically adapt to situations in order to find a near-optimal decision-making programme that will manage the energy flows within the house and the Smarthood. Each house can run such an algorithm, and as a result, a multi-nodal control system architecture, known as a multi-agent system (MAS), can be created that is relatively computationally inexpensive (compared to centralised control)and close to optimal.
Legal Barriers The highly innovative nature of various aspects of the Smarthood concept, such as the polygeneration microgrid, the multi-loop aquaponic system and the unconventional urban planning requirements, brings along a unique set of challenges to overcome. For many of these challenges, the current regulatory framework is insufficient to accommodate the developments proposed in the Smarthoods concept.
Microgrids, for instance, work best when there is a local marketplace in which various prosumers (consumers that simultaneously produce power) can engage in frictionless peer-to-peer energy trading in a free market. Market forces will then work to create a local energy market in which a fluctuating energy price will result from local supply and demand. This price fluctuation will consequently incentivise smart energy solutions such as energy storage, demand-side management or flexible energy generation. In most EU countries, a free local market is currently impossible due to regulations; taxes have to be paid for every kWh that passes through the electricity metre, the electricity price for consumers is fixed and prosumers are not allowed to participate in the energy market without the intervention of a third party called the aggregator. With the expected increase in the development of microgrid projects, regulators will have to find ways to facilitate local energy markets in order to unlock the full potential of highly integrated microgrids (see Example 15.2).
Example 15.2 A recent advancement within the regulatory framework in the Netherlands is the introduction of the experimenteerregeling, an experimental law that allows a small number of carefully selected projects (such as de Ceuvel, example Z.1) to allow energy cooperatives to become their own distribution system operator, as if they were behind a single metre connection. This law is indicative of the awareness amongst Dutch regulatory bodies of previously mentioned legal barriers, and will therefore most likely lead to the current electricity law to be revised in the near future in order to better accommodate microgrid developments.
There are also some legal barriers in most EU countries with respect to reusing treated black water for fish and plant production, as it has to be ensured that human pathogens are fully eliminated. More information on the legal framework of aquaponics can be found in Chap. 20.

Conclusions
The goal of this research was to quantify the degree of flexibility and self-sufficiency that an aquaponics integrated microgrid can provide. In order to attain this answer, a neighbourhood of 50 households was assumed a 'Smarthood', with a decoupled multi-loop aquaponics facility present that is capable of providing fish and vegetables for all the 100 inhabitants of the Smarthood.
The results are promising: thanks to the high degree of flexibility inherent in the aquaponic system as a result of high thermal mass, flexible pumps and adaptive lighting, the overall degree of self-sufficiency is 95.38%, making it nearly completely self-sufficient and grid independent. With the aquaponics system being responsible for 38.3% of power consumption and 51.4% of heat consumption, the impact of the aquaponics facility on the total system's energy balance is very high.
Earlier research (de Graaf 2018) has indicated that it is very difficult to achieve self-consumption levels over 60% without relying on an external biomass source to drive a CHP. Even with this source included, the maximum techno-economically feasible self-consumption did not exceed 89%. In the Smarthood, biomass inputs for the CHP are partially derived from the aquaponic system itself, and the recycling of grey and black water. A higher self-consumption combined with a lower dependence on external biomass inputs, and a resulting self-consumption of 95%, makes the proposed aquaponic-integrated microgrid perform better from a self-sufficiency point of view than any other renewable microgrid known to the authors.
The authors of this chapter therefore strongly believe that with enough experimentation, integrating aquaponic greenhouse systems within microgrids yields great potential for creating highly self-sufficient Food-Water-Energy systems at a local level.
Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.