Opened 12 years ago
Closed 12 years ago
#1992 closed defect (fixed)
Problem with plt
Reported by: | Owned by: | Willi Braun | |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | Willi Braun, Jens Frenkel |
Description
Hi,
When I use OMEdit to compile the following model:
- if the output format is mat, the curve of variable e13 is still a straight line. That is correct because e13 = Se (parameter)
- if the output format is plt, the curve changed. It is not straight. I hope you will fix it soon.
model modele11b_plat
----- PARAMETERS OF NODES -----
parameter Real GY=0.031,TF=0.05,R1=8,Jm=0.0000018,Jc=0.0002,R=0.0001,L=0.001,Se=20;
----- INITIAL CONDITIONS OF NODES -----
Real Int48,p29,p38,p55;
----- VARIABLES -----
Real e10,f10,e2,f2,e3,f3,e4,f4,e5,f5,e6,f6,e7,f7,e8,f8,e9,f9,signal10,signal11,e1,f1,e13,f13;
----- WRITE EQUATIONS -----
equation
e7-e8-e9-e10 = 0;
e2 = R1 * f2;
f2 = f3;
e3 = GY * f4;
f3 = f1;
f4 = f5;
e4 = GY * f3;
e5 = der(p29);
p29 = Jm * f5;
f5 = f6;
e6 = TF * e7;
e4-e5-e6 = 0;
f7 = f8;
f7 = TF * f6;
e8 = der(p38);
p38 = Jc * f8;
f8 = f9;
e9 = 0;
f9 = f10;
signal10 = der(Int48);
signal10 = f9;
signal11 = Int48;
e10 = R * f10;
e1 = der(p55);
p55 = L * f1;
f1 = f13;
-e2-e3-e1+e13 = 0;
e13 = Se;
end modele11b_plat;
Change History (6)
comment:1 by , 12 years ago
Component: | Backend → OMEdit |
---|---|
Owner: | changed from | to
comment:2 by , 12 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 12 years ago
Component: | OMEdit → Backend |
---|
comment:4 by , 12 years ago
Status: | assigned → accepted |
---|
comment:5 by , 12 years ago
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
fixed in 14492.
The model has calculated correct, but the where for alias variables some output arrays mixed up.