Name | Description |
---|---|
BasicAirResistance | |
Interfaces |
Name | Default | Description |
---|---|---|
c_w_x | 0.32 | |
a_x | 1.2 | |
c_w_y | 0.52 | |
a_y | 2.2 |
model BasicAirResistance extends Interfaces.AerodynamicsBase; parameter Real c_w_x=0.32; parameter Real a_x=1.2; parameter Real c_w_y=0.52; parameter Real a_y=2.2; SI.Velocity v_tot[3]; SI.Velocity v_x; SI.Velocity v_y; SI.Velocity v_wind[3]; SI.Density rho; outer block Weather = Environments.Interfaces.WeatherInterface; Weather weather; equation weather.v_wind = v_wind; weather.rho = rho; weather.r = r0a; v_tot = va - transpose(Sa)*v_wind; v_x = v_tot[1]; v_y = v_tot[2]; fa = {c_w_x*rho*a_x*v_x*v_x,0,0}; ta = zeros(3); //to be extended later end BasicAirResistance;
outer block Weather = Environments.Interfaces.WeatherInterface;