Migration to OpenModelica 1.25 and FMUs Generation

This commit is contained in:
2026-05-26 09:37:35 +02:00
parent fdf293ece6
commit fe90b840ed
370 changed files with 968105 additions and 743 deletions

View File

@@ -0,0 +1,15 @@
within AIDAModelica;
model WSSModel "Steady-steta speed model"
Modelica.Blocks.Interfaces.RealInput CmdKIn "K-th command input" annotation(
Placement(transformation(origin = {-120, 0}, extent = {{-20, -20}, {20, 20}}), iconTransformation(extent = {{-95, -20}, {-55, 20}})));
Modelica.Blocks.Interfaces.RealOutput WSSOut(quantity = "Mechanics.Rotation.RotVelocity", displayUnit = "rpm") "Steady-state velocity output" annotation(
Placement(transformation(origin = {110, 0}, extent = {{-10, -10}, {10, 10}}), iconTransformation(extent = {{65, -10}, {85, 10}})));
parameter Real cR(quantity = "Mechanics.Rotation.RotVelocity", displayUnit = "rpm") = 626.51735092990043 "parameter cR";
parameter Real wb(quantity = "Mechanics.Rotation.RotVelocity", displayUnit = "rpm") = 222.30956814352572 "parameter wb";
equation
// enter your equations here
WSSOut = cR * CmdKIn + wb;
annotation(
Icon(coordinateSystem(extent = {{-75, -100}, {75, 100}}, initialScale = 0.1), graphics = {Rectangle(fillColor = {255, 255, 255}, fillPattern = FillPattern.Solid, extent = {{-73.3, 50}, {73.3, -50}}), Text(origin = {-6, 2}, extent = {{-16, 6}, {30, -10}}, textString = "%name")}));
end WSSModel;