How can I trigger an event in a Discrete-Event Chart based on the continous signal value?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Nemanja Hranisavljevic
am 29 Mär. 2019
Kommentiert: Nemanja Hranisavljevic
am 5 Apr. 2019
I am trying to model a hybrid system composed of discrete event part and continuous part.
The Discrete Event Chart sets the input of the continuous process (Transfer function block). Once the response of the continuous process has settled the Chart should react to this and change its state (and release the entity). The server calls the Simulink function "trans" on entry.
0 Kommentare
Akzeptierte Antwort
Krishna Akella
am 5 Apr. 2019
Hi Nemanja,
Have you tried using 'Message Send' and 'Message Receive' blocks? These blocks can be used to interface continuous blocks with discrete blocks and vice-versa.
If your release is R2018a or greater, you can additionally use the 'Hit Crossing' block.
Regards,
Krishna
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!