Hi
I have a very simple problem with a model I built just as an exercise. I want to have a number of persons (customers) that have a bank account. I'm able to specify the initial values for the bank account in the Input data. However, although I specified the inflows (deposits) for the different customers in the same way, these values are not used in the calculation. It is always one constant value. What am I doing wrong?
A problem with attributes
A problem with attributes
- Attachments
-
- bank simple.zip
- (4.91 KiB) Downloaded 400 times
Re: A problem with attributes
OK, I realise (assume?) that it is not possible to define an initial value for a flow rate. So, if I introduce an additional constant variable, it works...
Re: A problem with attributes
Your workaround is correct. However, you have found a bug.
It's true that a flow with a non-constant expression can't be given a fixed initial value, but in your example the constant flow expression should be settable. I've put in a ticket for a fix.
It's true that a flow with a non-constant expression can't be given a fixed initial value, but in your example the constant flow expression should be settable. I've put in a ticket for a fix.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/