I am trying to model a solenoid in simscape using the blocks from simscape electrical, mechanical and physical signal blocks. The equation that I have considered is
V = i*R + L*di/dt + i*(dL/dt)
V = voltage, i = current through the solenoid, R = resistance of the coil, L = inductance, dL/dt = dL/dx*dx/dt rate of change of inductance with respect to change in plunger position.
I will be using the force - stroke characteristic data to evaluate dL/dx.
When I rearrange the above equation and solving for i, we get
i = (1/L) * int ( V - (i*R) - i*(dL/dx)*(dx/dt))
When I impliment this particular equation using physical signal blocks and try to simulate it, I am getting the following error:
I kindly request you to guide me to overcome this error.
Thanks and Regards,