Enghamed64
Student
- Dec 16, 2020
- 1
topic: simulink / simscape /electrical
solver mode: discrete
sample tiome:Ts= 0.0001 sec
stop time:T=2 sec
Suppose we are now in the first second of the simulation, How can I access previous measurment data while running the simulation? Simultaneously with the simulation, I want to do mathematical calculations on current and previous measurment data, How do I do this?
I want calculate X that i is the measurment signal such as Voltge:
X= i(t)*i(t-Ts)+ i(t-Ts)*i(t-2Ts) simultaneously with simulink runnig and t increasing, t= running time & 0<t<T[/color]