Search found 9 matches

by Sandra
Mon Apr 08, 2019 2:48 pm
Forum: Vensim
Topic: Read in time-dependent array from Excel
Replies: 1
Views: 1397

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--...
by Sandra
Fri Mar 02, 2018 1:52 pm
Forum: Vensim
Topic: Smooth and initial value
Replies: 6
Views: 3365

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.
SmallExampleProblemFound.mdl
(4.25 KiB) Downloaded 242 times
by Sandra
Fri Mar 02, 2018 1:14 pm
Forum: Vensim
Topic: Smooth and initial value
Replies: 6
Views: 3365

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.
SmallExample.mdl
(3.58 KiB) Downloaded 234 times
by Sandra
Fri Mar 02, 2018 12:52 pm
Forum: Vensim
Topic: Smooth and initial value
Replies: 6
Views: 3365

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...
by Sandra
Wed Apr 12, 2017 11:31 am
Forum: Vensim
Topic: Price Determination via Supply Gap
Replies: 4
Views: 2438

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 ...
by Sandra
Tue Apr 11, 2017 11:53 am
Forum: Vensim
Topic: Price Determination via Supply Gap
Replies: 4
Views: 2438

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)...
by Sandra
Mon Nov 07, 2016 8:58 am
Forum: Vensim
Topic: Vensim Pro vs DSS
Replies: 3
Views: 2537

Re: Vensim Pro vs DSS

I uninstall the Pro Version and now it works fine. Thanks for your help! :)
by Sandra
Thu Oct 27, 2016 12:02 pm
Forum: Vensim
Topic: Vensim Pro vs DSS
Replies: 3
Views: 2537

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...
by Sandra
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.