For a fixed-displacement pump driven by a ideal angular velocity source the pump can be turned on and off via a simulink-PS converted output signal (e.g. 0 and 1) from Stateflow fed into the S-port of the ideal angular velocity source.
Alternative to change simscape parameters during run-time
1 次查看(过去 30 天)
显示 更早的评论
As far as I can see it is not possible to change Simscape parameters during runtime. Is this correct? In my Simulation I have to turn a pump in a hydraulic system on and off depending on the pressure within the system. What is the best way to realize this? Thank you very much!
0 个评论
采纳的回答
更多回答(1 个)
Alisha Schor
2017-3-20
编辑:Alisha Schor
2017-3-20
This question is addressed at: https://www.mathworks.com/matlabcentral/answers/329023-implement-switch-with-stateflow-input-in-simscape-hydraulic-system
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Run-Time Parameters 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!