Hello. This is my first time to post.
I want to set subscript value which get from simulation value.
In Attachment model "subsample.mdl",
Price is changing in simulation.
I want to get Price value from time1 to time4.
and set this SeasonPrice[season]=value1,value2,value3,value4
Please advice me .
set subscript value
set subscript value
- Attachments
-
- subsample.mdl
- (2.33 KiB) Downloaded 258 times
There are many ways of doing this. I have attached a revised version of your model with one such method. See if it helps.
It's probably easier you use a lookup table, but I find this a little more flexible if the number of subscript elements is likely to change.
I increased the final time to two years
It's probably easier you use a lookup table, but I find this a little more flexible if the number of subscript elements is likely to change.
I increased the final time to two years
- Attachments
-
- subsample2.mdl
- (4.26 KiB) Downloaded 244 times