Hello Deirdre,
(this is my first posting to this mailing list. If I have done something
wrong or this is not the right place for this posting: sorry to all of you)
At our Institute for Economic Research at the University of Karlsruhe,
Germany, we are using the iTHINK (=STELLA) software in the field of
transport infrastructure planning and assessment.
Especially for my dissertation thesis I try to combine a system dynamics
model with our (in C written) transport model. The transport model is
highly disaggregated (over 1000 regions for Europe, infrastructure networks
with over 10,000 links, etc.) and need to be run on a UNIX workstation.
Both models should interact together. They should interchange data and run
automatically over time. So I have to translate the ithink equation system
too.
Half a year ago I asked HPS for informations on this topic. I got the
following answer from Bruce Hannon (thanks for the fast supply of
information!) which may help you, Deirdre:
>DEAR KARSTEN,
>I AM AWARE OF TWO COMPILERS OF STELLA EQUATIONS.
>1. MADONNA. A VERY NICE PROGRAM THAT RUNS ON WINDOWS OR MAC, SPEEDS THE RUN
>TIME IMMENSELY OF COURSE (BY A FACTOR OF 100 OR MORE), PROVIDES SENSITIVITY
>TESTING, CURVE FITTING OF THE MODEL TO GIVEN DATA, ETC. CONTACT "Tim
>Zahnley" <
zahnley@ibm.net>
>I DONT KNOW IF HE PLANS A UNIX VERSION.
>2. TOM MAXWELL HAS WRITTEN A PROGRAM THAT TAKES THE STELLA EQUATIONS FOR
>MODEL WITHIN A SPATIAL CELL AND COMPILES IT FOR ALL CELLS IN A GIVEN SPACE.
>WE HAVE USED IT EXTENSIVELY (SEE:
>
http://blizzard.gis.uiuc.edu/htmldocs/TES.html ). THE PROCESS ALLOWS ONE TO
>VARY THE CELL SIZE AND THE TIME STEP ACROSS THE SPACE. IT IS FOR ALL KNOWN
>PLATFORMS. PARAMETER AND INITIAL VALUE DATA IS SUPPLIED FROM MAPS OF THE
>SPACE. TOMS PAGE IS:
http://kabir.umd.edu/SMP/MVD/C0.html
Unfortunately both programs seem not to fit well with my research needs:
As far as I know Tom Maxwells program is made primarily for really big
biological models and Madonna is not available to the UNIX platform. But
perhaps I am totally wrong and someone else in this mailing list can give
you better informations. I am sure you can get also more information from
Tim Zahnley and Tom Maxwell. It would be the best to contact them directly.
Well, perhaps there is another possibility available for you:
For my PhD research we have developed (and are still developing) our own
piece of translation software. A friend of mine is a researcher in the
field of computer science at the University of Karlsruhe. With his
knowledge on compilers and programming languages he has developed an
ithink-to-C-cross-compiler for free.
The main idea was to design the system dynamics model itself with ithink
and translate it afterwards to enlarge it for the use with disaggregated
data and to program it for the interaction with other models.
This compiler takes the ithink equation set and produces equivalent C
source code. All data is stored in seperate data and index files. So you
are able to import/export data directly from/to external data sources. The
split of data and model in seperate files is also very usefull if you want
to enlarge the number of array elments additionally (ithinks array
possibilities and performance are limited). A tcl/tk interface is added so
that it is possible to run and analyse the model on the unix machine. (this
interface can also be used as a programming interface).
The compiler is still far away from being a complete software package. It
is still an experimential prototype version and until now only used for my
own research work. There are still a lot of problems, especially because of
the ithink equation syntax. It is written for human readers and not for
machines. So it is quite difficult (and sometimes impossible) to get all
necessary information from the equation file. Two-dimensional arrays are
not implemented yet as well as some internal functions. Because of his own
PhD work my friend has stopped the software development for a while.
Further software development will be continued at our Institute. The
software (as it is) is freeware (nevertheless copyrights of some parts,
like the freeware compiler toolbox "cocktail", which was used to program
the compiler, have to be considered). But there should be no problem to
send you the program on a trial out basis. If you (or someone else in this
mailing list) are interested feel free to send me an email to:
kuchenbecker@iww.uni-karlsruhe.de
Greetings
Karsten Kuchenbecker
From: Karsten Kuchenbecker <
kuchenbecker@iww.uni-karlsruhe.de>