9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model...

9
9:30 Overview and objectives of ApsimX 9:45 The model framework 10:30 Coffee break 11:00 The model framework (continued) 12:30 p Lunch 1:30p The user interface 3p Coffee break 3:30p The user interface (continued) 4:30p Close 9:00 Building, testing and deployment 10:3 0 Coffee break 11:0 0 First version of ApsimX (what goes in it) 12:0 0p Lunch 1:00 p Action plan (who does what) 3:00 p Close Monday Tuesday ApsimX Design Workshop

Transcript of 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model...

Page 1: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

9:30 Overview and objectives of ApsimX

9:45 The model framework10:30 Coffee break

11:00 The model framework (continued)

12:30p Lunch

1:30p The user interface

3p Coffee break3:30p The user interface

(continued)4:30p Close

9:00 Building, testing and deployment

10:30 Coffee break11:00 First version of ApsimX

(what goes in it)12:00p Lunch1:00p Action plan (who does

what)3:00p Close

Monday 19th August

 

  

Monday Tuesday

ApsimX Design Workshop

Page 2: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

• Implement a next-generation version of the APSIM software that "runs fast, runs everywhere" (i.e. on Windows, iOS and Android devices) and that significantly reduces the costs of maintaining the APSIM code in the medium term (working title “ApsimX”)

• Make a major contribution to the ongoing maintenance and curation of the APSIM software, including support for regular releases of new versions and addition of new models (Ausfarm, Dymex, ...).

• Reduce the “data-wrangling” required to obtain insight from large modelling studies, by enhancing support by APSIM for the organization of outputs from large collections of related simulation.

CSIRO internally funded project will:

Page 3: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

• The advent of ubiquitous mobile computing, much of it based on variants of the Unix operating system, means that the existing Windows-centric code base will become inadequate to meet users’ needs within the next 5-10 years.

• Increases in available computing power – mainly through the harnessing of multiple CPUs – mean that researchers are using APSIM to carry out ever-larger simulation experiments in scientific contexts including genetic evaluation, land use tradeoffs and climate change adaptation. This is resulting in demand for greater execution speeds and for efficient ways of delivering modelling results at the level of the simulation experiment rather than the individual simulation run.

Rationale

Page 4: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

1. APSIM next generation (ApsimX)a. Development of ApsimX framework with tests and spec. doc.b. User interface that will run on Windows/Linux/Macc. Development of ApsimX modelsd. Wrapper for old APSIM componentse. Develop a simple web interface proof-of-conceptf. Develop a simple android / ipad interface proof-of-concept.

2. Enhanced validation / calibration test suite3. Seamless pasture / livestock / DYMEX model integration into APSIM.4. A new APSIM overview paper accepted for publication in a peer-reviewed journal5. A new facility in the APSIM suite that captures and organizes output data from complex

simulation experiments in easily accessible storage6. A new SWIM water balance model within ApsimX, incorporating enhancements recently

devised by Peter Ross that will increase its execution speed & functionality. A paper describing the new SWIM version submitted for publication.

7. Ongoing maintenance and release of APSIM and ApsimX8. YieldProphet ongoing support and handover to BCG by Dec 2014.

CSIRO internally funded project deliverables:

Page 5: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

• Completely rethink APSIM’s design, the way it is implemented, tested and deployed.

• Find the simplest (and quickest) implementation of APSIM that we can (a micro kernel)

• Implement new science on SoilWater, SWIM and below ground arbitration of resources.

• Develop a new user interface, inter-model communication ‘protocol’.• Rethink the way we test APSIM (all models must have a validation,

sensibility test and new documentation)• Move to a auto-upgrade facility (on a user defined schedule) from the

web.• Move to a new, distributed, version control system?• ‘Think outside the square’

An opportunity to:

Page 6: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

• I will present one possible design for a new APSIM.• I’m interested in alternatives or suggestions.

Remainder of the workshop

Page 7: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

• Suppository Git vs Svn Pete• Continuous integration tool selection (Cruise Control?) Pete• Testing / stats / R framework. Justin & Paul.• Write a sequence diagram for a complete simulation and interfaces Eric• Write translator: .apsim to .apsimx Dean• Decide on User Interface display technology GTK#, Mono Develop?• ------- VC -------• Zone (add tests) Neville• Tests for clock – check for regional settings Neville• Manager Dean• SoilWater

– Rework code to run in ApsimX Shaun– Tests/Validation Justin with Neil and Hamish

• SoilNitrogen– Rework code to run in ApsimX Shaun– Tests/Validation Rogerio & Jo

Action plan

Page 8: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

• Surface organic matter (validation with sugar, wheat) – Rework code to run in ApsimX Eric– Tests/Validation Jo + Neil

• Irrigation, fertiliser, sysbal? Justin, • Report Dean• MicroClimate (Rework code Eric) Tests(Neil)• Summary file? How? Text vs binary? Both. Dean• Operations model Peter• Weather model add tests, add daylength, adding hourly

temperatures, calc tav/amp from file or use global gridded lookup (Neil knows what to do). Neville

Page 9: 9:30Overview and objectives of ApsimX 9:45The model framework 10:30Coffee break 11:00The model framework (continued) 12:30pLunch 1:30pThe user interface.

• User interface Dean – Links (shortcuts) in GUI – how? Dean– Internationalisation issues in GUI. Dean– No spaces in model names. GUI to enforce. Dean– How is a soil represented in GUI and model. (single soil, child models

for soilwater, soil nitrogen) Dean– Auto updater from web

• Below ground resource arbitration. Define interface and implement dummy model. Val & Hamish will modify Plant2 to use interface.

• Plant potato Hamish (do this before wheat) Feb 2014 decision point, wheat Neil Mar-June , sugarcane, oilpalm, agpasture

• Soil temperature (remove from soil nitrogen), add tests. • What do we do about unreleased models?• Solute