The error is as follows:
Attempt to evaluate negative power of zero.
- Function: ^
Failed to evaluate expression.
- Expression: d(d((-(mod1.fct-(Tm-mod1.T)*switch(t/unit_s_cf)*mod1.fc^(2/3)/unit_K_cf)*test(mod1.fc))*(dvol),{test@2}),mod1.fc)
In the expression, the only place that contain the function ^ is fc^(2/3). In the model, the fc can be zero, but why the error is "Attempt to evaluate negative power of zero." ? The power is 2/3, why comsol treat it as negative?
Attempt to evaluate negative power of zero.
- Function: ^
Failed to evaluate expression.
- Expression: d(d((-(mod1.fct-(Tm-mod1.T)*switch(t/unit_s_cf)*mod1.fc^(2/3)/unit_K_cf)*test(mod1.fc))*(dvol),{test@2}),mod1.fc)
In the expression, the only place that contain the function ^ is fc^(2/3). In the model, the fc can be zero, but why the error is "Attempt to evaluate negative power of zero." ? The power is 2/3, why comsol treat it as negative?