Search found 9 matches
- Mon Apr 08, 2019 2:48 pm
- Forum: Vensim
- Topic: Read in time-dependent array from Excel
- Replies: 1
- Views: 1398
Read in time-dependent array from Excel
Hi! I have an Excel sheet containing export streams from one region to another on different time dates (// indicate new column, --- indicate new row). From// To // 2018// 2019// 2020--- USA// Germany// 0// 10// 20--- USA// China// 10// 20// 30--- USA// USA// 0// 0// 0// Germany// USA// 5// 10// 20--...
- Fri Mar 02, 2018 1:52 pm
- Forum: Vensim
- Topic: Smooth and initial value
- Replies: 6
- Views: 3374
Re: Smooth and initial value
Oh, I think I found the problematic variable.
In the huge model, I used "demand per capita" as an auxiliary with initial.
I did the same now in the small example (attached). Indicated demand and desired demand show the problem described in the first post.
In the huge model, I used "demand per capita" as an auxiliary with initial.
I did the same now in the small example (attached). Indicated demand and desired demand show the problem described in the first post.
- Fri Mar 02, 2018 1:14 pm
- Forum: Vensim
- Topic: Smooth and initial value
- Replies: 6
- Views: 3374
Re: Smooth and initial value
Small examples like the attached one works also fine. But when doing the same in my huge simulation model, the wrong calculations occur.
- Fri Mar 02, 2018 12:52 pm
- Forum: Vensim
- Topic: Smooth and initial value
- Replies: 6
- Views: 3374
Smooth and initial value
Hi, I have an auxiliary variable in my Vensim (DSS 7.2.) model named demand product. My aim was to generate following variable: smooth demand product = SMOOTH(demand product, 1) I also tried: smooth demand product = INTEG((demand product - smooth demand product), demand product) The problem with bot...
- Wed Apr 12, 2017 11:31 am
- Forum: Vensim
- Topic: Price Determination via Supply Gap
- Replies: 4
- Views: 2447
Re: Price Determination via Supply Gap
Using for example "IF THEN ELSE(supplyGap >0, +200, -100)" would increase the price at time 2 BUT at time 3 (when supplyGap < 0) this condition will not allow the price to increase further. But I want to force the price increasing up until time 4 (even though the supplyGap is smaller than ...
- Tue Apr 11, 2017 11:53 am
- Forum: Vensim
- Topic: Price Determination via Supply Gap
- Replies: 4
- Views: 2447
Price Determination via Supply Gap
Hi, my model should generate following behavior: If there is a supply gap > 0 (it means demand > production) then the price should increase by a fixed value for the next two years (also if the supply gap will be negative in the following years; this should be not considered in the price change rate)...
- Mon Nov 07, 2016 8:58 am
- Forum: Vensim
- Topic: Vensim Pro vs DSS
- Replies: 3
- Views: 2538
Re: Vensim Pro vs DSS
I uninstall the Pro Version and now it works fine. Thanks for your help!
- Thu Oct 27, 2016 12:02 pm
- Forum: Vensim
- Topic: Vensim Pro vs DSS
- Replies: 3
- Views: 2538
Vensim Pro vs DSS
Hi, if I double click on a mdl-file it is opened in Vensim Professional even though I owned Vensim DSS. Select "Always use the selected program" does not solve this problem. I am only able to use DSS if I put the mdl-file directly via drag and drop to the DSS desktop icon (this method is a...
- Tue Oct 04, 2016 1:43 pm
- Forum: Vensim
- Topic: Calculate Variable x(t) via x(t-1)
- Replies: 2
- Views: 1824
Calculate Variable x(t) via x(t-1)
Hello everyone,
is there a possibility to calculate a variable x at time t via the difference between another variable y at time t and variable x at time t-1 ?
x(t) = y(t) – x(t-1)
Thanks.
is there a possibility to calculate a variable x at time t via the difference between another variable y at time t and variable x at time t-1 ?
x(t) = y(t) – x(t-1)
Thanks.