Veda2.0 Released!


maximazing income of produced commodity
#1
In my model I've got these processes: 2 chp with back-pressure turibine, 2 chp with condensing turbine, 3 heat plants and heat storage. I want to maximize income of produced electricity, shifting producing more heat at night(condensing turbine) to produce more electricity at day(when prices are much higher), in chp with back-pressure turbine produce more elcticity and heat at day. I've got market prices for electricty for every hour, heat has got constant prices. All proceses and demand for heat is already done, demand for electricity is irrelevant, how to model it and what parameters use?
Reply
#2
any ideas???
Reply
#3
I've tried 2 options: 1)setting big flo_cost, when I want to not produce much electricity and store heat and 2)setting varom and fixom and setting negative flo_cost, they aren't working as I want, I'm uploading my project, so if you've got any ideas please reply uploads/206/project.zip


Attached Files
.zip   project.zip (Size: 125.12 KB / Downloads: 1)
Reply
#4
Is there an option to change obj function to maximize costs???
Reply
#5

To maximize costs, yes, it should be possible in several different ways, although I have never tried it.

As this is the VEDA Forum, I describe one way of doing it with the tools available in VEDA-FE:

  1. Create a new scenario, where you use a ~TFM_UPD table to update all cost parameters, multiplying them by -1.
  2. Make sure that you allow for negative values for the objective components in TIMES, by defining UC_RHS('OBJxxx','N') = <any value> for all cost components (OBJxxx = OBJINV, OBJFIX, OBJSAL, OBJVAR);
  3. Run the model with the new scenario included.

Note that in this method, the objective function is just multiplied with -1 and it will still be minimized by the solver, but that is equivalent to maximizing the original objective (step 1). Note also that in TIMES the objective component variables are by default assumed non-negative, and therefore you must redefine their lower bounds to be -INF (step 2).  Finally, remember that in the results you will see all costs as their opposite values.

Good luck!

Reply
#6
thanks, but is it possible to do that solver itself maximize costs
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Emissions not being produced Abdulaziz 16 11,004 01-12-2023, 06:20 PM
Last Post: Dmytror
  Commodity Names: Maximum length Sandro_Luh 3 5,464 05-03-2020, 07:23 PM
Last Post: Antti-L
  Source code for the commodity input/output for each process Shibo.liu 3 6,735 13-01-2020, 04:30 PM
Last Post: Antti-L
  Process/Commodity Set Definition Shibo.liu 2 4,896 24-12-2019, 04:19 PM
Last Post: Shibo.liu
  auxiliary input of time commodity ignored Anita Prajapati 5 8,976 25-10-2019, 07:42 PM
Last Post: Anita Prajapati
  ensuring a generated commodity is used? cyang 7 15,173 20-09-2019, 08:28 PM
Last Post: Lukas
  Fatal Error Commodity in CG of process P but not in topology alexx 2 6,018 12-06-2018, 03:56 PM
Last Post: Antti-L
  How to constraint commodity flows among processes Giulia Realmonte 0 3,110 23-04-2018, 06:30 PM
Last Post: Giulia Realmonte
  FLO_SUB can only be applied on one commodity for the same process? MikkelBosack 14 30,077 31-01-2018, 07:09 PM
Last Post: olexandr
Photo COMMODITY CONSTRAINTS Tanzeel 3 9,443 30-01-2017, 12:55 AM
Last Post: Antti-L

Forum Jump:


Users browsing this thread: 1 Guest(s)