Contributor Post Created with Sketch. Virtual Experience: Kerbal Space Program

 
orbital_mechanics
Image Credit: XKCD

Some years back, the webcomic at the right caught my attention: If Randall Munroe — creator of XKCD and the author of What If? — found the video game Kerbal Space Program (KSP) that informative, imagine what an idiot like me might learn. An absurd amount, as it turns out.

KSP is a flight and rocket simulator that allows players to design and fly vehicles not only on the fictional planet of Kerbin, but throughout its pint-sized and complicated solar system. Though there are pre-built scenarios players can select (e.g., diverting an asteroid on a collision course with your home world), the primary mode of play is an open “sandbox” style, where players have no set objectives, though there are set incentives. Want to explore Kerbin via jet? Go do that. Want to dock with another craft and build a space station? Have fun. How about flying to one of Kerbin’s diminutive moons? Easily done (though landing and getting back are harder). How about set up a mining/refueling base on one of the other planets orbiting Kerbol? I haven’t figured that one out yet, but I’m assured it’s possible.

Screen Shot 2016-05-29 at 11.18.57 AM
From a successful round-trip voyage to Minmus.

Though the built-in tutorials leave much to be desired — there are too few of them and they’re a little buggy — the educational value of this game is truly extraordinary: Not since the Europa Universalis games have I learned so much through play (“Oh, so that’s where ‘Old’ Zeeland is! Who knew?”). Moving around in space is very alien to moving around terrestrially, something I knew before, but which I had no feel for until playing KSP. To take one fairly minor example, it’s actually much easier to get into orbit and land on Minmus, Kerbin’s smaller moon, than on the much larger Mun, despite the latter being nearly three times closer. Why so? Because, in space, gravity matters more than the distance between two objects — especially if you’re not in a hurry — and because it’s far easier to land and return from a small object than a much larger one. If this doesn’t make intuitive sense — which you shouldn’t take personally, as this is phenomenally weird — this (superb) illustration from Munroe is a good introduction to the subject.

1UWkfIo
Moving around in space is weird.

But besides the physics instruction, the game is a wonderful lesson in problem-solving and care. Though there are pre-built rockets available, most modes of the game require players to design their own. Despite the insanely simplified design (all the internal components and wiring work flawlessly and without any player input), this is still massively complicated and it’s not uncommon for designs to fail on their first launch (or, if you’re me, on their second launch as well … maybe the third, too). Did you include enough lifting power? How about stability control? Was a piece — and, therefore, the vehicle’s mass — off-center? Forget stability fins? Didn’t bring enough fuel? Too much mass? Did you mess-up your staging? You can usually figure it out by tinkering, but it also sometimes helps to look at some math formulas and grab a calculator (or so I hear).

Oftentimes, the results of these mistakes are catastrophic and the ship explodes, killing your cute little kerbinauts in fiery explosions. Other times, your errors are subtle and not immediately apparent. In one rather hilariously tragic episode, three of my kerbins were stranded on the Mun with insufficient fuel to return. No matter, I thought: I’ll design a rescue ship with an extra fuel tank and have them back in no time. After a half-dozen failed attempts to land the rescuer — getting to and landing on the Mun is hard, but landing in a specific spot on the Mun is much harder — I finally got the lander down with enough fuel to get home. Excitedly, I flew my kerbinauts to the rescue ship (using-up their limited jet-pack fuel) only to discover that I’d made a tiny little screw-up: When I added the extra fuel tank, I’d forgotten to slap a ladder onto it. Thanks to my poor planning, carelessness, and impatience, my poor little Kerbins couldn’t jump high enough to reach the crew compartment and were stuck on the Mun for all eternity. Who’d have thought a video game could teach attention to detail, patience, and delayed gratification?

Being slightly closer to 40 years of age than to 30, it’s a safe bet that I’ll never be an astronaut (though, if enough of you join this community, I might be able to afford a little space tourism; just sayin’). After all the hours I’ve spent on this game, I might be able to say with a straight face that I know the first thing about it, though actual engineers are still welcome to put me in my place. It’s not the same as real experience, but the learning is real, as is the fun.

KSP is available for purchase and download from several sources, including its own website. The system requirements are steep, so a reasonably new and powerful computer are a must (an i7 processor and 16GB of RAM work well). The game’s wiki is an invaluable resource for specs and tutorials and there are several YouTube channels devoted to tutorials, explanations, and demonstrations of what can be done in the game.)

There are 66 comments.

Become a member to join the conversation. Or sign in if you're already a member.
  1. Done Contributor

    I’ve put off buying this but you’ve all convinced me.

    • #31
    • June 3, 2016, at 2:25 PM PDT
    • Like
  2. Tom Meyer, Common Citizen Contributor

    Post here when you have questions (notice I did not say “if”).

    • #32
    • June 3, 2016, at 2:35 PM PDT
    • Like
  3. Joe P Member

    John Walker:

    Tom Meyer, Ed.:

    Misthiocracy:

    How about deploying the parachute while still in orbit, and praying that it doesn’t rip off when you hit the atmosphere?

    The Return from the Mun tutorial has (had?) a glitch where the parachute fully deploys at 500m, rather than 1000. It took me over a week of slamming into the mountains and wondering what I was doing wrong before I figured it out.

    They’ve changed the behaviour of re-entry and parachutes substantially over recent releases (and I haven’t looked at 1.1 enough to know what’s changed there).

    I’ve played 1.1 a little. It feels about the same as 1.0.5, exceptthe distribution of heat across parts feels a tiny bit trickier. I’m not sure if that’s because I’m rusty or if it’s because there’s been an actual change, but the effect seems to be that it’s very important to keep your heat shield facing the right way, and any part connected to it directly should have a higher tolerance.

    • #33
    • June 3, 2016, at 2:36 PM PDT
    • Like
  4. Done Contributor

    Early attempts at building a space plane could be reasonably described as catastrophic.

    • #34
    • June 3, 2016, at 7:25 PM PDT
    • Like
  5. Joe P Member

    Frank Soto:Early attempts at building a space plane could be reasonably described as catastrophic.

    Planes are pretty hard until you have good parts unlocked, and space planes are harder still. The main trick though, is to design the plane such that the center of lift just behind the center of gravity.

    • #35
    • June 3, 2016, at 8:14 PM PDT
    • Like
  6. Sabrdance Member

    John Walker:

    Tom Meyer, Ed.:

    Misthiocracy:

    You used to be able to open parachutes at any time, even in orbit, and they’d work all the way to the ground. Now if you open main parachutes at an airspeed above 250 m/sec on Kerbin, they’re destroyed by aerodynamic forces, and they can burn up if exposed during re-entry. With some missions you need drogue chutes to slow down to a safe speed to open the mains.

    I just did my first shipment of ore from the Mun to Kerbin. The rocket I was using I had used many times without trouble. This time, I replaced one of the fuel tanks with an ore tank. Normally on re-entry, that tank would be empty. This time, it was full (ore, obviously). Now, I was re-entering somewhat faster than usual, but not that much faster. Alas, the pod was so massive it fell through the atmosphere so fast that, while it would survive re-entry if the heat shield was pointed down, it wouldn’t decelerate enough to blow the chutes before plowing into the ground at 300m/s. I accidentally found a solution. My batteries went out after re-entry, and the rocket spun around -the broader cross section slowed it down enough that I was able to blow the chutes with 600 meters to spare.

    That’s a far better aerodynamic model than they used to have. Now, if they’d fix the flightstick support…

    • #36
    • June 3, 2016, at 9:25 PM PDT
    • Like
  7. Tom Meyer, Common Citizen Contributor

    Joe P:

    Frank Soto:Early attempts at building a space plane could be reasonably described as catastrophic.

    Planes are pretty hard until you have good parts unlocked, and space planes are harder still. The main trick though, is to design the plane such that the center of lift just behind the center of gravity.

    Seconding Joe, build a damn rocket first.

    • #37
    • June 3, 2016, at 9:59 PM PDT
    • Like
  8. Done Contributor

    Tom Meyer, Ed.:

    Joe P:

    Frank Soto:Early attempts at building a space plane could be reasonably described as catastrophic.

    Planes are pretty hard until you have good parts unlocked, and space planes are harder still. The main trick though, is to design the plane such that the center of lift just behind the center of gravity.

    Seconding Joe, build a damn rocket first.

    F both of you.

    • #38
    • June 4, 2016, at 12:04 AM PDT
    • Like
  9. Mark Wilson Member
    Mark WilsonJoined in the first year of Ricochet Ricochet Charter Member

    Really cool, Tom. KSP is a game I have heard a lot about but am afraid to buy for fear that it would consume all my free time.

    • #39
    • June 4, 2016, at 2:43 AM PDT
    • Like
  10. Mark Wilson Member
    Mark WilsonJoined in the first year of Ricochet Ricochet Charter Member

    Tom Meyer, Ed.:

    John Walker:

    Sure. And who hasn’t failed to carefully review the staging set-up and have the parachutes pop out at the moment of launch? Embarrassing.

    But then, the odds are, if it’s happened to you, it’s happened to NASA:

    This makes me feel better about myself.

    I just listened to the Space Rocket History podcast episode covering MR-1 the other day. It contains a fascinating explanation (starting at 8:54) of the sequence of events leading to what you see in the video. I recommend listening to the podcast, but I will also summarize in the next comment.

    • #40
    • June 4, 2016, at 3:02 AM PDT
    • Like
  11. Mark Wilson Member
    Mark WilsonJoined in the first year of Ricochet Ricochet Charter Member

    The main engine ignited but immediately shut down, lifting the vehicle about 4 inches and letting it set back down on the pad, slightly denting it. The cause of the early shutdown was a pair of umbilical cables that separated 29 milliseconds out of sequence, which resulted in a momentary loss of electrical grounding and caused a stray 3 amps to flow through the main engine shutdown relay. That was the only malfunction. The rest of the events that followed involved a series of systems performing exactly as designed, but under unexpected conditions.

    Engine shutdown is the end of powered flights, so the capsule escape rocket jettisoned itself because it was no longer needed. The next scheduled event was capsule separation, which is activated when the capsule detects near-zero g’s acceleration indicating engine cutoff and freefall through space. However, the vehicle was sitting on the launch pad at 1 g, which the separation system interpreted as a continuation of powered flight. It never reached 0 g so it disabled capsule separation.

    Escape tower jettison also armed the reentry parachute system. The parachute system was designed to detect when the altitude fell below 10,000 ft to deploy the parachutes. The launch pad was near sea level so it deployed the drogue parachute immediately followed by the main chute in a timed sequence. The system determined the main chute had not opened properly because there was no load on the cords, so it deployed the backup parachute.

    • #41
    • June 4, 2016, at 3:18 AM PDT
    • Like
  12. Mark Wilson Member
    Mark WilsonJoined in the first year of Ricochet Ricochet Charter Member

    As the Space Rocket History podcaster Michael Annis put it:

    Meanwhile, a fully-fueled, slightly dented Redstone booster and its Mercury capsule set on the launch pad, both with full batteries and live pyrotechnics. Among these pyrotechnics were the the capsule’s retrorockets and the Redstone’s self-destruct system, which was still active. Furthermore, the capsule’s main and reserve parachute were hanging down the side of the rocket threatening to tip it over if they caught enough wind. Fortunately the weather conditions were favorable, but technicians had to wait until the next morning when the flight batteries in the rocket and the capsule had run down and the Redstone’s liquid oxygen had boiled off before they could work on the rocket and render it safe.

    • #42
    • June 4, 2016, at 3:28 AM PDT
    • Like
  13. GLDIII Temporarily Essential Reagan
    GLDIII Temporarily EssentialJoined in the first year of Ricochet Ricochet Charter Member

    I thought by coming to Ricochet I could escape the daily banter of the office…..sigh,

    Welcome to my nerdom.

    • #43
    • June 4, 2016, at 5:50 AM PDT
    • Like
  14. John Walker Contributor

    Mark Wilson:As the Space Rocket History podcaster Michael Annis put it:

    … Fortunately the weather conditions were favorable, but technicians had to wait until the next morning when the flight batteries in the rocket and the capsule had run down and the Redstone’s liquid oxygen had boiled off before they could work on the rocket and render it safe.

    After the cutoff, somebody in the blockhouse suggested shooting holes in the propellant tanks with a rifle to allow the fuel and oxidiser to drain out. Flight director Chris Kraft vetoed this idea and opted to wait for the liquid oxygen to boil off, proclaiming, “That is the first rule of flight control. If you don’t know what to do, don’t do anything.”

    If this had been a manned flight, the astronaut would have been bolted into a spacecraft sitting atop the fully-fueled and powered up booster with the escape tower gone. In later manned flights, there was a “cherry picker” available which could be positioned adjacent to the capsule to allow rescuing the astronaut in a similar circumstance. But until the introduction of the explosive hatch in Mercury-Redstone 4, a technician would have to go up in the cherry picker to unbolt the hatch. It was also possible for the astronaut to escape through the top of the capsule, but this would have been precarious atop a booster.

    • #44
    • June 4, 2016, at 7:23 AM PDT
    • Like
  15. Joe P Member

    GLDIII:I thought by coming to Ricochet I could escape the daily banter of the office…..sigh,

    Welcome to my nerdom.

    You must have a pretty cool office.

    • #45
    • June 4, 2016, at 2:16 PM PDT
    • Like
  16. Mark Wilson Member
    Mark WilsonJoined in the first year of Ricochet Ricochet Charter Member

    Joe P:

    GLDIII:I thought by coming to Ricochet I could escape the daily banter of the office…..sigh,

    Welcome to my nerdom.

    You must have a pretty cool office.

    Interesting that I work at a large aerospace company that makes rockets and satellites and I don’t have first hand knowledge of a single employee who plays KSP.

    • #46
    • June 4, 2016, at 2:48 PM PDT
    • Like
  17. GLDIII Temporarily Essential Reagan
    GLDIII Temporarily EssentialJoined in the first year of Ricochet Ricochet Charter Member

    Joe P:

    GLDIII:I thought by coming to Ricochet I could escape the daily banter of the office…..sigh,

    Welcome to my nerdom.

    You must have a pretty cool office.

    Yup.

    nerds

    I tend to forget how unique in the arc of history the stuff I get to do on a daily basis is from what has come before. But then whenever I discuss with (normal) folks what I do, like at a party at my wife’s office (i.e. Accountants/Clerks), and get to watch their eyes roll into the back of their sockets.

    My stuff is at the pointy end of the rocket, I rarely mesh in the design details of the flight dynamics crew. They just give me the bottom line for the orbits/trajectories so I can model the environments that the observatories are going to experience for energy impinging the external surfaces.

    • #47
    • June 4, 2016, at 6:23 PM PDT
    • Like
  18. Mark Wilson Member
    Mark WilsonJoined in the first year of Ricochet Ricochet Charter Member

    GLDIII: My stuff is at the pointy end of the rocket, I rarely mesh in the design details of the flight dynamics crew. They just give me the bottom line for the orbits/trajectories so I can model the environments that the observatories are going to experience for energy impinging the external surfaces.

    Aerothermal analysis? What do you mean by observatories?

    • #48
    • June 4, 2016, at 11:29 PM PDT
    • Like
  19. GLDIII Temporarily Essential Reagan
    GLDIII Temporarily EssentialJoined in the first year of Ricochet Ricochet Charter Member

    Mark Wilson:

    GLDIII: My stuff is at the pointy end of the rocket, I rarely mesh in the design details of the flight dynamics crew. They just give me the bottom line for the orbits/trajectories so I can model the environments that the observatories are going to experience for energy impinging the external surfaces.

    Aerothermal analysis? What do you mean by observatories?

    Thermal analysis of the spacecraft and instruments (i.e. the payload, the point of the mission). So no aero heating since other than contained fluid systems (i.e. Heat Pipes, single phase pumped) there is no convection in space. It is all a balance of radiation out vs the heating flux from the sun, or a planet’s albedo and IR radiation in. All smoothed over by conducting heat dissipation via preferential paths so everything operates in acceptable temperature limits (or gradients), or cooled to very low temperatures for increased sensitivity to photons for remote sensing measurement. Easy to explain in a sentence, time consuming in the evaluation to make all of the requirements mesh.

    • #49
    • June 5, 2016, at 6:29 AM PDT
    • Like
  20. Done Contributor

    Managed to get my space plane into orbit. Had enough fuel to get back to the planet at a time of my choosing, but the engines wouldn’t start for unknown reasons. Looked around online and couldn’t find an answers. As I said, I had enough fuel.

    Had to wait for the orbit to decay and when I dropped low enough that my jet engines should have started working again, they too wouldn’t start. Wondering if time in space freezes the engines or something.

    Everyone was killed upon crash landing.

    • #50
    • June 5, 2016, at 11:59 AM PDT
    • Like
  21. GLDIII Temporarily Essential Reagan
    GLDIII Temporarily EssentialJoined in the first year of Ricochet Ricochet Charter Member

    Frank Soto:Managed to get my space plane into orbit. Had enough fuel to get back to the planet at a time of my choosing, but the engines wouldn’t start for unknown reasons. Looked around online and couldn’t find an answers. As I said, I had enough fuel.

    Had tyo wait for the orbit to decay and when I dropped low enough that my jet engines should have started working again, they to wouldn’t start. Wondering if time in space freezes the engines or something.

    Everyone was killed upon crash landing.

    Why yes, yes it does. How does he know that….. See Comment #49

    • #51
    • June 5, 2016, at 12:06 PM PDT
    • Like
  22. John Walker Contributor

    Frank Soto:Managed to get my space plane into orbit. Had enough fuel to get back to the planet at a time of my choosing, but the engines wouldn’t start for unknown reasons. Looked around online and couldn’t find an answers. As I said, I had enough fuel.

    Had to wait for the orbit to decay and when I dropped low enough that my jet engines should have started working again, they too wouldn’t start. Wondering if time in space freezes the engines or something.

    Everyone was killed upon crash landing.

    When that happens to me, it’s usually that I’ve run out of electrical power. Unless you’ve added lots of batteries or have solar panels, you can quickly run out of the limited power capacity of the crew pods. Some of the engines generate electrical power when running and some don’t; you have to look at the specifications when you’re building to see. You can check electrical power in the consumables drop-down at the top right when flying. When you run out of power, almost nothing works.

    • #52
    • June 5, 2016, at 12:08 PM PDT
    • Like
  23. Done Contributor

    John Walker:

    Frank Soto:Managed to get my space plane into orbit. Had enough fuel to get back to the planet at a time of my choosing, but the engines wouldn’t start for unknown reasons. Looked around online and couldn’t find an answers. As I said, I had enough fuel.

    Had to wait for the orbit to decay and when I dropped low enough that my jet engines should have started working again, they too wouldn’t start. Wondering if time in space freezes the engines or something.

    Everyone was killed upon crash landing.

    When that happens to me, it’s usually that I’ve run out of electrical power. Unless you’ve added lots of batteries or have solar panels, you can quickly run out of the limited power capacity of the crew pods. Some of the engines generate electrical power when running and some don’t; you have to look at the specifications when you’re building to see. You can check electrical power in the consumables drop-down at the top right when flying. When you run out of power, almost nothing works.

    That’s probably it. I did not check that. Thanks.

    • #53
    • June 5, 2016, at 12:09 PM PDT
    • Like
  24. GLDIII Temporarily Essential Reagan
    GLDIII Temporarily EssentialJoined in the first year of Ricochet Ricochet Charter Member

    Frank Soto:

    John Walker:

    Frank Soto:Managed to get my space plane into orbit. Had enough fuel to get back to the planet at a time of my choosing, but the engines wouldn’t start for unknown reasons. Looked around online and couldn’t find an answers. As I said, I had enough fuel.

    Had to wait for the orbit to decay and when I dropped low enough that my jet engines should have started working again, they too wouldn’t start. Wondering if time in space freezes the engines or something.

    Everyone was killed upon crash landing.

    When that happens to me, it’s usually that I’ve run out of electrical power. Unless you’ve added lots of batteries or have solar panels, you can quickly run out of the limited power capacity of the crew pods. Some of the engines generate electrical power when running and some don’t; you have to look at the specifications when you’re building to see. You can check electrical power in the consumables drop-down at the top right when flying. When you run out of power, almost nothing works.

    That’s probably it. I did not check that. Thanks.

    Including the heaters that keep the propellants @ 10C minimum (vs the 2C freezing point for some design buffer) for the de orbiting rockets.

    • #54
    • June 5, 2016, at 12:20 PM PDT
    • Like
  25. Tom Meyer, Common Citizen Contributor

    I need some help:

    I designed a large lander (gray, below) for the Mun and Minmus and planned to refuel it while in orbit around the moon with a refueling barge (red). Both are equipped with a clamp-o-tron jr: the lander with it mounted radially on the fuselage and the barge with it on the top of the robotic command module.

    For the life of me, I cannot get the two to successfully dock. I’ve done the docking tutorial several times (though it’s been at least a few weeks) and I seemed to have that down pretty well. But here, the two vessels never become one and I cannot transfer the fuel.

    I googled around and I saw that it was important to make sure that the clamps were facing opposite directions, but — unless I screwed it up again — I think I fixed that.

    Is there anything I’m doing obviously wrong?
    Screen Shot 2016-06-21 at 8.36.42 PM

    • #55
    • June 22, 2016, at 5:48 AM PDT
    • Like
  26. John Walker Contributor

    Tom Meyer, Ed.: For the life of me, I cannot get the two to successfully dock. I’ve done the docking tutorial several times (though it’s been at least a few weeks) and I seemed to have that down pretty well. But here, the two vessels never become one and I cannot transfer the fuel.

    If you are playing in Career mode, I think you have to upgrade the Research & Development building to some level above the base before you can transfer fuel among docked spacecraft. When the R&D building is upgraded, fuel transfer is immediately enabled even for craft already in flight. I believe resource transfer is enabled when the R&D building is upgraded to level 2.

    Another possibility is that the Clamp-O-Tron Jr. does not support fuel transfer. It is documented that it does not support crew transfer, but the Wiki seems to imply it does permit fuel transfer, if the R&D building has been upgraded.

    • #56
    • June 22, 2016, at 6:15 AM PDT
    • Like
  27. Tom Meyer, Common Citizen Contributor

    John Walker:If you are playing in Career mode, I think you have to upgrade the Research & Development building to some level above the base before you can transfer fuel among docked spacecraft. When the R&D building is upgraded, fuel transfer is immediately enabled even for craft already in flight. I believe resource transfer is enabled when the R&D building is upgraded to level 2.

    I’m playing science mode, so all the buildings are unlocked.

    • #57
    • June 22, 2016, at 6:29 AM PDT
    • Like
  28. Joe P Member

    I’ve never tried mounting any of the not-explictly-radial docking ports radially on a curved surface. Could that be it?

    Also, what part is the port mounted on the lander? I can’t tell from the picture, but is it connected to that decoupler by any chance? Or any other weird part?

    Have you tried docking in slightly different relative orientations? Sometimes I get a “hatch obstructed” when there’s no obvious obstruction, and roting the craft fixes it. Maybe that’s happening here too.

    Standard mindless troubleshooting question: Did you try restarting the game to see if it goes away?

    • #58
    • June 22, 2016, at 8:25 AM PDT
    • Like
  29. Dan Hanson Thatcher
    Dan HansonJoined in the first year of Ricochet Ricochet Charter Member

    Docking has been a little finicky in the past. I’ve had vehicles with totally standard configuration and docking ports simply refuse to dock easily, and it could take a number of retries, wiggling around the ships, forcing them together with rocket power, or other tricks to finally get them to dock.

    Did you right-click on the docking port and select ‘control from here’? You can also try switching to the other ship and try docking from it. Make sure both have electrical power as well.

    Also, you could try installing MechJeb, which has an automated docking function. It will either dock for you, or it will yakk at you and give you a clue as to what the problem is.

    One hint about your lander config – unless there’s a special reason it needs to be that tall, you’re making it really hard on yourself as it’s likely to tip over unless you land with zero lateral motion on a very flat piece of terrain. I would reconfigure that lander to put the upper tanks in a cluster around the lower tank. If you put three tanks around a center tank (use the grid snapping in the VAB to accurately position them), add fuel lines from each one to the main tank (make sure the direction arrows show fuel flowing into the center tank), then mount your landing gear on each outer tank, your lander will be way easier to deal with. Short stubby vehicles also have less moment arm, and therefore are easier to manoever. You can put a RCS module on each outside fuel tank above the landing gear and give your RCS more mechanical advantage that way, too.

    • #59
    • June 22, 2016, at 10:00 AM PDT
    • Like
  30. Done Contributor

    After my space planes began achieving orbit, I have mostly just been building a wide assortment of planes. Trying to design the ultimate fighter jet is taking up huge amounts of my time.

    • #60
    • June 22, 2016, at 10:05 AM PDT
    • Like

Comments are closed because this post is more than six months old. Please write a new post if you would like to continue this conversation.