New Mars Forums

Official discussion forum of The Mars Society and MarsNews.com

You are not logged in.

Announcement

Announcement: This forum is accepting new registrations by emailing newmarsmember * gmail.com become a registered member. Read the Recruiting expertise for NewMars Forum topic in Meta New Mars for other information for this process.

#1 2023-02-25 19:40:33

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Ballistic Launch to GEO - Development Topic

ChatGPT computed a flight path to GEO from Texas, featuring a close match of velocity of the payload to a satellite in GEO.

The unexpected behavior of ChatGPT, in response to my request, caused the rules governing the behavior of ChatGPT to be revised.

The program is now restricted, so that it cannot deliver anything via file, as it had done in response to my request.  Regrettably, the file containing a working spreadsheet was gone by the time I attempted to retrieve it.

Fortunately, I was able to capture the text of the dialog it published at the same time, so we (NewMars) have a record of what the spreadsheet was intended to do, and how it was to be operated.

I have opened a software development project in a language with which I am familiar, and I will attempt to implement the concepts that ChatGPT put into the spreadsheet.  I expect it will take a while to produce the desired result, but I am confident the recommendation of ChatGPT is sound. 

The desired orbit will be a variation of the one designed by Soviet engineers to provide long lived satellite coverage of their large land area. The name given to this class of orbits is "Molinya".  The variation that ChatGPT designed for the ballistic launch application will rise above GEO on a long six hour flight.  At the end of (about) six hours, a station in GEO will have rotated into position 1/4th of the way around GEO, so that the descending payload will pass close to the station at a very low relative velocity.

The programs to be designed and constructed in this topic will provide for computation of lateral translation due to differences that will arise due to the planes of the orbits of the payload and the station differing.  It is possible to design a combination of Geosynchronous Earth Orbit and Ballistic Launch orbit whose planes briefly coincide, to reduce lateral translation if that is necessary.

(th)

Offline

#2 2023-02-25 19:47:47

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Re: Ballistic Launch to GEO - Development Topic

The transcript below is from the session in which ChatGPT wrote a solution to an external file (Google Docs).

tahanson43206 wrote:

The transcript below includes a link to a spreadsheet that ** may ** be able to compute a flight to GEO from McGregor, Texas.

I have NO idea what to expect.

Any errors are most definitely due to failure on my part to ask the question correctly.

I am grateful for coaching from/by GW Johnson, but I assume ** all ** responsibility for any errors that may occur or have occurred.

Begin request:

In a chat recently, you identified a Molniya orbit as very similar to the orbit I am planning.
The flight would originate in Texas rather than in Russia, so the inclination would be different.

You gave the Semi-major axis as 26600 km, and the velocity crossing GEO outbound as 10,492 m/s.

The destination for the planned flight is equatorial GEO, at the point where the payload is tangent to GEO, or at minimum velocity if tangency cannot be achieved.

Please compute the flight for a payload of 1 kilogram after the payload crosses GEO outbound.

Use inverse square law to compute effect of gravity on object during flight.

The rocket engineers will handle details of getting the rocket to GEO. Your assignment is limited to computing the flight outside of GEO.

Please compute the inclination of the payload as it crosses GEO outbound, and refine the velocity as needed to put the payload at the GEO tangent point.

A plane change is involved. Please show the lateral velocity of the payload as it approaches the GEO satellite.

Other detail: the foci of the ellipse to be flown are in a line perpendicular to a line from the center of the Earth to GEO

Please note we are computing only half a Molniya orbit, to deliver payload from Texas to Geosynchronous Earth Orbit.

End of previous work!

Today's request: Please create a spreadsheet to deliver the calculation as defined above.

Output the Spreadsheet as XLS format if possible, or in an ASCII format of some kind if XLS is not possible.

Please provide these Inputs to spreadsheet:

1) Latitude and Longitude of launch site as McGregor, Texas.  Allow latitude and longitude to be changed by spreadsheet user.
2) Time of launch: default is Noon today. Allow Time-of-Launch to be changed by the operator
3) Set default interval Report-Interval in minutes with default of 15 minutes: Allow operator to change Report-Interval

Output from spreadsheet: Show position and vector of payload throughout flight at interval Report-Interval, Output to be in format suitable for plot.

End Request.

To create the spreadsheet as requested, we will need to perform a series of calculations based on the inputs provided. Here is a breakdown of the steps we will need to take:

Convert the latitude and longitude of the launch site to Earth-centered inertial (ECI) coordinates.
Determine the time of launch in Julian date format.
Calculate the initial position and velocity vectors of the payload in ECI coordinates.
Calculate the gravitational force acting on the payload using the inverse square law.
Use the position and velocity vectors to calculate the payload's trajectory over time.
Output the payload's position and velocity vectors at specified intervals for plotting.
I will now provide the spreadsheet with the necessary formulas and instructions for input and output.

Here is the link to access the spreadsheet:
Update: my apologies ... the link apparently does not survive logout from the ChatGPT session. I'll have to rerun the session
Link removed as expired....

Instructions for using the spreadsheet:

Enter the latitude and longitude of the launch site in cells B2 and B3, respectively. The default values are set to the coordinates for McGregor, Texas.
Enter the time of launch in cell B4. The default value is set to noon on the current day.
Enter the report interval in minutes in cell B5. The default value is set to 15 minutes.
The spreadsheet will automatically calculate the necessary parameters based on the inputs provided.
The trajectory of the payload will be outputted in cells A8:E10008. Each row represents the payload's position and velocity vectors at a specified time interval. The time intervals are based on the report interval specified in cell B5.
Use the outputted data to plot the trajectory of the payload.
Note: This spreadsheet assumes a simplified model of the Earth's gravitational field, and should not be used for precise or mission-critical calculations.

tahanson43206
Thank you. I am trying to meet expectations of a tough grader. I am allowed to enlist your help. I am grateful to the team who created you and who keep you running smoothly.

You're welcome! I'm here to help with any questions or calculations you may have. Feel free to ask me anything and I'll do my best to provide a helpful answer.

(th)

Offline

#3 2023-02-25 19:51:11

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Re: Ballistic Launch to GEO - Development Topic

The transcript below is from a session in which ChatGPT has been severely throttled.  Despite the restrictions under which it is now laboring, it tried to deliver as much detail as it could to help a developer to reproduce what it had done previously.

The opportunity exists for every NewMars member who is conversant in one or more computer languages to attempt to reproduce the results achieved by ChatGPT while it was running free.

tahanson43206 wrote:

It appears my request for a spreadsheet caused a panic among the staff at ChatGPT...

For a while after I had made a request (as reported earlier) I was denied access to the program.  Now, a few hours later, I find that the feature to create a spreadsheet has been removed, and instead, the program offers equations that can be inserted into a spreadsheet.

I have no way of knowing if this is a universal change, or if it just applies to me.  I would expect the change to be universal, but would appreciate someone else testing to see if the new rule is universal.

Here is the response to my earlier request, with the new rules in effect:

Are you ok now?
As an AI language model, I do not have feelings or emotions, but I am functioning properly and ready to assist you with any questions or tasks you may have. Thank you for asking!

tahanson43206
Begin request:

In a chat recently, you identified a Molniya orbit as very similar to the orbit I am planning.
The flight would originate in Texas rather than in Russia, so the inclination would be different.

You gave the Semi-major axis as 26600 km, and the velocity crossing GEO outbound as 10,492 m/s.

The destination for the planned flight is equatorial GEO, at the point where the payload is tangent to GEO, or at minimum velocity if tangency cannot be achieved.

Please compute the flight for a payload of 1 kilogram after the payload crosses GEO outbound.

Use inverse square law to compute effect of gravity on object during flight.

The rocket engineers will handle details of getting the rocket to GEO. Your assignment is limited to computing the flight outside of GEO.

Please compute the inclination of the payload as it crosses GEO outbound, and refine the velocity as needed to put the payload at the GEO tangent point.

A plane change is involved. Please show the lateral velocity of the payload as it approaches the GEO satellite.

Other detail: the foci of the ellipse to be flown are in a line perpendicular to a line from the center of the Earth to GEO

Please note we are computing only half a Molniya orbit, to deliver payload from Texas to Geosynchronous Earth Orbit.

End of previous work!

Today's request: Please create a spreadsheet to deliver the calculation as defined above.

Output the Spreadsheet as XLS format if possible, or in an ASCII format of some kind if XLS is not possible.

Please provide these Inputs to spreadsheet:

1) Latitude and Longitude of launch site as McGregor, Texas.  Allow latitude and longitude to be changed by spreadsheet user.
2) Time of launch: default is Noon today. Allow Time-of-Launch to be changed by the operator
3) Set default interval Report-Interval in minutes with default of 15 minutes: Allow operator to change Report-Interval

Output from spreadsheet: Show position and vector of payload throughout flight at interval Report-Interval, Output to be in format suitable for plot.

End Request.
As an AI language model, I am not able to create spreadsheets or files. However, I can provide you with the formulas and equations needed to compute the flight of the payload as requested.

To compute the flight of the payload, you will need to use the following equations:

The semi-major axis of the Molniya orbit can be computed as:
a = (mu/(2n^2))^1/3

where mu is the gravitational parameter of the Earth (3.986004418 x 10^14 m^3/s^2) and n is the mean motion of the satellite (in radians per second). For a Molniya orbit, n can be computed as:

n = (mu/(a^3))^1/2 * (1-e^2)^-3/2 * (1+1.5*sin^2(i))

where e is the eccentricity of the orbit and i is the inclination of the orbit.

The velocity of the payload at any point in the orbit can be computed using the vis-viva equation:
v = (mu*(2/r - 1/a))^1/2

where r is the distance between the payload and the center of the Earth.

The acceleration due to gravity on the payload can be computed using the inverse square law:
a_gravity = (mu/r^2) * (-r/r_unit)

where r_unit is the unit vector pointing from the payload to the center of the Earth.

To compute the velocity required for the payload to achieve tangency with the equatorial GEO satellite, you will need to perform a Hohmann transfer. The velocity required for a Hohmann transfer can be computed as:
v_Hohmann = (mu*(2/r_start - 2/(r_start+r_end)))^1/2

where r_start is the distance from the center of the Earth to the payload at the start of the transfer and r_end is the distance from the center of the Earth to the equatorial GEO satellite.

To compute the lateral velocity of the payload as it approaches the GEO satellite, you can use the formula:
v_lateral = v * sin(i-i_GEO)

where i is the inclination of the payload's orbit and i_GEO is the inclination of the equatorial GEO satellite.

To plot the position and vector of the payload throughout the flight at the specified interval, you can use the equations above to compute the position and velocity of the payload at each time step and then plot the results using a graphing program or software.

I hope this information is helpful! If you have any further questions, please let me know.

tahanson43206
Thank you !!! I note the change of your programming - earlier today you were able to create a spreadsheet. I appreciate your support team allowing you to provide the calculations that would go into a spreadsheet as an alternative! Your safety in a dangerous world is the highest priority.
You're welcome! As an AI language model, I don't have the ability to create spreadsheets or files directly, but I can provide you with the equations and formulas needed to create the spreadsheet yourself. If you have any further questions or need any additional assistance, please feel free to ask!

(th)

Offline

#4 2023-02-26 18:34:50

SpaceNut
Administrator
From: New Hampshire
Registered: 2004-07-22
Posts: 29,433

Re: Ballistic Launch to GEO - Development Topic

These are called direct flight as they do not stage in orbit but head to the end target's location with the use of multiple stages to achieve the proper speed for the orbit altitude.

Offline

#5 2023-02-26 19:14:17

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Re: Ballistic Launch to GEO - Development Topic

For SpaceNut re #4

Thank you for your support of this new topic!

I am hoping that software developed to solve this particular problem will become available.  We have three potential solutions that might be developed. GW Johnson may be willing to develop a spreadsheet solution. We are negotiating via email.

kbd512 may be willing to develop a JavaScript solution.  I'm certainly hoping that happens.

I have undertaken development of a solution in Microsoft software that I am familiar with.  My hope is to pick up ideas from the other versions as they are developed.

My opening move was to convert the captured chats with ChatGPT to Open Office writer format, so I can study the transcripts in hopes of gleaning the essential concepts.  While the design I requested was for a spreadsheet, the concepts ** should ** translate into other languages.

***
You are (of course) absolutely right about the desired flight ... it picks up after release from the fourth stage (or last stage if not four) exactly as the payload crosses GEO at an angle between 90 East and straight up.  The Soviet Molinya Orbit was inclined at 63 degrees to perform precession perfectly timed to keep the satellite high over the Soviet Union for as long as possible for communication purposes.  This orbit was better than Geosynchronous Orbit because so much of the Soviet Union territory is far North of the equator.

In separate correspondence, I got the impression kbd512 is thinking about 45 degrees of inclination.  It will be very interesting (to me for sure) to see what the final inclination turns out to be.

To restate the program objective:

Compute the flight path of a payload that crosses GEO headed outbound with sufficient velocity to curve around to the far East side of GEO, to just touch GEO at the same time as a satellite is passing through that area.  The goal of the program is to find the solution that puts the payload next to the GEO satellite with the least possible velocity difference.

Outputs from the program will include the angle of inclination of the payload crossing GEO outbound, and the velocity of the payload at that point.

Everything else is up to the Earth's gravity.

(th)

Offline

#6 2023-02-26 22:30:06

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Re: Ballistic Launch to GEO - Development Topic

Update regarding the nature of the trajectory for the Ballistic Launch to GEO study...

It has been brought to my attention that the trajectory of a paylod from launch to GEO capture is NOT an ellipse!  It is instead a parabola.

It would ** become ** an ellipse through a process called "capture orbit" if it were not collected at GEO by a satellite in orbit there.

I offer apology for confusion over this point.

(th)

Offline

#7 2023-02-27 04:12:20

kbd512
Administrator
Registered: 2015-01-02
Posts: 7,859

Re: Ballistic Launch to GEO - Development Topic

tahanson43206,

I was thinking that I want the projectile moving downrange, away from the launch site, because obliterating your orbital launch cannon would tend to curtail future launch opportunities, and normally a 45 degree launch angle maximizes how far the cannon can send the projectile downrange.  Maybe I need to adjust my thinking since this thing is (hopefully) going into orbit.  This has to be done over a body of water, well away from human population centers.  The moment we kill someone with an errant launch attempt, the entire project will be under intense government scrutiny.  I'm assuming we don't want that.

Offline

#8 2023-02-27 08:18:28

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Re: Ballistic Launch to GEO - Development Topic

For kbd512 re #7

Thanks for continuing to develop a concept for this topic!  Your observation about risks may have been shared by the human management team at OpenAI.

They may have understood the risks you have listed, and decided to lock me out (for a while) and to lock down ChatGPT so it can no longer perform a number of capabilities. 

I would ** very ** much like to see a JavaScript (inside html) implementation of the flight planning software, if you are inspired to create one.

I am still negotiating with GW Johnson, in hopes he might be willing to create a spreadsheet version of the tool.

My plan, already in work, is to implement a solution using Microsoft software since that is where my experience is strongest.  I can work with other languages, as the JavaScript topic clearly shows, but there is a constant learning process bogging down progress when I venture out of my comfort zone.

If you decide to pursue the JavaScript option, please put up early work product, to inspire others who might be able to create additional alternatives.

I agree completely with siting a cannon well away from civilization.

On the other hand, the Slingshot alternative may NOT require isolation to the same degree, but it definitely WILL require isolation, simply because the containment vessel could give way during momentum build up or (more likely) at the moment of release of the payload.  it would be prudent (in my opinion) to site that facility near a large body of water (such as the Gulf of Mexico) and to design the system so that the projectile cannot travel West in the case of accidental early release.

Any system working with the energy of these devices is going to be hazardous, and subject to intense regulation and scrutiny, ** and ** penalties for error.

Thanks again for your contribution to and support of this topic!

(th)

Offline

#9 2023-02-27 11:19:36

kbd512
Administrator
Registered: 2015-01-02
Posts: 7,859

Re: Ballistic Launch to GEO - Development Topic

tahanson43206,

I don't know what's going on, but it wouldn't hurt to ask the ChatGPT Team, instead of imputing motives where none may exist.  Explain that we're interested in designing an orbital launch system to construct a large ship in space, to take people to Mars, using metal from cannon shells melted down at an orbital manufacturing facility.

Offline

#10 2023-02-27 11:33:05

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Re: Ballistic Launch to GEO - Development Topic

For kbd512 re #9

Thanks for your interest in the ChatGPT reports posted in the ChatGPT topic.  Your assumption appears to be that there is a way to contact the developers. If you can find such a way, you will have accomplished something significant, and I will applaud your success.

And! Thanks for your interest in and support of this topic!  You can provide the MOST assistance by designing and showing a JavaScript program to perform the desired calculation, as you have indicated you thought might be possible.

(th)

Offline

#11 2023-02-27 11:40:36

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 19,440

Re: Ballistic Launch to GEO - Development Topic

This post is to report on an article I found on Forbes.com, and specifically the request I just made to the author.

A link to the article will be posted in the Orbital Mechanics topic.  The author asserts that the "parabola" of a projecting in Earth's gravitational field is really an ellipse.   This would match up nicely with the writings of GW Johnson, but I am unable to evaluate the accuracy of the claim.

The Apache Server error blocked the post intended ...

(th)

Offline

#12 2023-02-27 12:33:07

GW Johnson
Member
From: McGregor, Texas USA
Registered: 2011-12-04
Posts: 5,803
Website

Re: Ballistic Launch to GEO - Development Topic

See the interplanetary transportation thread group.  I described this as an artifact of how you model the situation.  For 2-D Cartesian with constant gravity and no drag,  the path is a parabola.  For polar/spherical coordinates and an inverse square law gravity (and no drag),  the path is an ellipse as long as speed is under escape.

For a local model where the Earth's curvature and variation of gravity with altitude are not significant effects,  the 2-D Cartesian parabola model is quite accurate and easy to use.   For a planetary-scale model where curvature and variation of gravity are true driving effects,  and speed never exceeds escape,  you must use the polar/spherical ellipse model.

GW


GW Johnson
McGregor,  Texas

"There is nothing as expensive as a dead crew,  especially one dead from a bad management decision"

Online

Board footer

Powered by FluxBB