Jump to content

Hans Dorn

Members
  • Posts

    153
  • Joined

  • Last visited

Everything posted by Hans Dorn

  1. Since I did the complete terminal velocity calculation in the above post, guess I'm excused in the future I'm getting at the exact same result. cheers
  2. Hi SBal, you can get the current terminal velocity from ship:termvelocity I found out after I did the complete math in a script, LOL: set e to 2.7182818284590452353602874713527. // Launch set t to 1. lock throttle to t. sas on. clearscreen. stage. until ship:liquidfuel < 0.01 { set f to -1 * altitude / 5000. set pbaro to body:atm:sealevelpressure * ( e ^ f). // if pbaro < 0.001 { set pbaro to 0.001. }. print "pbaro: " + pbaro at (0,0). set rho to 1.2230948554874 * pbaro. print "rho: " + rho at (0,1). set r to altitude + body:radius. set grav to body:mu. set grav to grav / ( r * r). print "grav: " + grav at (0,2). set vesc to 250 * grav. set vesc to vesc / rho. set vesc to vesc / 0.2. set vesc to vesc ^ 0.5. print "vesc: " + vesc at (0,3). [COLOR="#FF0000"]print "vt: " + ship:termvelocity at (0,4).[/COLOR] set v to verticalspeed. set dv to (vesc - v) / 10. set t to dv. if (t > 1) { set t to 1. }. if (t < 0) { set t to 0. }. print "t: " + t at (0,5). }. Cheers Hans P.S: Awesome job with the kOS mod, guys. I like it very much.
  3. Nope. Curiously, the sun is lacking an atmosphere. Cheers Hans
×
×
  • Create New...