Search found 4 matches

by ltx
2 years ago
Forum: Modeling
Topic: Problem with equation written as sequence
Replies: 3
Views: 2968

Re: Problem with equation written as sequence

Hi, here is my first attempt where returns error149 sets t periods /0*50/ ; alias (t,tt); parameters a demand curve intercept /8/ b demand curve slope /0.4/ C marginal extraction cost /2/ r discount rate /0.05/ Q total resource available /80/ d marginal cost of "backup tech" /6/ e constant...
by ltx
2 years ago
Forum: Modeling
Topic: Problem with equation written as sequence
Replies: 3
Views: 2968

Problem with equation written as sequence

Hi everyone, I had a problem with expressing the following equation D8[RM27~_3FN]0SXF89MWNO.png Here ε and η are constant parameters. z(t) and x(t) should be two variables with set t. I tried to write the equation as this: z(t+1) =e= z(t)*(1-1/η) + ε *x(t) However, the code failed and returned error...
by ltx
2 years ago
Forum: Syntax
Topic: Error 148
Replies: 2
Views: 3621

Re: Error 148

Thanks so much. It works.
by ltx
2 years ago
Forum: Syntax
Topic: Error 148
Replies: 2
Views: 3621

Error 148

Hello Everyone, I had an error148 when I tried to run my code. It's really confusing, and I can't find the problem with my equation expression. Thanks for your help! sets t periods /0*50/ ; alias (t,tt); parameters a demand curve intercept /8/ b demand curve slope /0.4/ C marginal extraction cost /2...