Page 1 of 1

A problem with attributes

Posted: Fri Apr 08, 2016 1:13 pm
by moudi
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?

Re: A problem with attributes

Posted: Sat Apr 09, 2016 7:58 am
by moudi
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

Posted: Tue Apr 12, 2016 10:43 pm
by tomfid
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.