First solve for initial conditions failed to converge. Trying again with all high priorities relaxed to low.

102 visualizzazioni (ultimi 30 giorni)
Hi Guys,
I have made this powertrain for parallel hybrid configuration shown in picture below. when i run simulation i get get erros which are as follows
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: 'DC_Motor.w' (Angular velocity) 'Generic_Engine.engine_inertia.w' (Rotational velocity) Here are the equations involved: all components involved'Mini_tractor_powertrain/DC Motor'Equation location is: 'E:\toolbox\physmod\elec\library\m\+ee\+electromech\+brushed\dc_motor.sscp' (no line number info) 'Mini_tractor_powertrain/Generic Engine'Equation location is: 'E:\toolbox\physmod\simscape\library\m\+foundation\+mechanical\+rotational\inertia.ssc' (line 45) 'Mini_tractor_powertrain/Simple Gear'Equation location is: 'E:\toolbox\physmod\sdl\sdl\+sdl\+gears\simple_gear.sscp' (no line number info)
Component:Simulink | Category:Model warning
An error occurred while running the simulation and the simulation was terminated
Caused by:
If anybody has solution for this please reply immediately
  1 Commento
Bruno Rodriguez Esteban
Bruno Rodriguez Esteban il 8 Mar 2021
Hi Pratik,
Without the model, it is a bit difficult to debug, but the message indicates:
The following variables are involved in a constraint that conflicts with their targets: 'DC_Motor.w' (Angular velocity) 'Generic_Engine.engine_inertia.w' (Rotational velocity)
This means that the initial value of the angular velocity of the "DC_Motor" and "Generic_Engine" are different. You might be inputing contradictory values. They need to be consistent, otherwise the solver will struggle.
Hope this helps.
Regards,
Bruno.

Accedi per commentare.

Risposte (3)

Steve Miller
Steve Miller il 14 Mar 2021
Hi Pratik Shirude - here are three ways to eliminate the warnings at the start of the simulation.
  1. Remove the inertia from the Generic Engine block. On the "Dynamics" tab, set "Inertia" to "No Inertia".
  2. Put a flexible shaft between the engine and the motor (parallel spring-damper between the engine and the gear)
  3. Set the initial speed of the Generic Engine block to be exactly consistent with speed of the DC motor block, taking into account the gear ratio between the two blocks
The meaning of the diagnostic is as Bruno describes in his comment - you have specified two inconsistent initial shaft speeds in the Generic Engine and DC Motor block, and Simscape is trying to find a compromise between those two values. Since it is physically impossible to match both values, it is issuing a warning.
--Steve

Syed Anass
Syed Anass il 16 Nov 2023
FACING THE ISSUES MENTIONED BELOW I DON'T KNOW WHAT TO DO NOW WHAT EVER I DO, THERE IS NO BETTERMENT HAPPENING IN THE SIMULATION OF THE BATTERY MODEL OF A BATTERY PACK. KINDLY SOMEONE HELP ME IN THIS ITS URGENT.
Ungroup 6 similar
Component:Simulink | Category:Block warning
Component:Simulink | Category:Block warning
Component:Simulink | Category:Block warning
Component:Simulink | Category:Block warning
Component:Simulink | Category:Block warning
Component:Simulink | Category:Block warning
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: 'Subsystem20.Cell1.cell_temperature' (Temperature) Here are the equations involved: all components involved'batteryModel2november/Subsystem20''batteryModel2november/Subsystem20/Cell1'Equation location is: 'C:\Program Files\MATLAB\R2023a\toolbox\physmod\battery\shared_library\m\+batteryecm\table_battery.sscp' (no line number info) 'batteryModel2november/Subsystem20/T_amb1'Equation location is: 'C:\Program Files\MATLAB\R2023a\toolbox\physmod\simscape\library\m\+foundation\+signal\+sources\constant.ssc' (line 21) 'batteryModel2november/Subsystem20/convection1''batteryModel2november/Subsystem20/convection1/constant T'Equation locations are: 'C:\Program Files\MATLAB\R2023a\toolbox\physmod\simscape\library\m\+foundation\+thermal\+sources\controlled_temperature.ssc' (line 33) 'C:\Program Files\MATLAB\R2023a\toolbox\physmod\simscape\library\m\+foundation\+thermal\+sources\controlled_temperature.ssc' (line 34)
Component:Simulink | Category:Model warning
An error occurred while running the simulation and the simulation was terminated
Caused by:
Component:Simulink | Category:Block error

pravallika gandhaveeti
pravallika gandhaveeti il 2 Ago 2024
The following variables' targets could not be honored: 'Inertia.w' (Rotational velocity) 'Subsystem.Tire_Magic_Formula1.tire_inertia.w' (Rotational velocity) 'Subsystem.Tire_Magic_Formula2.tire_inertia.w' (Rotational velocity)

Categorie

Scopri di più su Simscape Driveline in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by