Veda2.0 Released!


How to creat a new cost in the objective function
#1
Hello everyone!
As we all know, the objective function of the TIMES is to minimize the total cost. The total cost usually contains the Invcost、OMcost etl.(My expression may not be accurate enough)
I want to know if I can add a new cost in the total cost.
Maybe my thoughts is wrong.
But if it is feasible, please tell me how to do it. Thanks all!
Reply
#2
I think your question is not very clear – at least to me it isn't.

You said "I want to know if I can add a new cost in the total cost"?  Could you please define what "a new cost added to the total cost" would entail?

Anyway, the existing costs types do have a reasonably good coverage of various costs:

  • ACT_COST  – activity costs
  • ACT_CSTUP – start-up costs
  • ACT_CSTSD – shut-down costs
  • ACT_CSRMP – ramping costs
  • ACT_CSTPL  – partial load cost penalty
  • COM_CSTNET  – commodity net costs
  • COM_CSTPRD  – commodity production costs
  • COM_SUBNET  – commodity net subsidies
  • COM_SUBPRD  – commodity production subsidies
  • COM_TAXNET  – commodity net taxes
  • COM_TAXPRD  – commodity production taxes
  • DAM_COST  – damage costs
  • FLO_COST –  variable flow costs
  • FLO_DELIV –  variable delivery costs
  • FLO_SUB – variable flow subsidies
  • FLO_TAX – variable flow taxes
  • IRE_PRICE  – exogenous prices of import/export
  • NCAP_COST – investment costs
  • NCAP_FOM – fixed O&M costs
  • NCAP_FSUB – fixed operation subsidies
  • NCAP_FTAX – fixed operation taxes
  • NCAP_ISUB – investment subsidies
  • NCAP_ITAX  – investment taxes
  • NCAP_DCOST  – decommissioning costs
  • NCAP_DLAGC  – cost of decommissioning delay
  • NCAP_VALU  –  value of material released during decommissioning

In addition, interest during construction and risk premiums are directly supported components of investment costs.

If you mean that you want to add some new cost type, in general that would require the following:

  • implementing the new input parameter for the new cost type
  • if necessary, implementing new variables and equations related to the new cost type
  • implementing the objective function modifications related to the new cost type
  • implementing reporting for the costs of the new cost type

All of that is possible for any user to do without changing the common TIMES code base, via the extension mechanism, but it requires good knowledge of GAMS in general and of the TIMES code in particular.  Therefore, the recommended route for implementing new cost types would be a proposal submitted to ETSAP for implementing such a new feature.

If you mean that you want to change the objective function (without actually implementing any new cost type) that is directly supported by the Tradeoff analysis functionality.
Reply
#3
(05-06-2024, 02:55 PM)Antti-L Wrote: I think your question is not very clear – at least to me it isn't.

You said "I want to know if I can add a new cost in the total cost"?  Could you please define what "a new cost added to the total cost" would entail?

Anyway, the existing costs types do have a reasonably good coverage of various costs:

  • ACT_COST  – activity costs
  • ACT_CSTUP – start-up costs
  • ACT_CSTSD – shut-down costs
  • ACT_CSRMP – ramping costs
  • ACT_CSTPL  – partial load cost penalty
  • COM_CSTNET  – commodity net costs
  • COM_CSTPRD  – commodity production costs
  • COM_SUBNET  – commodity net subsidies
  • COM_SUBPRD  – commodity production subsidies
  • COM_TAXNET  – commodity net taxes
  • COM_TAXPRD  – commodity production taxes
  • DAM_COST  – damage costs
  • FLO_COST –  variable flow costs
  • FLO_DELIV –  variable delivery costs
  • FLO_SUB – variable flow subsidies
  • FLO_TAX – variable flow taxes
  • IRE_PRICE  – exogenous prices of import/export
  • NCAP_COST – investment costs
  • NCAP_FOM – fixed O&M costs
  • NCAP_FSUB – fixed operation subsidies
  • NCAP_FTAX – fixed operation taxes
  • NCAP_ISUB – investment subsidies
  • NCAP_ITAX  – investment taxes
  • NCAP_DCOST  – decommissioning costs
  • NCAP_DLAGC  – cost of decommissioning delay
  • NCAP_VALU  –  value of material released during decommissioning

In addition, interest during construction and risk premiums are directly supported components of investment costs.

If you mean that you want to add some new cost type, in general that would require the following:

  • implementing the new input parameter for the new cost type
  • if necessary, implementing new variables and equations related to the new cost type
  • implementing the objective function modifications related to the new cost type
  • implementing reporting for the costs of the new cost type

All of that is possible for any user to do without changing the common TIMES code base, via the extension mechanism, but it requires good knowledge of GAMS in general and of the TIMES code in particular.  Therefore, the recommended route for implementing new cost types would be a proposal submitted to ETSAP for implementing such a new feature.

If you mean that you want to change the objective function (without actually implementing any new cost type) that is directly supported by the Tradeoff analysis functionality.
Thank you Antti! Your answer is very clear!
I was trying to add a cost of additional economic benefits from the adoption of a certain technology, and I would try to combine it with one of the above costs.
I am just a beginner in TIMES and may have unprofessional questions, thank you very much for your reply!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Levelised cost calculation Mahmoud 17 4,341 16-05-2025, 04:54 PM
Last Post: raghavsarda
  Dynamic cost reduction by learning [email protected] 2 96 14-05-2025, 01:37 AM
Last Post: [email protected]
  Setting variable as function of process operating years LukeSearle 2 84 12-05-2025, 04:51 AM
Last Post: LukeSearle
  Levelised Cost calculation raghavsarda 2 107 28-04-2025, 04:40 PM
Last Post: raghavsarda
  How to creat new processset Lee 3 1,326 30-05-2024, 07:35 PM
Last Post: Ravinder
  How to creat new processset Lee 0 458 27-05-2024, 02:07 PM
Last Post: Lee
  Detailed levelized cost Louis 17 5,006 26-03-2024, 07:47 PM
Last Post: Louis
  Question on the levelized cost computation Mahmoud 2 1,044 03-11-2023, 04:01 PM
Last Post: Mahmoud
  Lumpsum Investment Cost ArmineA 2 1,804 15-06-2022, 09:24 PM
Last Post: ArmineA
  Fuel cost jabarivelisdeh 2 1,886 08-06-2022, 11:54 AM
Last Post: jabarivelisdeh

Forum Jump:


Users browsing this thread: 1 Guest(s)