# Tutorial:Spaceplane to Laythe

Landed on Laythe

This tutorial will cover spaceplane design, flight, docking maneuvers, inter-planetary transfers, and aerocapture/aerobraking. We're going to take advantage of the efficiency of spaceplanes to take a kerbal to Laythe and back. It assumes your familiarity with Orbital Terminology, use of Maneuver nodes, and Basic Maneuvers. This tutorial contains a lot of general information presented during the course of a specific mission to illustrate its use.

Note: Unfortunately due to migration problems all the pictures are from the previous version which is not functional in 1.0.2. All other content has been updated to 1.0.2.

## Take a Spaceplane to Laythe (and Back)

### Specifications

Laythe is the only body other than Kerbin where jet engines will operate, so it is a natural target for spaceplane missions.

• Length: 6-10 hours
• For version: 1.0.2 or later

This tutorial is designed to maximize fuel efficiency both in the air (by using jet engines and wings) and in space (using a highly efficient rocket). Once we are in space this tutorial can be applied just as easily to a rocket as to a spaceplane.

## Steps

### Step 1 - The Space Craft

There will be two space craft used for this tutorial. A spaceplane which will land on Laythe and a range extension fuel tank so we can make it to Laythe and back. I'm including a fully designed spaceplane for this tutorial, but feel free to use your own, or to customize the one provided.

#### Spaceplane

Before assembling the plane I recommend reading keptin's aircraft design forum post or Scott Manley's aerodynamics tutorial video. They explain the effects of design decisions better than I could and are excellent guides to putting together a spaceplane without focusing on a specific design. Building a spaceplane is an exercise in compromise and balance, for instance a stable plane will generally be less maneuverable, so there is no one guide that will fit every need. Everyone will pick a slightly different balance of aerodynamic characteristics so you'll often find different guides give you contradictory advice, which is why I prefer guides that focus on how choices affect aerodynamic characteristics over those that build a specific plane. This tutorial does include a specific plane, but it is included more as a reference and there is enough room to customize it to your needs.

This spaceplane is designed for long-range, decent flight characteristics, and fuel efficiency. With the exception of some of the struts every part of the plane is visible and I've tried to capture enough angles to make this build-able from the pictures. It is mostly liquid fuel since both airbreathing engines and LV-N Atomic Rocket Motors use just liquid fuel. There is a small amount of oxidizer used to boost us into orbit of Kerbin. A pure liquid fueled SSTO is possible, but thus far every design I've come up with has had a very limited Δv.

##### Action Groups
1. Toggle Air Intakes and Switch Mode for the R.A.P.I.E.R.
2. Toggle LV-N Atomic Rocket Motor
3. Toggle R.A.P.I.E.R.
##### Assembly
Spaceplane in SPH

##### Air Intakes

Air intakes are an important part of a spaceplane. There are a lot of air intake options, but for a spaceplane (as opposed to an airplane) you need to use one that has good high altitude characteristics. The Adjustable Ramp Intakes and Shock Cone Intakes both have excellent high altitude characteristics. The shock cone has slightly better performance and better thermal characteristics, but they are so close they can almost be used interchangeably. The various cylindrical air intakes are not as good, but if you need a cylindrical mount and maybe a little jet fuel you might as well use one with an air intake. The radial mounted air intakes are not as effective at high altitude, but they are easy to mount. With enough of them and a proper ascent profile they can be used, but I wouldn't recommend it. 2-3 Adjustable Ramp or Shock Cone Intakes per air breathing engine is a good rule of thumb (two radial intakes roughly equals one of these intakes). Adding more intakes than this adds weight with relatively little increase in operating envelope.

##### Flight Worthiness Test
Takeoff

You'll want to test out the plane on Kerbin, because the last thing you want to do is send a spaceplane to Laythe only to discover that it can't land or takeoff on a less than ideal runway or is unstable in flight. My worthiness test is pretty simple:

1. Empty the pilot seat. We don't want to kill a kerbal for a test flight.
2. Takeoff from the runway. You should be able to pull up once you reach 85 m/s or greater and get into the air.
• The plane must be able to takeoff before the runway ends. If it doesn't the landing gear is probably not optimally placed.
• If you strike your tail you either need to move the landing gear back or pull up more gradually.
3. Turn around and head towards the open field on the opposite side of the KSC from the runway.
• You should be able to turn at a reasonable rate without stalling. If not check your wing placement.
• Check for wing deflection when you turn. The main wing should behave as one unit. If not you probably need more struts.
4. Land on the open field.
• You should be able to land without striking the tail.
• You might want to land with the engines on to maintain low vertical speed (less than 10 m/s).
• Watch as you land and make sure nothing flexes too much.
5. Point your plane towards an unobstructed, flat section and takeoff again.
6. If you are new to piloting planes in KSP repeat the takeoff and landing steps until you are comfortable with the process.
7. Land on the rougher fields behind the KSC.
8. Take your plane into orbit.
• As you climb watch to see if the plane tends to pull to either side. This usually indicates your wings are flexing and you probably need to add struts somewhere. Some drifting is normal, but SAS should be able to keep you pretty much straight.
9. Re-enter and land.
10. If you can get through all of these steps it is probably a worthy spaceplane and your pilot skills are up to the task.

#### Range Extender

Range Extender

This desing is just the range extender. You'll need to build a rocket or spaceplane to lift it and the fuel necessary to refuel the spaceplane. I've done this with both traditional rockets and SSTOs built with Mk3 parts. The SSTOs ended up requiring two flights, which negated most of the fuel savings of using airbreathing engines, but it is an option if you want to minimize discarded stages.

### Step 2 - Kerbin Orbit

#### General Notes

Getting a space plane into orbit is more complicated than a traditional rocket and you will find a large variance in recommendations between tutorials. Every plane is going to be a little different, so don't expect to be able to use the same ascent profile for every plane. They will be similar, but every plane has different weight, air intake count, lift rating, etc. and these are all factors that will change when you need to perform maneuvers during the ascent. Below I describe the ascent profile I use for this plane. No matter what plane you use, to get into orbit using as little fuel as possible you want to maximize the Δv you get from your air breathing engines before they cut out (where this happens varies from plane to plane and pilot to pilot). You must carefully balance your vertical and horizontal velocity especially as the air thins. You want to climb out of the thicker air to avoid drag, but you also need to keep a high airspeed so that you can force enough air through your intakes to keep the engines fed, and of course getting into orbit means you want a lot of horizontal velocity while you can use your efficient air breathing engines. Engine thrust also depends on airspeed which can lead to a frustrating situation where the only way to go faster is to go faster. This means that how you pilot a plane can dramatically influence how high you can go using jet power and how efficiently you get there. If you climb too fast you won't have enough airspeed and you will lose thrust as the atmosphere thins limiting your max thrust. If you climb too slowly you'll burn a lot of fuel heating up the atmosphere and your plane (which may cause it to explode).

#### Ascent Profile

Climb to 14 km as quickly as you can. You will need to build up speed before ascending, try to keep to just below 300 m/s. Keep pulling up as much as you can while maintaining that speed. Scott Manley posted a video of a similar ascent for those that prefer video Flying the Spaceplane To Orbit in KSP v1.0.4, keep in mind he is using a different plane with different characteristics (in particular the R.A.P.I.E.R. gives us a higher ceiling). At 14 km point prograde until you build up to 380 m/s (you will probably be losing altitude at this point). At this point the TWR of your plane should be high enough to keep climbing, so start to slowly pull up making sure your airspeed doesn't decrease. You should be able to pull up before you get much below 13 km. Continue to build speed until you are at 600 m/s and start climbing again at a roughly 20 degree pitch. At 18-18.5 km point prograde again and build up speed. You should reach about 1,250 m/s, but watch out for overheating. Slowly pitch up while maintaining airspeed. When you start to lose airspeed because your engines can't maintain thurst enable the LV-N. When your R.A.P.I.E.R. flames out or you drop below 1,200 m/s switch to rocket mode and pitch up to 30 degrees. Stay in this climb until you run out of oxidizer. Point prograde again to build up horizontal speed. You may not get up to orbital velocity before reaching your apoapsis and droping back into the atmosphere, but you will generally reach orbital velocity before the atmosphere gets too thick to pull out of. Circularize into a Kerbin orbit at 100km. This is a good orbit for a rendezvous. Generally the plane can reach a 100km orbit with slightly less than half of its pre-flight fuel, but this actually represents roughly 2 km/s of Δv.

### Step 3 - Range Extender Rendezvous

There are a number of tutorials on rendezvous. This is a technique I like, but feel free to substitute your own or use any of the other docking tutorials out there for this step.

#### Docking

Spaceplane and Cargo plane about to dock.

### Step 4 - Jool Transfer

#### Course Corrections

You are now on course to an encounter with Jool, but you will need to correct your inclination and periapsis. The launch window planner recommends a point at which to correct the inclination, but it assumes and equatorial orbit which may or may not be true. Still it is a good first approximation. Put a maneuver node where it recommends and experiment to find the maneuver that matches inclination with Jool with the least fuel. Try moving your node around to find the fuel optimal point. Time warp and carry out the maneuver. Now decrease your Jool periapsis to 195 km +/- 50 km (you're probably too far out to be more accurate than that). Again experiment until you find the fuel optimal maneuver. Make sure to try both prograde/retrograde and radial in/out changes as one will usually have a similar effect with significantly less fuel.

### Step 5 - Jool Capture

You'll want to achieve Jool capture before moving on to Laythe. There are a couple of options, though we have a pretty limited Δv budget, so for this guide they are limited. If you sent more fuel you could just use engines to achieve capture, though the requirements are considerable. In the past many guides (including older versions of this one) recommended aerocapture, however as KSP has added in heating effects on re-entry this has become too dangerous to recommend. The safest way to achieve capture while minimizing Δv is to use a gravitational slingshot around one of the moons. Tylo is my usual target since it has a high gravitational pull and no atmosphere, which allows you to get closer. Laythe is also a good target for a slingshot, though I don't usually target it for initial capture. I have not done a lot of slingshots, but typically I setup my periapsis near the orbit of my slingshot body and adjust it until I get an encounter. I highly recommend using a mod with a precision maneuver editor for this since you want to be precise. I adjust the maneuver until my orbit after the encounter is as close to my target orbit as possible. You can probably use monoprop to perform the maneuver, which is my preference since we need precision and we're going to abandon the range extender anyway. Transfer any remaining fuel to the spaceplance. Undock the range extender and use the remaining monoprop to put the range extender on a collision course for Jool. Continue performing slingshots until you have either an encounter with Laythe or a good orbit for one. Ideally you want an apoapsis is low enough to avoid Vall's SOI ( < 34.6 Mm), but high enough that you will end up with a Laythe encounter ( > 20 Mm). You don't want a very eccentric orbit since it will mean more Δv you need to burn off on Laythe.

### Step 6 - Laythe Aerocapture

#### Aerocapture

I highly recommend installing the Trajectories plugin when aerobraking. It doesn't model wings, but it does give you a rough idea of your trajectory when an atmosphere is involved. 36 km is about the limit for a safe approach and 38 km is probably a good taget for capture, though it depends on how fast you are approaching Laythe. Engage the A.I.R.B.R.A.K.E.S., point prograde, and enter Laythe's atmosphere. You may not be captured by this, if that happens burn retrograde until you are captured.

#### Aerobrake

Now that we've reduced our velocity with the first aerobrake maneuver the second one should be at a much higher altitude where it is much safer to aerobrake. At your apoapsis adjust your periapsis with a maneuver node until Trajectories shows an apoapsis of about 100 km. Perform the second aerobrake maneuver. Generally a third aerobrake is required before we are close enough to our desired orbit. Once we are close enough circularize at a 100 km orbit.

### Step 7 - Laythe Landing

Descending to the surface.

### Step 8 - Laythe Takeoff

Turn your plane towards 90 degrees. Find a relatively flat area long enough for a takeoff and hit full throttle. Getting into Laythe orbit is much easier than Kerbin orbit because of the lower gravity and jet engines operate up to a higher altitude. Start with a steep climb. Point prograde at 15 km and keep accelerating until you reach about 1,000 m/s and start pulling up to keep from overheating, but try not to climb too aggresively (I use about a 15-20 degree pitch). You want to reach 1,400 m/s on airbreathing engines if you can. As soon as your airbreathing engines cut out shut off the air intakes and activate the LV-N. You should be able to reach orbital velocity, though it may take practice.

### Step 9 - Escaping Laythe

This isn't necessarily the most efficient way to do this, but it is easy to do without precise timing. Setup a maneuver node with just enough Δv to escape Laythe. Move the node around until you maximize your Jool apoapsis. This should be around 75 Mm. You might need to add a little bit of Δv to achieve this, but with the proper ejection angle you should be close. This will put you out past the other moons of Jool where you can avoid accidental slingshot maneuvers or accidental abrupt lithobraking as we time warp later on. Once you have set up a good maneuver time warp as needed and burn to escape Laythe. I don't usually split this burn because it is usually short and Laythe moves fast enough that in the next orbit the ejection angle will already be sub-optimal if we try to split it. Once you have escaped Laythe's SOI time warp to your Jool apoapsis and raise your periapsis to the same altitude.

Escaping Jool

Basically this is the reverse of your trip to Laythe. Use the launch window calculator to find out when, how much Δv, and at what ejection angle. Time warp to within a few days and set up your maneuver node. Kerbin has a much smaller SOI, so it is a little harder to find an intercept. You'll probably need to include an inclination change to get one at all. Once you have a good maneuver planned execute the maneuver at the proper time (remember to re-enable the fuel tank we disabled earlier). As you return to Kerbin correct your inclination and lower your periapsis to about 30 km +/- 10 km. Once you are within Kerbin's SOI use the aerobraking calculator to figure out your aerocapture altitude. Use the same repeated aerocapture/aerobraking steps we used on Laythe to get into your desired orbit (or keep braking until you land).

## Finishing word

If all went according to plan you have now taken a spaceplane from Kerbin to Laythe and back again.

• Refuel in orbit and go again. To make it more interesting send ahead a rover and/or a fuel tanker.
• Take the plane straight from the runway to Minimus.

### Math (Optional)

• LF == Liquid Fuel (fuel units, in other words what you see in the resource dialog)
• O == Oxidizer (fuel units)
• Mass is in metric tons (1000 kg)

#### Delta-V Budget

For a mission of this complexity it is a good idea to create a Δv budget to figure out whether you can get where you want to and how much margin for error you have. Since we are refueling in orbit I'm ignoring the Δv needed to get into Kerbin orbit. We're also saving a lot of Δv by using aerocapture/aerobrake maneuvers where we can. Most of the values are approximate since they can vary based on launch window, inclination, eccentricity, and lot of other factors (basically I rounded up to the nearest 100 m/s). The Δv maps on the Cheat sheet page is helpful in building the budget, though they are just a first step. This budget assumes that you are trying to perform fuel optimal maneuvers where practical (with some extra margin since this is a tutorial).

• Low Kerbin Orbit To Jool - 2000 m/s
• Pre-SOI Orbit Corrections (Jool) - 100 m/s
• Orbital Insertion (Jool) - Aerocapture/Aerobrake + 200 m/s
• Pre-SOI Orbit Corrections (Laythe) - 300 m/s (Can vary wildly depending on where you intercept Laythe)
• Orbital Insertion (Laythe) - Aerocapture/Aerobrake + 200 m/s
• De-Orbit (Laythe) - 100 m/s
• One-way Total = 2900 m/s
• Re-Orbit (Laythe) - 3100 m/s (Jets) + 200 m/s
• Escape (Laythe) - 600 m/s
• Circularize (Jool) - 500 m/s
• Escape (Jool) - 1200 m/s
• Pre-SOI Orbit Corrections (Kerbin) - 100 m/s
• Orbital Insertion (Kerbin) - Aerocapture/Aerobrake + 200 m/s
• De-Orbit (Kerbin) - 100 m/s
• Two-way Total = 5800 m/s (LV-N) + 3100 m/s (Jets)
• Rocket Δv = 6430 m/s
• Over provision >= 630 m/s

I usually just guess on the jet fuel portion because jets are so efficient that I don't need to be too accurate. This is a rough estimate which we're going to add a safety margin to, so we don't need to be very precise or accurate.

Once you have a total Δv you can use the rocket equation re-written to solve for the fuel mass to avoid over provisioning too much. Sending too much fuel means you need to burn longer than you otherwise need to and if you are landing it means that you need more upward force (parachutes, wings, or descent engines) to land safely.

${\displaystyle fuelmass=e^{{\Delta v \over {Isp\times 9.81}}+\ln {drymass}}-drymass}$