- Posts: 3
- Thank you received: 0
Can you set a maximum capacity for a stock?
- neilfaraway
- Topic Author
- Offline
- New Member
Less
More
11 years 9 months ago #32
by neilfaraway
Can you set a maximum capacity for a stock? was created by neilfaraway
Hi There,
I have only been working with Stan for a short time, and it is a great tool. I am wondering if there is a way to set a maximum capacity for a stock?
I am simply trying to model a water flow situation - i have set up a regular water input per period and want it to add to a dam until the dam reaches capacity, it should then show outflows equal to inflows for those periods where the stock is full.
I don't see any setting to define a maximum capacity for a stock, and I can't think how you might set up systems that work a bit like if statements in excel...
Can anyone help?
Thanks
Neil
I have only been working with Stan for a short time, and it is a great tool. I am wondering if there is a way to set a maximum capacity for a stock?
I am simply trying to model a water flow situation - i have set up a regular water input per period and want it to add to a dam until the dam reaches capacity, it should then show outflows equal to inflows for those periods where the stock is full.
I don't see any setting to define a maximum capacity for a stock, and I can't think how you might set up systems that work a bit like if statements in excel...
Can anyone help?
Thanks
Neil
Please Log in or Create an account to join the conversation.
11 years 9 months ago #33
by adminST
Replied by adminST on topic Re: Can you set a maximum capacity for a stock?
Hi Neil,
In STAN it is neither possible to define a maximum capacity for stocks nor to implement if statements. Sorry!
Regards, Oliver
In STAN it is neither possible to define a maximum capacity for stocks nor to implement if statements. Sorry!
Regards, Oliver
Please Log in or Create an account to join the conversation.
- neilfaraway
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
11 years 9 months ago #34
by neilfaraway
Replied by neilfaraway on topic Re: Can you set a maximum capacity for a stock?
Ok, thanks for that. Is this something that might be implemented in future you think?
Please Log in or Create an account to join the conversation.
11 years 9 months ago #35
by adminST
Replied by adminST on topic Re: Can you set a maximum capacity for a stock?
If statements are definitely a good idea but I don't think that there is a way to implement them in the existing STAN framework. All we could do is to display a warning if a value exceeds a defined threshold.
Oliver
Oliver
Please Log in or Create an account to join the conversation.
- neilfaraway
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
11 years 9 months ago #36
by neilfaraway
Replied by neilfaraway on topic Re: Can you set a maximum capacity for a stock?
OK, thanks again.
Neil
Neil
Please Log in or Create an account to join the conversation.
Time to create page: 0.239 seconds