Opened 20 years ago
Last modified 18 years ago
#26 closed defect (fixed)
unstable simulation result
Reported by: | jonas.elbornsson | Owned by: | jonas.elbornsson |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | jonas.elbornsson, Adrian Pop |
Description
Change History (3)
comment:1 by , 20 years ago
comment:2 by , 19 years ago
This is due to some bug in a linear equation system for algebraic variables.
The two states of the model are correct.
Note:
See TracTickets
for help on using tickets.
model test ""
annotation(Placement(visible=true,transformation(x=-
60.8978,y=9.34493,scale=0.1,rotation=270)));
(visible=true,transformation(x=-46.4412,y=37.1671,scale=0.1)));
(visible=true,transformation(x=-55.7152,y=-28.0241,scale=0.1)));
(visible=true,transformation(x=-8.7994,y=36.3488,scale=0.1)));
(visible=true,transformation(x=-26.5292,y=63.6254,scale=0.1)));
(visible=true,transformation(x=-27.3475,y=18.8918,scale=0.1)));
(visible=true,transformation(x=-21.6194,y=-18.4772,scale=0.1)));
equation
11.8,-18.2},{-17.53,19.16}}));
{{-31.71,-18.2},{-61.44,-0.75}}));
{{1.02,36.62},{-11.8,-18.2}}));
{{-37.44,19.16},{-60.63,19.16}}));
16.71,63.63},{1.02,36.35}}));
56.26,37.17},{-36.62,63.63}}));
36.08,36.62},{-18.89,36.62}}));
61.17,-0.75},{-55.99,-17.93}}));
{{-61.17,19.44},{-56.26,37.44}}));
end test;
Simulation of this electrical circuit model gives exponentially growing
voltages (1028 after 1 second of simulation), where the true voltage should
be around the magnitude 1.