Opened 18 years ago
Last modified 18 years ago
#86 closed defect (fixed)
OpenModelica simulate
Reported by: | Y.Tian | Owned by: | Y.Tian |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Y.Tian, Adrian Pop |
Description
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
The following model works to simulate:
model Model1
annotation(Icon(coordinateSystem(extent={{-100,-100},{100,100}}),graphics={Text(visible=true,
fillPattern=FillPattern.Solid, extent={{-100,-150},{100,-110}},
textString="%name")}),Diagram(coordinateSystem(extent={{-148.5,-105},{148.5,105}})));
Modelica.Blocks.Math.Product product1
annotation(Placement(visible=true,transformation(x=-57.8776,y=10.2526,scale=0.075)));
Modelica.Blocks.Sources.Clock clock1
annotation(Placement(visible=true,transformation(x=-112.117,y=16.5365,scale=0.075)));
Modelica.Blocks.Sources.Sine sine1
annotation(Placement(visible=true,transformation(x=-111.456,y=-16.2057,scale=0.075)));
equation
connect(sine1.y,product1.u2)
annotation(Line(visible=true,points={{-104.18,-14.8828},{-67.138,5.95313}}));
connect(clock1.y,product1.u1)
annotation(Line(visible=true,points={{-104.18,16.5365},{-67.138,14.8828}}));
end Model1;
So I guess the bug is fixed. If you still have problems, submitt your complete
Modelica model and reopen the bug.
record
Base class BlockIcon not found in scope Modelica.Blocks.Math.Product.SI2SO
"
end record
In my Model AxisTypeXY I use Modelica.Blocks.Math.Product
Don't know how to solve this, should I use another Math block instead of
Product.
Thanks