When run the model ,the error is shown. before, I had used Ideal mosfet.no error occurred. Now i am using N channel mosfet from simscape.no errorr is. occured
I want results from community for how to rectify the issue.
I am developing plant model and controller model for my project using matlab ,simulink,simscape and motor cotrol blockset.in plant model consiist of DC source,three phase inverter(N channel mosfet is used),ipmsm motor.conroller model is consist of MTPA reference for Torque controller and foc  model for current controller. When run model ,error is occured.so,how to solve the issue.
show this kind of error:
First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.
Component:Simulink | Category:Model warning
Unable to satisfy all initial conditions. The variables involved are listed below.
The following variables are involved in a constraint that conflicts with their targets:
'Inertia.w' (Rotational velocity)
Here are the equations involved:
all components involved
'RE_torque_control_El_N/Angular Velocity  Source'
Equation locations are:
 'C:\Program Files\MATLAB\R2024b\toolbox\physmod\simscape\library\m\+foundation\+mechanical\+sources\angular_velocity.ssc' (line 36)
 'C:\Program Files\MATLAB\R2024b\toolbox\physmod\simscape\library\m\+foundation\+mechanical\+sources\angular_velocity.ssc' (line 37)
'RE_torque_control_El_N/Inertia'
Equation location is:
 'C:\Program Files\MATLAB\R2024b\toolbox\physmod\simscape\library\m\+foundation\+mechanical\+rotational\inertia.ssc' (line 45)
Component:Simulink | Category:Model warning
Solver is encountering difficulty in simulating model 'RE_torque_control_El_N' at time 1.0000000000000001e-09. Simulink will continue to simulate with warnings. Please check the model for errors.
Ungroup 1399 similar
Caused by:
Solver was unable to reduce the step size without violating the minimum step size value of 1E-09 for 1 consecutive times at time 0. This usually may be caused by violating algebraic constraints in the differential-algebraic system or by the high stiffness of the system. Try tightening the error tolerances, and/or the tolerances for computing consistent conditions. If the problem persists, please check the system or increase the solver Number of consecutive min steps violation parameter.
Suggested Actions
Open Solver Profiler to explore such issues
Open
Component:Simulink | Category:Block diagram warning
An error occurred during simulation and the simulation was terminated
Caused by:
['RE_torque_control_El_N/Solver Configuration1']: Failed to satisfy dynamic state constraints.
Component:Simulink | Category:Block error
0 Comments
Answers (1)
0 Comments
Communities
More Answers in the Power Electronics Control
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
