I have a model in which one of the parameters should be found by solving a nonlinear equation. Is it possible to implement one such case in Modelica? For example:
parameter Real Rs
should be found by solving the equation:
(VmaxP*(Isc+I0_diode-2*ImaxP)-ImaxP*I0_diode*Rs)/(VmaxP-Rs*ImaxP)+I0_diode*exp((VmaxP+Rs*ImaxP)/(a*Ns*Vth_diode))*((Rs*(ImaxP-Isc)+VmaxP-a*Ns*Vth_diode)/(a*Ns*Vth_diode))=0;
in the above nonlinear equation, only Rs is unknown.