Web-based tools for system dynamics simulation
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Łatuszyńska, Małgorzata Article Web-based tools for system dynamics simulation Foundations of Management Provided in Cooperation with: Faculty of Management, Warsaw University of Technology Suggested Citation: Łatuszyńska, Małgorzata (2017) : Web-based tools for system dynamics simulation, Foundations of Management, ISSN 2300-5661, De Gruyter, Warsaw, Vol. 9, Iss. 1, pp. 287-298, https://doi.org/10.1515/fman-2017-0022 This Version is available at: https://hdl.handle.net/10419/184631 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by-nc-nd/4.0
Foundations of Management, Vol. 9 (2017), ISSN 2080-7279 DOI: 10.1515/fman-2017-0022 287 WEB-BASED TOOLS FOR SYSTEM DYNAMICS SIMULATION Małgorzata ŁATUSZYŃSKA University of Szczecin, Faculty of Economics and Management, Szczecin, Poland e-mail: [email protected] Abstract: A rapid development and omnipresence of the World-Wide-Web and its technologies have had remarkable impact on the field of computer simulation, understood as a numerical technique for conducting experiments with certain types of mathematical and logical models, describing the behavior of a system on a computer over extended periods of time. One of the computer simulation methods used to solve complex management problems is System Dynamics (SD). The aim of this paper is the review of SD Web-based tools in the context of some technology aspects of Web-based simulation and its advantages and disadvantages. Keywords: System Dynamics, Web-based simulation 1 Introduction The Internet and its multimedia front-end, the World-Wide-Web (WWW), has experienced remarkable growth since its introduction by BernersLee in 1989 (CERN, 2017). Many disciplines have re-evaluated their strategies, methods and techniques in the view of services offered by the Internet (Byrne et al., 2010). A rapid development and ubiquity of the WWW and its technologies have had also an impact on the field of computer simulation, understood as a numerical technique for conducting experiments with certain types of mathematical and logical models describing the behavior of a system on a computer over extended periods of time (Naylor et al., 1967). Kuljis and Paul (2001) go so far as to state that the pressure imposed by the increase of the Web uses has forced the simulation community to migrate to the Web in order to stay “alive”. A Web-based simulation (WBS) can be defined as the use of resources and technologies offered by the Internet for ensuring an interaction with the client and server modelling and simulation tools (Byrne et al., 2010; Kuljis and Paul, 2001; Maciąg et al., 2013). A common characteristic of all WBS applications is that they use a Web browser as a support for graphical interfaces connecting the user with simulation. Although the notion of Web-based simulation is probably as old as the Web itself (Reichenthal, 2002), early WBS efforts began in 1995, first by providing Web-front ends to simulations running as Common Gateway Interface (CGI) scripts /programs. In addition, work began on Java-based simulation packages, systems and environments that would run anywhere on the Web. Results from these activities were first reported in the Winter Simulation Conference in 1996 (Buss and Stork, 1996; Fishwick, 1996; Kuljis, 1996; Nair and Miller, 1996). From this event, the interest and level of research effort in the area of Web-based simulation grew continuously, which is reflected by an increasing number of publications on this subject. Fig. 1 presents an upward trend of scientific works relating to Web-based simulation, published in ScienceDirect, in the decade of 1996−2015. Most papers appeared in “Simulation Modelling Practice and Theory”. The reviewed papers discussed both the technical aspects of the Web-based simulation and its tools (Discrete Event Simulation, Multi-Agent Simulation or System Dynamics Simulation) as well as its application in various fields, such as medicine, education, computer games or decision support systems. The aim of this paper is the review of System Dynamics (SD) Web-based tools in the context of some technology aspects of Web-based simulation and the advantages and disadvantages of WBS.
288 Małgorzata Łatuszyńska Figure 1. Number of publications relating to WBS in 1996−2015 (source: own study) 2 Categories and technologies of Web-based simulation Relevant research suggests several categories of Web -based simulation, depending on the adopted criteria (for example, see Bencomo, 2004; Myers, 2004; Page, 1999; Whitman et al., 1998). This paper focuses on the types related to descriptions of how WBS applications can be developed architecturally, that is: local simulation and visualization, remote simulation and visualization, hybrid simulation and visualization. Local simulation and visualization (S&V) means, that the simulation engine and visualization components are downloaded seamlessly by the client to the user’s local computer, so that the graphical interface and the simulation engine coexist in the same environment (i.e., within the browser) shifting the responsibility for execution completely from the server to the client, making the server a central distribution point to the simulation but performing no real work (Byrne et al., 2010; Bencomo, 2004). For the development of these simulations, Java is currently the only real possibility for providing a wholly independent hardware platform, although there is some study on the viability of using multimedia tools, such as Macromedia Flash, for the simulation of real processes (Bencomo, 2004). Fig. 2 presents the basic local S&V configuration, after the initial loading phase. During this loading phase, the user opens a browser and navigates to a Web page typically containing an applet, and the browser automatically calls for the applet that is seamlessly downloaded to the client’s computer. In this case, the applet contains both the simulation engine and the visualization/animation engine, which execute locally on the client-side. There may be a more advanced configuration in which, for example, a database might be present on the server-side (Byrne et al., 2010). Remote simulation and visualization means that both the simulation engine and any animation generation engine are located and execute remotely, on the server-side (Bencomo, 2004; Holzinger et al., 2008). Access to these is through a browser on the clientside. This approach can be considered a job request on a batch processing system. Parameters are submitted to the simulation engine through the Web server, and results are returned to the user once the simulation has finished running (Myers, 2004). Communication between the graphical interface in the browser and the simulation engine is carried out using, for example, Common Gateway Interfaces (Morilla et al., 2001; V, 1996), sockets (Narayanan et al., 1999), Java remote method invocation (RMI), JavaBeans, Common Object Request Broker Architecture (CORBA), remote procedure call (RPC) or via front-end applications for simulator software (Byrne et al., 2010; Bencomo, 2004). 0 5 10 15 20 25 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 Numberofpublications Trend
Web-Based Tools for System Dynamics Simulation 289 Figure 2. Basic configuration post initial loading phase (source: own elaboration based on Byrne et al., 2010) Fig. 3 shows the basic remote simulation and visualization configuration, after the initial loading phase. During this loading phase, the user opens a browser and navigates to a Web page and a basic interface is displayed in the browser. Both the simulation engine and any visualization/animation engine reside on the server-side, and are interfaced with through the browser. There may be a more advanced configuration in which, for example, a database might be present on the server-side (Byrne et al., 2010). By combining the approaches of remote simulation and local visualization, hybrid simulation and visualization, can be created that yields the benefits of both (Miller et al., 2000; Myer, 2004; Whitman et al., 1998). In this approach, the simulation runs remotely on a simulation server, and when the user connects to the server through a WWW browser, a visualization/animation engine is downloaded to the clientside (Fig. 2) (Myers, 2004). A dedicated data connection may be established back to the server, in which the results of the simulation are transferred to the client-side allowing the visualization engine to display results to the user in a dynamic nature. This data can change continuously, delayed only by the executing simulation model and the latency present on the network connection. This approach is typically carried out by utilizing a Java server and Java applets (Myers, 2004), but may be carried out using other methods. Another implementation of the hybrid simulation and visualization approach is where the visualization/animation engine is used on the client-side to “build” the simulation model through an animated interface, and display the results, without tying the animation to the simulation as the model is executing (Byrne et al., 2010). Table 1 summarizes the basic characteristics of presented categories of Web-based simulation with a special focus on their advantages and disadvantages. Finally, it is worth emphasizing that, apart from the architecture of WBS applications, the Web-based simulation is associated with such issues as (Byrne et al., 2010): model repository – which concerns the application of a server-based centralized repository that can be used to store simulation models. This allows for the ability to rapidly disseminate models, results and publications; Web-based simulation documentation – which relates to the efforts to provide on-line documentation to existing simulations including description(s) of modelling components, results of output analysis for a set of inputs, and animations displaying simulation modelling results. Such documentation can contain any or all the following elements: text, images, audio and video (Page, 1999).
290 Małgorzata Łatuszyńska Table 1. Comparison of WBS categories (source: own study based on Byrne et al., 2010; Bencomo, 2004) WBS category Synonyms Examples of applied technology Advantages Disadvantages Local simulation and visualization Local simulation and animation Local simulation visualization Local simulation Client-executed simulation Java applets Macromedia Flash The network latency between the user and the simulator is reduced to nothing. The power and flexibility of the tool are minimized, as it relies on the power of the client to execute the simulations efficiently, and some users may lack the hardware needed for this. Remote simulation and visualization Remote simulation and animation based on loading applets Server-side-based Web simulation solution Remote simulation visualization Remote simulation Serverhosted simulation Common Gateway Interfaces, Java remote method invocation (RMI), JavaBeans, Common Object Request Broker Architecture (CORBA), Remote Procedure Call (RPC) Front-end applications for simulation software Larger simulations can run on powerful, high-end computers and the analysts can get access to the results from any lowend computer with a browser. In addition to providing a familiar interface, it works well for adapting existing sim-ulation products to a Web-based environment. Easier maintenance for developers. Not good for observing dynamic processes at work. It does not allow the user to interrupt a running simulation. The client can only view prespecified outputs at a specified time. The developer requires a knowledge of middleware technologies. Long running simulations may take an extended time to generate output, especially under heavy load, resulting in the user having to wait long periods of time or having the client timeout by waiting too long for a server response. The server can easily be overloaded if all the responsibilities for simulation are placed on the server for several concurrent user simulations, or if there is a heavy need for, for example, interactivity, visualization data or numerical solvers. Hybrid simulation and visualization Animation and manipulation using a Java data server Remote simulation/local visualization Hybrid client/server simulation Java server pages (JSP) Java applets ASP.NET More powerful hardware. Maintenance is eased with a centralized application. The workload on the server is reduced. More user interaction by sending the animation/visualization portion to the client-side. The communication between the client and server is delayed by network latency, which might be several seconds on a wide area network.
Web-Based Tools for System Dynamics Simulation 291 The issues discussed in this section are common for all simulation techniques. The differences in the processes of modelling and simulation conducted by means of varying simulation techniques are first of all a consequence of the very nature and the purpose of these techniques (Behdani, 2012; Borshchev, 2013). The sections below will present the substance of the System Dynamics simulation modelling and discuss the System Dynamics Web-based tools. 3 System Dynamics modelling and simulation System Dynamics is the simulation modelling technique used mainly for the analysis of poorly structured problems, with numerous interrelations among elements. It originates from cybernetic approach to system analysis and allows for describing especially complex systems in the form of interactive and combinatory relations. Its theoretical foundations were created by Forrester and his colleagues from the Massachusetts Institute of Technology (Cambridge, MA, USA) in the '50's of the 20th century. Forrester's approach to industrial system modelling, the first application area for this method, is described in one of the earlier papers, entitled Industrial Dynamics (Forrester, 1971). Seven premises of the System Dynamics application are presented there: decision making process belongs to the class of control problems with information feedback, intuitive judgement of behavior of industrial systems is unreliable due to their complexity, experimenting on the model can facilitate understanding of anti-intuitive behavior of complex systems, cost of collection of data to carry out experiments on the model is relatively low, decision processes mapped by the model are close to real ones to such an extent that they allow for forming an appropriate policy, industrial system behavior is determined by its internal structure; therefore, most problems are internally generated, real system behavior is so detached from the ideal one, that each effort of improving the system behavior, is justified. On the basis of the premises mentioned above, J.W. Forrester took a peculiar approach to modelling and analysis of system behavior, which is based on the system concept in the way that it is more closely related to practice than theory. J.W. Forrester considered System Dynamics as a facilitating tool for management of the highest level, in strategic planning, where traditional management theory is of limited effectiveness. During above 60 years, the interpretation of System Dynamics underwent certain modifications, but it managed to preserve its theoretical assumptions, based on three scientific disciplines, that is, traditional management theory, cybernetics and computer simulation (Fig. 3). MODEL Traditional Theory of Management Cybernetics Computer Simulation dynamic behavior and strategy improvement informtion, experience, intellect the rules of information selection the rules of structure creation quick calculations Figure 3. Methodological background of System Dynamics (source: Łatuszyńska, 2005, p.32)
292 Małgorzata Łatuszyńska Traditional management is a process which consists of continuous decision-making. In a highly simplified perspective, this process begins from the observation of external world, identification of purposes, connections and information streams. As a result, imagined models are created, and the future behavior of systems in various conditions is predicted based on these models. The most difficult part of this process is the selection of information and then finding the right course of action which should ensure that defined goals are met. Surprisingly, quite often, mistakes in management stem not so much from incorrect view of particular cause-and-effect chains, but from wrong understanding of system dynamics as a whole. Cybernetics, which bases on feedback theory, puts a strong emphasis on dynamic interactions between system elements and provides tools allowing for better understanding of system behavior. It gives guidelines for distinguishing between important and unimportant information in a given context, and then for structuring and formalizing it in a mathematical model. Finding solutions for such models with non-linear relationships (often made of numerous equations) and predicting the results of analyzed decisions by means of such models are generally only possible through use of appropriate numerical methods. In case of System Dynamics, the method of choice is computer simulation based on constant step method. As a result, System Dynamics provides a rationally founded tool base for the construction of models, which should produce information about behavior of systems as a whole. Theoretical assumptions and detailed rules of System Dynamics modelling and simulation have been defined in multiple publications, including (Krupa, 2008; Meadows and Wright, 2008; Łatuszyńska, 2008). 4 Web-based tools for System Dynamics simulation From the beginning of System Dynamics, many tools have been developed to support specific for this technique modelling of feedback loops, nonlinearity, and time delays that influence the behavior of the entire system and to help to use this technique without necessary knowledge of mathematical background. The first tool was a special programming language called DYNAMO created in the 1960s. DYNAMO was a typical high-level language that was not quite friendly for users of low IT sophistication. Later, many other tools appeared on the market that now support the creation of System Dynamics models. There is a constantly updated list of available tools on the System Dynamics Society web page (SDS, 2017). The list also contains tools that enable, to a greater or lesser degree, the creation and/or execution of System Dynamics models on the Web: AnyLogic by The AnyLogic Company (anylogic.com), Consideo iMODELER by Consideo GMBH (www.consideo-modeler.de), Forio Simulations by Forio Corporation (www.forio.com), Insight Maker, created by S. Fortmann-Roe and G. Bellinger, hosted by Give Team (www.insightmaker.com), SimiLive – service for Simile simulation software by Simulistics Ltd (similive.simulistics.com), Simupedia Studio - plugin for Simantics System Dynamics by VTT Technical Research Centre of Finland and Semantum Oy (sysdyn.simantics.org/; www.simupedia.com), Sysdea of Strategy Dynamics Ltd, (sysdea.com). AnyLogic simulation software supports system dynamics, agent based and discrete event modeling. It allows making hybrid models. Since AnyLogic models are 100% Java applications, they can readily be published as web applets. With AnyLogic, the whole model will automatically run on the client machine within the applet. It is enough to send a ready-to-run simulation with GUI and experimentation capability to anyone with a browser. Many SD applets generated by AnyLogic are published on website www.runthemodel.com.
Web-Based Tools for System Dynamics Simulation 293 Table. 2 System Dynamics Web-based tools (source: own study) Tool name Logo Licensing WBS category Technology/ Language Main features Case studies available On-line courses or documentation AnyLogic Proprietary, commercial, free Personal Learning Edition for education Local Java web applets S&V of existing models with an option to enter input data yes yes Consideo iMODELER Proprietary, commercial Local JavaScript Adobe Flash Building, S&V of new models. S&V of existing models with an option to enter input data and make structural changes to the model yes yes Forio Simulations Proprietary, commercial Hybrid JavaScript, REST-based APIs Forio SimLang, Python, Julia, R, Vensim S&V of existing models with an option to enter input data yes yes Insight Maker Free, Insight Maker Public LicenseL Local JavaScript Building, S&V of new models. S&V of existing models with a limited option to enter input data yes yes SimiLive Proprietary, commercial, Free evaluation license limited to 25 model elements Hybrid JavaScript C++, Prolog, Tcl S&V of existing models with an option to enter input data yes no Simupedia Studio Eclipse Public license (EPL) Hybrid JavaScript Modelica S&V of existing models with an option to enter input data yes yes Sysdea Proprietary, commercial, a 30-day free trial Local JavaScript Building, S&V of new models. S&V of existing models with an option to enter input data and make structural changes to the model yes yes
294 Małgorzata Łatuszyńska Consideo iMODELER offers quantitative and qualitative modeling. This tool allows to build web-based models and is free for educational purposes. It runs on any modern PC, Mac, Smartphone or TabletComputer as a web-based application (iMODELERService) or alternatively as an installed App Launcher for Win, Mac or Linux. Sample models are available on the website: www.know-why.net. Forio Simulations allows building web-based interfaces to already developed models, and provides a library of interactive environments for users. The software is web hosted, with a commercial use license, but provides a number of options for low cost and no cost publication and proliferation of models and model results. Sample models are available on the website: forio.com/simulate. Insight Maker is a multi-method simulation and modeling platform that runs completely in a web browser. It supports causal loop diagrams, rich pictures, dialogue mapping, mind mapping, stock & flow simulation models. It enables to build, run and share System Dynamics models without downloading or installing a single program. Sample models are available on the website: insightmaker.com/tag/Sample-Model. SimiLive is a web-based model execution service for Simile System dynamics software. It allows models built in the Simile modelling environment to be executed on a web browser. It provides a simple way to publish any model, including parameter data and visualization tool setup. The model diagram and visualization tools have been customized to drag and zoom via a touch screen interface, so the service is ideal for showing and executing models on mobile devices. Sample models are available on the website: similive.simulistics.com/demos. Simupedia Studio is a plugin, which enables the generation of interactive Simupedia web pages. The power of Simupedia derives from the open source modelling and simulation platform called Simantics. The system has client-server architecture with a semantic ontology-based modelling database and Eclipse framework-based client software with plug-in interface. Sample models are available on the website: www.simupedia.com/Demo/#WorkRoom/ Management. Sysdea is an on-line, browser based, system dynamics tool. It is easy to use, has extensive documentation and easy model sharing options. Sample models are available on the website: strategydynamics.com/info/system-dynamics.aspx. Table 2 includes additional information associated with the above-mentioned Web-based tools for System Dynamics modelling and simulation, specifying the used technology, the WBS form and the main features. Only Consideo iMODELER, Insight Maker and Sysdea provide an opportunity to create both simulation models and their simulation and visualization via a browser. The remaining tools are first of all used for publishing in the Internet the models created by means of some simulation software. All of them allow changes in the model input data prior to the simulation. Additionally, some of the tools permit changes to the structure of the completed models (iMODELER, Sysdea). Undoubtedly, the combination of System Dynamics simulation with WWW will help avoid many limitations typical of a traditional simulation constructed by means of a dedicated simulation software, especially when applied for educational purposes. The limitations mainly refer to: high outlays and considerable cost of simulation modelling tools (prices of core System Dynamics software, like iThink/Stella, Powersim Studio or Vensim range between 1 000 to over 7 000 euro, depending on the version), as well as the hermetic nature of the simulation expertise (which seems to be available only to experts and experienced users of simulation models (Maciąg et al., 2013, p.314). On the other hand, WBS has its weaknesses – these are discussed in the next section of this paper. 5 Advantages and disadvantages of WBS Web-based simulation has many benefits in comparison to the classical simulation systems, and many authors attempt to identify these, see (Miller et al., 2001; Bencomo, 2004; Kuljis and Paul, 2001; Maciąg et al., 2013; Pidd and Carvalho, 2006; Whitman et al., 1998).