This wiki is currently experiencing migration problems. This is known and will be fixed at some point.
Registered users can edit this wiki.
Tutorial:Advanced Rocket Design
By Vincent McConnell and Kosmo-not
Getting to learn basic rocket science for a space game like Kerbal Space Program can be very important to the success of building rockets that can perform a desired job. In this guide, we will be covering things like calculating the full Delta-V of your ship, explaining how to perform transfer maneuvers, getting Thrust to Weight Ratio, calculating the Peak G-force experienced during a particular burn, also calculating Delta-V needed for a full Hohmann transfer and much more.
Contents
Delta-V
(change in velocity) is the bread and butter of rocket science. It is probably the most important thing to know about your rocket because it determines what your rocket is capable of achieving. Among the several things we will explain in this basic tutorial, is most likely the most useful thing you will apply to Kerbal Space Program while building a rocket. To find the of your rocket for each stage at a time we have to sum up the part masses of every single part of the stage.
- Total mass:
- Fuel mass:
- Dry Mass:
The equation only needs the total and dry mass, but as it is easier to get the dry mass by subtracting the fuel mass from the total mass. Of course other combinations like calculating the total mass and measuring the fuel and dry mass are also possible.
The next important part of this set of calculations is to find your engine's specific impulse. Specific impulse is a measure of how fuel efficient an engine is (the greater the specific impulse, the more fuel efficient it is). For example, the non-vectoring stock engine LV-T30 has a vacuum specific impulse of 370 s. So here, we must apply the Tsiolkovsky rocket equation. More informally known as "The Rocket Equation".
It states:
If the specific impulse is given in seconds it is necessary to multiply this value by (see also Terminology about I_{sp}).
So go ahead and sum up your stage's total mass with fuel. Then, go ahead and sum up the mass minus the fuel (this can be done by just adding up the 'dry mass' where given). Input these into the equation in the place of and . Following is a quick example, where the surface gravity of Earth is used:
Stage 3 (TMI, Mun lander, Return) | |
---|---|
Full mass: | |
Dry mass: | |
I_{sp}: | |
Δv: | |
Stage 2 (Kerbin orbit insertion) | |
Full mass: | |
Dry mass: | |
I_{sp}: | |
Δv: | |
Stage 1 (Ascent): | |
Full mass: | |
Dry mass: | |
I_{sp}: | (estimated due to atmospheric flight) |
Δv: | |
Total | |
Δv: |
Multiple engines
To calculate the I_{sp} for multiple engines with different I_{sp} values, you need to find total thrust and mass flow:
This will give you the correct I_{sp} to use for your Δv calculation. If all engines are the same, they act as one engine in this calculation so the sums aren't needed.
Calculating transfer maneuvers
The next part of this tutorial is how to perform a transfer maneuver. This kind of action is called a Hohmann Transfer and it requires two burns at opposite points in an orbit. Adding velocity will boost our apoapsis higher. We would then simply wait until we hit our newly established apoapsis and then add more velocity to boost our periapsis to circularize. Or, we could drop our orbit by subtracting velocity by burning retro-grade.
We can also apply some calculations to find out how much thrust we will need to perform this maneuver. We will break this burn up into impulses. For example purposes, we will start at a 100 km orbit and then boost into a 200 km orbit. Both circularized. The formula for the first burn is the following:
This is the formula for the final burn in the transfer:
Where:
- = Gravitational parameter of parent body (3530.461 km³/s² for Kerbin).
- = The altitude of our first orbit (100 km in this case).
- = The altitude of our second orbit (200 km in this case).
- = The radius of parent body (600 km in this case).
This formula will give us our velocity for the burn in km/s (multiply by 1000 to convert it into m/s). It's important to make sure that you will have the in the stage to make this burn. Again, you can do that by using the calculations above.
In our case we get a Δv_{1} of 73.65 m/s, a Δv_{2} of 71.23 m/s and a total Δv of 144.88 m/s.
Calculating fuel flow
Next, we will explain how to calculate fuel flow in mass to see how much fuel a burn uses up in a specific amount of time.
If we know the needed for the burn and the total mass of the rocket before the burn, we can calculate how much fuel is required to complete the burn.
First, we calculate the mass of the rocket after the burn is complete. To do this, we use the Tsiolkovsky Rocket Equation, inputting the initial mass and of the burn. We can then solve the equation for the final mass (“dry mass”) after the burn. The difference between these two masses will be used to determine the length of time that is needed to complete the burn.
The equation for mass flow rate of fuel, given I_{sp} and thrust, is:
where is the mass flow rate of fuel consumed. Again if the specific impulse is given in seconds it needed to multiplied by 9.81 m·s⁻² (see also Terminology about I_{sp}).
Dividing the difference between initial mass and final mass for the burn by the mass flow rate of fuel, we can determine how many seconds are required.
Usually, when the thrust is in kN and the specific impulse is in m/s the result is in Mg/s (= t/s). As the density of the liquid fuel/oxidizer mixture is 5 Mg/m³ this gives 1/5 m³/s = 2 dm³/s (= l/s).
Orbital velocity
Rather easy is the formula to calculate the orbital velocity of an orbit. This assumes circular orbit or the velocity of a specific point in an orbit. For this, we simply do this calculation:
Where:
= Gravitational Parameter of parent body. (km³/s²)
= radius of orbit. (km)
If we input the radius of the orbit in Kilometers, our orbital velocity will come out in Kilometers per second. In a 100 km orbit, our radius will be 700 km. Meaning our velocity will be ~2.2458 kilometers per second (km/s), or 2245.8 m/s.
Delta-v map
A map consists of approximate amounts of needed to get from one place (whether it is on the ground or in space) to another. The values we have for our map are approximate and include a fudge factor (in case we slip up on our piloting). Our map is as follows:
Launch to 100 km Kerbin orbit: | 4700 m/s |
Trans-Munar Injection: | 900 m/s |
Landing on the Mun: | 1000 m/s |
Launch from Mun and return to Kerbin: | 1000 m/s |
Total : | 7600 m/s |
If we design our rockets to have 7600 total , and the acceleration of the launch stages are adequate, we can have confidence that our rocket is able to land on the Mun and return to Kerbin. A rocket with a little less can accomplish this goal, but it is less forgiving of less efficient piloting.
Calculate the acceleration
- → See also: Thrust-to-weight ratio
Calculating the thrust-to-weight ratio is very simple. It is important to know the thrust to weight ratio of your rocket to ensure your rocket will actually liftoff. If your TWR is less than 1, you can bet that you won't make an inch in altitude when starting from the launch pad. The minimum optimal TWR to have for your rocket at launch is 2.2.
To lift off the rocket's thrust need to exceed the gravitational force. The formula for this is simply the thrust of all of your current stage engines divided by the weight of your ship, fully fuelled.
To calculate the acceleration simply use Newton's second law:
These calculations only work when counteracting gravity. While coasting on an orbit the gravitational acceleration isn't important and thus the TWR may be below one and still work. The acceleration is at minimum directly after launch when the craft is heavy and at maximum immediately before running out of fuel, when the tanks are dry:
- and
The dry mass also includes the fully fuelled upper stages of the craft. To determine the g-force simply divide achieved acceleration by . As the craft is in free fall, the gravitational acceleration isn't felt by the crew so the accelerations appear to be higher for the crew leading to cancelling out the factor g:
- and
As the weight of the ship depends on the current gravitation () the TWR differs between the celestial bodies.
Conclusion
This guide will hopefully have helped with designing your rockets to allow you to get the job done—whatever it may be—with no test flights first. We hope this guide has been helpful to new and continuing KSP pilots alike.