Search found 7 matches

by acr31
1 year ago
Forum: Modeling
Topic: PEP CGE model
Replies: 0
Views: 4975

PEP CGE model

Hi all!

Has anyone worked with PEP's CGE model? In particular, with the version PEP-1-t-b v2_1 (the single country, open economy solved recursively). I have a few question I was hoping someone who has worked with that version of the model could help me with!

Thanks in advance.
by acr31
1 year ago
Forum: Modeling
Topic: **** ERROR: CNS models must be square
Replies: 4
Views: 3385

Re: **** ERROR: CNS models must be square

Hi Rodrigue!

Thank you for your response and apologies for the late reply.

What do you mean by "release 248" variables?

Thanks
by acr31
1 year ago
Forum: Syntax
Topic: Dimension error when summing
Replies: 1
Views: 2091

Dimension error when summing

Hi all! I am trying to compute the Leontief coefficients (io) for several industries (j). The initial function is: io(j) = SUM[(i),DIO(i,j)]/XSTO(j) However, I only want to take into account a subset of the commodities (i) that correspond to non-energy products. I have created a subset of i called N...
by acr31
1 year ago
Forum: Modeling
Topic: FUNC DOMAN error in a CGE model
Replies: 1
Views: 2113

FUNC DOMAN error in a CGE model

Hi all! I am running a dynamic CGE model. Until time t=16, the model finds feasible solutions for each period. However, in time t = 16, it returns the following error: **** Exec Error at line 1112: rPower: FUNC DOMAIN: x**y, x < 0 **** Evaluation error(s) in equation "EQ7(agr,16)" Problem ...
by acr31
2 years ago
Forum: Solvers
Topic: Tuning the maximum allowable range of a variable/equation
Replies: 1
Views: 3147

Tuning the maximum allowable range of a variable/equation

Hi all, I'm running a CGE model with the CONOPT solver using NLP. The code is returning this error "An initial function value is too large (larger than 1.0E+10). Scale the variables and/or equations or add bounds.". I have read in the manuals that this can be solved by tuning the algorithm...
by acr31
2 years ago
Forum: Modeling
Topic: **** ERROR: CNS models must be square
Replies: 4
Views: 3385

Re: **** ERROR: CNS models must be square

Hi Fred,

Thanks a lot! I understand better the error now. However, it is difficult to work out what is causing it in particular as the error is very vague. It does not really tell you which specific columns are unfixed. Anyone knows how to figure that out?
by acr31
2 years ago
Forum: Modeling
Topic: **** ERROR: CNS models must be square
Replies: 4
Views: 3385

**** ERROR: CNS models must be square

Hello everyone, I am running a CGE model and I have encountered this error: " **** ERROR: CNS models must be square. This model contains 22334 equality rows and 22086 unfixed columns" I am not sure what it means. Could anyone help me understand what it means and potentially give me some hi...