Migration to OpenModelica 1.25 and FMUs Generation
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
within AIDAModelica;
|
||||
|
||||
model WindProfile
|
||||
Modelica.Blocks.Sources.Constant const(k = 0) annotation(
|
||||
Placement(visible = true, transformation(origin = {-54, -30}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
||||
Modelica.Blocks.Sources.Constant const1(k = 0) annotation(
|
||||
Placement(visible = true, transformation(origin = {50, -30}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
||||
Modelica.Blocks.Interfaces.RealOutput Fx annotation(
|
||||
Placement(visible = true, transformation(origin = {-50, -110}, extent = {{-10, -10}, {10, 10}}, rotation = -90), iconTransformation(origin = {-50, -110}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
|
||||
Modelica.Blocks.Interfaces.RealOutput Fy annotation(
|
||||
Placement(visible = true, transformation(origin = {50, -110}, extent = {{-10, -10}, {10, 10}}, rotation = -90), iconTransformation(origin = {50, -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 = {{50, -41}, {50, -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")}));end WindProfile;
|
||||
Reference in New Issue
Block a user