Macroeconomic Feedback

219 views
Skip to first unread message

James Glynn

unread,
Jul 23, 2014, 12:35:42 PM7/23/14
to temoa-...@googlegroups.com
Hi I'm wondering has anyone developed macroeconomic feedback with TEMOA to initial demand drivers using a macroeconomic module or a CGE model?
I am working on this in TIAM and would be interested to know if anything has been done with TEMOA or OSeMOSYS?

Joe

unread,
Jul 25, 2014, 10:19:35 PM7/25/14
to temoa-...@googlegroups.com
Good question. I'm not aware of any effort to link Temoa with a macroeconomic module or model that can estimate GDP impacts. However, a couple years ago, Shoibal (a colleague at Princeton) developed elastic demand functionality within Temoa. His code is on GitHib: https://github.com/shoibalc/temoa
I'm not sure how far he got with it; looks like the code hasn't touched in awhile.

Regarding OSeMOSYS, I've been a bit out of the loop, but I would check with Mark Howells at KTH.

Felipe Santos

unread,
Oct 24, 2016, 10:27:04 AM10/24/16
to Temoa Project
Hi there,

I am evaluating open source energy models to do macroeconomic integration as well... its part of my research, and one of the drawbacks that I found (that will consume lot of time) is the absense of a database like sqllite or other database. The Dat files can be transfered to a SQLdatabase format right?

Joe

unread,
Oct 24, 2016, 11:04:28 PM10/24/16
to Temoa Project
Hi Felipe,

Yes, Temoa uses sqlite to store both input and output data.

At the moment, converting a DAT file to a sqlite database is a manual process. We are working on the capability to run with a DAT file, and then automatically store the model results in a blank database. This should be working soon (i.e., in the next month). A further step would be to create  a utility that automatically converts a DAT file to a sqlite database, but that will take some more time.

The database feature is not well-documented yet, but take a look at db_io/temoa_utopia.sql, which serves as a good example. To run using a database file as input and output, use the config file --  an example called "config_sample" resides in the "temoa_model" folder. To run from the command line (you should be in the "temoa" folder):

$ python temoa_model --config=temoa_model/config_sample

We are also working on a graphical user interface that will be available by the end of the year. Let me know if you have any questions.

Best,
Joe

Felipe Santos

unread,
Oct 25, 2016, 2:33:23 PM10/25/16
to Temoa Project
Hi Joe,

Thank you for your information. This was very useful.

 I'll be trying theses teps shortly.

Felipe

def

unread,
Jan 15, 2018, 11:26:48 AM1/15/18
to Temoa Project
On Wednesday, July 23, 2014 at 6:35:42 PM UTC+2, James Glynn wrote:
Hi I'm wondering has anyone developed macroeconomic feedback with TEMOA to initial demand drivers using a macroeconomic module or a CGE model?
I am working on this in TIAM and would be interested to know if anything has been done with TEMOA or OSeMOSYS?



Hello.

I am new to Temoa framework. I have been using TIAM as well and I was wondering if it is possible tu run a Temoa model with two or three regions and trade between them. 

regards

 

Joe

unread,
Jan 15, 2018, 11:45:23 AM1/15/18
to Temoa Project
Yes, it is possible to develop a multi-region model in Temoa. It is done without an explicit region index in the algebraic formulation. I've attached a brief writeup that explains how to do it. Our team has successfully used this method to develop a 9-region US database. Let us know if you have any questions.

Best,
Joe
Regionalization in Temoa.pdf

def

unread,
Jan 21, 2018, 7:13:59 PM1/21/18
to Temoa Project

Thank you for your answer.

I dare ask you some more questions. I tried to read Temoa papers and compare them with Markal - TIMES. 

- What would be the best way to implement endogenous techonological change in a Temoa model ? I did some external research and  intended to implement several technologies exogenously.

- In Denis Lavigne 2017 paper : OseMOSYS : Introducing Elasticity, he shows how an elastiy of demand capability can be embedded in a study in order to allow the possibility to endogenously reduce some end-use demands. TIMES allows some parameters to do the approximation of steps and width. This method requires to do it for several years and technologies, what would be the best way with Temoa ? 



Regards,

Joe

unread,
Jan 21, 2018, 7:24:38 PM1/21/18
to Temoa Project
We have not implemented endogenous technological change, though it is certainly possible.

We do have an elastic demand formulation of the model, which should be committed to our github repository soon (i.e., in the next month or so). If you'd like to work with it sooner, just let me know via email.

Best,
Joe
Message has been deleted

Romain Chaffanjon

unread,
Jun 22, 2022, 9:49:44 AM6/22/22
to Temoa Project
Dear, 

As I'm also starting to use the Temoa framework. I'm really interested abut this elasticity which could make my work easier. 
If anyone do have an updated version of Temoa with elasticity formulation, could you please send it by email at romain.c...@outlook.com

Thank you, 
Regards, 

Romain Chaffajon

aranya.venkatesh

unread,
Jun 23, 2022, 2:47:19 PM6/23/22
to Temoa Project
Hi Romain,

The elastic demand formulation of Temoa can be found on this particular branch of our repository: https://github.com/TemoaProject/temoa/tree/temoa_elastic
A caveat though: the branch needs to be updated before it can be compatible with the current version of Temoa. 

I hope this helps. Let us know if you have any other questions. 

Best,
Aranya

Samuel Dotson

unread,
Jun 28, 2022, 1:37:04 PM6/28/22
to Temoa Project on behalf of aranya.venkatesh
For the curious, how does the elastic demand formulation change the model? Is it running a market clearing problem in addition to the capacity expansion problem?

Sam

--
You received this message because you are subscribed to the Google Groups "Temoa Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to temoa-projec...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/temoa-project/8e059309-2078-43a8-840d-5f7c686ca7ffn%40googlegroups.com.

Neha Patankar

unread,
Jun 29, 2022, 12:25:12 PM6/29/22
to Temoa Project on behalf of Samuel Dotson
Hi Sam,

We provide demand elasticity for our end-use demands. It helps us create an inverse demand curve. We then maximize total surplus = consumer surplus + producer surplus. 
See figure 2 from the attached paper for visualization. Hope it helps.

Best,
Neha

1-s2.0-S0306261921013696-main.pdf

Daniele Lerede

unread,
Sep 8, 2023, 12:56:05 PM9/8/23
to Temoa Project
Dear all,

I would like to include price elastic demands in TEMOA. I noticed that the temoa_elastic branch that you talk about here is not updated since a few years. Are there any progresses or instructions about how to make it compatible with the latest versions of the TEMOA code? Thank you.

best,

Daniele

Reply all
Reply to author
Forward
0 new messages