control flow in subscript
Posted: Sat Oct 23, 2010 1:01 am
Hello,
I making a model using subscript(sub1,sub2,sub3) stock and flow.
I want to control this flow using switch, like ID(1,2,3).
It's meaning that if ID=1, sub1 is active.
So, I want to control this model using like ID(1,3,2,1,,,,).
But the timing of switch is not fixed.
Because I want to change this switch after the finishing of active flow(variable span).
So I can't use import data like under.
time ID
0 1
1 3
2 2
3 1
If there are some hint or sample model.
Please help me.
I making a model using subscript(sub1,sub2,sub3) stock and flow.
I want to control this flow using switch, like ID(1,2,3).
It's meaning that if ID=1, sub1 is active.
So, I want to control this model using like ID(1,3,2,1,,,,).
But the timing of switch is not fixed.
Because I want to change this switch after the finishing of active flow(variable span).
So I can't use import data like under.
time ID
0 1
1 3
2 2
3 1
If there are some hint or sample model.
Please help me.