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
  How to creat new processset Lee 3 1,181 30-05-2024, 07:35 PM
Last Post: Ravinder
  How to creat new processset Lee 0 412 27-05-2024, 02:07 PM
Last Post: Lee
  Detailed levelized cost Louis 17 4,529 26-03-2024, 07:47 PM
Last Post: Louis
  Question on the levelized cost computation Mahmoud 2 966 03-11-2023, 04:01 PM
Last Post: Mahmoud
  Lumpsum Investment Cost ArmineA 2 1,735 15-06-2022, 09:24 PM
Last Post: ArmineA
  Fuel cost jabarivelisdeh 2 1,802 08-06-2022, 11:54 AM
Last Post: jabarivelisdeh
  Levelized cost clenox 0 1,051 06-04-2022, 08:06 PM
Last Post: clenox
  Levelised cost calculation Mahmoud 6 3,988 04-01-2022, 01:00 AM
Last Post: Mahmoud
  Levelised Cost Reporting NeilGrant 2 2,346 20-10-2021, 04:22 PM
Last Post: NeilGrant
  Different Cost of Renewables qzaus 5 5,406 07-03-2021, 12:12 AM
Last Post: Antti-L

Forum Jump:


Users browsing this thread: 1 Guest(s)