Files
AIDASimulation/SimulationModels/OpenModelica 1.25/AIDAModelica/WindProfile_old.mo

21 lines
1.4 KiB
Plaintext

within AIDAModelica;
model WindProfile_old
Modelica.Blocks.Sources.Constant const(k = 2) annotation(
Placement(visible = true, transformation(origin = {-54, -30}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Blocks.Sources.Constant const1(k = 2) annotation(
Placement(transformation(origin = {0, -30}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Blocks.Interfaces.RealOutput Fx annotation(
Placement( transformation(origin = {-50, -110}, extent = {{-10, -10}, {10, 10}}, rotation = -90), iconTransformation(origin = {-70, -110}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Blocks.Interfaces.RealOutput Fy annotation(
Placement(transformation(origin = {0, -110}, extent = {{-10, -10}, {10, 10}}, rotation = -90), iconTransformation(origin = {0, -110}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
equation
connect(const.y, Fx) annotation(
Line(points = {{-54, -41}, {-54, -75.5}, {-50, -75.5}, {-50, -110}}, color = {0, 0, 127}));
connect(const1.y, Fy) annotation(
Line(points = {{0, -41}, {0, -110}}, color = {0, 0, 127}));
annotation(
Icon(graphics = {Rectangle(extent = {{-100, 100}, {100, -100}}), Text(origin = {-23, 18}, extent = {{57, -26}, {-11, 4}}, textString = "WindProfile")}),
experiment(StartTime = 0, StopTime = 250, Tolerance = 1e-06, Interval = 0.01));
end WindProfile_old;