nass-simscape/initialize/initializeRy.m

26 lines
749 B
Mathematica
Raw Normal View History

2018-06-16 22:57:54 +02:00
function [ry] = initializeRy()
%%
load('./mat/smiData.mat', 'smiData');
%%
ry = struct();
ry.m = smiData.Solid(26).mass+smiData.Solid(18).mass+smiData.Solid(10).mass;
ry.k.h = 357e6/4; % Stiffness in the direction of the guidance [N/m]
ry.k.rad = 555e6/4; % Stiffness in the top direction [N/m]
ry.k.rrad = 238e6/4; % Stiffness in the side direction [N/m]
ry.k.tilt = 1e4 ; % Rotation stiffness around y [N*m/deg]
ry.c.h = 10*(1/5)*sqrt(ry.k.h/ry.m);
ry.c.rad = 10*(1/5)*sqrt(ry.k.rad/ry.m);
ry.c.rrad = 10*(1/5)*sqrt(ry.k.rrad/ry.m);
ry.c.tilt = 10*(1/1)*sqrt(ry.k.tilt/ry.m);
2018-06-16 22:57:54 +02:00
%% Save if no output argument
if nargout == 0
save('./mat/ry.mat', 'ry');
end
end