Passing data between models
Posted: Fri Jul 19, 2019 2:49 pm
Hello,
I'd appreciate some advice on how best to pass data between Vensim models.
I have one model of a production process that ends with quantities of items in stock, their cost prices and so on. A second model will take the closing stock and price values from the first as its parameters for a sales drive. If I have both models in a common directory, can I write the closing values from the first model and use the 'GET DATA' function in the second to recover them? And can I set this to run automatically, so that the first model writes the data file when it reaches the end of the run?
Best wishes,
Phill
I'd appreciate some advice on how best to pass data between Vensim models.
I have one model of a production process that ends with quantities of items in stock, their cost prices and so on. A second model will take the closing stock and price values from the first as its parameters for a sales drive. If I have both models in a common directory, can I write the closing values from the first model and use the 'GET DATA' function in the second to recover them? And can I set this to run automatically, so that the first model writes the data file when it reaches the end of the run?
Best wishes,
Phill