Bachelorthesis
Total Page:16
File Type:pdf, Size:1020Kb
Bachelorthesis Björn Kiencke Conception and Implementation of a Software Distribution to Facilitate the Usage of an Energy Data Monitoring Fakultät Technik und Informatik Faculty of Engineering and Computer Science Department Informations- und Department of Information and Elektrotechnik Electrical Engineering Björn Kiencke Conception and Implementation of a Software Distribution to Facilitate the Usage of an Energy Data Monitoring System Bachelorthesis eingereicht im Rahmen der Bachelorprüfung im Studiengang Informations- und Elektrotechnik am Department Informations- und Elektrotechnik der Fakultät Technik und Informatik der Hochschule für Angewandte Wissenschaften Hamburg Betreuender Prüfer : Prof. Dr. Thomas Klinker Zweitgutachter : Prof. Dr. Franz Schubert Abgegeben am 20. Februar 2013 Björn Kiencke Thema der Bachelorthesis Entwurf und Implementierung einer Softwarezusammenstellung mit Energie- datenmonitoring-Funktionalität Stichworte Direktstartbetriebssystem, Energiedatenmonitoring, Remastering, Java, JEVis, Ubuntu, Kernel Kurzzusammenfassung Diese Arbeit umfasst den Entstehungsprozess einer Lösung, die Energieda- tenmonitoring für Test- und Schulungszwecke zur Verfügung stellt. Program- me zum Monitoring von Energiedaten werden eingesetzt, um die Energieeffi- zienz von Unternehmen zu erhöhen und somit den Anforderungen von Ener- giemanagementsystemen, wie sie beispielsweise die ISO 50001 vorschreibt, gerecht zu werden. Das genutzte Monitoring Programm setzt mehrere Kom- ponenten, u. a. eine Datenbanksoftware, voraus und benötigt daher erhebli- chen Konfigurationsaufwand. In der vorliegenden Arbeit wird der Ansatz eines Direktstartbetriebssystems mit Energiedatenmonitoring-Funktionalität umge- setzt. Zur Vereinfachung des Remastering-Prozesses wird ein Programm ent- worfen. Björn Kiencke Title of the paper Conception and Implementation of a Software Distribution to Facilitate the Us- age of an Energy Data Monitoring System Keywords Live System, Energy Data Monitoring, Remastering, Java, JEVis, Ubuntu, Kernel Abstract This report comprises the development process of a solution which offers en- ergy data monitoring for testing and training. This kind of program is used to increase the energy efficiency of industrial companies and hence to implement the requirements of energy management systems according to standards like ISO 50001.The JEVis Data Monitoring System depends on several compo- nents, e.g. a database server. Therefore a huge overhead on configuration is demanded. In the thesis presented the approach of a live system to facilitate using an energy data monitoring system is taken. Furthermore, a program to simplify the remastering-process is designed. Contents 1 Introduction 1 2 Background 3 2.1 Motivation . .3 2.2 Envidatec GmbH . .4 2.3 Data Monitoring Software . .6 2.3.1 JEVis . .6 2.4 Open Source . .9 2.4.1 General Principles . .9 2.4.2 Benefits for Business . 10 2.5 Open JEVis . 11 2.5.1 Analyzing the Open Source Community Structure . 11 2.5.2 Improvement suggestions . 13 2.6 Live Operating Systems . 14 2.6.1 Basics . 14 2.6.2 Operating Systems and Kernels . 15 3 Conception and Design 17 3.1 Use Cases . 17 3.1.1 Energy Data Monitoring System . 18 3.1.2 Creating a JEVis Monitoring Test System . 20 3.2 Requirements . 21 3.2.1 Data Monitoring Test System . 22 3.2.2 Distribution . 22 3.2.3 Solution to Create Test Systems . 23 3.3 Design . 23 3.3.1 Approach of a Live System . 23 3.3.2 Approach of a Remastering Program . 24 D 4 Implementation 25 4.1 Remastering . 25 4.2 Remastering in Detail . 27 4.3 Customization . 34 4.3.1 Look and Feel . 34 4.3.2 JEVis . 35 4.3.3 Presentation . 35 4.4 Distribution . 38 4.4.1 Presentation . 38 4.5 JEVis Live Creator . 38 4.5.1 Programming Techniques . 39 4.5.2 Execute Scripts within JAVA Programs . 40 4.5.3 Script Parser . 42 4.5.4 Presentation . 46 4.6 Packages . 47 4.6.1 Repository . 49 4.6.2 Presentation . 51 5 Conclusion and Outlook 52 5.1 Conclusion . 52 5.2 Outlook . 54 5.2.1 Integration of Datasources . 54 5.2.2 Further Projects . 56 Glossary I List of Figures V List of Tables VI List of Listungs VII Bibliography VIII 1 Introduction Since the age of industrialization world’s economy is reliant on resources of any kind, enabling humanity to run all kinds of power taking devices, may they deliver mobility, comfort, productiv- ity or medical capability. However, during the recent decades especially non-renewable resources are running short and although renewable energy sources are on the rise, new technology can not close the gap as quickly. Moreover, political decisions contribute to this problem significantly which has lead to a dramatic increase of energy prices since the turn of the millennium. The price of oil can be taken as a good example for this and it is commonly accepted that the peak was already reached during the last years (cf. Kausch et al. 2011, p. 11). For industry, mother earth’s signs of exhaustion and the above mentioned lack of alternatives means facing the costly effects of this development. Therefore, energy efficiency has become the key word for companies CEO’s to get control over this problem. In addition, costumers get increasingly conscious about ecological sustainability during the method of production of a product. A promising way to realize a resource-optimized method of production of such a kind is the implementation of an energy management system basically enabling the company to monitor the energy the process needs in every production step over time. To implement a suitable energy management system companies are commonly advised by service providers. One of these is the Envidatec GmbH where this thesis was performed. For the purpose of analysis, control and surveillance energy data monitoring programs are used. In line with this thesis a modular software solution is dealt with. This implies a pedestrian and complex installation which is not appropriate for an - concerning this project - unskilled person. Within this thesis multiple concepts where established to create an easy way of testing allowing users to let the program run out of the box and by that enabling a broad audience to work with this software. Therefore, the aim of this thesis is the establishment of an energy data monitoring live system. For this a Linux distribution was remastered. This means, that the energy data monitoring application was integrated in the OS and further minor and major modifications were performed. 1 1 Introduction As an example of a minor modification the adaption in design and the addition of icons for easy handling of the system can be mentioned. Furthermore, major modifications enable the user to install the OS together with the ready to run monitoring software on a local drive. With respect to the hardware available this leads to a faster system and can be used for test and research purposes. Last but not least a continuously advancing development of this software shall be facilitated since this is an open source project. For this the remastering process is implemented in a self-programmed application to provide developers an easy and time-saving way of creating a new version. To relieve reading this thesis here is an overview of the contained sections. The second chapter gives detailed information about the motivation of implementing energy management systems. Furthermore it deals with background facts on the company, their monitoring software, issues of founding an open source community and subjects of live systems. The third and fourth chapter document the process of conception. This includes the procedure given by modern software engineering: generating use-cases, extracting requirements and specifying the design. Subsequently the next chapter is about the implementation containing explanations of the used programming techniques and examples of implementation in source code. Furthermore the results of the development are presented. The last chapter reviews the implemented solution and sketches out its advantages and disadvantages. Finally, the outlook section gives information about further steps, which are already planned. 2 2 Background 2.1 Motivation During the last years energy economic issues have become increasingly important for companies. Limited resources available and the growing demand for energy are leading to higher prices. In addition, political decisions have impact on the price of energy. Especially in Germany, companies are encouraged to optimize their energy consumption. The feed-in tariffs for renewable energies whose additional costs are known as EEG surcharge raise by 2013 up to almost 5:3 ct/kWh. The contribution of the industry to achieve the planned aims implies exploiting energy saving potentials. The Policy Report by the Fraunhofer Institute by order of the Federal Ministry for the Environment Nature Conservation and Nuclear Safety sees a reduction potential of 52 percent on final energy demand compared to the baseline. The major amount of 75 percent savings can be exploit by making use of cross-cutting technologies1 (cf. Boßmann, Eichhammer, and Elsland 2012, p. 18). An indicator for the success of the efforts is the energy productivity. It is defined by the consump- tion of primary energy on products and services in comparison to the gross domestic product. The reference for the derived statistic is set to 100 percent on the data of 1990. The German government is aiming to double the energy productivity until 2020 compared to 1990. As shown in figure 2.1 the value already improved by almost 50 percent. Considering the aims increased efforts are necessary. In particular the industry has to take activity for optimization. A common way to improve the energy efficiency is given by the specification ISO 50001. The process of im- plementing an energy management system (EnMS) according to this standard provides the tasks of monitoring, measurement, and analysis. There are certain good reasons using energy data monitoring software to implement this. The most important are the quantity of data samples 1Efficient steam and hot water generation as well as optimization of entire systems relying on electric drives.