Work

Beer distribution game: a simulation using Java agents and MySQL

Year: 2004
Type: conference-paper
Abstract: The Beer Distribution Game is widely used in the teaching oj Supply Chain Management and other complex interacting systems.The lessons illustrated by the game are accepted as having a useJullevel oj validity, and interesting cases have been noted that support the notion that the game captures the dynamics oj real systems.This paper is a preliminary description oj a novel approach to the modelling oj the game.Our model has been developed using conventional Java based agents, but persistent data has been stored in the Open Source relational data base management system (RDBMS), MySQL.This model Jorms the first stage oj a project that will use this Jramework to examine a range oj rules and system design features that can be used to define multi level supply chains.This approach will also enable the simulation component oj the model to be interfaced to real systems that store dynamic information in RDBMS.Beerdistributiongame: Java agents and MySQL modelling to examine the behaviour of a simple, widely used system in the teaching of operations management; the Beer distribution game BDG.Key features of the BDG are reviewed in a later section.A key goal in rur development of an agent based simulation of the BDG was to use programming languages and software tools that are 'free'.The software development community distinguishes between different interpretations of 'free' using the metaphors 'free as in speech' and 'free as in beer'.Free software is generally accepted to be software that is provided with a license that grants the end user the freedom to run the software, the freedom to study and modify the software, the freedom to redistribute the software, and the freedom to make public any changes or improvements that they make.Free Software is, by definition, free as in speech.Most free software is also free as in beer -that is to say there is no fee or charge for its acquisition ("The Free Software Definition", Free Software Foundation, http://www.gnu.org/philosophy/free-sw.html) Most important in this context was an absence of financial and legal encumbrance by way of commercial software products, and an ability to directly translate the techniques discussed herein into computing environments in common use in business today.The agent based BDG is written in Java, and stores its operating data in a MySQL database.Some initial development was made with the Perl programming language and the graphs and diagrams were generated using Microsoft Excel, but OpenOffice suite of programs will be used in further work in this project.OpenOffice is a suite of software that includes a word processor, a spreadsheet and graphing program, and presentation tools.OpenOffice was released as free software by Sun Microsystems in 2000 and is a competitor to Microsoft's 'Office' package.OpenOffice is available for Windows, Linux and Macintosh at http://www .openoffice.org!.Java is a programming language designed and developed by Sun Microsystems that saw its first commercial release in 1995.Central to Java's design is the concept of portability -the principle that software developed in Java will run equally well on many different computing platforms ("Java 2 Platform", Sun Microsystems, http://java.sun.com/java2/whatis/index.html).Java runs on a great many platforms including Microsoft's Windows, Apple Computer's MacOS and OSX, Sun Microsystems' Solaris and most versions ofLinux.The Structured Query Language (SQL, formally known as SEQUEL2) is an English keyword based language for defining, manipulating and querying relational databases (Chamberlin et al., 1976).SQL, or some variant thereof, is the language used within the vast majority of modern commercial database systems.The agent based BDG uses SQL to communicate with the MySQL database server.The MySQL database server is 'free' software that is published under both commercial and free licenses.MySQL is designed with speed and stability in mind.The MySQL company "media kit••(}1ttp:/!www.mysgl.com!press!index.html)claim that MySQL's success can be gauged by its acceptance by companies that includes the New York Stock Exchange, the University of California, the University of Texas and NASA.MySQL is available for Microsoft Windows, Apple OSX and many versions ofthe UNIX operating system at http://www .mysgLcomThe agent based BDG makes use ofthe MySQL database server, and the MySQL Java Connector.Mihram (1972) described the process of developing a model as having five stages of development.The process used to develop the model reported in this paper will be described within the framework of these five stages. Description of the modelling approach
Language: English
Open Access status: green
OpenAlex ID: W2274581411
FWCI: 0.467
Cites: 32
Cited by: 1
Related to: 10