| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

XMILE files

Page history last edited by robertm 10 years, 11 months ago

This page brings together all code files relevant to XMILE.    This includes:

- XMILE sample models (with extension .xml)

- XML Schemas for XMILE (with extension .xsd) (the plural 'Schemas' indicating that there may be more than one version)

- XSLT stylesheets (with extension .xsl) - for transforming XMILE files (e.g. into HTML or another XML format)

 

Note 1 (23 May 2013)

This page has been created on this day in order to gather together files from various sources that were developed in 2008.  These files were referenced on various pages in this wiki, but lived elsewhere on the web, and some links (direct, or indirect through the Connotea bookmarking service) no longer worked.   

 

Note 2 (23 May 2013)

Many of these files conform to EdXMILE ("Edinburgh XMILE") - a subset and slightly-modified version of XMILE developed by Robert Muetzelfeldt in order to try to kick-start work in the community in putting the paper standard into practice.   All such files are labelled as such.   There is no intention that EdXMILE be considered as being 'better' than XMILE - it is simply a pragmatic stop-gap in order to get things going.    

 

 

XMILE sample models (.xml)

 

isee XMILE

Given that Stella now (2013) can export models in XMILE .xml, there should be many such models.   Please provide some: contact Robert Muetzelfeldt robertm@ed.ac.uk if you want to provide such models or have acces sto the wiki to upload them yourself.

 

EdXMILE

The XMILE version of these models were all generated from SIMILE (http://www.simulistics.com).  Where relevant, a link is given to original model in the Simile model catalogue.

 

All these files have been validated against the EdXMILE Schema (below), using the free online XML validation service provided by FreeFormatter (http://www.freeformatter.com/xml-validator-xsd.html).

 

daisyworld.xml: James Lovelock's DaisyWorld model

lintul.xml: a generic crop growth model

mcmurtrie.xml: a very simple (single stock) vegetation model

mitotic_oscillator.xml: a simple Systems Biology model

predator_prey.xml: the classic predator-prey model

 

 

XMILE Schemas (.xsd)

isee XMILE

(Placeholder)

 

EdXMILE Schema

EdXMILE_v1.xsd: This version dated Nov 2008.

 

 

XMILE XSLT stylesheets (.xsl)

One motivation for the development of an XML-based markup language for System Dynamics modelling is the value of having an interchange language: to allow models to be readily transferred between different software (Stella, Vensim, Simile, Powersim etc).   However, the XML model file can also be processed independently of these, using any standard programming language, or XSLT - the XML Stylesheet Language for Transformations.

 

An "XSLT stylesheet" is a document in XML syntax which defines a transformation from an XML document into some other format.  The target format is typically HTML, but could be XML or plain text.    The usual use is to display an XML document (such as an XMILE file), or some subset of information in it, in a human-readable way.   For example, a simple XSLT stylesheet could be used to generate an HTML table listing all the stocks in a model, with additional columns displaying the inflows and outflows of each stock.   

 

There are various ways for processing an XML document using an XSLT style sheet.  Perhaps the simplest is to go to a free online service, such as this one.   Copy-and-paste the XML text into the top textarea, and the XSLT text in the next textarea, click on the 'Run transformation' button, then click on '

 

EdXMILE stylesheets

EquationListing.xsl: This lists the equations in a model.

 

 

 

 

Comments (0)

You don't have permission to comment on this page.