High altitude balloon prediction: Second order Differential Equations

조회 수: 3 (최근 30일)
Kellie Matthews
Kellie Matthews 2017년 7월 31일
댓글: John D'Errico 2017년 7월 31일
I'm trying to predict and model the trajectory (ascent, float and descent) of a high altitude balloon that does not burst. Should I use ode45? And how do I implement it with the variables that update. I have a second order differential equation that only has z" and z', along with other parameters of the balloon.
For atmospheric properties I have if statements depending on altitude.
I have intial values for altitude, velocity, volume, pressure, temp, density, and weight of gas.
RhoA is the density and is dependent upon altitude and needs to be updated every timestep.
Volume is updated: vol = vol + dVol
dVol depends on weight of the gas which depends on pressure/temp which depends on altitude.
Change in altitude will be: dz = z-old_z
After a certain amount of time I want to start decreasing the volume to start the descent of the balloon. The end goal is to graph altitude versus time and have the changing variables update every timestep for the differential equation.
  댓글 수: 1
John D'Errico
John D'Errico 2017년 7월 31일
Yes. Start with ODE45. Why not try it? Read the help and examples for ODE45.
RhoA is a simple function that depends upon z, the altitude. The same applies for any other parameters. So WTP?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by