Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » Gilbertt
  • » Profile

Posts

Posts

I'm trying to simulate a model I'm doing and I got these message when it finish simulate:


"nonlinear system 127 fails: at t=0"
"proper start-values for some of the following iteration variables might help"
"Solving non-linear system 127 failed at time=0.
For more information please use -lv LOG_NLS."

[1] 13:43:51 Translation Warning
[OpenIPSL.Electrical.Essentials.pfComponent: 4:3-5:39]: An inner declaration for outer component SysData could not be found and was automatically generated.

[2] 13:43:51 Translation Notification
[OpenIPSL.Electrical.Essentials.pfComponent: 4:3-5:39]: The diagnostics message for the missing inner is:
    No 'System Data' component is defined.
    A default component will be used, and generate a system base of 100 MVA,
    and a frequency of 50 Hz

[3] 13:43:51 Translation Warning
[OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer: 44:3-44:83]: In relation twoWindingTransformer1.m <> 1.0, <> on Real numbers is only allowed inside functions.

[4] 13:43:51 Translation Warning
[OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer: 44:3-44:83]: In relation twoWindingTransformer2.m <> 1.0, <> on Real numbers is only allowed inside functions.

[5] 13:43:51 Translation Warning
[OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer: 44:3-44:83]: In relation twoWindingTransformer3.m <> 1.0, <> on Real numbers is only allowed inside functions.

[6] 13:43:51 Translation Warning
[OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer: 44:3-44:83]: In relation twoWindingTransformer4.m <> 1.0, <> on Real numbers is only allowed inside functions.

[7] 13:43:51 Symbolic Warning
The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.


This is my code model wich I'm trying to simulate

model MiniUnifilar
  OpenIPSL.Electrical.Branches.PwLine pwLine1(B = 0.117000, G = 0, R = 0.000750, X = 0.010920)  annotation(
    Placement(visible = true, transformation(origin = {4, 72}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  OpenIPSL.Electrical.Branches.PwLine pwLine2(B = 0.017600, G = 0, R = 0.010280, X = 0.072530)  annotation(
    Placement(visible = true, transformation(origin = {-20, 34}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer twoWindingTransformer1(Sn(displayUnit = "V.A") = 220, V_b = 138000, Vn = 138000, rT = 0.000870, xT = 0.051000)  annotation(
    Placement(visible = true, transformation(origin = {-69, 25}, extent = {{-5, -5}, {5, 5}}, rotation = -90)));
  OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer twoWindingTransformer2(Sn(displayUnit = "V.A") = 255, V_b = 345000, Vn = 345000, rT = 0.000940, xT = 0.051070)  annotation(
    Placement(visible = true, transformation(origin = {-56, 26}, extent = {{-6, -6}, {6, 6}}, rotation = -90)));
  OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer twoWindingTransformer3(Sn(displayUnit = "V.A") = 186.7, V_b = 138000, Vn = 69000, rT = 0.001060, xT = 0.039490)  annotation(
    Placement(visible = true, transformation(origin = {-60, -46}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
  OpenIPSL.Electrical.Branches.PSAT.TwoWindingTransformer twoWindingTransformer4(S_b(displayUnit = "V.A"), Sn(displayUnit = "V.A") = 220,V_b = 345000, Vn = 345000, displayPF = false, rT = 0.000870, xT = 0.051000)  annotation(
    Placement(visible = true, transformation(origin = {43, 31}, extent = {{-7, -7}, {7, 7}}, rotation = 0)));
  OpenIPSL.Electrical.Buses.Bus bus1(P_0 = 147.2283, Q_0(displayUnit = "var") = 2.0815e-06, V_b = 344.9999999999999)  annotation(
    Placement(visible = true, transformation(origin = {48, 78}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  OpenIPSL.Electrical.Buses.Bus bus2(P_0 = 0, Q_0 = 0, V_b = 344.9999999999999, angle_0 = -0.7855019999999999)  annotation(
    Placement(visible = true, transformation(origin = {-57, 67}, extent = {{-23, -23}, {23, 23}}, rotation = 90)));
  OpenIPSL.Electrical.Buses.Bus bus3(P_0 = 0, Q_0 = 0, V_b = 138, angle_0 = -2.648033)  annotation(
    Placement(visible = true, transformation(origin = {-61, -9}, extent = {{-23, -23}, {23, 23}}, rotation = 90)));
  OpenIPSL.Electrical.Buses.Bus bus4(P_0 = 0, Q_0 = 0,V_b(displayUnit = "V") = 0.138, angle_0 = -1.023194, v_0 = 1)  annotation(
    Placement(visible = true, transformation(origin = {10, 34}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  OpenIPSL.Electrical.Buses.Bus bus5(P_0(displayUnit = "W") = 1.7e-05, Q_0(displayUnit = "var") = 3e-06, V_b(displayUnit = "V") = 0.06900000000000001, angle_0 = -4.473004, v_0 = 1)  annotation(
    Placement(visible = true, transformation(origin = {-60, -82}, extent = {{-18, -18}, {18, 18}}, rotation = 90)));
  OpenIPSL.Electrical.Machines.PSSE.GENROU genrou(D = 0, H = 4, M_b(displayUnit = "V.A") = 160, PSIppq(start = 2), P_0 = 147.2283, Q_0(displayUnit = "var") = 2.0815e-06, S10 = 0.03, S12 = 0.03, Tpd0 = 6.5, Tppd0 = 0.13, Tppq0 = 0.13, Tpq0 = 1.25, V_b(displayUnit = "V") = 0.345, Xd = 0.1, Xl = 0.2, Xpd = 1, Xpp = 0.185, Xppd = 0.02, Xppq = 0.02, Xpq = 0.12, Xq = 0.11)  annotation(
    Placement(visible = true, transformation(origin = {93, 77}, extent = {{15, -15}, {-15, 15}}, rotation = 0)));
  OpenIPSL.Electrical.Loads.PSAT.PQ pq(P_0 = 17000000, Q_0 = 3000000, V_b = 69000, angle_0 = -0.07806864725487644, forcePQ = true, v_0 = 1.002805)  annotation(
    Placement(visible = true, transformation(origin = {-13, -96}, extent = {{-8, -7}, {8, 7}}, rotation = 0)));
  inner OpenIPSL.Electrical.SystemBase sysData(S_b = 100000000, fn = 50)  annotation(
    Placement(visible = true, transformation(origin = {52, -22}, extent = {{-28, -28}, {28, 28}}, rotation = 0)));
equation
  connect(genrou.PMECH, genrou.PMECH0) annotation(
    Line(points = {{112, 86}, {126, 86}, {126, 96}, {70, 96}, {70, 84}, {76, 84}}, color = {0, 0, 127}));
  connect(genrou.EFD, genrou.EFD0) annotation(
    Line(points = {{112, 68}, {128, 68}, {128, 58}, {70, 58}, {70, 70}, {76, 70}}, color = {0, 0, 127}));
  connect(bus1.p, genrou.p) annotation(
    Line(points = {{48, 78}, {78, 78}}, color = {0, 0, 255}));
  connect(pwLine1.n, bus1.p) annotation(
    Line(points = {{13, 72}, {31.5, 72}, {31.5, 78}, {48, 78}}, color = {0, 0, 255}));
  connect(bus2.p, pwLine1.p) annotation(
    Line(points = {{-57, 67}, {-31, 67}, {-31, 72}, {-4, 72}}, color = {0, 0, 255}));
  connect(twoWindingTransformer1.n, bus3.p) annotation(
    Line(points = {{-69, 19.5}, {-80, 19.5}, {-80, -9}, {-61, -9}}, color = {0, 0, 255}));
  connect(twoWindingTransformer2.n, bus3.p) annotation(
    Line(points = {{-56, 20}, {-40, 20}, {-40, -9}, {-61, -9}}, color = {0, 0, 255}));
  connect(twoWindingTransformer2.p, bus2.p) annotation(
    Line(points = {{-56, 32}, {-56, 68}}, color = {0, 0, 255}));
  connect(twoWindingTransformer1.p, bus2.p) annotation(
    Line(points = {{-69, 30.5}, {-70, 30.5}, {-70, 68}, {-56, 68}}, color = {0, 0, 255}));
  connect(pwLine2.p, bus3.p) annotation(
    Line(points = {{-29, 34}, {-20, 34}, {-20, -9}, {-61, -9}}, color = {0, 0, 255}));
  connect(pwLine2.n, bus4.p) annotation(
    Line(points = {{-11, 34}, {10, 34}}, color = {0, 0, 255}));
  connect(twoWindingTransformer4.p, bus4.p) annotation(
    Line(points = {{35, 31}, {10, 31}, {10, 34}}, color = {0, 0, 255}));
  connect(twoWindingTransformer4.n, bus1.p) annotation(
    Line(points = {{51, 31}, {48, 31}, {48, 78}}, color = {0, 0, 255}));
  connect(twoWindingTransformer3.p, bus3.p) annotation(
    Line(points = {{-60, -35}, {-60, -8}}, color = {0, 0, 255}));
  connect(twoWindingTransformer3.n, bus5.p) annotation(
    Line(points = {{-60, -56}, {-60, -82}}, color = {0, 0, 255}));
  connect(pq.p, bus5.p) annotation(
    Line(points = {{-14, -88}, {-12, -88}, {-12, -82}, {-60, -82}}, color = {0, 0, 255}));

annotation(
    uses(OpenIPSL(version = "2.0.0-beta.1")));
end MiniUnifilar;

Oct-06-21 22:29:34
Having issues with versions of library

I'm having some error messages trying to simulate a model wich I need to test for some investigation, I had been searching about to trying to find what's could be the issue but I'm new using this OMedit software, The errors I'm getting are the following:
the model I'm trying to simulate  shows me this message when I try to simulate the model:

[1] 17:26:03 Scripting Warning
Model requested package OpenIPSL of version 1.5.0. OpenIPSL 2.0.0-beta.1 is used instead which states that it is only compatible with a conversion script. OpenModelica currently does not support conversion scripts and will proceed with potential issues as a result.

[2] 17:26:03 Translation Error
[ayaz_37_GENROU: 256:188-256:202]: Modified element V_0 not found in class GENROU.


I got this message when I simulate with IPSL 2.0.0 beta library
...
NOW, when I try to simulate using IPSL1.5.0 I got this error:
[3] 17:18:47 Syntax Error
[: 1:0-1:8]: No viable alternative near token: OpenIPSL1.5.0



If anyone could help me or has been happend for some similar issue I would thank the help cause I rlly need to solve this issues.

  • Index
  • » Users
  • » Gilbertt
  • » Profile
You are here: