Nigel Gilbert, Sarah Maltby Tasia Asakawa University of Surrey

Slides:



Advertisements
Similar presentations
Agent-based simulation: a very short introduction Nigel Gilbert University of Surrey Guildford UK.
Advertisements

Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Chapter 13 Review Questions
Good Evaluation Planning – and why this matters Presentation by Elliot Stern to Evaluation Network Meeting January 16 th 2015.
Participatory simulations for developing scenarios in environmental resource management Nigel Gilbert, Sarah Maltby Tasia Asakawa University of Surrey.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
MSc. Publishing on WWW JavaScript. What is JavaScript? A scripting language devised by Netscape Adds functionality to web pages by: Embedding code into.
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
MedAction Work Package 3.3 Developing an Interactive Internet Based Synoptic Prediction System Andy Turner Jianhui Jin.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
Introduction to Internet Programming (Web Based Application)
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Case Study Dynamic Website - Three Tier Architecture
CSC480 Software Engineering Lecture 10 September 25, 2002.
WHAT IS SERVER SIDE SCRIPTING? Server-side scripting is a web server technology in which a user's request is verified by running a script directly on the.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
Online Voting System by Sanghun Chi ECE345. Introduction Traditional voting system inefficient. Takes time and human resources. Does not give an instant.
PHP Assignment Help BookMyEssay. What is PHP PHP is a scripting language generally used on web servers. It is an open source language and embedded code.
The Object-Oriented Thought Process Chapter 13
The internet Zurich Water Game
Web Technologies Computing Science Thompson Rivers University
Top 8 Best Programming Languages To Learn
Chapter 8 Environments, Alternatives, and Decisions.
INLS 623– Stored Procedures
The Client-Server Model
WWW and HTTP King Fahd University of Petroleum & Minerals
Netscape Application Server
Web Application.
Web Development Web Servers.
Introduction and Principles
Self Healing and Dynamic Construction Framework:
Example of a Problem Statement: Introduction into ARENA
Building the foundations for innovation
Principles of Network Applications
CUAHSI HIS Sharing hydrologic data
Part 3 Design What does design mean in different fields?
Introduction to Programming the WWW I
CHAPTER 3 Architectures for Distributed Systems
Design and Implementation
Whether you decide to use hidden frames or XMLHttp, there are several things you'll need to consider when building an Ajax application. Expanding the role.
Multitier Architecture, MySQL & PHP
PHP / MySQL Introduction
#01 Client/Server Computing
Web App vs Mobile App.
Database Driven Websites
Service-centric Software Engineering
Jim Fawcett CSE776 – Design Patterns Summer 2003
Lecture 1: Multi-tier Architecture Overview
Distribuerte Systemer Viktigere enn vi tror, vanskeligere enn det høres Komponenttorget ‘99 Trondheim Trygve Reenskaug Numerica Taskon Distaribuerte.
JavaScript.
An Introduction to Software Architecture
A Component-based Architecture for Mobile Information Access
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
ARCHITECTURE OVERVIEW
Database Connectivity and Web Development
The Use and Impact of FTA
Web Technologies Computing Science Thompson Rivers University
UFCEUS-20-2 Web Programming
Information Retrieval and Web Design
Web Application Development Using PHP
From Use Cases to Implementation
#01 Client/Server Computing
OU BATTLECARD: Oracle WebCenter Training
Presentation transcript:

Nigel Gilbert, Sarah Maltby Tasia Asakawa University of Surrey The FIRMA Project is supported by European Union's Framework 5 Programme for Research and Development, and by the European Commission as part of its Key Action on Sustainable Management and Quality of Water programme (contract EVK1-CT1999-00016) Participatory simulations for developing scenarios in environmental resource management Nigel Gilbert, Sarah Maltby Tasia Asakawa University of Surrey 1

Policy and applied research Inform Inspire Influence Develop Encourage Decision-makers (policymakers) Communities 2

Academic social science context Scepticism about the possibility of prediction Theoretical abstraction important but application difficult Increased demands for relevance and application 5

A new(ish) approach Since the 1960s In all these Interactive social science Participatory methods Action research In all these Stakeholders learn from their peers as well as from social scientists Academics are also stakeholders Praxis Tacit as well as formalised knowledge about action and its consequences 9

Interactive or participatory social science Users and beneficiaries in collaboration with academics Participatory methods have been advocated as a way of Empowering the disadvantaged Involving the powerful Reducing the distance between academic and lay discourse 6

Advantages Brings different perspectives Brings different kinds of knowledge Lay knowledge Expert knowledge Academic knowledge Identifies crucial problems Stakeholders have some ownership of results 7

Problems Representation of distributed stakeholders E.g. ‘the public’ Dealing with conflict between stakeholders Confidentiality and privacy Maintaining the motivation of participants 8

Agent-based social simulation Stakeholders are represented in the model as agents The agents have the goals, beliefs, and capabilities of the real stakeholders (or some simplified version of these) Then let the model run to see what happens In order to develop scenarios, spot recurrent patterns of action, identify unanticipated consequences…

But… At best, stakeholders can have a ‘God’s eye view’ of the model, observing its outputs, while what they want is to understand the setting from their own perspective Hence stakeholders either have to do some translation or (perhaps more likely) they just ignore the model because the translation is too difficult. The model doesn’t give them much help with an intuitive understanding of the dynamics

Putting the user in the model An alternative is to replace some or even all of the agents by real stakeholders (or their representatives) The model becomes a multi-user strategy simulation Analogous to single person vs. multi-player computer games 12

Advantages More engaging for the users More realistic Instead of ‘looking down’ on the model, the player participates in a virtual setting Users can treat the simulation like a flight simulator Practice in circumstances that would be dangerous if carried out in real life Scenarios can be established in the simulation as starting points and then users see what happens from there

More advantages Conflict between stakeholders can be observed and/or modelled Can provide data for researchers on what people would do Elicits tacit knowledge Not just what they say they would do And on how they react to others’ actions that are in response to their actions (etc.)

Distributed multi-user models Participants can be anywhere, provided that they have internet access E.g. in their office No duration restrictions Can be involved while doing their ordinary work But Less motivation without face-to-face interaction Technical difficulties less easy to solve Requires internet access

Implementation options Client-side Needs to run on many differently configured PCs Java, Javascript Inter-player communication hard to implement and control OR Server side All software runs on a central server Server generates HTML pages dynamically Client only needs a standard web browser Inter-player communication is simple to implement

Server side implementation Apache web server Standard web server PHP Scripting language All normal programming constructs Basic object orientated features Good interfaces to other software and libraries Relational database PostgreSQL MySQL TCP/IP or other inter-process communication to other models All this is open source, free and available under the GNU licence

The server Program Apache Web PHP Server module HTML Data Read/write Page request HTML Data Read/write Web page PostgreSQL database

PHP: programming language similar to C++ Sample PHP <?php function show_scale($val) { /* display a bar to show value of $val */ $val=round($val); if ($val > 10) $val = 10; if ($val < 0 ) $val = 0; $colour = ($val >= 5 ? 'grn' : 'red'); echo "<td><img SRC=\"images/bar-$colour-$val.jpg\" ALT=\"Value=$val\" width=104 height=14></td>\n"; } ?> Embedded HTML

Interface between PHP and the database $n_msgs = 3; /* get the last 3 public messages */ $query = new query("SELECT id, sender, recipient, to_char(timesent, 'HH24:MI on DD Mon') as senttime, timeread, msg FROM msgs WHERE (recipient = 'All') ORDER BY timesent DESC LIMIT $n_msgs"); display_msgs($query); SQL statement sent to database

The context Drought in summer 1976 led to shock to Zurich’s water supply system Capacity increased to guarantee a secure supply But over-supply leads to risk of stagnant water Water demand has since fallen as a result of water saving technology and changing business behaviour Water utility regarded as inefficient due to high fixed costs Demand management through pricing would allow parts of the system to be closed But tariffs ultimately controlled by public through referenda

Playing the game: design choices Roles Stakeholder representatives play their own roles They bring their own knowledge to game Stakeholders play other roles Not tied to prior positions and strategies Time Real-time Too slow! Game time Player events drive time forwards Simulated Clock time

Computational agents The model can include computational agents as well as ‘real players’ (people) When real players are absent (on holiday, away from the office,…) When real players have not or cannot be recruited Test of modelling adequacy: Can they be distinguished by their actions from real players? If all players are agents, game reverts to being a conventional multi-agent simulation

Evaluating the model Robustness Transparency Evaluating the process Yields policy advice that applies in a range of scenarios Transparency Model is understandable to stakeholders Evaluating the process Is it used? Is effect lasting? Has learning occurred?

Summary Computational models can be used for discovery or for policy And possibly for both at the same time If they are to be used for policy, their use must be carefully designed with an understanding of the policy context That context consists of people with many different pressures, goals, experiences and interests And often situations of deep-rooted conflict and power differences

Participatory methods and simulation Multi-agent simulations can profitably be used as a component of participatory methods, with some agents being computational and others human The design of the simulation will help to recover and formalise the knowledge of the participants The use of the simulation will help to educate the participants about options and consequences of action The method recognises (as many participatory methods do not) the inherent conflict in many settings