3

I'm trying to design an orbital rendezvous program for Kerbal Space Program. I'm focusing on when to launch my spacecraft so that I can end up in the general vicinity of the target. If I can control the ascent profile, the remaining dependent variables are the ship's twr and the target's altitude. I want to try a computer learning solution.

What is the best way to formulate the problem of learning the time to launch based on some twr?

How can I make an algorithm to compute the general equation of launch time to a altitude based on my ability to accelerate? What type of learning problem could this be classified as? What are some approaches to solve problems with known dependent variables?

This may be an obvious question, I kind of expect the answer is regression? But it seemed a general enough question to be sure about to get a solid foothold in computer learning with this type of problem, which seems to come up a lot.

Oblivion
  • 31
  • 3
  • Question is how to calculate the trajectory of an object? – pasaba por aqui Mar 11 '18 at 12:35
  • No, powered flight is involved. Also the approach was NOT to calculate the trajectory of ONE (powered)object, but to have a learning algorithm take a good guess at the equation for time as a function of twr for ALL objects. – Oblivion Mar 11 '18 at 17:33
  • Meaning of "twr" ? Not in my lost of acronyms – pasaba por aqui Mar 11 '18 at 18:21
  • thrust to weight ratio. – Oblivion Mar 11 '18 at 18:27
  • Could you post involved equations? – pasaba por aqui Mar 11 '18 at 18:29
  • That's what I want to know. Usually you have dependent variables, an equation and you solve to get independent variables.

    What I'm asking is if I have the dependent variables, and experimental independent variables, what is the best way to learn the equation?

    – Oblivion Mar 11 '18 at 22:29
  • 1
    What you mean by "learning" is not clear, are you trying to optimize a process or find an optimum point of data which you can reuse? or are you seeking a way to feed data into an AI object (ie NN) which will give more precision based on how much data it is given? – solarflare Mar 12 '18 at 01:15
  • I would like the program find an equation or at least the coefficients of an equation that would correspond to the general case of the time to get to orbit. – Oblivion Mar 19 '18 at 16:32
  • I'm not sure that I'll get an answer to this one, but no one commenting seems to understand what I'm getting at. I am more interested in a general solution at this point, but in terms of the variables already mentioned:

    You launch 5 spacecraft into space. Each has different parameters. You can control the ascent profile generally. Each has a different time because there are different designs.

    The question I'd like to ask a program is what is the equation that best matches the various launches?

    – Oblivion Mar 19 '18 at 16:36
  • Another way to put it is how much weight do each of the variables we know about matter. For instance, how much does twr matter? does it scale linearly? Is it directly proportional to some other variable? Another part of this is the unknown variables. What is the nature of the unknown variables? It is kind of a solver. Once again, I know the variables, some experimental, some, like thrust is easily knowable. How can i develop a system to analyze the remaining parts of the equation? – Oblivion Mar 19 '18 at 16:42

1 Answers1

1

You might want to try symbolic regression. This is a machine learning approach that tries to generate an equation with arbitrary form that best fits a set of examples. I've used it before when working with physicists who wanted an equation in terms of known numeric constants and specific variables, but didn't expect the equation to be linear or one of the other shapes for which we have standard regression models.

Symbolic regression often (usually?) uses genetic programming for the underlying optimization. A decent tool is Eureka. It used to be free, but I think they want a payment now. You can also do it yourself from any genetic programming toolkit with a little know-how.

John Doucette
  • 9,257
  • 1
  • 17
  • 52