Dear Experts,
I would like to know how to switch two Modelica blocks based on a situation of the simulation.
For example, please assume two SpringDamper blocks, A and B are contained in an Actibvate model which are applied at the same location. SpringDamper block (A or B)used in the simulation is decided based on situation of simulation and might be changed during the simulation.
I created a model (attached) where MoCustomComponent based on Spring is used. In the model, spring constant of the Spring block can be switched during simulation but Spring block cannot be switched in this way?
Are there any ways to switch Modelica blocks?
Regards,
Minoru Yubuchi
Unable to find an attachment - read this blog