+ All Categories
Home > Documents > 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest...

1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest...

Date post: 31-Dec-2015
Category:
Upload: merilyn-morrison
View: 215 times
Download: 0 times
Share this document with a friend
140
1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration effects Peter Lohmander Presented in the seminar series of Dept. of Forest Economics, Swedish University of Agricultural Sciences, Umea, Sweden, Thursday 2008-09-18, 1400 – 1500 HRS Marginally updated 111215
Transcript
Page 1: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

1

CM

Optimal Resource Control Model&

General continuous time optimal control model of a forest resource, comparative dynamics and CO2

storage consideration effects

Peter Lohmander

Presented in the seminar series of Dept. of Forest Economics,

Swedish University of Agricultural Sciences, Umea, Sweden, Thursday 2008-09-18, 1400 – 1500 HRS

Marginally updated 111215

Page 2: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

2

First some

General optimal control theory

Page 3: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

3

( )

0

max , , ( ),

( ) ( )

( , , ) (0)

T

u st

J F x u s ds S x T T

u s s

x f x u t x x

Page 4: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

4

( )

0

( , ) max ( ), ( ), ( ),

( ) ( )

( ( ), ( ), ) (0)

T

u st

V x t F x s u s s ds S x T T

u s s

xx f x s u s s x x

s

Page 5: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

5

( )

( , ) max ( ), ( ), ( ( ), ) ( )

( ) ( )

t t

u st

V x t F x s u s s ds V x t t t t t

u s s

Page 6: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

6

( )

( , ) max ( ), ( ), ( ( ), ) ( )

( ) ( )

u tV x t F x t u t t t V x t t t t t

u t t

Page 7: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

7

Taylor expansion:

( ( ), ) ( , ) ( , ) ( , ) ( )x tV x t t t t V x t V x t x V x t t t

Page 8: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

8

( ( ), ) ( , ) ( , ) ( , , ) ( , ) ( )x tV x t t t t V x t V x t f x u t t V x t t t

( )

( , ) max , , ( , ) ( , ) ( , , ) ( , ) ( )

( ) ( )

x tu t

V x t F x u t t V x t V x t f x u t t V x t t t

u t t

Page 9: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

9

( )

0 max , , ( , ) ( , , ) ( , ) ( )

( ) ( )

x tu t

F x u t V x t f x u t V x t t t

u t t

Page 10: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

10

( )

( )0 max , , ( , ) ( , , ) ( , )

( ) ( )

x tu t

tF x u t V x t f x u t V x t

tu t t

Page 11: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

11

0

( )lim 0t

t

t

Page 12: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

12

( )

0 max , , ( , ) ( , , ) ( , )

( ) ( ) ; ( , ) ( , )

x tu t

F x u t V x t f x u t V x t

u t t V x T S x T

Page 13: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

13

*( ) ( ( ), )xt V x t t

Page 14: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

14

( , , , ) ( , , ) ( , ) ( , , )x xH H x u V t F x u t V x t f x u t

( , , , ) ( , , ) ( ) ( , , )H H x u t F x u t t f x u t

Page 15: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

15

( )

0 max ( , , , ) ( , )

( ) ( )

x tu t

H x u V t V x t

u t t

Page 16: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

16

( , )tV x t u( , )tV x t

( )0 max ( , , , ) ( , )

( ) ( )

x tu t

H x u V t V x t

u t t

is not a function of

Hence, we may exclude from the optimization.

Page 17: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

17

( )x t ( )u tis optimized via

We assume an unconstrained local maximum.

Page 18: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

18

0x txH V

x tx xtH V V

x xH V

Page 19: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

19

The adjoint equation:

xH

Page 20: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

20

Terminal boundary condition:

( )

,( ) ( ),x

x x T

S x TT S x T T

x

Page 21: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

21

0, (0)

, ( ) ( ),X x

x H x x

H T S x T T

Page 22: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

22

The maximum principle:Necessary conditions for

*uto be an optimal control:

* * * *0

* * *

* * *

( , , ) , (0)

( ( ), ( ), ( ), ) , ( ) ( ),

( ( ), ( ), ( ), ) ( ( ), ( ), ( ), ) ( ), 0,

X x

x f x u t x x

H x t u t t t T S x T T

H x t u t t t H x t u t t t u t t T

Page 23: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

23

Now, a more specific

Optimal control model

Page 24: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

24

2

1

21 2 1 2 3max

trt

t

J e f f t x k k t u k u dt

Page 25: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

25

0 1 2x g g x g t u

1 1 2 2( ) ; ( )x t x x t x

Page 26: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

26

21 2 1 2 3 0 1 2

rtH e f f t x k k t u k u g g x g t u

1 2 32 0rtHe k k t k u

u

1 2 1rtH

e f f t gx

Page 27: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

27

Determination of the time derivative of via the adjoint equation:

H

x

1 2 1rte f f t g

1 1 2rtg e f f t

Page 28: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

28

1 2 3 1 2 32 0 2rt rtHe k k t k u e k k t k u

u

1 1 2 3 1 22rt rtg e k k t k u e f f t

1 1 2 3 1 22rte g k k t k u f f t

1 1 1 1 2 2 1 32rte g k f g k f t g k u

Page 29: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

29

Determination of the time derivative of via 0H

u

1 2 30 2rtHe k k t k u

u

Page 30: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

30

1 2 3 2 32 2rt rtre k k t k u e k k u

1 2 3 2 32 2rte r k k t k u k k u

2 1 2 3 32 2rte k k r k rt k ru k u

Page 31: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

31

The time derivative of as determined via 0H

u

must equal the time derivative of as determined via the adjoint equation:

2 1 2 3 3 1 1 1 1 2 2 1 32 2 2k k r k rt k ru k u g k f g k f t g k u

3 1 3 3 1 2 1 1 1 2 1 2 22 2 2k u g k k r u k r k g k f k r g k f t

3 3 1 1 1 2 1 2 1 22 2k u k r g u k r g k f k r g f t

Page 32: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

32

Definition:

2 1r r g

Observation:This differential equation can be used to determine the optimal control function ( )u t.

2 1 2 2 1 2 2 23 3

1 1

2 2u r u k r k f k r f t

k k

Page 33: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

33

Solution of the homogenous differential equation:

Let

2 0h hu r u

mt

hu Ae

2 0 ; 0mt mtm r Ae Ae

2m r2( ) r t

hu t Ae

Page 34: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

34

Determination of the particular solution:

2 1 2 2 1 2 2 23 3

1 1

2 2p pu r u k r k f k r f tk k

Let 1 2pu z z t

2 2 1 2 1 2 2 1 2 2 23 3

1 1

2 2z r z z t k r k f k r f t

k k

2 1 2 2 2 1 2 2 1 2 2 23 3

1 1

2 2z z r z r t k r k f k r f t

k k

Page 35: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

35

2 2 2 2 23

1

2z r k r f

k

22 2

3 2

1

2

fz k

k r

2 1 2 1 2 2 13

1

2z z r k r k f

k

22 1 2 1 2 2 1

3 2 3

1 1

2 2

fk z r k r k f

k r k

Page 36: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

36

21 2 1 2 2 1 2

3 3 2

1 1

2 2

fz r k r k f k

k k r

1 2

1 123 2 2

1

2

f fz k

k r r

( ) ( ) ( )h pu t u t u t

Page 37: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

37

Conclusion:The optimal control function is:

21 2( ) r tu t Ae z z t

Page 38: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

38

Determination of the optimal stock path equation:

0 1 2x g g x g t u

Page 39: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

39

The optimal control function is introduced in the differential equation of the stock path equation:

20 1 2 1 2

r tx g g x g t Ae z z t

Page 40: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

40

As a result, the differential equation of the optimal stock path equation is:

21 0 1 2 2

r tx g x g z g z t Ae

Page 41: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

41

Solution of the homogenous differential equation:

1 0h hx g x

Let nt

hx Be

1 0 ; 0nt ntn g Be Be

1n g

1( ) g thx t Be

Page 42: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

42

Determination of the particular solution:

21 0 1 2 2

r tp px g x g z g z t Ae

Let: 20 1 2

r tpx c c t c e

21 2 2

r tpx c r c e

Page 43: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

43

2 2 21 2 2 1 0 1 2 0 1 2 2

r t r t r tc r c e g c c t c e g z g z t Ae

2 21 0 1 1 1 2 2 1 0 1 2 2

r t r tc c g c g t c r g e g z g z t Ae

1 1 2 2c g g z

2 21

1

z gc

g

Page 44: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

44

1 0 1 0 1c c g g z

2 20 1 0 1

1

z gc g g z

g

2 20 1 0 1

1

z gc g g z

g

2 20 1 0

1 1

1 z gc z g

g g

Page 45: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

45

2 2 1c r g A

2 1 2 21 2

Ac A g r c

g r

( ) ( ) ( )h px t x t x t

Page 46: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

46

Conclusion:The optimal stock path equation is:

1 20 1 2( ) g t r tx t Be c c t c e

Page 47: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

47

Determination of ,A B via the initial and terminal conditions

1 1 2 2( ) ; ( )x t x x t x

2

10 1

1 2

( )r t

g t ex t Be c c t A

g r

2 1

1 1

2 2

1 2

1 0 1 11 2

2 0 1 21 2

r tg t

r tg t

ex Be c c t A

g r

ex Be c c t A

g r

Page 48: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

48

2 1

1 1

2 2

1 2

1 0 1 11 2

2 0 1 21 2

r tg t

r tg t

eA e B x c c t

g r

eA e B x c c t

g r

Page 49: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

49

2 1

1 1

2 2

1 2

1 2 1 0 1 1

2 0 1 2

1 2

r tg t

r tg t

ee

g r x c c tA

x c c tBee

g r

Page 50: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

50

2 1

1 1

2 1 2 2

1 2 1 1

2 2

1 2

1 2

1 2 1 2

1 2

r tg t

r t r tg t g t

r tg t

ee

g r e eD e e

g r g ree

g r

Page 51: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

51

2 1 1 2 2 2 1 1

1 2

r t g t r t g te e e eD

g r

Page 52: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

52

2 1 1 2 2 2 1 1( ) ( )

1 2

r t g t r t g te eD

g r

Page 53: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

53

1 1

1 2

1 0 1 1

2 0 1 2

g t

g t

x c c t e

x c c t eA

D

Page 54: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

54

1 2 1 11 0 1 1 2 0 1 2

g t g tx c c t e x c c t eA

D

Page 55: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

55

2 1

2 2

1 0 1 11 2

2 0 1 21 2

r t

r t

ex c c t

g r

ex c c t

g rB

D

Page 56: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

56

2 1 2 2

2 0 1 2 1 0 1 11 2 1 2

r t r te ex c c t x c c t

g r g rB

D

Page 57: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

57

2 1 2 22 0 1 2 1 0 1 1

1 2

r t r te x c c t e x c c tB

g r D

Page 58: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

58

Determination of ( )t via 0H

u

and ( )u t

1 2 3 1 2 32 0 2rt rtHe k k t k u e k k t k u

u

21 2( ) r tu t Ae z z t

21 2 3 1 2( ) 2 r trtt e k k t k Ae z z t

21 3 1 2 3 2 3 2 1( ) 2 2 2 ;r trtt e k k z k k z t k Ae r r g

Page 59: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

59

Conclusion:The optimal adjoint variable path equation is:

11 3 1 2 3 2 3( ) 2 2 2 g trtt e k k z k k z t k Ae

Page 60: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

60

Determination of the optimal objective function value:

2

1

2

1 2 1 2 3( ) ( ) ( )t

rt

t

J e f f t x t k k t u t k u t dt

Page 61: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

61

2

1

2

1 2 1 2 3( ) ( ) ( )t

rt

t

J e f f t x t k k t u t k u t dt

2

1

( )t

t

J K t dt

21 2 1 2 3( ) ( ) ( )rtK e f f t x t k k t u t k u t

Page 62: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

62

2 10 1

1 2

( ) r t g tAx t e Be c c t

g r

1 20 1

1 2

( ) ;g t r t Ax t c c t Be De D

g r

21 2( ) r tu t z z t Ae

Page 63: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

63

1 2 2 22

1 2 0 1 1 2 1 2 3 1 2g t r t r t r trtK e f f t c c t Be De k k t z z t Ae k z z t Ae

21 2 1 2 3( ) ( ) ( )rtK e f f t x t k k t u t k u t

Page 64: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

64

1 2 1 2

2 2

2

2

2 2 2

21 0 1 1 1 1 2 0 2 1 2 2

21 1 1 2 1 2 1 2 2 2

23 1 3 1 2 3 1

2 23 1 2 3 2 3 2

223 1 3 2 3

( )

( )

g t r t g t r trt

r t r t

r t

r t

r t r t r t

Ke f c f c t f Be f De f c t f c t f Bte f Dte

k z k z t k Ae k z t k z t k Ate

k z k z z t k z Ae

k z z t k z t k z Ate

k z Ae k z Ate k A e

Page 65: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

65

1 2

2 1 2

21 0 1 1 3 1 1 1 2 0 1 2 2 1 3 1 2

2 22 1 2 2 3 2 1 1 1 3 1

223 2 2 2 3 2

( ) 2

( ) 2

2

rt

g t r t

r t g t r t

Ke f c k z k z f c f c k z k z k z z t

f c k z k z t f B e f D k A k z A e

k A e f B te f D k A k z A te

Page 66: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

66

1 2

2 1 2

0 1

22 3 4

25 6 7

rt

g t r t

r t g t r t

Ke w w t

w t w e w e

w e w te w te

Page 67: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

67

1 2

2 1 2

0 1

( ) ( )22 3 4

(2 ) ( ) ( )5 6 7

rt rt

g r t r r trt

r r t g r t r r t

K w e w te

w t e w e w e

w e w te w te

Page 68: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

68

0 0

0 1 2

3 1 2

0 1

22 3 4

5 6 7

s t s t

s t s t s t

s t s t s t

K w e w te

w t e w e w e

w e w te w te

Page 69: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

69

Now, we determine ( )I t , the antiderivative of K.

IK

t

. Below, we exclude the constant of integration.

Page 70: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

70

0

0

1 2

0

3

1 2

0 1 20 0 0

2 20 0

2 3 430 1 2

5 6 72 23 1 1 2 2

1

( )

( ) 2 2

( )

1 1

( ) ( )

s ts t

s t s ts t

s ts t s t

e tI w w e

s s s

s t s t e ew e w w

s s s

e t tw w e w e

s s s s s

2 1( ) ( )J I t I t

Page 71: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

71

Code section for calculation of J (in JavaScript):

var r2 = r-g1;var z1 = 1/(2*k3)*(f1/r2 + f2/r2/r2 - k1);var z2 = 1/(2*k3)*(f2/r2 - k2);var c0 = 1/g1*(z1+(z2-g2)/g1 - g0);var c1 = (z2-g2)/g1;

Page 72: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

72

var sysdet = Math.exp(r2*t1)/(g1-r2)*Math.exp(g1*t2) - Math.exp(r2*t2)/(g1-r2)*Math.exp(g1*t1);

var A = ( (x1-c0-c1*t1)*Math.exp(g1*t2) -(x2-c0-c1*t2)*Math.exp(g1*t1) )-/sysdet;

var B = ( Math.exp(r2*t1)/(g1-r2)*(x2-c0-c1*t2) – Math.exp(r2*t2)/(g1-r2)*(x1-c0-c1*t1))/sysdet;

Page 73: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

73

var D = A/(g1-r2);var w0 = f1*c0 + k1*z1 + k3*z1*z1;var w1 = f1*c1 + f2*c0 + k1*z2 + k2*z1 + 2*k3*z1*z2;var w2 = f2*c1 + k2*z2 + k3*z2*z2;var w3 = f1*B;var w4 = f1*D + k1*A + 2*k3*z1*A;var w5 = k3*A*A;var w6 = f2*B;var w7 = f2*D + k2*A + 2*k3*z2*A;

Page 74: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

74

var s0 = - r;var s1 = g1 - r;var s2 = r2 - r;var s3 = 2*r2 - r;

Page 75: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

75

var AntidK2 = w0*(1/s0*Math.exp(s0*t2)) + w1*(Math.exp(s0*t2)*(t2/s0 - 1/(s0*s0))) + w2*(Math.exp(s0*t2)*((s0*s0*t2*t2-2*s0*t2+2) /(s0*s0*s0))) + w3*(1/s1*Math.exp(s1*t2)) + w4*(1/s2*Math.exp(s2*t2)) + w5*(1/s3*Math.exp(s3*t2)) + w6*(Math.exp(s1*t2)*(t2/s1 - 1/(s1*s1))) + w7*(Math.exp(s2*t2)*(t2/s2 - 1/(s2*s2))) ;

Page 76: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

76

var AntidK1 = w0*(1/s0*Math.exp(s0*t1)) + w1*(Math.exp(s0*t1)*(t1/s0 - 1/(s0*s0))) + w2*(Math.exp(s0*t1)*((s0*s0*t1*t1-2*s0*t1 + 2) /(s0*s0*s0))) + w3*(1/s1*Math.exp(s1*t1)) + w4*(1/s2*Math.exp(s2*t1)) + w5*(1/s3*Math.exp(s3*t1)) + w6*(Math.exp(s1*t1)*(t1/s1 - 1/(s1*s1))) + w7*(Math.exp(s2*t1)*(t1/s2 - 1/(s2*s2))) ;

var Integral = AntidK2 - AntidK1;

var J = Integral;

Page 77: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

77

General observations of optimal solutions:

First we consider the following objective function. Note that the stock level does not influence the objective function directly in this first version of the problem.

2

1

( ( ))

( )

trt

t

J e R u t dt

x F x u

Page 78: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

78

The Hamiltonian function is:

( ) ( ( ) )rtH e R u F x u

rtu

He R

u

Page 79: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

79

When we have an interior optimum, the first order derivative of the objective function with respect to the control variable is 0. As a result, we find that the present value of the marginal profit,

( ( ))rtue R u t

is equal to the marginal resource value at the same point in time,

( )t

0 rtu

He R

u

.

Page 80: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

80

The adjoint equation says that

H

x t

Since x

HF

x

, we know that xF

Page 81: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

81

Now, we make the following definition:

, consists of many different parts.

0

( ) ( )x

F x G z dzThe resource, with total stock

x

Different parts of the resource have different relative growth. A particular part of the resource,

z , has relative growth ( )G z .

Page 82: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

82

We may define the relative growth of that particular unit as

( )

( )

y z

y z

( ( )y z is the stock level of that particular unit and

y

is the growth.)

Page 83: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

83

When we integrate,

0

( ) ( )x

F x G z dzwe arrange the different particular resource units in such a way that

( ) 0 ,xxF x x

Page 84: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

84

( )( )

( )

y zG z

y z

( )( ) ( )

( )x

y xF x G x

y x

( )

( )

y x

y x

( )

( )

y x

y x

Page 85: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

85

Observation:The relative decrease of the marginal resource value over time is equal to the relative growth of the marginal resource unit.

( )

( )

y x

y x

Page 86: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

86

Example with explanation from forestry:

If the marginal cubic metre grows by 5% per year (and will give 0.05 new cubic metres next year) then the value of the marginal cubic metre this year is 5% higher than the value of the marginal cubic metre next year.

Page 87: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

87

The value of an already existing cubic metre must be higher than the value of a cubic metre in the future year since the cubic metre that we already have may give us more than one cubic metre in the future year, thanks to the growth.

Page 88: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

88

The relative marginal resource value decrease is higher

in case the relative marginal growth

( )

( )

y x

y x

is higher.

( )

( )

y x

y x

Page 89: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

89

The relationship between the speed of change of the relative marginal

resource value and direct valuation of the stock level

Page 90: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

90

Here, we add

2

1

( )t

rt

t

e W x dtto the objective function.

Page 91: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

91

As a result, we get:

2

1

( ( )) ( )

( )

trt

t

J e R u t W x dt

x F x u

Page 92: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

92

The Hamiltonian function becomes:

( ) ( ) ( ( ) )rtH e R u W x F x u

Page 93: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

93

These derivatives are obtained:

rtu

He R

u

rtx x

He W F

x

Page 94: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

94

The adjoint equation gives a modified result:

H

x t

rtx xe W F

rtx

x

e WF

Page 95: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

95

rtxe W y

y

rtxe Wy

y

Page 96: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

96

Observation:

>0 implies that

becomes more negative if xW increases.

Page 97: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

97

Explanation and connection to forestry:

0xW means that the stock gives an “instant contribution” to the objective function.

One such case is if the forest owner continuously gets paid for the amount of stored CO2 in the forest. In such a case, one cubic metre that exists now (and that will not be instantly harvested),

will give contributions in this period and in the following period.

Page 98: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

98

One cubic metre that will exist in the next period, but not already in this period, will not “be able” to give the contribution during this period. As a result, the fact that we get “instant contributions”, directly from the stock, means that the relative marginal value of the stock falls faster over time.

Page 99: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

99

Software for the optimal control model

http://www.lohmander.com/CM/CM.htm

Page 100: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

100

Page 101: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

101

Page 102: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

102

2

1

21 2 1 2 3max

trt

t

J e f f t x k k t u k u dt

0 1 2x g g x g t u

1 1 2 2( ) ; ( )x t x x t x

Page 103: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

103

J 1216344

t x u Lambda

0 3100 143 139

5 2920 138 132

10 2761 132 126

15 2628 124 120

20 2533 115 114

25 2485 104 108

30 2500 90 103

Page 104: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

104

Optimal strategy and dynamic effects of

the rate of interest

Page 105: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

105

Optimal Objective Function Values

0

200

400

600

800

1000

1200

1400

1600

1800

J_3% J_5% J_7%

Alternative

Ob

ject

ive

Val

ue

(Rel

evan

t C

urr

ency

)

Page 106: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

106

Optimal Stock Path

0

500

1000

1500

2000

2500

3000

3500

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al S

tock

(M

m3s

k)

x_3%

x_5%

x_7%

Page 107: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

107

Optimal Control Path

0

20

40

60

80

100

120

140

160

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al C

on

tro

l (M

m3s

k)

u_3%

u_5%

u_7%

Page 108: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

108

Optimal Shadow Price Path

0

50

100

150

200

250

0 5 10 15 20 25 30 35

Time (Years)

Sh

ado

w P

rice

(R

elev

ant

Cu

rren

cy)

SP_3%

SP_5%

SP_7%

Page 109: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

109

Comparisions with alternatives that are not optimal:

30

.05 61

0

1000 3*106 106 1.123229489·10tN e dt

30

.05 52

0

1000 3*86 86 9.914723644·10tN e dt

Page 110: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

110

Optimal strategy and dynamic effects of

the slope of the demand function

Page 111: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

111

Page 112: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

112

Optimal Objective Function Values

0

200

400

600

800

1000

1200

1400

1600

J_-4 J_-3 J_-2

Alternative

Ob

ject

ive

Val

ue

(Rel

evan

t C

urr

ency

)

Page 113: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

113

Optimal Stock Path

0

500

1000

1500

2000

2500

3000

3500

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al S

tock

(M

m3s

k)

x_-4

x_-3

x_-2

Page 114: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

114

Optimal Control Path

0

20

40

60

80

100

120

140

160

180

200

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al C

on

tro

l (M

m3s

k)

u_-4

u_-3

u_-2

Page 115: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

115

Optimal Shadow Price Path

0

50

100

150

200

250

300

0 5 10 15 20 25 30 35

Time (Years)

Sh

ado

w P

rice

(R

elev

ant

Cu

rren

cy)

SP_-4

SP_-3

SP_-2

Page 116: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

116

Comparisions with two alternatives:

30

.05 63

0

1000 2*106 106 1.297807679·10tN e dt

30

.05 64

0

1000 2*(181 5* ) (181 5* ) 1.397224592·10tN e t t dt

Page 117: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

117

Optimal strategy and dynamic effects of

the terminal condition

Page 118: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

118

Page 119: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

119

Optimal Objective Function Values

1100

1120

1140

1160

1180

1200

1220

1240

J_2500 J_2800 J_3100

Alternative

Ob

ject

ive

Val

ue

(Rel

evan

t C

urr

ency

)

Page 120: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

120

Optimal Stock Path

0

500

1000

1500

2000

2500

3000

3500

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al S

tock

(M

m3s

k)

x_3100

x_2500

x_2800

Page 121: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

121

Optimal Control Path

0

20

40

60

80

100

120

140

160

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al C

on

tro

l (M

m3s

k)

u_3100

u_2500

u_2800

Page 122: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

122

Optimal Shadow Price Path

0

50

100

150

200

250

0 5 10 15 20 25 30 35

Time (Years)

Sh

ado

w P

rice

(R

elev

ant

Cu

rren

cy)

SP_3100

SP_2500

SP_2800

Page 123: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

123

Optimal strategy and dynamic effects of

continuous stock level valuation

Page 124: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

124

Page 125: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

125

Optimal Objective Function Values

0

200

400

600

800

1000

1200

1400

1600

1800

J_f1=0 J_f1=5 J_f1=10

Alternative

Ob

ject

ive

Val

ue

(Rel

evan

t C

urr

ency

)

Page 126: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

126

Optimal Stock Path

0

500

1000

1500

2000

2500

3000

3500

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al S

tock

(M

m3s

k)

x_f1=5

x_f1=0

x_f1=10

Page 127: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

127

Optimal Control Path

0

20

40

60

80

100

120

140

160

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al C

on

tro

l (M

m3s

k)

u_f1=5

u_f1=0

u_f1=10

Page 128: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

128

Optimal Shadow Price Path

0

50

100

150

200

250

300

0 5 10 15 20 25 30 35

Time (Years)

Sh

ado

w P

rice

(R

elev

ant

Cu

rren

cy)

SP_f1=5

SP_f1=0

SP_f1=10

Page 129: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

129

Optimal strategy and dynamic effects of

continuous stock level valuation in combination with variations of

the the slope of the demand function

Page 130: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

130

Page 131: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

131

Optimal Objective Function Values

0

500

1000

1500

2000

2500

J_f_-3 J_f_-2.3 J_f_-1.6

Alternative

Ob

ject

ive

Val

ue

(Rel

evan

t C

urr

ency

)

Page 132: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

132

Optimal Stock Path

0

500

1000

1500

2000

2500

3000

3500

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al S

tock

(M

m3s

k)

x_f_-2.3

x_f_-3

x_f_-1.6

Page 133: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

133

Optimal Control Path

0

20

40

60

80

100

120

140

160

180

200

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al C

on

tro

l (M

m3s

k)

u_f_-2.3

u_f_-3

u_f_-1.6

Page 134: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

134

Optimal Shadow Price Path

0

50

100

150

200

250

300

350

400

450

500

0 5 10 15 20 25 30 35

Time (Years)

Sh

ado

w P

rice

(R

elev

ant

Cu

rren

cy)

SP_f_-2.3

SP_f_-3

SP_f_-1.6

Page 135: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

135

Optimal strategy and dynamic effects of

the growth function

Page 136: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

136

Page 137: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

137

Optimal Objective Function Values

1200

1205

1210

1215

1220

1225

1230

1235

1240

1245

1250

J_-.01 J_.001 J_.01

Alternative

Ob

ject

ive

Val

ue

(Rel

evan

t C

urr

ency

)

Page 138: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

138

Optimal Stock Path

0

500

1000

1500

2000

2500

3000

3500

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al S

tock

(M

m3s

k)

x_.001

x_.01

x_-.01

Page 139: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

139

Optimal Control Path

0

20

40

60

80

100

120

140

160

180

0 5 10 15 20 25 30 35

Time (Years)

Op

tim

al C

on

tro

l (M

m3s

k)

u_.001

u_.01

u_-.01

Page 140: 1 CM Optimal Resource Control Model & General continuous time optimal control model of a forest resource, comparative dynamics and CO2 storage consideration.

140

Optimal Shadow Price Path

0

20

40

60

80

100

120

140

160

0 5 10 15 20 25 30 35

Time (Years)

Sh

ado

w P

rice

(R

elev

ant

Cu

rren

cy)

SP_.001

SP_.01

SP_-.01


Recommended