Effacer les filtres
Effacer les filtres

Simulink: Use a block property token to trigger an event

2 vues (au cours des 30 derniers jours)
Adam Hellmers
Adam Hellmers le 19 Mai 2020
I'm trying to use a three-phase breaker block property token (%<switchA>) outside of the block for a breaker status indicator (passing it to other blocks in Simulink).
I don't really know how to pass the value of that token beyond its respective block.
Thanks!

Réponse acceptée

Joel Van Sickel
Joel Van Sickel le 5 Août 2020
Hello Adam,
there are two ways a breaker may be controlled. One is that an external signal, simulink for specialized poewr systems, or physical signal for simscape controls the breaker status. In this case, you can provide this signal to the other blocks that need to know the breaker status. (may need to duplicate logic to check if signal is above/below the threshold voltage).
If you are using the specialized power systems block which can specify break times internally, then it is a bit more challenging. I would recomend 2 approaches.
Easy: use the measurement ports to look at current through the breaker, and when it is below a certain small threshold, say that the breaker is closed. this will be wrong in cases where there simply is no current regardless.
hard: use the fact that you can create a custom specialized power system block to pull the gate signal out to get actual status of the breaker. I took a pass at it and included it below but haven't tested it (v2020a).
Regards,
Joel

Plus de réponses (0)

Catégories

En savoir plus sur Nonlinear Operators dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by