Hi COMSOL community
I have a time-dependent optimization model which simulation time (not computational time) is dependent on a Stop Condition, i.e. my simulation time differs depending on which parameters the optimization solver changes during the computation .
My question is, if it is possible to use the simulation time in mathematical operations e.g. to define a Variable??
For example, lets say I want to define a Variable as:
A = ht.ndflux_acc_d / "simulation time [s]"
Hope someone can be of help.
I have a time-dependent optimization model which simulation time (not computational time) is dependent on a Stop Condition, i.e. my simulation time differs depending on which parameters the optimization solver changes during the computation .
My question is, if it is possible to use the simulation time in mathematical operations e.g. to define a Variable??
For example, lets say I want to define a Variable as:
A = ht.ndflux_acc_d / "simulation time [s]"
Hope someone can be of help.