index tank cash

Cash, a Money Tank


Description:
This model is similar to the Tank Model. 

The energy source corresponds the monthly income, the money storage is the account on the bank and the outflow is our spending of money, depending on the amount of money on the bank.

Diagram

Variables:
J = inflow (income)
Q = stored money on the bank account 
k*M = outflow (spending)

Equations:
DM = J - k*M 

Simulation:
The graph shows the change of M over a time period.

Code: cash.java

"What if" Experiments:

  • What happens if you win one Million Dollars? Does the model correspond with reality in this case?
  • What happens if you get a better job where you have a better salary?
  • What happens if you loose your job?