Search found 148 matches

by RWTH_FCN
Wed Oct 24, 2018 11:23 am
Forum: Vensim
Topic: Allocate Function
Replies: 4
Views: 2717

Re: Allocate Function

Administrator wrote: Wed Oct 24, 2018 10:18 am Have you looked at the sample model that comes with Vensim for the allocation functions?
Yes, I looked at them and as priority system does not have possibility for price preferences, I was just wondering how to model thess auctions( Uniform or Pay as bid) without using external function.
by RWTH_FCN
Wed Oct 24, 2018 9:31 am
Forum: Vensim
Topic: Allocate Function
Replies: 4
Views: 2717

Allocate Function

Hi, I want to simulate a pay as bid auction in which all suppliers can sell their electricty to auctioneer with their proposed price to fullfill the demand without using external function. Is it possible to model it in Vensim with some function like Allocate Available? The thing is that, how to impl...
by RWTH_FCN
Tue Oct 23, 2018 2:18 pm
Forum: Vensim
Topic: Node description error
Replies: 5
Views: 3140

Re: Node description error

If you search the source code of the external functions, do you see anything like "node descriptions"? I've never seen those before, and they mean nothing to me. And searching the Vensim source code gives no match on "node descriptions". It looks like some custom code that reads...
by RWTH_FCN
Wed Oct 17, 2018 3:01 pm
Forum: Vensim
Topic: Node description error
Replies: 5
Views: 3140

Re: Node description error

Administrator wrote: Wed Oct 17, 2018 2:43 pm Is this from Vensim? I don't recognize the errors at all.
I have attached the error. My model has some external functions but its compiling process goes well and this error comes, when Vensim is simulating.
by RWTH_FCN
Wed Oct 17, 2018 2:29 pm
Forum: Vensim
Topic: Node description error
Replies: 5
Views: 3140

Node description error

Hi, I have implemented new feature to my model but when I run it after completion of compiling process, I encounter with "floating point overflow-saving to time 167.000" error, but in command these errors are visible: ERROR: line 195 of input - wrong value of parameters in the arc line. ER...
by RWTH_FCN
Thu Oct 11, 2018 7:29 am
Forum: Vensim
Topic: Integrating time step of optimization problem
Replies: 32
Views: 15290

Re: Integrating time step of optimization problem

Administrator wrote: Tue Oct 09, 2018 9:33 am I'd assume each company has a price that they bid at, and you select a winner based on this price.

When the winner is selected, I'd use a level to store a value of 1 for 20 rounds. If the value is 1, make the price that they bid at very large.
Thanks a lot for your helpful suggestion.
by RWTH_FCN
Tue Oct 09, 2018 9:22 am
Forum: Vensim
Topic: Integrating time step of optimization problem
Replies: 32
Views: 15290

Re: Integrating time step of optimization problem

Hi, I have one question, which is approximately related to first question of here. I want to model a repeated electricity auction. In this auction, winner of each auction, should be able to sell freely for 20 further rounds because by winning once, auctioneer gives him/her guaranteed purchase for ne...
by RWTH_FCN
Fri Sep 28, 2018 8:46 am
Forum: Vensim
Topic: Simulation of two time frame in a model
Replies: 3
Views: 2318

Re: Simulation of two time frame in a model

tomfid wrote: Mon Sep 24, 2018 12:31 pm If you need a trigger for the market event, PULSE TRAIN might be helpful.
Thank you so much. I just needed a function like what you suggested.
by RWTH_FCN
Mon Sep 24, 2018 9:01 am
Forum: Vensim
Topic: Simulation of two time frame in a model
Replies: 3
Views: 2318

Simulation of two time frame in a model

Hi, My model simulates electricty market(auction of electricity) houlry for 35 years. I am adding new capacity market for renewables to it which should be simulated each 3 months(4 times per year). I would like to ask you that is there any function which could be helpful for this modeling? Best Rega...
by RWTH_FCN
Tue Jul 31, 2018 10:06 am
Forum: Vensim
Topic: Increasing time resolution
Replies: 3
Views: 2326

Re: Increasing time resolution

Do you simply want to change the time step? Yes but it should make sence from theorotical perspective as well. My model solves electricty market(dispatching) of european countries with houlry resolution but I want to generat data with more time reslotion(15 minutes). What is differnce between chang...
by RWTH_FCN
Tue Jul 31, 2018 9:36 am
Forum: Vensim
Topic: Increasing time resolution
Replies: 3
Views: 2326

Increasing time resolution

Hello, My model dispatches the whole electricity market hourly. It has an external optimization function that dispatches each hour separately, so hours (time steps) are not connected to each other like optimization models. I want to increase its time resolution to 15 min, which some changes to suppl...
by RWTH_FCN
Tue Jul 31, 2018 9:02 am
Forum: Vensim
Topic: Subscript error
Replies: 6
Views: 4066

Re: Subscript error

I think the problem is exactly what the error message reports - you have different subscripts on the right and left side of the equation. "ps hydrostation small" vs. "ps hydrostation small group." That only works if you have one mapped to the other. Yes, your are right. I fixed ...
by RWTH_FCN
Sat Jul 14, 2018 1:57 pm
Forum: Vensim
Topic: Subscript error
Replies: 6
Views: 4066

Re: Subscript error

Can you upload the model? Unfortunatley, i am not allowed to upload it. When I added new region(country) to my model I did not get any error like this( of course because there is no subrenge for regions) but when I add new powerplant which is Pump hydro type that has such these subrenges I get this...
by RWTH_FCN
Sat Jul 14, 2018 12:39 pm
Forum: Vensim
Topic: Subscript error
Replies: 6
Views: 4066

Subscript error

Hi, My model includes 387 power plants that for Hydro power plants it has 2 categories; pump hydro storage(it has two type small power plants and big power plants) and reservoirs hydro station. My problem is that when I add new small pump storage to it, I encounter attached error, however I have mad...
by RWTH_FCN
Tue Jun 19, 2018 1:26 pm
Forum: Vensim
Topic: Integrating time step of optimization problem
Replies: 32
Views: 15290

Re: Integrating time step of optimization problem

One strategy would be to replace the 24hr cycle with a 24-element array of hours of the day. However, that might wreck other time dynamics that play out during the day. A more sophisticated possibility might be to use the same array of 24hrs to contain expectations about the coming day, then optimi...
by RWTH_FCN
Tue Jun 19, 2018 1:04 pm
Forum: Vensim
Topic: Integrating time step of optimization problem
Replies: 32
Views: 15290

Re: Integrating time step of optimization problem

Given you are using external functions to do some sort of optimization, there is really very little we can suggest. Can you adapt your function to optimize over a 24 hour period? Thank you for response. Objective function of optimization problem is minizing cost of all power plants subject to grid ...
by RWTH_FCN
Mon Jun 18, 2018 4:40 pm
Forum: Vensim
Topic: Integrating time step of optimization problem
Replies: 32
Views: 15290

Integrating time step of optimization problem

Hello, I am working on a big model which simulates an electricity market hourly for 30 years(30years*365days*24hours). This model is complied with C++ and an external function is used for optimizing model hourly. My question is that for optimizing the model daily(24_hours together) do I have to impl...
by RWTH_FCN
Wed Dec 20, 2017 11:45 am
Forum: Vensim
Topic: Different results in comparision with previous version(5.7)
Replies: 3
Views: 2227

Re: Different results in comparision with previous version(5.7)

Thank you for your response.
Can I send them in form of private message or I should send them in this forum?
by RWTH_FCN
Wed Dec 20, 2017 11:06 am
Forum: Vensim
Topic: Different results in comparision with previous version(5.7)
Replies: 3
Views: 2227

Different results in comparision with previous version(5.7)

Hello,

When I run my model with new version of Vensim(6.3), I encounter with different results in comparision with previous version(5.7). Do you have any ideas to solve this problem? It is worth mentioning that the input data and model are same.

Best Regards,

Siamak Sheykhha
by RWTH_FCN
Tue Jul 18, 2017 9:45 am
Forum: Vensim
Topic: Find variables that use external functions
Replies: 6
Views: 2929

Re: Find variables that use external functions

So a runs compare only makes sense, when I use a savelist with all my important (the ones directly stemming from external functions) variables, since I only compare the saved datasets, right? So I tried to find the variables via the text search. I looked up all my external functions in the equation ...
by RWTH_FCN
Wed Jul 05, 2017 12:29 pm
Forum: Vensim
Topic: Find variables that use external functions
Replies: 6
Views: 2929

Re: Find variables that use external functions

Alright, I will try that. Thanks for your help.
by RWTH_FCN
Wed Jul 05, 2017 9:33 am
Forum: Vensim
Topic: Find variables that use external functions
Replies: 6
Views: 2929

Find variables that use external functions

Hey everyone, in order to use an old model with the new vensim version I had to adjust and recompile my external functions. Unfortunatly now the results with the newer version are slightly different compared to the the results running with the older version. I think it might be because of my externa...
by RWTH_FCN
Tue May 16, 2017 11:59 am
Forum: Vensim
Topic: removing ~ and | from changes files
Replies: 10
Views: 5070

Re: removing ~ and | from changes files

Alright, looks like it is read in right. I attached a screenshot so you can take a look. Looks like its working, doesnt it? VenSim_Table.jpg Still dont understand the difference between a model file and a changes file if they are both read in through "load changes from..." and fulfill the ...
by RWTH_FCN
Tue May 16, 2017 9:33 am
Forum: Vensim
Topic: removing ~ and | from changes files
Replies: 10
Views: 5070

Re: removing ~ and | from changes files

Okey, so its a model file even though i load it in "load changes from..." ? This is what happens when I try to run it WITH the waves and tildes: "Reading changes from file data v65.cin ERROR: Bad line 2 in file data v65.cin not recognized. ~ ~ |. -^. Line 2 of file data v65.cin. ERROR...
by RWTH_FCN
Tue May 16, 2017 8:46 am
Forum: Vensim
Topic: removing ~ and | from changes files
Replies: 10
Views: 5070

Re: removing ~ and | from changes files

Well its one of the files I specify in "load changes from.." before i start the simulation. What would be the difference to a model file and how could I tell? I mean the documentation states "The format for .cin (Constant INput) files is much the same as that of Constant and Lookup eq...