added 'black' color to cycles routine rendering, upgraded docs, version number, compi...
[iDMC.git] / models / Economic / solow.lua
blob9c84053666a9ccecc59596781cc15acf107be2e7
1 --% ft| TRAJECTORY_T1_V0_A1_O1 sn| traj n| #0 d| 2 n| #1 d| 0.2 n| #2 d| 0.3 n| #3 d| 0.01 n| #4 d| 0.01 n| #5 d| 0.04 n| #6 d| 0.05 n| #7 d| 0 n| #8 d| 10000 n| #9 d| 10000 n| #10 d| k
2 --% ft| TRAJECTORY_T1_V1_A1_O1 sn| varic n| #0 d| 8 n| #1 d| 0.05 n| #2 d| 0 n| #3 d| 10000 n| #4 d| 10000 n| #5 d| k
3 --% ft| TRAJECTORY_T1_V1_A1_O1 sn| varalpha n| #0 d| 8 n| #1 d| 0.05 n| #2 d| 0 n| #3 d| 10000 n| #4 d| 10000 n| #5 d| k
4 --% ft| TRAJECTORY_T1_V0_A1_O1 sn| k:~~~s:~~~alph:~~~n:~~~g:~~~delt:~~~step:~~~tran:~~~ n| #0 d| n| #1 d| n| #2 d| n| #3 d| n| #4 d| n| #5 d| n| #6 d| n| #7 d| n| #8 d| n| #9 d| n| #10 d| k
5 --@@
6 name = "Solow"
7 description = "See Model refs in user's guide"
8 type = "C"
9 parameters = {"s", "alpha", "n", "g", "delta"}
10 variables = {"k"}
12 function f(s, alpha, n, g, delta, k)
14 k1 = s * k^alpha - (n + g + delta) * k
16 return k1
18 end