Showing posts with label secc. Show all posts
Showing posts with label secc. Show all posts

Structured brainstorming exercise

Wednesday, March 11, 2009

Steve and I have been talking about how to generate ideas on how software engineering research can be applied to the climate crisis.

Here's an idea for a structured brainstorming exercise that's inspired by Edward de Bono's Six Thinking Hats technique. Instead of the thinking hats that de Bono suggests we instead have a hat for each software engineering sub-discipline (e.g. requirements analysis, software design, formal methods, software testing/quality, etc..). The brainstorming is done with participants "wearing" only one of these Research Hats at a time; while wearing a hat the participant focuses on thinking about applying only their hat's research area to a given problem.

We gather a list of climate change issues, and get participants to brainstorm research problems that come out of each issue applicable to their research area.

Using research area Hats is purely a technique to focus the brainstorming conversations, so that they stay within software engineering and so that we make sure to get a variety of viewpoints on each issue. I imagine the exercise carried out in teams, with each team taking turns all wearing the same hat, and flipping through the various issues. It also makes sense to dispense with the research hat idea if the participants are experts in one particular sub-discipline, in which case the exercise is simply, "How can your research, or research discipline, be applied to this issue?"

Our weekly climate change chats have explored some rough ideas of the issues. See these posts for my thematic summary of our discussions.

Climate policy engineering

Sunday, March 8, 2009

Attention: wild speculation and provocative operations below.

Steve and I met last week and discussed a rather intruiging, and far out topic: the relationship between software design and global climate policy design.  I'll lay it out rather straightforwardly and unconditionally:

Software systems are some of the most complex systems that humans design.  Taking a global view, the world's climate policies also form a complex system of human design.  Are there any design or process techniques from software engineering that can be applied to climate policy design?

(In short, just "s/software/climate policy/g" and see what makes sense.)

It doesn't seem like climate policy is built nearly as deliberately or methodically as software often is.  You might say that it's "hacked".  Can insight from software development processes be used to guide the process of planetary climate policy development? 

Software designers use an architecture to cope with the complexity of large software systems (btw, is this a form of chunking?).  Climate policy (policy in general?) lacks this sort of architecture (or maybe lacks a good one?).  What can we use from the design of software architectures to help us design good climate policy?  Are there design patterns in effective climate policy that match up with the software engineer's idea of software design patterns?  

You can run the analogy along all the different aspects of software engineering: requirements engineering, design, testing, quality, development process, etc...  

Does the analogy work?  Also, can we go the other way around and import useful concepts from the way climate policy is designed into software engineering?  Ugh..  ;-) 

I suppose what we're doing here is applying systems engineering thinking to climate policy design by way of our knowledge of software engineering (as one type of systems engineering).

By the way, Steve has just blogged a much more coherent statement of how software engineering can play a role in fighting climate change.  

Another SE/Climate Change theme: decision support

Monday, February 16, 2009

(Note: I've tagged all the previous posts on software engineering and climate change with the label "SECC".  Read them here, or get the feed here.)

Another theme in the software engineering and climate change arena would have to be that of decision support.  We cover this somewhat in our discussions of raising awareness (where, for instance, we talked about a handheld tool that reads out the supply chain carbon footprint of a produce in the supermarket) but I think somehow it's helpful to separate the two themes. Awareness raising includes much more passive and less specific activities than decision making support tools.  

Erm, but that's just preamble, really.  Mainly I just wanted to post this example of a decision support tool for climate change: MIT Centre for Collective Intelligence's Climate Collaboratorium.  
This system, currently under development, will use an innovative combination of internet-mediated interaction, collectively generated idea repositories, computer simulation, and explicit representation of argumentation to help large, diverse, and geographically-dispersed groups systematically explore, evaluate, and come to decisions concerning systemic challenges.
For something less wordy take a look at the YouTube video on the "deliberation component" is a little clearer.  It looks like a set of protocols for using an online discussion board in the capacity of an argument map.  

Discussion on SE and climate change

Monday, February 9, 2009

Here's a quick summary of our discussion last week on SE and climate change:
  • Greg talked about awareness tools for scientists. Example: a simple recommendation system that feeds you recent publications/datasets you're likely to be interested.
  • Aran suggested a new theme to add to the list, which I called Persuasion. We've talked before about improving people's awareness of climate change and their impacts, but never about what SE can do to persuade people to change their behaviour directly.

    One suggestion (which may already exist? not sure): a tool to monitor website usage in order to track where in the site people are leaving the site, or what actions on the site they take (e.g. joining a mailing list, donating, etc.). With this information a campaign can tune its conversion pipeline to better convert people over to its cause.
  • We had a few additions to the list of idea on reducing emissions: home automation, improving telecommutting and the mysterious "dynamic" insulation idea (I still don't know what that is).
Overall the discussion was pretty loose, and wondered far and wide. I'd like to see it more focused, but I'm not sure how we'd do that.

Comments and suggestions very much welcome.

SE and climate change brainstorm distilled

Monday, February 2, 2009

I've already posted a summary of the brainstorming sessions we had last year. I'd like to distill my notes even further for our first meeting of the new year, tomorrow.

There are three themes that came up:
  • Access to information
  • Improve the SE of climate models
  • Reduce emissions
Unpacking these themes covers most of our ideas from the brainstorm:
  • Access to information. raise awareness of climate change and our impacts (e.g. interactive models and games, cool visualisations, querying), provide decision support tools (e.g. 'what-if' models, hand-held footprint reader), and enable data sharing (e.g. metadata management, querying)
  • Improve the SE of climate models. collaboration support, V&V, workflow tools, reproducible research tools, modularisation, programming skills.
  • Reduce emissions: low-power software.

Brainstorm: Software Engineering and Climate Change

Monday, December 15, 2008

A few of us in the software engineering group have met over the past few weeks to brainstorm software engineering research ideas for dealing with climate change. We are attempting to refine our ideas into research questions and projects, and this is what we've come up with so far.

Better understanding of climate processes

The general public doesn't have a such a great understanding of some of the basic climate processes (Sterman & Sweeney, 2007). So, what about creating an environment to learn these sorts of things in? This is, of course, directly connected to raising awareness of climate change and enabling people to make better decisions (see below).
  • Simplified Climate Model: create a really simple climate model (even simpler than JCM[1]) that an 8 year old would want to use to explore various climate scenarios.
  • SimClimate: like SimCity, create a game that's played out in a world with a simulated climate and players learn about climate process implicitly through playing. Maybe you have to play out various scenarios, or maybe it's a massively multiplayer game where each player controls a region and has to work with others in the game. There are several existing examples of this sort of thing.
  • Climate laboratory: let users build simple climate models themselves, or tinker with existing models, and then run experiments on them. The focus with this idea is to get users to understand climate processes by directly manipulating them, rather than just tweaking various settings.

Raising awareness and making better decisions

The more information you have, the better decisions you can make...
  • Wiki decision: a wiki-like database linking decisions and an explanation of the impacts of those decisions. For instance, in choosing a particular Ontario apple v.s. a New Zealand apple, you might be able to follow the chain of events in the production, transportation and distribution. Maybe expert opinions are included or figures for fuel consumption.
  • Barcode Reader: for any product, a hand-held reader that provides all sorts of related environmental information. E.g. food miles, carbon footprint, pesticide use, etc... like current Nutritional Information given on packages.
My bias: I'm really wary of ideas like these that may increase obsessive, paralyzing worrying about making the best decision. Sometimes more information is not what's needed. I'd want plenty of care and forethought to go into crafting such tools.

Access to climate data and resources

What can we do to provide both the public and scientists with easier and more useful access and analysis of existing climate data (both observations and model predictions)?
  • WikiClimateStats. In the same vein as StatsJam (watch the screencast), give people a method to easily explore and analyse climate data, and have discussions about it. As a tool for scientists we'd want this to help them share results and analysis (i.e. furthering open science).
Some questions:
  • What questions are climate scientists asking about their data?
  • What questions are the public asking? What questions would it be helpful to be able to ask? What does 'helpful' mean here?
  • What sort of query interface makes sense (SQL won't cut it for non-programmers)?
For climate modellers, sharing their "digital resources" is still troublesome:
  • No standards yet for model metadata, configuration data, experiment output, etc..
  • Data visualisation
  • No way to discover existing climate modules, or to see if existing runs satisfy your questions
  • Access rights (data isn't always public)
See the Earth System Curator wiki page on Use Cases for some ideas on what's needed.

Collaboration and coordination amongst climate modelling groups

Climate modelling groups don't often collaborate or coordinate with other modelling groups, and when they do it's done face-to-face rather than in a distributed fashion. For really complex climate models, development may need to go distributed. How can we assist?
  • Integrate awareness tools. Get scientists to use existing collaboration and awareness tools and see if it improves things.
  • What are scientists asking about their code?
  • How can we help scientists to share tacit knowledge?
  • Allow access to the decision making of other modelling groups.

Software Engineering challenges in building climate models

We know a little bit about this (see here).
  • Can we borrow software engineering practices from other disciplines, or from commercial outfits?
  • What are questions scientists asking about their code?
  • Where do they get this information currently?
  • Why is it hard to modularise their models? (As mentioned before, it's tough)
Ideas:
  • Build better FORTRAN tools. FORTRAN is the language of choice for scientific computing but there doesn't seem to be the same level of sophistication of tools for it as for "modern" languages. We could build better a better IDE, debugger, refactoring tools, static analysis tools, etc...
  • Try standard tool-based code exploration. Would scientists write better code (or write it with less trouble) if they had access to some standard code exploration techniques. For example, profiling, code metrics, or reverse engineering tool analysis?
  • Teach 'em the basics. See Software Carpentry. If we teach scientists the basics of crafting software, does it help?

Validation and Verification

  • Document current methods of validation and verification.
  • Link climate model V&V to standard software engineering V&V
  • Link climate model V&V to philosophy of science.
  • Link to their software development practices and the choice of approximations used in the model.
  • Investigate current model benchmarks. What is a better benchmark?
  • Traceability (the ability to trace results from the simplifications of a model to their details in a more comprehensive model)
  • Seamless Assessment (the ability to vary resolution and time scales)

[1] Do me a favour: Start up JCM, click the 'mitigation' button/dropdown in the far right corner and choose "stabilise CO2 emissions", and then try to stop the global mean temperature from rising (bottom right chart) by playing with the CO2 emissions (top left chart). (Let your mouse hover over the CO2 emissions handle to get a read out.) Speak to me when you're no longer scared.