02 December 2022 2 8K Report

Hello, everyone!

I have a technical problem here. I have built a fuzzy logic controller to command the MR damper using Matlab and constructed a 3D structural model using OpenSees. So, I need to call this structural model script written in Tcl using matlab. As the control force provided the fuzzy logic controller requires the structural state information of last step, I need to read the out file of OpenSees and then calculate the corresponding control force based on the data from this out file using matlab, and then call Tcl script to carry on the structural dynamics simulation with the control force. However, each time I call the Tcl script, the simulation starts from the initial time. How can I start next simulation run without losing the information of last simulation run?

Anyone can help me? I would be really appreciated!

Similar questions and discussions