Hi,
I want to consider a maximum number of storage cycle for storage technology in my model. It means that a storage technology cannot exceed its maximum number of cycle. Do you have any suggestion how to model it in Venism.
*Whenever it is used it can be consider as a one cycle.
Best Regards
How to count number of storage cycle
Re: How to count number of storage cycle
The word "count" implies "stock". You can do something like the following:
count = INTEG( counting, 0 )
counting = start of cycle/TIME STEP
start of cycle = {logical flag - a function of your process}
The trick is to avoid counting the same cycle in consecutive TIME STEPS, but it's hard to say more without knowing something about the process.
Another option might be to model the process physically:
device health = INTEG( - damage, 1 )
damage = (a*charge rate + b*discharge rate)*device health
In other words, the device starts with 100% capacity, and then loses a little big with each use, with parameters a & b governing the loss rate. Then you could replace the device at some health threshold.
count = INTEG( counting, 0 )
counting = start of cycle/TIME STEP
start of cycle = {logical flag - a function of your process}
The trick is to avoid counting the same cycle in consecutive TIME STEPS, but it's hard to say more without knowing something about the process.
Another option might be to model the process physically:
device health = INTEG( - damage, 1 )
damage = (a*charge rate + b*discharge rate)*device health
In other words, the device starts with 100% capacity, and then loses a little big with each use, with parameters a & b governing the loss rate. Then you could replace the device at some health threshold.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: How to count number of storage cycle
Thanks a lot. It was useful.tomfid wrote: ↑Thu Apr 25, 2019 3:18 pm The word "count" implies "stock". You can do something like the following:
count = INTEG( counting, 0 )
counting = start of cycle/TIME STEP
start of cycle = {logical flag - a function of your process}
The trick is to avoid counting the same cycle in consecutive TIME STEPS, but it's hard to say more without knowing something about the process.
Another option might be to model the process physically:
device health = INTEG( - damage, 1 )
damage = (a*charge rate + b*discharge rate)*device health
In other words, the device starts with 100% capacity, and then loses a little big with each use, with parameters a & b governing the loss rate. Then you could replace the device at some health threshold.