Search found 80 matches

by husnafezaahmad
Wed Feb 03, 2021 4:34 am
Forum: Vensim
Topic: Random Function and Subscript
Replies: 12
Views: 4108

Re: Random Function and Subscript

Thank u so much, Tom!

I hope it works well with me.
But whatever it is, thank u so much for spending your precious time to help me :)
by husnafezaahmad
Tue Feb 02, 2021 1:52 pm
Forum: Vensim
Topic: Random Function and Subscript
Replies: 12
Views: 4108

Re: Random Function and Subscript

I'm still not sure what the goal is. Can you restate? So far it sounds like: - each unit generates a random amount - the sum of generation across all the units = demand I could imagine other constraints, for example that some units are bigger than others. It's okay if the some units having bigger v...
by husnafezaahmad
Mon Feb 01, 2021 5:45 pm
Forum: Vensim
Topic: Random Function and Subscript
Replies: 12
Views: 4108

Re: Random Function and Subscript

It sounds like you want total generation to be a fixed number, allocated among all the sources with some random noise in the individual sizes or shares. Normalization is a common way to do this: prelim unit size[x] = 500 + RANDOM UNIFORM(-100,100,0) prelim total size = SUM(prelim unit size[x!]) nor...
by husnafezaahmad
Mon Feb 01, 2021 5:42 pm
Forum: Vensim
Topic: Random Function and Subscript
Replies: 12
Views: 4108

Re: Random Function and Subscript

It would help if you upload the model (it will save us guessing about what you are doing). How do you split total generation into the four types? And then how is the total coal generation split between the 14 coal elements? We do have some allocation functions, but it would be easier if you upload ...
by husnafezaahmad
Sun Jan 31, 2021 4:53 pm
Forum: Vensim
Topic: Random Function and Subscript
Replies: 12
Views: 4108

Re: Random Function and Subscript

Hi there, I think i couldn't use that solution. Here is the bigger picture of what i'm doing. Screen Shot 2021-02-01 at 00.30.24.png This is what i have in Total Generation Screen Shot 2021-02-01 at 00.32.09.png So, the idea is to have that Total Generation, let say at Year 0 = 38,657, i want to dis...
by husnafezaahmad
Sun Jan 31, 2021 4:03 pm
Forum: Vensim
Topic: Random Function and Subscript
Replies: 12
Views: 4108

Re: Random Function and Subscript

That looks like what i'm looking for.
Thanks so much, Admin. I'll try to do it, and hope it works well with my model.

Thanks once again :)
by husnafezaahmad
Sat Jan 30, 2021 4:32 pm
Forum: Vensim
Topic: Random Function and Subscript
Replies: 12
Views: 4108

Random Function and Subscript

Hello there, It has been a while i've been here. Hope all is good, especially in this pandemic. Anyway, i wolud like to ask regarding on this one issue that i got upon completing my model. I have a variable that i have assigned to a subscript. This subscript contains 10 elements. Let me put it this ...
by husnafezaahmad
Wed Nov 25, 2020 6:32 pm
Forum: Vensim
Topic: Combine output
Replies: 6
Views: 2357

Re: Combine output

Thanks a lot, Tom & Admin.

Tried the solutions suggested, and i get to do what exactly i want to do.

But now i encountered another problem which is, an error put as "Arguments out of range in VECTOR SORT_ORDER".
What does that means?
by husnafezaahmad
Tue Nov 24, 2020 5:28 pm
Forum: Vensim
Topic: Combine output
Replies: 6
Views: 2357

Re: Combine output

It might have been much easier to do this with subscripts, all the structures look identical so subscripts would have been perfect. If you upload the model, it should be easy to demonstrate how to do this. But i've learnt that we can only have up to 8 subscripts. Please enlight me on this, Admin. H...
by husnafezaahmad
Tue Nov 24, 2020 7:10 am
Forum: Vensim
Topic: Combine output
Replies: 6
Views: 2357

Combine output

Hello all!

I'm back with another confusion in my life with Vensim :cry: :cry:
Screen Shot 2020-11-24 at 15.02.25.png
Screen Shot 2020-11-24 at 15.02.25.png (309.15 KiB) Viewed 2357 times
How do i combine all outputs into one matrix/under one variable? But i do not want it to be accummulated.

Please send me some help. Thanks in advance.
by husnafezaahmad
Fri Oct 30, 2020 1:54 pm
Forum: Vensim
Topic: Different between NPV, NPVE, and Net Present Value function?
Replies: 1
Views: 1233

Different between NPV, NPVE, and Net Present Value function?

Hello everyone,

I have one simple yet confusing (at least for me) question regarding on Vensim's function.

What is the different between NPV, NPVE, and Net Present Value?
by husnafezaahmad
Tue Oct 20, 2020 8:04 pm
Forum: Vensim
Topic: Why the numbers did not tally?
Replies: 3
Views: 1633

Re: Why the numbers did not tally?

Omg, i'm so sorry. This wasn't supposed to be posted here.
Sorry Admin and thanks anyway for your respond.
by husnafezaahmad
Fri Oct 16, 2020 4:28 am
Forum: Vensim
Topic: Why the numbers did not tally?
Replies: 3
Views: 1633

Why the numbers did not tally?

Hello and top of the day, everyone :)

I have this confusion with my output in one of the submodel i have here.
by husnafezaahmad
Fri Oct 16, 2020 4:26 am
Forum: Vensim
Topic: How to map one variable to another variable?
Replies: 8
Views: 3508

Re: How to map one variable to another variable?

tomfid wrote: Mon Oct 12, 2020 3:32 pm If the requirement is a table that interleaves marginal cost and generation, as in your example, I don't think there's a way to do that within Vensim.
Oh really? It's okay then.Thanks a lot Tom & Admin :)
by husnafezaahmad
Sat Oct 10, 2020 3:42 pm
Forum: Vensim
Topic: How to map one variable to another variable?
Replies: 8
Views: 3508

Re: How to map one variable to another variable?

Anyone can please help me? :'(
by husnafezaahmad
Sat Oct 10, 2020 4:14 am
Forum: Vensim
Topic: How to map one variable to another variable?
Replies: 8
Views: 3508

Re: How to map one variable to another variable?

Administrator wrote: Fri Oct 09, 2020 3:57 pm Maybe vector elm map function is what you need?

You can use vector elm map to pick elements out from another subscripted parameter.
I tried using VECTOR ELM MAP as suggested, but it seems it didn't work (or maybe i used it wrong?)
by husnafezaahmad
Fri Oct 09, 2020 4:00 pm
Forum: Vensim
Topic: How to map one variable to another variable?
Replies: 8
Views: 3508

Re: How to map one variable to another variable?

Administrator wrote: Fri Oct 09, 2020 3:56 pm Can you upload the model? I'm sure it's possible, but we don't have enough information to help.
Here it is :D

It's on the MARGINAL COST's view.
by husnafezaahmad
Fri Oct 09, 2020 3:47 pm
Forum: Vensim
Topic: How to map one variable to another variable?
Replies: 8
Views: 3508

How to map one variable to another variable?

Hello there! :D I have this one question regarding on the model that i'm currently working with. I have 2 variables; sorted marginal cost and sorted generation as show in figure below. Screen Shot 2020-10-09 at 23.36.57.png These two variables are mapped under the same subscript and both are actuall...
by husnafezaahmad
Fri Oct 02, 2020 1:20 pm
Forum: Vensim
Topic: Combine variable
Replies: 2
Views: 1398

Re: Combine variable

Administrator wrote: Fri Oct 02, 2020 7:01 am I see now what you want (I think).

You would need to combine the subscript ranges into a single one. See the attached model.
Oh my goodness!
Thank you so so much! Finally i got the answer on how to do that.

I owe you big time, Admin!<3
by husnafezaahmad
Wed Sep 30, 2020 1:34 pm
Forum: Vensim
Topic: Combine variable
Replies: 2
Views: 1398

Combine variable

Hello there, I have this problem. I tried to combine these two variables, marginal cost coal and marginal cost gas. Presentation4.png I want the output for "combine marginal cost" to be like this; Presentation3.png I tried using the; combine marginal cost = IF THEN ELSE( marginal cost gas[...
by husnafezaahmad
Tue Sep 15, 2020 2:54 pm
Forum: Vensim
Topic: Getting the y-axis value
Replies: 13
Views: 4647

Re: Getting the y-axis value

I'm still hoping that i can get some enlighten bout my problem :(
by husnafezaahmad
Wed Sep 09, 2020 12:54 pm
Forum: Vensim
Topic: Change view from text view to skecth view
Replies: 3
Views: 1661

Re: Change view from text view to skecth view

Do you get a syntax error when you try to switch? If yes, what is it? Or can you upload the model or show us where the error is? Yes....i do get a syntax error. I'm afraid i can share this model because it's not mine. But the syntax error written is "missing a closin paranthesis on a lookup ta...
by husnafezaahmad
Wed Sep 09, 2020 12:37 pm
Forum: Vensim
Topic: Change view from text view to skecth view
Replies: 3
Views: 1661

Change view from text view to skecth view

Hello mates,

I have one question.
How can i change the layout of my model from text to sketch view?

Tried to do it through the VIEW tab, but still couldn't get it into sketch view.
by husnafezaahmad
Wed Sep 02, 2020 2:44 am
Forum: Vensim
Topic: Getting the y-axis value
Replies: 13
Views: 4647

Re: Getting the y-axis value

Ok ... I think I understand what the cost curve is doing. But why go to all the trouble of constructing the curve, when you can simply observe the marginal cost at time 9.17 directly? How can i do that, Tom? I mean, i am totally lost at the moment. I tried IF THEN ELSE but idk, it didn't turn out a...
by husnafezaahmad
Tue Sep 01, 2020 3:04 pm
Forum: Vensim
Topic: Getting the y-axis value
Replies: 13
Views: 4647

Re: Getting the y-axis value

I hope i can get some enlightment to solve my problem :(