Economics Model

[From Bill Powers (2007.11.27.1339 MST)]

I went through the model ConsumerUn.pas and made sure it at least
compiles when used as a Unit with a Delphi (or any other) Pascal
program. It doesn't run, but the errors have been taken care of.

Best,

Bill P.

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.16.8/1154 - Release Date: 11/27/2007 11:40 AM

consumerUn1.pas (4.93 KB)

[From Bjorn Simonsen (2007.11.27,22:35 EUST)]
from Bill Powers (2007.11.27.1222 MST)

I have a new version, attached, with that correction and others --
though nothing is guaranteed yet.

I could not find your attached files, neither in your Economics Model nor in
Re: Price Theory. The volumes were 5KB and 4 KB.
Maybe it's my problem. I use Delphi 6.

bjorn

I could not find your attached
files, neither in your Economics Model nor in

Re: Price Theory. The volumes were 5KB and 4 KB.

Maybe it’s my problem. I use Delphi 6.
[From Bill Powers (2007.11.27.1510 MST)]

Do a search of your computer for the file consumerUn.pas.

Best,

Bill P.

[From Bjorn Simonsen (2007.11.29,10:55 EUST)]
from Bill Powers (2007.11.27.1339 MST)

I went through the model ConsumerUn.pas and made sure it at least
compiles when used as a Unit with a Delphi (or any other) Pascal
program. It doesn't run, but the errors have been taken care of.

I continue with my program. I started using the same names on the variables
as you, but now I choose my own names.

I tried to open your ConsumerUn.pas directly from your mail, but I failed.
Then I saved it on a file and opened it from there. That was OK.
Let me comment:
On your scalar variables you uses part of 1.0 per iteration. That's OK.

CHours //part of 1.0
  You say that full time is 1.0. What is 1.0, a year, as you proposed in
[From Bill Powers (2007.11.26.0330 MST)]?

On Goods you use number goods per hour and fraction/hour. Is that OK??

CBuyGoodRate //number of purchases of the i-th good per hour
  Later you say: CGood[good] :=(1 - CDeprecRate[good] * CGood[good] * dt ??
CDeprecRate //consumer's rate of depreciaton of goods on hand,
            fraction/hour ??

I am afraid the loops will interact and I think it is best using parts of $
and parts of Good per iteration all over. Am I wrong?

bjorn