Are simultaneous stateflow charts possible

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

Respuestas (1)

Teresa Hubscher-Younger
Teresa Hubscher-Younger el 2 de Dic. de 2024

0 votos

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.

Categorías

Productos

Versión

R2021a

Preguntada:

el 11 de Jul. de 2022

Respondida:

el 2 de Dic. de 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by