Professional Documents
Culture Documents
Energy Aware ERP
Energy Aware ERP
JEERP: Energy-
Aware Enterprise
Resource Planning
Dario Bonino, Luigi De Russis, and Fulvio Corno, Politecnico di Torino, Italy
Gianni Ferrero, Proxima Centauri, Italy
E
nterprise resource planning plays a piv- factories). In this context, IT serves as an enabling
otal role in business operations, allowing technology to improve industrial processes from
the integration of internal and external both a green and an economic standpoint.
management information across entire Although current solutions, such as the SAP
organizations. ERP embraces finance and ac- Green IT initiative (www.sap.com/solution/lob/
counting, manufacturing, sales and service, and it/software/green-it/index.html), support energy
customer relationship management. Although assets to some extent by considering aggregate
ERP efficiently handles the flow of information consumption (at the building or cost-center
between all business functions within an orga- level), increased granularity is needed to fully
nization’s boundaries, it mainly applies to tradi- evaluate the contribution of energy assets to the
tional assets such as feedstock (semiprocessed overall product economy. Because of changes in
materials), purchased items, operating machines, the energy sector (such as the upcoming smart
and personnel. Ever-increasing energy costs and grid), energy optimization should be considered
new energy-saving requirements, however, are as another key indicator for cross-layer optimiza-
encouraging ERP design and research1 to better tion. To achieve this optimization, energy must
account for energy assets in enterprise planning,2 be measured locally and in near real time. Manu-
especially in industrial sectors involving high facturing control activities should also be aware
energy consumption (for example, mechanical of the energy consumed.3
50 IT Pro July/August 2014 Published by the IEEE Computer Society 1520-9202/14/$31.00 © 2014 IEEE
computer.org/ITPro 51
Oratio (ERP)
Administrative
staff
Collector
spChains
Time scale (CEP)
~1 s
No.of sensors
~1,000
Dog2.3
Historic
Field data data
(Scada)
SCADA
Figure 1. The Java Energy-Aware ERP (JEERP) logic architecture. The solution’s main components—a
modular Scada gateway, a data collection layer, an asset manager, and a traditional ERP system—
follow a strict open source distribution policy.
a data collection layer (collector) that exploits software driver bundles. (It currently supports KNX,
complex event processing (CEP),5 an asset man- Modbus, Echelon, and OpenWebNet technolo-
ager extended to deal with energy assets (CMD- gies.) The adoption of an ontology model of devices
Build), and a traditional ERP system (Oratio). All (DogOnt6), which describes the devices’ function-
components follow a strict open source distri- alities, possible states, and generated events (notifi-
bution policy, supporting the system spread at cations), lets Dog abstract the Scada and metering
virtually no cost and thus offering an option for layer protocols to a single, high-level, event-based
stakeholders of any sized business to start moni- and technology-independent language based on
toring energy use in their daily operation. XML messaging (either through XML-RPC or
These components each tackle a subset of the REST). Such an abstraction decouples the measure-
cited IT challenges. handling layer and the ERP systems from the actual
plants, thus supporting the architecture’s portability
Scada Gateway over different industrial settings.
The Dog gateway provides Scada-to-ERP and re-
verse communication. It exploits a modular struc- Data Collection Layer
ture based on the OSGi framework, and interfaces Measures extracted from the field are normalized,
both metering and Scada systems using suitable abstracted, and delivered to the upper layers as
computer.org/ITPro 53
Aggregation
out
M1 Average
1 h batch
(a)
Alerting
S4 x Threshold
Last Alarm
10 s 0.1 ˚C rising
(b)
5000 1000
out in
S5 Sum Range Alarm
Figure 2. Stream processing chains for aggregation and alerting: (a) average of M1 (where M1 is
a generic measure of electric power or some other value) on a 1-hour chain composed of a single
block using a batch temporal window; (b) detection of sudden temperature changes, with alerts
for variations greater than 0.1°C in the past 10 seconds; and (c) notification if the sum of pieces
produced by a machine is out of the operative range (1,000 to 5,000 pieces per hour).
that’s easy to extend and integrate into larger planning, with a particular focus on the produc-
ERP systems. Proxima Centauri (the author of tion process optimization domain, according to
the Oratio ERP) and Tecnoteca (an Italian Web the Manufacturing Resource Planning (MRP II)
Company) collaborated on integrating energy- system. The production planning should, in fact,
asset management and evaluation in the current depend on energy availability, the forecasted costs
release of CMDBuild. corresponding to the planned production time-
frame, and the type of energy to be used in a spe-
Enterprise Resource Planning cific process.
Economic values associated with energy con- Energy accounting must also be integrated in
sumption (taken from, for example, energy retailer the economic evaluation of production process-
invoices) are accounted for at the ERP layer. These es (process accounting), because the availability
values include all pricing-specific details, such as of energy information supports direct correla-
hourly and daily tariffs, financial penalties, and tion of energy costs and product lots, increasing
cost disaggregation (energy, taxes, and delivery). the accounting granularity and precision in an
Given the energy figures associated with a par- unprecedented manner.
ticular asset, the ERP layer can extract all the oth-
er economic values that characterize the asset and Prototype
correlate them to evaluate the energy economy We deployed and tested all the architecture com-
balance for the given asset and, by induction, for ponents both separately and jointly, and we set
the entire enterprise. The bigger picture involves up a first complete installation at the Proxima
full integration of energy assets in enterprise Centauri premises. Figure 3 is a screenshot of the
running system. The JEERP project description handle from a stream-processing standpoint. Data
and a demo are available at www.jeerp.org. persistence was implemented using a PostgreSQL
The installation involved several steps. First, the server instance running in the datacenter.
Proxima Centauri premises were profiled from an For each measured quantity, one aggregation
energy viewpoint, and critical consumption points— chain was defined, with a 15-minute timeframe
the datacenter and the HVAC system—were iden- (typical in the energy-management domain), and
tified. Monitoring granularity was then tuned to with computations depending on the monitored
achieve a suitable tradeoff between infrastructure physical quantity: average and peak for power
costs and gains due to forecasted savings. We agreed measures, difference (delta) for energy measures,
that we would install two three-phase meters and and peak values for voltage and current.
monitor six different channels. The entire monitor- Three alert chains were configured: two moni-
ing network is based on the KNX system, because toring the HVAC system consumption to pre-
it was the easiest to integrate in the existing prem- vent possible failures, and one on the total power
ises plant. The Dog gateway acts as a Scada gate- consumption to detect peak absorptions in high-
way thanks to its KNX driver, and it’s deployed on tariff hours.
an industrial-grade embedded PC equipped with a Events aggregated and filtered by the collector
1.6-GHz Intel Atom processor, 2 Gbytes of RAM, layer were delivered to the subsequent CMDBuild
and 320 Gbytes of mass storage. The same hard- layer through a Web-service connection, support-
ware also runs the collector module (exploiting the ing deployment of the higher level of the JEERP
spChains framework). The two software modules architecture on machines located in places typically
can, however, be distributed on several machines in distant from the field (the enterprise datacenter).
more demanding settings. Energy meters provide
measures for instantaneous power (active/reactive/
T
apparent), voltage, current, power factor, and ener- he first-prototype system was configured
gy. Each quantity is sampled at 1 Hz, resulting in an and tested on January 2012 and has been
overall data stream of 38 events per second, easy to running continuously since then with no
computer.org/ITPro 55
failures or downtimes. Energy consumption in- 8. O.S., “Esper Complex Event Processing Engine,” Em-
formation integrated into the Proxima ERP sys- bedded System Eng., vol. 16, no. 2, 2011, pp. 28–29.
tem has already triggered increased awareness 9. D. Bonino and F. Corno, “spChains: A Declarative
of related costs from a business standpoint. Framework for Data Stream Processing in Pervasive
The availability of such information, distributed Applications,” Proc. 3rd Int’l Conf. Ambient Systems, Net-
at the single asset granularity, is in fact foster- works, and Technologies (ANT 12), 2012, pp. 316–323.
ing a migration of the datacenter facilities to
less powerful (Intel Atom-based servers) but Dario Bonino is a research assistant at the Politecnico di
more energy-efficient hardware and software Torino, Italy. His research interests include Semantic Web
architectures. technologies; domotics and semantic-aware, home-related
The JEERP architecture is currently in its first technologies; distributed systems; and multiagent systems.
stable release and supports building-wide in- Bonino is now leading the semantic modeling subteam of
stallations involving hundreds of sensors. In the the Dog gateway development team and he is currently
current release, the presented architecture is in- pursuing research (and development) on stream process-
tegrated with business intelligence features to ing applied to domotic and industrial automation systems.
better support cost analysis and identification of Contact him at dario.bonino@polito.it.
related factors in decisional processes. In particu-
lar, we are involved in a France-Italy cooperation Luigi De Russis is a research assistant in the e-Lite re-
project (Alcotra) in which two educational build- search group at the Department of Computer Science and
ings are monitored for energy consumption, and Automation of Politecnico di Torino, Italy, advised by Ful-
economic indicators are extracted to drive more vio Corno. His research focuses on human computer inter-
informed d ecisions for building management. action, with a particular interest in interaction techniques
applied to smart environments. De Russis received his PhD
Acknowledgments in computer engineering from Politecnico di Torino. He was
The JEERP project has been funded by Regione Piemonte under a department editor for the ACM student magazine XRDS
the Structural Funds Regulation 2007–2013 (POR-FESR, Mis. until December 2013. Contact him at luigi. derussis@
I.3.1 ICT). polito.it.