You are on page 1of 9

Available at www.sciencedirect.

com

INFORMATION PROCESSING IN AGRICULTURE 6 (2019) 326–334

journal homepage: www.elsevier.com/locate/inpa

Controlling and regulation of integrated aquaponic


production systems – An approach for a
management execution system (MES)

Olaf Witzel a, Stefan Wilm b, Divas Karimanzira c,*, Daniela Baganz d


a
Automation & Software Günther Tausch GmbH, Bassower Str. 2, 17034 Neubrandenburg, Germany
b
Gesellschaft für Informationsverarbeitung, Fertigungssteuerung und Qualitätssicherung, IFQ GmbH Wismar, Alter Holzhafen 17a,
23966 Wismar, Germany
c
Department of Surface and Maritime Systems, Fraunhofer I0SB-AST, Ilmenau, Am Vogelherd 50, 98689 Ilmenau, Germany
d
Department of Biology and Ecology of Fishes, Leibniz–Institute of Freshwater Ecology and Inland Fisheries, Berlin, Germany

A R T I C L E I N F O A B S T R A C T

Article history: Manufacturing execution systems (MESs) play a significant role in the manufacturing para-
Available online 1 April 2019 digm. MES is there to link between the Enterprise Resource Planning (ERP) systems and the
plant equipment control or Supervisory Control and Data Acquisition (SCADA) applica-
Keywords: tions. In this paper the MES of the INAPRO aquaponics system which was developed to sup-
Aquaponics port and advise the aquaponics managers in operating the complex aquaponic farms, will
Manufacturing execution system be presented. One important feature of the INAPRO aquaponics system is to minimize fresh
Predictive analytics water < 3%, energy and nutrient supplies. This can only be achieved by appropriate design
of the fish and crop mixture, considering the fish to crop ratio, when to sow the crops etc.
and to monitor the system to see whether it performing as designed or not. Therefore, the
MES has a view to show the designed system with all the material flow (water, energy and
nutrients) balances and also how the system will be performing for a given predictive hori-
zon. Knowing the future developments of the system, the operator can taking corrective
measures to make sure that the system is behaving as required. An example of water bal-
ance of a system with 40 m3 fish tanks coupled with a hydroponic NFT system with
1,000 m2 which can produce five tons of Tilapia and 75 tons of tomato yearly is given.
Ó 2019 China Agricultural University. Production and hosting by Elsevier B.V. on behalf of
KeAi. This is an open access article under the CC BY-NC-ND license (http://creativecommons.
org/licenses/by-nc-nd/4.0/).

1. Introduction Data Acquisition (SCADA) and Manufacturing execution sys-


tems (MES) are not standard [1,2]. Without higher level
Programmable Logic Controllers (PLCs) and monitoring tech- automation commercial aquaponics operators have suffered
nology have been incorporated in most Aquaponics systems, huge financial losses from technical errors [3]. Tools used in
but higher levels of automation like Supervisory Control and MES such as Failure Mode and Effect Analysis (FMEA) could
be used to rule out technical issues with careful planning
and design [4,5]. Manufacturing execution systems began to
* Corresponding author.
be applied in the mid-1990 s [6]. The MES approach offers a
E-mail address: divas.karimanzira@iosb-ast.fraunhofer.de
way of manufacturing process optimization as a whole in
(D. Karimanzira).
Peer review under responsibility of China Agricultural University. real-time [7]. Combining MES with other automation systems
https://doi.org/10.1016/j.inpa.2019.03.007
2214-3173 Ó 2019 China Agricultural University. Production and hosting by Elsevier B.V. on behalf of KeAi.
This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4 327

(ERP, SCADA), a production system such as an aquaponics sys- This paper is organized as follows. Firstly, a brief view of
tem is expected to have high competitiveness, due to func- the requirement on the MES is presented. Secondly, the MES
tional integration which makes all the aquaponics functionalities are given and discussed and finally, technical
components able to work well together. The standard known aspects of SCADA, ERP and MES integration are treated.
as ISA-95 specifies the sub-systems of a MES and defines
the boundaries between ERP systems, MES, and other 2. Manufacturing execution system of the
automation systems [8,9]. Guidelines for MES design are INAPRO aquaponics system
given in [10]. With the development of computing power
available in ever smaller units becoming low energy systems The aim of the MES system in the INAPRO project is to create
with high heat resistance and growing in reliability and a connection between human resource, material manage-
operation stability these systems gained more and more ment, accounting, crop production and fish production on a
importance in very diverse application fields during the last higher level by formulating the following goals among others
years [11,12]. Current Enterprise Resource Planning (ERP) sys- to be achieved as in [7,9]:
tems usually include modules for human resource, material
management, accounting, and other functions which sup- (1) Use better workflow controls to optimize the entire
port operations in business. Today, as the optimization of supply chain and reduce operating costs by a high level
activities associated with production is becoming an issue, of integration and the prevention of isolated solutions.
a synergy between ERP and MES becomes a serious concern (2) Improve data quality for assessing processes and
of the manufacturing decision makers [13]. To be able to products.
achieve the intended objectives of the INAPRO aquaponics (3) Increase visibility and transparency throughout the
system, which include (1) an innovative and sustainable entire production process. Requirements such as high
aquaponic system solution. (2) a modular solution - scalable usability, ease of use and others ensures an active sup-
and adaptable to local conditions and (3) an optimized reuse port for the operating personnel. The MES ensures the
of water resources, a minimization of waste effluents as well optimized aquaponic system INAPRO which will have
as the recovery of nutrients from waste water together with significant improvements on the management level
a minimization of energy demands, of infrastructure compared to conventional systems. INAPRO consist of
requirements and operating costs, a management system extensible modules and is therefore highly flexible
with MES is required as depicted in Fig. 1. and adaptable. So it is applicable both in rural as well
With such an MES for the INAPRO facilities, the SCADA as in urban areas and under different geographical con-
based system will be user friendly, stable and more flexible. ditions. The model based integration of the MES will
In this case, besides the management of low level controllers provide a highly effective system solution in regard to
and extended regulation and control abilities using SCADA water and energy saving, water reuse, environmental
the management execution system (MES) will include organi- impact and financial costs.
zational, financial and overall management approaches and
will lead to an optimized water, energy, nutrients and cost
management concept applied for INAPRO systems [14]. Dur- 2.1. Structure of the MES for INAPRO aquaponics system
ing the MES development process end-user demands and
requirements were continuously be questioned, identified The MES consists of a collection of hardware/software com-
and considered in design and development of the new system ponents that enable the aquaponics managers to control the
to find an appropriate and practical solution. overall fish and crop production. The system collects data

Fig. 1 – General structure of the INAPRO management system.


328 Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4

and converts it into information that can be used in real-time, (4) Aquaponics production performance analysis. This
providing information on factors such as efficiency, waste functionality generate very useful secondary data and
and energy usage. This empowers management and staff to information out of the raw real-time collected data
make more accurate analysis and informed decisions. There- about the current status of production process, such
fore, the basis of the MES system is the connection between Work In Progress (WIP) overviews e.g. moving har-
planning system and production system and thus the con- vestable fish to the resting tank or feeding etc., and
nection to target-actual comparisons and earnings preview. the fish and crop growth performance of the past per-
As shown in Fig. 2, The MES has direct interfaces to the iod and the overall equipment effectiveness such as
SCADA/PLC system, the database, the model-base and the mechanical and biological filtering or any other perfor-
Human Machine Interface (HMI). mance indicators.
(5) Production tracking and tracing. Recording and retrie-
2.2. Functionality of the MES for INAPRO aquaponics val of relevant information in order to be able to follow
system the complete history of production lots, orders or
equipment (particularly important in health related
The following functionality are included in the MES: productions, e.g. in aquaponics vegetables and fish).
(6) Pulling the data from all sources including SCADA sys-
(1) Management of product definitions. This include stor- tem, GrowWatch [14], Weather etc. into the common
age, exchange with other systems of data such as rules database.
for product production, parameters, process set points (7) Perform checks on aquaponics equipment and
and feed data all focused on answering the question resources and inform other systems equipment status
of how to produce the fish and the crops in the and about the progress of production processes.
aquaponics. (8) Reporting functionality. This is mainly visualization of
(2) Management of the aquaponics resources. This include the information from the MES.
recording, registration and booking, analysis of avail-
able resources information, with the goal of to prepar- To be able to fulfill all these task, the MES is connected to a
ing and executing production orders with the database which can handle several different entities, such as
available and appropriate resources. time series (Historical and forecasts), real-time data from the
(3) Scheduling production processes for fish and plants. SCADA system and static data such as system parameters
This functionality determines the operational schedule operation rules etc. The non-real-time part of the database
(feeding, harvesting, periodical movement of fish from can be used to accommodate data such as results from the
one tank to another, etc.) to be used for production as simulation models, and other commercial data required by
a collection of working orders to meet the production the MES. The real-time part can be used for handling static
requirements, received from simulation models, mak- and dynamic data from the SCADA system for example. The
ing optimal use of available local resources. third part which is the Historical DB can be used to save

Fig. 2 – Position of MES in the aquaponics control pyramid.


Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4 329

calculated results and to permanently save data from simula- The user of the MES can then predict the extent to which cur-
tion models and the SCADA system. rent data corresponds to the plan. If deviations are encoun-
Furthermore, the MES requires several models such as tered, the user can run the simulation and optimization
models for volumes and flows, waste production, fish growth models described in [15,16] with the real-time sensor data
and gastric evacuation, plant growth and harvesting, green- to search for a better operational strategy for the control vari-
house climate, plant evaporation model econometric models ables e.g. temperature, humidity, light, food type under con-
etc. to perform predictive analytics. sideration of objectives such as minimal cost or constraints
such as a sensor failure.
2.2.1. Reporting and visualization The HMI of the MES gives the operator the ability to view
The MES requires visualization capabilities. The main user the aquaponics plant in real time. Added to that the ability
interface of the system is shown in Fig. 3. Important system to have alarm management that can warn the operator of
data and tasks for the production planning are listed or news problems. The MES logs and print all the alarms in real time
are displayed. The current economic success and key perfor- to the database, which can help the management to improve
mance indicators, budget comparisons and the next tasks the production and efficiency. Therefore the HMI’s main func-
are displayed. From this main window more windows can tionality is to visualize functions of the MES such as monitor-
be opened such as views to business management, monitor- ing, supervision, and control user definable processes.
ing, planning and simulation. As an example of how the fish planning is conducted, HMI
windows of the MES is provided as shown in Figs. 4 and 5. The
2.2.2. Production planning and scheduling window provides the information about the aquaculture sta-
As part of the MES development the fish production planning tus such as the number of pools, the species and breeding
and plant production planning is developed. Day-related technology. Depending on the type of fish assemblages char-
parameters are passed to the MES with the corresponding acteristic curves for gain, feed consumption and final weights
docking frame. In connection with the actual data, it can thus can be recalled and used for planning. By means of these
be visualized (see Fig. 3) as a useful target-actual comparison. characteristics, information and secondary information can

Fig. 3 – Main HMI window.


330 Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4

Fig. 4 – Window to monitor fish production (Part 1).

Fig. 5 – Window to monitor fish production (Part 2).

be calculated such as the fish growth, food consumption and 2.2.3. Design and performance analysis
waste production by the fish. This data will be made available Another functionality of the MES is for a special feature of the
to the business module of the MES system and can be used to INAPRO project, i.e. optimal combination of fish and plant pro-
forecast the sales revenue. A similar approach is also avail- duction. Here the nutrient production by the fish can be mon-
able for crop production - in this case tomatoes (Figs. 6 and itored to see whether, or not they suffice the nutrient
7). The growth models are the basis for prediction [15,17]. requirements of the crops. This can also be used for design
Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4 331

Fig. 6 – Monitoring crop production (Part 1).

Fig. 7 – Monitoring crop production (Part 2).

purposes using models to find the best fish to plant ratio and crop growth, nutrient dynamics described in [15,17] the crop
optimal crop planting time. Given the type of hydroponic sys- quantities required to consume the nutrient load discharged
tem, fish species, fish density, fish production schedule, feed- by the RAS can be calculated. Hereby the planting date of
ing behavior and crop species and using the models of fish and the crops can be varied to find the best planting date solution.
332 Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4

Fig. 8 – RAS water and nutrient output and their utilization by the crops.

2.2.4. Econometric optimization Eq. (1) and Eq. (2) are subject to the fish and crop growth
Another feature of the MES is the overall econometric opti- and nutrient dynamics in the aquaponic system.
mization of the aquaponics system during day to day opera- One important feature of the INAPRO aquaponics system
tion. At the top level, RAS bioeconometric Eq. (1) and is to minimize fresh water <3%, energy and nutrient sup-
Greenhouse hydroponics econometric models Eq. (2) can be plies. This can only be achieved by appropriate design of
used to maximize revenue. the fish and crop mixture, considering the fish to crop ratio,
For the RAS, when to sow the crops etc. and to monitor the system to
max ðPQ  Q  Cf  Ce  Cs Þ ð1Þ see whether it performing as designed or not. Therefore,
R;D;E;W;S
the MES has a view to show the designed system with all
where PQ PQ PQ is the price of Fish ($/gram), Q is the quantity of the material flow (water, energy and nutrients) balances
fish harvested (grams/liter), Cf Cf is total feed cost ($/liter), Ce and also how the system will be performing for a given pre-
is total electricity cost ($/liter), and Cs is total fingerling cost dictive horizon. Knowing the future developments of the
($/liter), and R the ration size, D the dietary composition, E system, the operator can taking corrective measures to
the electricity supply rate, S the stocking density, W the fresh make sure that the system is behaving as required. An
water supply are the control variables. example of water balance of a system with 40 m3 fish tanks
For the Greenhouse hydroponic system, coupled with a hydroponic NFT system with 1,000 m2 which
can produce five tons of Tilapia and 75 tons of tomato
max ðVmcos ðtÞ  Vcos ðtÞÞ ð2Þ
u yearly is given in Fig. 8a, b and c. To obtain the figures,
where the MES runs the models described already in our previous
papers [16,17]. It can be seen from Fig. 8a that the recircu-
Vcos ðtÞ ¼ Vfcos ðtÞHheat ðtÞ þ Vecos ðtÞEee ðtÞ þ Vwcos ðtÞWsw ðtÞ lation aquaculture system (RAS) offers more than the min-
þ Vsfcos ðtÞFsf ðtÞ þ Vccos ðtÞCO2 ðtÞ ð3Þ imum required water for the crop during summer. However,
during the winter period, about 530 m3/yr. are discharged in
and Vmcos(t) are the earning at time t, Hheat(t) is the fuel con-
order to prevent Tilapia intoxication by the nutrients such
sumption of the heating system at time t, Eee(t) is the electri-
as nitrates, because the plants are in early stadium to take
cal energy consumed by the heating system at time t, Wsw(t) is
all nutrients produced by the RAS, i.e. the water from the
the supplied water at time t, Fsf (t) are the supplied fertilizers
RAS is not used by the crops between 01.10 and 01/04. In
at time t and Vfcos(t), Vecos(t), Vwcos(t), Vsfcos(t) and Vccos(t) are the
summer periods, the RAS produces lower Nitrates than
fuel, electricity, water, fertilizer and CO2 costs, respectively. U
the crop uptake. Therefore, about 171 kgN/yr. are added as
is a vector of the greenhouse control parameters, such as
fertilizer. It can be concluded in this scenario that if the
water injection, heating, co2 injection, ventilation etc.
Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4 333

water is not discharged to the sewage, the RAS can supply 4. Conclusions
up to 56% of the required nitrates of the crops. However,
with the discharge of water in winter, only a share of it, In this paper, the structure, the functionalities of Manufac-
i.e. 26% is really covered. turing Execution System developed in the INAPRO Project
were presented. It is a collection of hardware/software com-
3. MES software implementation details ponents that enables the management to control fish and
crop production activities from order launch to finished
The framework realized in Microsoft’s C#.NET programming products. It also links all the processes, data, personal in
language and NET Framework is based on a three-tier the aquaponics enterprise and is used to monitor and con-
client-server architecture in which the user interface, busi- trol the whole production of the fish and plants. The MES
ness process i.e., business rules and data storage and data records and evaluates all technical and economic parame-
access are developed and maintained as independent ters in a single standardized system in order to provide a
modules (see Fig. 9) [18,19]. precise daily overview to the user of the production of both
The presentation layer is developed using WF and is fish and tomatoes. While maintaining current and accurate
mainly used for getting user data and passing it to Business data the MES guides, initiates responds to and reports on
Logic Layer for further processing. The Value Object receives plant activities as they occur. MES provides mission-critical
data from the Business Logic Layer to represent it in the information about production activities to decision support
appropriate form that the user can interpret. It contains get- processes. The MES is intended to provide plant-wide insight
ters and setters which are used to pass data from one class into the production process, informing about the state of
to another. production, production performance, water and energy con-
The intermediate layer i.e., the Business Logic layer has sumption, and emergence and allocation of production costs
the functions such as production planning, production to aquaculture and greenhouse products. The MES will
monitoring for Presentation layer and it is also there to improve better resources planning and allocation, allows
accelerate the information exchange between the Presenta- supervising the process execution, thus it is possible to
tion and data layer. It provides the logic and data access promptly identify and react to abnormal events. Product
for business processes as stated in the Functionality tracking which is so important in health related products
sections. such as fish and crops, as the core functionality of a MES
The Data layer includes the database, which is imple- system has the main objective to accompany and supervise
mented in the MySQL Framework. The database manage- the production process. Based on requests from the produc-
ment system (DBMS) has two parts with the tion manager or upper Enterprise Resources Planning (ERP)
functionalities, dbConnection and DAO. The dbConnection system, the feedback information from low level Supervisory
used to establish and close connections and do activities Control and Data Acquisition (SCADA) systems, and inputs
such as Select, Update and Delete query to the database. from the user/operator it has to be in the position not only
In the Database Access Layer (DAO) the query is built based to know the current state of production and state of all prod-
on parameters received from the Business Logic Layer and ucts, but also to recognize abnormal, deviant or critical
passes it for execution to the dbConnection class and the states in the production process. In order to make it practi-
results are returned back from the dbConnection class to cal for the end-user, the MES has an intuitive user interface
Business Logic Layer. that makes the whole system easily understandable. A fur-
ther development of the aquaponics management system
to an IoT-based system is already published in [20].

Conflict of interest

Olaf Witzel declares that he has no conflict of interest. Stefan


Wilm declares that he has no conflict of interest Divas Kari-
manzira declares that he has no conflict of interest. Daniela
Baganz declares that he has no conflict of interest.

Acknowledgements

This research was supported by the European Union’s


Seventh Framework Programme FP7-ENV-2013-WATER-
INNO-DEMO under Grant agreement N° 619137. We thank
our colleagues from the INAPRO Consortium who provided
insight and expertise that greatly assisted the research. We
also thank the anonymous reviewers and the editors for their
valuable comments which are helpful to greatly improve the
Fig. 9 – Applied software system architecture. quality of this manuscript.
334 Information Processing in Agriculture 6 ( 2 0 1 9 ) 3 2 6 –3 3 4

R E F E R E N C E S [12] Suprem A, Mahalik N, Kim K. A review on application of


technology systems, standards and interfaces for agriculture
and food sector. Comput Standards Interf 2013;35(4):355–64.
[13] Halachmi I. Mathematical principles of production
[1] Johanson EK. Aquaponics and hydroponics on a budget. Tech
management and robust layout design: Part I. 250-ton/year
Directions 2013;69:21–3.
recirculating aquaculture system (RAS). Aquacult Eng
[2] Scattini N, Maj S. Aquaponics automation – design
2012;50:p1–p10.
techniques. Modern Appl Sci 2017;11(28):29–33.
[14] Pythagoras: <https://www.fytagoras.com/en/growwatch/279-
[3] Kanae TC. Economics of commercial aquaponics in Hawaii. J
300>. <https://doi.org/10.4236/epe.2018.106018>.
World Aquacult Soc 2015;46(1):1–28.
[15] Karimanzira D, Keesman K, Kloas W, Baganz D,
[4] Swapnil BAA. Review: implementation of failure mode and
Rauschenbach T. Dynamic modeling of the INAPRO
effect analysis. Int J Eng Innovat Technol (IJEIT) 2013;2
aquaponics system. Aquacult Eng 2016;75:29–45.
(8):37–41.
[16] Karimanzira D, Keesman K, Kloas W, Baganz D,
[5] NPDsolutions. Failure Modes and Effects Analysis (FMEA).
Rauschenbach T. Efficient and economical way of operating a
NPDsolutions: Link: <http://www.npd-solutions.com/fmea.
recirculation aquaculture system in an aquaponics farm.
html. 2013
Aquacult Economics Manage 2016;21:1–18.
[6] Groß de Ugarte BS, Artiba A, Pellerin R. Manufacturing
[17] Reyes Lastiri D, Slinkert T, Cappon HJ, Baganz D, Staaks G,
execution system - a literature review. Production Planning
Keesman KJ. Model of an aquaponics system for minimized
Control 2009;20(6):525–39.
water, energy and nitrogen requirements. Water Sci Technol
[7] Govindaraju R, Putra K. A methodology for manufacturing
2016;74(1):30–7.
execution systems (MES) implementation. Publishing Ltd.;
[18] Gharehchopogh FS, Amini E, Zebardast B. A three-layer
2016. p. 114.
architecture based approach for data access layer in the
[8] Deuel A. The benefits of a manufacturing execution
information systems production. Int J Adv Res Comput Eng
system for plant wide automation ISA. Transactions 1994:
Technol 2013;2(2):761–6.
p113–24.
[19] Amini E, Ghafari A. A new architecture for enterprise re-
[9] Joshi MM, Nagare MR. Implementing manufacturing
source planning system based on a combination of event
execution systems through lean manufacturing approach.
based software architecture and service–oriented
Int J Sci Res Develop 2014;2(4):337–40.
architecture. Indian J Sci Technol 2015;8(1):108–19.
[10] MESA International 2000 Enterprise-Control System
[20] Karimanzira D, Rauschenbach T. Enhancing aquaponics
Integration Part 1: Model and Terminology.
management with IoT-based predictive analytics for efficient
[11] Milagros R, Ernesto M. Agent-based modeling and simulation
information utilization. information processing. Agriculture
of an autonomic manufacturing execution system. Comput
2019.
Ind 2012;63(1):53–78.

You might also like