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

What is OpenModelica for?

What is OpenModelica for?

Hello All,

I've got simple openmodelica model (see bellow). Since OpenModelica is having trouble to run - it does not run actually. It comes to my mind "What OpenModelica is for?" "Is it really worthy to wotk with?". 

Best regards,
Peter

model ipfc
  Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(visible = true, transformation(origin = {-81.1099,21.0586}, extent = {{-3.15998,-3.15998},{3.15998,3.15998}}, rotation = 0)));
  Modelica.Electrical.Analog.Basic.Capacitor capacitor1(C = 0.01) annotation(Placement(visible = true, transformation(origin = {-28.6981,26.1005}, extent = {{-4.20593,4.20593},{4.20593,-4.20593}}, rotation = -90)));
  Modelica.Electrical.Analog.Basic.Resistor Rload(R = 5) annotation(Placement(visible = true, transformation(origin = {-3.39624,25.9358}, extent = {{-2.87271,2.87271},{2.87271,-2.87271}}, rotation = -90)));
  Modelica.Electrical.Analog.Ideal.IdealDiode D4(Ron = 0.001, Goff = 0.001, Vknee = 2) annotation(Placement(visible = true, transformation(origin = {-49.5239,21.4337}, extent = {{3.15998,-3.15998},{-3.15998,3.15998}}, rotation = -270)));
  Modelica.Electrical.Analog.Ideal.IdealDiode D2(Ron = 0.001, Goff = 0.001, Vknee = 2) annotation(Placement(visible = true, transformation(origin = {-61.4442,21.0026}, extent = {{2.8727,-2.8727},{-2.8727,2.8727}}, rotation = -270)));
  Modelica.Electrical.Analog.Ideal.IdealDiode D3(Ron = 0.001, Goff = 0.001, Vknee = 2) annotation(Placement(visible = true, transformation(origin = {-49.6713,41.6747}, extent = {{2.8727,-2.8727},{-2.8727,2.8727}}, rotation = -270)));
  Modelica.Electrical.Analog.Ideal.IdealDiode D1(Ron = 0.001, Goff = 0.001, Vknee = 2) annotation(Placement(visible = true, transformation(origin = {-59.7107,41.5987}, extent = {{3.15998,-3.15998},{-3.15998,3.15998}}, rotation = -270)));
  Modelica.Electrical.Analog.Sources.SineVoltage Source(V = 230, freqHz = 50) annotation(Placement(visible = true, transformation(origin = {-78.1847,31.9503}, extent = {{-3.47598,3.47598},{3.47598,-3.47598}}, rotation = -90)));
  Modelica.Electrical.Analog.Basic.Inductor Lsource(L = 1e-007) annotation(Placement(visible = true, transformation(origin = {-69.3965,38.4532}, extent = {{-2.61155,-2.61155},{2.61155,2.61155}}, rotation = 0)));
equation
  connect(Lsource.p,Source.p) annotation(Line(points = {{-72.0081,38.4532},{-78.1412,38.4532},{-78.1412,35.4263},{-78.1847,35.4263}}));
  connect(D1.p,Lsource.n) annotation(Line(points = {{-59.7107,38.4387},{-66.0348,38.4387},{-66.0348,38.4532},{-66.785,38.4532}}));
  connect(Source.p,D1.p) annotation(Line(points = {{-76.1967,33.7696},{-62.0269,33.7696},{-62.0269,38.1284},{-62.0382,38.1284}}));
  connect(D3.p,D4.n) annotation(Line(points = {{-49.6713,38.802},{-43.7874,38.802},{-43.7874,24.5937},{-49.5239,24.5937}}));
  connect(D1.p,D2.n) annotation(Line(points = {{-62.0382,38.1284},{-57.6232,38.1284},{-57.6232,23.8753},{-61.4442,23.8753}}));
  connect(ground.p,Source.n) annotation(Line(points = {{-81.1099,24.2186},{-81.1099,27.0428},{-76.1967,27.0428},{-76.1967,26.8176}}));
  connect(Source.n,D4.n) annotation(Line(points = {{-76.1967,26.8176},{-49.5261,26.8176},{-49.5261,24.5937},{-49.5239,24.5937}}));
  connect(capacitor1.p,Rload.p) annotation(Line(points = {{-28.6981,30.3064},{-3.38035,30.3064},{-3.38035,28.8085},{-3.39624,28.8085}}));
  connect(D4.p,capacitor1.n) annotation(Line(points = {{-49.5239,18.2737},{-28.6937,18.2737},{-28.6937,21.8945},{-28.6981,21.8945}}));
  connect(D2.p,D4.p) annotation(Line(points = {{-61.4442,18.1299},{-49.6833,18.1299},{-49.6833,18.2737},{-49.5239,18.2737}}));
  connect(D3.n,capacitor1.p) annotation(Line(points = {{-49.6713,44.5474},{-28.6151,44.5474},{-28.6151,30.3064},{-28.6981,30.3064}}));
  connect(D1.n,D3.n) annotation(Line(points = {{-62.0382,44.4484},{-49.6047,44.4484},{-49.6047,44.5474},{-49.6713,44.5474}}));
  connect(capacitor1.n,Rload.n) annotation(Line(points = {{-28.6981,21.8945},{-3.35281,21.8945},{-3.35281,22.9766},{-3.39624,22.9766},{-3.39624,23.0631}}));
end ipfc;

There are 0 guests and 0 other users also viewing this topic