MATLAB Answers

0

Alternative to change simscape parameters during run-time

Asked by Alicia Roder on 15 Mar 2017
Latest activity Edited by Alisha Schor on 20 Mar 2017
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 Comments

Sign in to comment.

2 Answers

Answer by Alicia Roder on 20 Mar 2017
 Accepted Answer

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.

  0 Comments

Sign in to comment.