SDXorg / test-models

A collection of System Dynamics models implemented in various environments with a canonical output
MIT License
27 stars 22 forks source link

Added SIR_simile_from_xmile.pl to samples/SIR #23

Closed robertmue closed 8 years ago

robertmue commented 8 years ago

First time I've cloned a github repo, made changes, and issued a pull request, so apologies if I've not done it properly!

I've been working on an XMILE-to-Simile converter, and have just tested it against the output.csv in samples/SIR. Results fully agree with reference values. The resulting model, in Simile's Prolog format, has been added as SIR_simile_from_xmile.pl. I have used a descriptive name to allow for other possible Simile versions, hand-made or converted from e.g. Vensim .mdl.

I have also edited the README.md for samples/SIR. Note that I have changed the date format to the recommended ISO standard international date format, to avoid ambiguity (e.g. 1/2/15 in Europe means 1st Feb 2015, not 2nd Jan 2015). I suggest that use of the international date format is adopted throughout the repository.

I have also added my name as a contributor to the top-level README, as requested.

JamesPHoughton commented 8 years ago

Looks great @robertmue! Thanks for the submission. =)