- Index
- » Developer
- » OpenModelica development
- » OMEdit doesn't plot csv result
OMEdit doesn't plot csv result
OMEdit doesn't plot csv result
Since the previous update (2 or 3 days ago) OMEdit doesn't plot the csv results of any model.
I've updated OMEdit today too but the problem still remains.
The error is: "Failed to open simulation result file"
With .mat results there are not problems.
I'm working with Ubuntu 13.10.
Regards
Davide
Re: OMEdit doesn't plot csv result
Can you provide a sample model or the csv file?
Adeel.
- adeas
- 454 Posts
Re: OMEdit doesn't plot csv result
This is a sample model: 2 resistors and a voltage source.
Code:
model prova2
Modelica.Electrical.Analog.Sources.ConstantVoltage constantvoltage1 annotation(Placement(visible = true, transformation(origin = {-40, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(visible = true, transformation(origin = {-40, -40}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Resistor resistor1(R = 1000) annotation(Placement(visible = true, transformation(origin = {-20, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Resistor resistor2(R = 1000) annotation(Placement(visible = true, transformation(origin = {20, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(resistor2.n, ground1.p) annotation(Line(points = {{30, 40}, {41.6422, 40}, {41.6422, -28.739}, {-40.4692, -28.739}, {-40.4692, -28.739}}));
connect(resistor1.n, resistor2.p) annotation(Line(points = {{-10, 40}, {9.97067, 40}, {9.97067, 40.4692}, {9.97067, 40.4692}}));
connect(constantvoltage1.p, resistor1.p) annotation(Line(points = {{-50, 0}, {-69.20820000000001, 0}, {-69.20820000000001, 39.2962}, {-29.912, 39.2962}, {-29.912, 39.2962}}));
connect(constantvoltage1.n, ground1.p) annotation(Line(points = {{-30, 0}, {-20.5279, 0}, {-20.5279, -18.1818}, {-39.8827, -18.1818}, {-39.8827, -29.3255}, {-39.8827, -29.3255}}));
annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {0.1, 0.1})), Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-06, Interval = 0.002));
end prova2;
at this url you can find the sample cvs file: https://app.box.com/s/hxcms5u7uig8s2g3wtjz
Re: OMEdit doesn't plot csv result
As a work around don't use the swedish locale for now.
Add a bug report about this issue here https://trac.openmodelica.org/OpenModelica/newticket
Adeel.
- adeas
- 454 Posts
Re: OMEdit doesn't plot csv result
Hello guys,
I have a question regarding the output file of my model in OMEdit. when I get the output file in .MAT form, I can see the voltage of all the pins in my model but when I get the output file in .CSV form the voltage of some pins disappears.
Do you have any idea why this happens?
I would be extremely thankful for your help.
Best,
Pouya
- Index
- » Developer
- » OpenModelica development
- » OMEdit doesn't plot csv result