Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix.

40 ビュー (過去 30 日間)
Samed Güzel
Samed Güzel 2024 年 4 月 12 日
回答済み: Poorna 2024 年 5 月 3 日
Hello,
I am trying to simulate the below system but I always get the error :A
Any idea about how to solve this ?
Error:An error occurred while running the simulation and the simulation was terminated
Caused by:
['untitled/Solver Configuration']: Initial conditions solve failed to converge.
Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix.
The model may not give enough information to make it possible to solve for values of some of its variables. Specific advice is given below.
all components and nodal across variables involved
Tie variable 'Solar_Cell.p.v' (Voltage) to a definite value, for example by connecting an appropriate domain reference block.
all components and nodal across variables involved
Cannot solve for one or more variables, including dynamic variable derivatives:
Time derivative of 'Voltage_Source_Three_Phase.i_la' (i_la)
Time derivative of 'Voltage_Source_Three_Phase.i_lb' (i_lb)
Time derivative of 'Voltage_Source_Three_Phase.i_lc' (i_lc)
'Average_Value_Inverter_Three_Phase.I(1)' (Three-phase currents)
'Average_Value_Inverter_Three_Phase.I(2)' (Three-phase currents)
'Average_Value_Inverter_Three_Phase.I(3)' (Three-phase currents)
'Average_Value_Inverter_Three_Phase.N.V(1)' (V)
'Average_Value_Inverter_Three_Phase.N.V(2)' (V)
'Average_Value_Inverter_Three_Phase.N.V(3)' (V)
'Average_Value_Inverter_Three_Phase.a.v' (Voltage)
'Average_Value_Inverter_Three_Phase.b.v' (Voltage)
'Average_Value_Inverter_Three_Phase.c.v' (Voltage)
'Average_Value_Inverter_Three_Phase.i' (DC current)
'Average_Value_Inverter_Three_Phase.n.v' (Voltage)
'Average_Value_Inverter_Three_Phase.p.v' (Voltage)
'Average_Value_Inverter_Three_Phase.phase_splitter.I(1)' (I)
'Average_Value_Inverter_Three_Phase.phase_splitter.I(2)' (I)
'Average_Value_Inverter_Three_Phase.phase_splitter.I(3)' (I)
'Average_Value_Inverter_Three_Phase.phase_splitter.N.V(1)' (V)
'Average_Value_Inverter_Three_Phase.phase_splitter.N.V(2)' (V)
'Average_Value_Inverter_Three_Phase.phase_splitter.N.V(3)' (V)
'Average_Value_Inverter_Three_Phase.phase_splitter.a.v' (Voltage)
'Average_Value_Inverter_Three_Phase.phase_splitter.b.v' (Voltage)
'Average_Value_Inverter_Three_Phase.phase_splitter.c.v' (Voltage)
'Average_Value_Inverter_Three_Phase.phase_splitter.i_a' (i_a)
'Average_Value_Inverter_Three_Phase.phase_splitter.i_b' (i_b)
'Average_Value_Inverter_Three_Phase.phase_splitter.i_c' (i_c)
'Current_Sensor.n.v' (Voltage)
'Current_Sensor.p.v' (Voltage)
'Current_Sensor1.I' (I)
'Current_Sensor1.i1' (Current)
'Current_Sensor1.n.v' (Voltage)
'Current_Sensor1.p.v' (Voltage)
'Current_Sensor1_I0' (Current_Sensor1_I0)
'Current_Sensor2.I' (I)
'Current_Sensor2.i1' (Current)
'Current_Sensor2.n.v' (Voltage)
'Current_Sensor2.p.v' (Voltage)
'Current_Sensor2_I0' (Current_Sensor2_I0)
'DC_DC_Converter.i1' (Input current)
'DC_DC_Converter.i2' (Output current)
'DC_DC_Converter.n1.v' (Voltage)
'DC_DC_Converter.n2.v' (Voltage)
'DC_DC_Converter.p2.v' (Voltage)
'DC_DC_Converter.power_dissipated' (Dissipated power)
'DC_DC_Converter.power_loss_used' (Total power loss)
'DC_DC_Converter.v1' (Input voltage)
'DC_DC_Converter.v2' (Output voltage)
'Solar_Cell.CCS.tail.v' (Voltage)
'Solar_Cell.CCS.v' (Voltage)
'Solar_Cell.diode1.i' (Current)
'Solar_Cell.diode1.i_diode' (Intrinsic diode current)
'Solar_Cell.diode1.i_out' (Diode current output)
'Solar_Cell.diode1.n.v' (Voltage)
'Solar_Cell.diode1.ni.v' (Voltage)
'Solar_Cell.diode1.power_dissipated' (power_dissipated)
'Solar_Cell.diode1.private.ohmicResistance.i' (Current)
'Solar_Cell.diode1.v' (Voltage)
'Solar_Cell.diode1.v_diode' (Intrinsic diode voltage)
'Solar_Cell.n.v' (Voltage)
'Solar_Cell.remaining_N_minus_one_cells.i2' (Output current)
'Solar_Cell.remaining_N_minus_one_cells.n1.v' (Voltage)
'Solar_Cell.remaining_N_minus_one_cells.n2.v' (Voltage)
'Solar_Cell.remaining_N_minus_one_cells.p2.v' (Voltage)
'Solar_Cell.remaining_N_minus_one_cells.power_dissipated' (Power dissipated (N-1 cells))
'Solar_Cell.remaining_N_minus_one_cells.power_dissipated_per_cell' (Power dissipated by one cell)
'Solar_Cell.resistorSeries.i' (Current)
'Voltage_Source_Three_Phase.V(1)' (V)
'Voltage_Source_Three_Phase.V(2)' (V)
'Voltage_Source_Three_Phase.V(3)' (V)
'Voltage_Source_Three_Phase.V_impedance(1)' (V_impedance)
'Voltage_Source_Three_Phase.V_impedance(2)' (V_impedance)
'Voltage_Source_Three_Phase.V_impedance(3)' (V_impedance)
'Voltage_Source_Three_Phase.a.v' (Voltage)
'Voltage_Source_Three_Phase.b.v' (Voltage)
'Voltage_Source_Three_Phase.c.v' (Voltage)
'Voltage_Source_Three_Phase.v_a' (v_a)
'Voltage_S... (Truncated error message at maximum length of buffer.)

回答 (1 件)

Poorna
Poorna 2024 年 5 月 3 日
Hi Samed,
I see that you are facing issues while trying to simulate your model. First of all, It is not easy to replicate the model just from the figure. It is advised to provide the model file directly so that the issue can be reproduced from the community side.
Coming to the problem, Did you try applying the suggestion made by simulink? If not, you should try connecting the negative port of the solar cell to the electrical reference. It is to be remembered that the solar cell will create a voltage diffference between its two output ports. Simscape now maintains the voltage difference and tries to find the exact voltage values of the two ports with respect to the electrical reference. The error suggests that it now couldn't find the exact values of these voltages which means that are more than 1 pair of voltages that satisfy the system of equations. So, you should try connecting one of the output pins to electrical reference so that simscape can now correctly fix upon the other voltage. Connecting one of the output pins of any voltage source to a reference block is a good practise.
Hope this helps!

カテゴリ

Help Center および File ExchangeElectrical Sensors についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by