Hi,
It is known that the function "at" evaluates a function for a specific time value. Ex: at(1.5s, u). However, I'm looking for a way to get the instant of time (tx) when a variable (Var) (such as current density) takes an x value, during the simulation running.
I need to known this time "ti" to star another process during the simulation run.
More specifically, the problem is:
During the simulation, when J = const1 then time "ti" starts counting (from zero) for the expression rho = const2.* exp (ti / const3). Where Jc, const1 and const2 are constant. The simulation is NOT restarted. Only time variable (or watch) "ti" starts to be counted when the event J = const1 occurs.
Regards,
It is known that the function "at" evaluates a function for a specific time value. Ex: at(1.5s, u). However, I'm looking for a way to get the instant of time (tx) when a variable (Var) (such as current density) takes an x value, during the simulation running.
I need to known this time "ti" to star another process during the simulation run.
More specifically, the problem is:
During the simulation, when J = const1 then time "ti" starts counting (from zero) for the expression rho = const2.* exp (ti / const3). Where Jc, const1 and const2 are constant. The simulation is NOT restarted. Only time variable (or watch) "ti" starts to be counted when the event J = const1 occurs.
Regards,