Are simultaneous stateflow charts possible
1 view (last 30 days)
Show older comments
I am using simulink to model a complex operational process. I am generating entities that pass through a series of stages, the time spent at each stage is determined by:
The amount of work that needs to be done
The amount of work that is enabled according to a variety of constraints (space, workers, enabled work etc.)
I am modelling the time spent at each stage with a stateflow chart this works when I have one entity in work at each stage. However, I would like to have multiple parallel items in work at each stage, is this possible with a stateflow chart?
I have considered resource pools but need work at a stage to progress as much as it can even it all the resource isn't available when it gets to that stage of the process.
i.e if 10 "work" needs to be done at a stage and 5 are available, 5 work should begin being consumed and the entity should not wait for all 10 to be available
0 Comments
Answers (1)
Teresa Hubscher-Younger
on 2 Dec 2024
I believe you should consider using Discrete Event Charts for this type of modeling. Here's a link: Discrete-Event Chart
The reason I think you need this is that Discrete Event Charts allow for multiple executions per time step.
0 Comments
See Also
Categories
Find more on Messages in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!