フィルターのクリア

Simulink - Hysteresis model

36 ビュー (過去 30 日間)
babak dindar safa
babak dindar safa 2016 年 7 月 11 日
回答済み: Jose Sosa Lopez 2020 年 5 月 7 日
Hi guys, for one of my projects, i need to use bouc-wen hysteresis model. i decided to use matlab+simulink to get the data, so i came up with a code and a simulink model for that, but it seems something is wrong and i can't find where ...
need help with it.
any suggestion and help is appreciated. also attached the simulink model. this is the code i run from Matlab :
%Load Initial Data
ACC=load('El Centro_40.txt');
ag=9.8*ACC(:,1); %m/s^2 horizontal ground acceleration
dt=0.02; %s ground acceleration time step
T=length(ACC)*dt; %s ground acceleration duration
t=dt:dt:T; % time vector
N=length(ag); % time steps number
%Define Factors
alpha = 0.5;
betta = 0.5;
gamma = 0.1;
n = 1.1;
A = -2;
mass = 1000; %in g
Fy = 125; %in KN
Uy = 0.2; %in m
a = 0;
c = 0;
Id = 0;
Iv = 0;
stiffness = 0; %in KN
D = 1;
%Input Data for Simulink
ddx_in = [t',ag];
%Run Simulink
sim('Bouc_Wen');
%Output Data From Simulink
dz = dz_out';
x = x_out';
z = z_out';
exc = exc_out';
Ft = Ft_out';
dx = dx_out';
%Convert Timeseries Data to simple array
dzdata = dz.Data;
xdata = x.Data;
zdata = z.Data;
excdata = exc.Data;
Ftdata = Ft.Data;
  1 件のコメント
Omar
Omar 2017 年 5 月 23 日
can you attach the Simulink model?

サインインしてコメントする。

回答 (2 件)

José Manuel Soria Herrera
José Manuel Soria Herrera 2017 年 3 月 8 日
The simulink model is not attached...

Jose Sosa Lopez
Jose Sosa Lopez 2020 年 5 月 7 日
I have solved a Bouc wen model in the link you can go to the file and formula

カテゴリ

Help Center および File ExchangeNaming Conventions についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by