[14:31:00] NASSP Logging has been started by n7275 [14:31:02] good morning [14:50:39] hey [15:57:59] hey [16:06:17] hey Niklas [16:08:37] I found something out about PTC REFSMMATs [16:08:48] I had to fix something there for the coordinate system change [16:09:10] you painstakingly figured out the correct times to get the mission specific REFSMMATs [16:09:35] that calculates the direction from Earth to Moon basically [16:10:05] what I found out was they basically used this as an angle, the phase of the Moon, and rounded it to the next 10 degrees [16:10:25] so it's rounded value like that for all Apollo 10-17 PTC REFSMMATs [16:10:41] not sure I can immediately make use of that information, but there you go :D [16:10:57] oh interesting [16:11:20] PTC REFSMMAT consists of two rotations [16:11:35] this and the other is fairly obviously rotating it into the ecliptic [16:11:52] so that it points right at the Sun at 90° pitch [16:12:34] ah interesting [16:13:02] for now I kept the current logic to calculate it and just added the conversion from old to new coordinates [16:13:36] but I might change it eventually [16:13:52] would still be a time input I guess [16:14:00] but it would round it as an angle [16:14:17] so that even an hour earlier or later input gives the same REFSMMAT [16:30:54] morning! [16:37:00] indy91, I want to talk about U31,7402 when you get a chance [16:37:27] I have spent a lot of time fighting with it and it is winning [16:39:08] hey Mike [16:39:11] oh no [16:39:34] oh that, what I thought might be Earth rotational rate [16:39:50] I think that's what it is too! [16:40:04] but I can't figure out the scale [16:40:09] or units or whatever [16:41:02] LAT-LONG takes in TET in MPAC when called https://github.com/thewonderidiot/virtualagc/blob/Corona261/Corona261/LATITUDE-LONGITUDE_SUBROUTINES.agc#L174 [16:41:06] immediately stores TET into LONG [16:41:22] and then after calculating LAT, calculates (TET - 0.01) * U31,7402 [16:41:47] and uses that to calculate longitude [16:42:08] it's the only time-varying thing so it must be the earth rotation rate [16:42:40] presumably with weeks as the time unit since we worked out that TET is in weeks [16:43:42] ...would this be using sidereal days? maybe that's where I'm going wrong [16:44:54] hmm probably not [16:45:14] why the 0.01 [16:45:24] that is also a mystery :D [16:45:30] if the unit is weeks that's 1.68 hours [16:45:33] quite a lot [16:46:23] could be some arbitrary Greenwich hour angle or something [16:46:34] ah no [16:46:50] then it would be added after the multiplication with rotational rate [16:46:56] so it's a time [16:47:13] an epoch? [16:47:23] like, that's the zero time for the lat/long conversion [16:47:37] possible [16:48:32] I need to write a program that brute forces figuring out scaling [16:48:38] hahaha [16:48:45] you give it the octal and an expected value [16:48:51] that would be awesome [16:48:52] and any factors that could be used [16:48:55] like 2, 100, pi [16:49:11] surely there's a 7 somewhere in there for this one, to deal with the weeks [16:49:42] only if it has to convert to days [16:50:07] how is TET initialized? [16:50:27] ah [16:50:32] INITTET 2DEC .077494159 [16:50:42] if you use V37E 17E to set up the default parking orbit, yeah [16:53:05] not a very nice round value [16:53:58] no, it is quite arbitrary :D [17:11:08] the other thing that I've been thinking about is an SGA memo I found last night [17:11:29] https://www.ibiblio.org/apollo/Documents/SGA_Memo34_640820.pdf [17:12:06] lacking star vectors and with just a small possibly landmark table we don't understand -- maybe it's doing something like this? [17:15:47] yeah that looks kind of similar [17:16:14] I just wished U24,7361 gave nice landmarks [17:18:43] maybe it has some term in its longitude making it inertial or something [17:18:57] then only the latitude would be correct without a conversion [17:20:38] yeah, that's why I was hoping we could figure out U31,7402 and that 0.01 [17:21:34] like if we knew the "time" of those vectors, we could feed them into LAT-LONG and see what it spits out [17:26:35] they could be like the AS-202 splashdown points, inertial from liftoff [17:27:23] why do you need a lat-long subroutine then though :D [17:27:52] hehehe [17:28:11] to your point, we could plot all three on a map, and then adjust their longitude until all three happen to land on interesting features [17:28:19] if there is such a longitude that exists, surely there aren't many [17:28:33] er, such an offset I guess [17:29:12] yeah I've been starting to manually look for that and don't find them particularly interesting really [17:29:22] not even the latitudes by themselves [17:29:57] hmmmmm [17:29:58] they would fly over them for sure from a KSC launch [17:30:05] so they aren't unlikely to be reached [17:34:50] the first one is pretty close in latitude to landmark 50, in the Bahamas [18:24:01] was trying to debug some coordinate stuff, just after Apollo 11 MCC-2. Compared against PAMFD/Map MFD and got different values [18:24:12] why do they switch to Moon reference so early!! [18:24:21] need to fix that, at least for the PAMFD [18:24:43] it shows latitude/longitude/altitude for the strongest gravitational influence [18:24:52] usually Earth, then the Sun for a bit and finally the Moon [18:24:58] but not usually the Moon so early... [18:25:19] But I can make it so that it conforms to the sphere of influence used by the RTCC [18:25:41] within 9 Earth radii of the Moon, it's the Moon. Otherwise Earth. Never the Sun. [18:28:00] oh [18:28:09] you can't actually easily change that [18:28:24] PAMFD calls Orbiter API functions for this [18:28:29] which just use the closest body [19:19:37] isn't there an oapi function for GravReference or something like that? [19:19:50] strongest gravity source [19:38:57] yes, GetGravityRef() [19:39:07] it's a bit confusing what the PAMFD does [19:40:03] it uses that API call for displaying velocity and the reference radius for apoapsis/periapsis height [19:40:30] but for lat/long/alt it calls GetEquPos [19:40:56] "Returns vessel's current equatorial position with respect to the closest planet or moon." [19:41:12] so I am pretty sure it shows a mixed set of values somewhere in cislunar space [19:41:20] lat/long/alt are already for the Moon [19:41:27] other parameters maybe Earth, or the Sun [20:10:14] thewonderidiot, haha, I didn't know the restricted NTRS had this [20:10:17] 19740085852 Revision 2 to the Apollo 9 spacecraft operational trajectory. Volume 1: Mission profile 1969 [20:10:20] revision 2 [20:10:24] the actual final one [20:10:27] not available [20:10:38] of course, very secret, as opposed to revision 1 [20:11:08] lol amazing [20:11:49] or I guess they potentially had added this to the public NTRS after the mass archiving was stopped [20:12:05] archiving by archive.org and such [20:12:48] There was a period of 1-2 years, maybe more, when that was prohibited but the great purge hadn't happened yet [20:13:07] 2011 to 2013 I guess [20:13:11] right [20:13:22] the dark ages :D [20:13:23] I definitely have a few select documents from that time period [20:13:30] because someone had saved them [20:13:38] maybe even myself already, but probably not [20:17:02] dark ages fits so well :D [20:54:06] 19750076661 Title is classified 1969 [20:54:14] not on the archived NTRS [20:54:16] surprise, surprise [20:56:21] was kind of wondering why a list of restricted NTRS documents wasn't a majority of titles classified, too [20:56:30] I guess there are at least some [21:02:31] night! [14:34:26] hey Alex [14:46:50] hey [16:05:18] hey my pipe update is done as far as I can tell, if you wanted to give it a test. [16:18:52] sure. Im in my Apollo 17 branch right now doing some tests but Ill switch to yours when I get a chance [16:18:59] anything in particular to test? [16:39:00] the goal is to have everything in the LM behave exactly the same as it did before the update. [16:39:32] CM should be fine [16:39:54] basically I'm just looking for instability or flow problems [16:51:44] morning! [16:55:25] hey Mike [21:36:54] n7275, do old scenarios work with the branch? For example can I a recent before PDI scenario for the test? [21:37:04] can I use* [22:01:46] AlexB_88, I've checked those, and most seem fine. Unfortunately because this changes valve sizes, it would be better to test with a fresh LM [22:02:29] which is a pain... [01:35:16] n7275, I did a bit of testing with the "Apollo 11 - 05 - Before S-IVB Separation T+3h15min" scenario, creating a fresh LM and activating it right there on the SIVB. I activated the ECS and took a look at things... everything looked pretty stable [01:36:12] of course its not an ideal test of it... we'll have to fly a full mission to see I guess. [01:46:44] night! [14:25:02] hey' [18:09:10] hello [20:15:59] good evening [21:00:25] hey Niklas [21:01:47] hi Niklas [21:03:59] what's up? [21:04:53] I've been looking into the LM behavior after touchdown & the "jittering" you sometimes see when landed on un-even terrain [21:06:37] Ive tried a way to "lock" the LM into a position after touchdown so firing RCS and save/reloading won't disturbed the landed state [21:07:21] works quite well in my testing branch: https://github.com/orbiternassp/NASSP/compare/Orbiter2016...jalexb88:NASSP:MakeLandedLMStable [21:08:22] it basically calculates the landed orientation right at touchdown and saves it and then forces the LM into a landed state so there isn't the jittering [21:09:35] but there is one side-effect, there can be a slight jerk as the LM snaps to the in-flight to landed state [21:09:59] but the advantage is that the LM is rock-solid on the moon on pretty much any terrain/slope [21:10:27] from the in-flight* [21:11:46] some of the code was taken from the LRV, which was itself added by Max-Q I think, some of it being from GeneralVehicle by fred18 [21:21:35] too bad we have to take actions like that [21:22:03] the only downside to this, it's probably going to break once Open Orbiter decides the current system is not so great.. [21:22:58] true [21:23:48] its definitely a hack that is ugly :D [21:25:10] but I've been looking at the touchdown points as long as Orbiter 2016 and finding that perfect balance is just so elusive lol [21:29:52] the main issue we have is that every save/loading or RCS firing (pre-ascent RCS tests) causes a few seconds of instability which slightly changes the position/direction of the LM on the moon. This means the MCC/RTCC stored position will be different, also 047/053 PAD values are invalidated. [21:31:38] position I am not worried about [21:31:50] a shift a few meters here or there won't make the difference [21:31:55] attitude is a bit more annoying [21:33:40] right [21:46:32] btw do we plan on migrating officially to Open Orbiter in the not too far future? [21:47:24] or is NASSP 8.0 release definitely an Orbiter 2016 lock? [21:48:10] not sure really :D [21:48:21] but the Orbiter 2016 route means we have to wait for a patch [21:48:26] there seems to be some things a bit unstable [21:48:33] in Open Orbiter [21:48:40] but haven't tried NASSP in it yet [21:48:53] I've tried Open Orbiter 32bit itself though [21:48:58] very nice [21:50:01] Open Orbiter 64bit, not so nice [21:50:11] the planets weren't moving how they should be... [21:52:24] right [21:52:47] I tried building an Open Orbiter environment but failed a while back [21:53:33] same [21:53:42] until I realized they have builds [21:53:46] https://github.com/orbitersim/orbiter/releases [21:54:00] haven't re-tried yet but CaptainSwag101 is flying 8 with it and that is inspiring me :D [21:54:07] ohh I didn't know [21:54:22] I guess that will make it easier [21:55:05] really the only thing stopping me from switching to XRSound is that my branch had some build warnings (not errors) I couldn't get rid of [21:55:08] do you think the RTCC in the present state can deal with Matt's lunar gravity change? [21:55:24] and switching to XRSound is nearly halfway to Open orbit [21:55:28] Orbiter* [21:56:20] I have some commented code in the RTCC to use the more advanced gravity model they had for the later missions [21:56:26] never tested it though [21:56:36] targeting for some maneuvers will have to be changed [21:56:55] short duration mission like Apollo 8 should deal with it already, even the simpler gravity model [21:57:21] ah nice [21:57:24] the LOI processor should be able to deal with it right away [21:57:56] it has some correction terms to account for the HA/HP change between LOI-2/DOI and landing [21:58:04] never tested those either though [21:58:10] they were always near zero [21:58:26] because HA/HP don't actually over time with the old gravity [21:58:32] actually change* [21:58:51] so I guess the real post LOI-2/DOI orbit can now be targeted with it? [21:59:58] in the processor for LOI yes [22:00:25] on Apollo 13 already they added an "integrated DOI" calculation to properly target that the same way that the LOI processor does it [22:00:32] but I haven't added that yet [22:01:09] I think on 11 and 12 they did this weird procedure to target LOI-2 as a CDH burn [22:01:43] with a fictitious target vehicle that is circular near the landing [22:02:02] ah interesting [22:02:17] but that wouldn't really work for us yet [22:02:43] I think just GPM the historical apo/peri should be good enogh [22:02:53] probably [22:03:04] it's also a question of where the apses are located [22:03:19] and not just how high they are [22:04:30] right [22:04:33] but long term that gravity should make things better for us [22:04:59] especially the longer missions [22:05:12] the good thing is, they never figured out the gravity during Apollo anyway [22:05:26] so we don't have to be super exact :D [22:05:30] haha [22:05:59] it will give an excuse to get MCC to spit out N69 updates :D [22:06:32] oh yes, we probably need those then [22:07:08] Just a note on 64bit OpenOrbiter, it should definitely be avoided until someone can re-create module code for Demos, Phobos, Ariel, and a few others. [22:07:49] yeah I think those mess with the gravity, right? [22:09:42] yeah, because Martin never had the source for them, the build process just copies the 32bit DLL, into the right folder. when 64bit orbiter looks at pointers to them, it gets 0s, NaNs, or random huge or small numbers back and those really mess with the propagator [22:10:00] I experienced that [22:10:13] was playing around with some planetary transfer [22:10:18] didn't go so well [22:10:25] much better in 32bit afterwards :D [22:10:33] and sometimes Phobos will show up as a gravity source between the earth and moon [22:11:06] haha [22:11:18] ok, cya guys tomorrow. Good night! [22:11:21] https://www.youtube.com/watch?v=B3S6ZECeomk [22:11:24] night [22:12:06] yeah, classic Mars physics [12:20:34] good morning [12:23:25] hey Matt [12:34:32] I need to figure out where to go next with my pipe update [12:38:07] what is left to do? [12:48:43] I have a high degree of certainty that the LM valve sizes are all updated, that was all copy and paste through ny calculator. I would really rather not update old scenerios, but there is some glycol instability in old ones under time acceleration. [12:49:14] nothin drastic, but it's noticably jumpy [12:49:27] s/nothin/nothing [12:55:35] maybe I should just make this part of the liquid update, and add a scenerio update script, to the existing script that I have [13:14:37] hey [13:26:13] hey Alex [14:34:20] hey [15:27:21] morning! [15:30:36] hey Mike [15:35:07] what's up? [15:35:13] I see you made some orbital integration discoveries? [15:35:16] flying Apollo 11 [15:36:49] I did :D [15:37:02] Sunburst to the rescue [15:38:40] ok but what is U24,7361 :D [15:40:25] actually two different tables [15:40:44] but I still think the first three must surely be landmarks [15:41:02] yeah [15:41:37] that radius with the position vector scaling can't really be a coincidence [15:42:15] could they be on the Moon? [15:43:07] I don't think so, because I now understand U31,7402 and it is definitely earth rotation rate [15:43:09] not really in the latitude band of Apollo landing sites though... [15:43:14] oh nice! [15:44:04] it is just revolutions per week scaled B-3 [15:44:33] sidereal days per solar week, 7.019.... [15:46:04] https://github.com/thewonderidiot/virtualagc/blob/Corona261/Corona261/B_VECTOR_ROUTINE.agc#L16 [15:46:08] ah [15:46:09] weird [15:46:50] so I called it WEARTH, the function that creates a rotation matrix from it EARTHMX, and U24,7361 tentatively LNDMKTAB [15:49:27] oh I also identified U31,7406 as ALTVAR, which is padloaded for Colossus [15:49:33] the hardcoded value is almost the same as what got padloaded [15:55:11] I think ALTVAR is a P20 thing [15:55:26] P-20 ALTERNATE LOS VARIANCE PAD LOAD***** [15:56:29] but I think there is also a landmark altitude variance of sort for P22/P23... [15:58:37] it's specifically the COAS angular error variance [15:58:47] aaah ok [15:58:52] yeah that's the alternate LOS [15:59:22] but I don't think there is any program to use the COAS for P22 or P23 [15:59:45] is ALTVAR in Corona even used in the midcourse navigation? [16:00:22] yeah [16:00:27] well, it's in B VECTOR [16:00:41] but compare U31,7142 and U31,7236 [16:01:09] first block is essetially the same, with one using SXTVAR and one using ALTVAR [16:02:22] SXTVAR is P22 only I am pretty sure :D [16:05:14] oh also [16:05:29] Tom Knatt responded to my email to the apollonauts mailing list [16:05:58] When I was presented with the task of writing P-23 in mid-1967, mo one ever mentioned or asked about the MID-COURSE CORRECTION GAME.  I was in a corner room with Norm Brodeur, Jane Goode, and Sam Jennings.  Sam had already programmed the Newtonian calculations, and I wrote the code to let the astronauts use the instrumentation and calculate the trajectory.  There was concern about issues that might arise with the program running [16:06:01] ys, so care was taken in the end to insure there were no problems.   [16:06:20] so he at least is not to blame for this code :P [16:06:31] so yeah, maybe this is P22 [16:08:47] indy91, in the Vector Panel Summary section of the RTCC MFD manual [16:08:51] "Pressing the TLM button will get [16:08:52] data from all computers in the vessel" [16:08:56] I wonder if bits of FFFLAGS are going to partly map onto flags used by P22... [16:09:23] does this work during powered flight as well? For example can I press that during powered descent and get a valid LGC vector? [16:11:04] nope [16:11:12] only gets the orbital integration state vectors [16:11:29] which is stored in a different location than the powered flight ones [16:12:20] powered flight state vectors are even in IMU coordinates [16:12:30] and not reference coordinates [16:12:38] we had some fun with that during the Sundance reconstruction... [16:13:00] ah [16:13:55] so say for a noun 69 update, I guess you need to put both vectors on the vector compare display right before PDI [16:15:18] or many minutes before PDI [16:15:37] we do not have the powered flight processor that calculates the N69 in real time [16:16:01] right [16:16:39] I am going to try an Apollo 17 landing in Open Orbiter if I can get it to run [16:16:48] hmm although [16:17:14] I think most of the data that lead to the N69 calculation were taken before PDI anyway [16:17:23] ground tracking after AOS [16:18:18] so you get a SV update ~15 mins before PDI [16:18:53] I guess the N69 was to account for the dispersions during that 15 mins up to PDI? [16:19:29] or maybe the SV update itself was still not fully accurate (less tracking time since AOS)? [16:24:04] this is covered in pretty good detail in the Apollo 15 navigation results document, let me check [16:27:22] the procedures they had to do were so complicated [16:27:27] for state vector biasing and N69 [16:27:41] because they never figured out a gravity model for the RTCC that really worked [16:49:59] ah ok [16:51:33] yeah I am not really sure [16:51:53] the uplinked state vector is based on tracking but then they have to do some additional biasing which leads to the N69... [16:51:56] not sure yet [16:57:27] btw you said yesterday there is commented code for the more advanced lunar gravity model, do you know exactly where that is? [17:03:06] yeah [17:03:25] right now there are really 3 trajectory integrators in my code [17:03:30] one is an old one based on the AGC [17:03:34] getting phased out [17:03:51] used in many places still, but doesn't have support for this gravity model [17:04:32] what you want to change is here [17:04:35] https://github.com/orbiternassp/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_rtccmfd/CoastNumericalIntegrator.cpp#L511 [17:04:44] and here [17:04:45] https://github.com/orbiternassp/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_rtccmfd/EnckeIntegrator.cpp#L597 [17:04:49] exact same change to both [17:06:17] you want to change GMO = 3 [17:06:27] and just uncomment the line with C[0] etc [17:06:35] I have not tested this much though [17:06:39] expect the unexpected :D [17:07:49] ok thanks a lot [17:08:52] right now targeting might not be able to account for anything interesting with it though [17:09:05] but e.g. using the MPT and generating an ephemeris should be interesting [17:09:14] and watch the HA/HP change over time [17:09:24] right [17:09:54] will that edit be used by MCC as well? [17:12:54] wherever it uses the RTCC own propagators and not the old AGC based one, yes [17:13:08] it should be using the updated one for TLMCC, LOI, TEI targeting [17:13:17] the RTCC ones* [17:13:39] GPM? [17:13:55] GPM uses the AEG which I have not made compatible with a higher gravity model [17:13:57] so sadly no [17:14:32] well I guess I would use it to simply target the nominal post LOI-2/CIRC CSM orbit [17:14:51] not circular [20:44:25] night! [14:41:20] hello [14:46:24] hey Matt [14:47:04] just did some testing with lunar gravity in OpenOrbiter [14:48:23] used my post-circ burn Apollo 17 CSM in a 70x54 orbit and watched its orbit evolve over time [14:49:49] just time accel 1000x watching the PAMFD GNC page, the orbit slowly went towards being more circular from 115:00:00 GET up to about 210:00:00 GET by which time it was about 62x58 [14:50:03] which was expected [14:51:12] and then over the next 15-20 hours upt to TEI (230:00:00) the tendency reversed and stated becoming more elliptical again, by TEI it had gone to ~75x65 [14:51:33] very cool watching it :D [14:53:16] yeah, it's very fun to play around in. [14:54:53] if you want a really crazy one, I do have a model in there for Vesta to. very realistic-lookig potato-orbit [15:01:04] ah cool [16:40:53] morning! [16:50:30] hey [16:50:36] hello! [16:51:14] hey [16:51:28] hey Niklas [16:54:43] hey, on the subject of migration to OpenOrbiter. when we get [16:55:27] around to officially doing that, it would be a great opportunity to make any changes that would benefit from a fresh install for our users [17:00:26] what do you have in mind? [17:01:29] nothing specific at the moment, more of just a general observation/note [17:02:08] indy91, if I want to simulate an impulsive maneuver with MCC? is ExecuteManeuver() with 0 mass the right way? [17:02:12] I don't think I'm getting out of making at least one more scenerio updater [17:05:17] n7275, my threshold for updating scenarios is pretty high, as long as it doesn't kill the crew and only trigger master alarms it's fine without update for me [17:05:38] AlexB_88, hmm zero could give you some divide by 0 issues. Do you have a LVLH or inertial DV= [17:05:39] ? [17:06:57] specifically, I want to simulate LOI using GET using GET_LOI and DV_LOI from the TLMCC output [17:08:01] unless the TLMCC already outputs an LOI burnout vector but I don't think so [17:09:11] it should actually write a pre maneuver state vector and a post maneuver velocity vector to a MPT transfer table [17:09:21] impulsive burn [17:10:32] you won't have any luck using the impulsive burn DV and the estimated actual TIG that is on the TLMCC display [17:11:01] ah ok [17:11:21] so either treat it as impulsive or you have to convert it to a finite burn properly [17:11:34] if you treat it as impulsive, that MPT transfer table has what you need [17:11:42] PZMCCXFR in the RTCC [17:13:51] hmm isn't that for the midcourse maneuver itslef though? [17:14:02] instead of the LOI burn [17:14:38] oh [17:14:42] yeah sorry :D [17:15:12] haha no worries :D [17:16:28] yeah the TLMCC processor does not really give you a LOI burn like you want [17:16:53] that's where the MPT would be useful haha [17:18:25] you could check the Apollo 8 MCC [17:18:49] For MCC-4 I have to calculate MCC-4 and LOI-1 to calculate the LOI-2 TIG to the get the LOI-2 REFSMMAT [17:18:56] to then* [17:20:27] right [17:25:19] I discovered a very important value to play with on Apollo 17 [17:25:27] SITEROT [17:26:18] fine-tuning that during TLC should get you a very good control of the desired post-DOI-1 orbit [17:27:16] so I was trying to give MCC a sneak peak of DOI-1 from before MCC-1/2 so it could iterate the SITEROT :D [17:27:33] but maybe thats a little ambitious [17:45:30] indy91, I've been reading about P22. I didn't realize it took a full ABCDE code, similar to DAP config, in a variable called LANDMARK. the bits for LANDMARK look very similar to the bits for SITENUMB in midcourse navigation game [17:45:49] at least superficially. I haven't dug deep into it yet [18:33:14] AlexB_88, yeah I guess SITEROT has to be biased in some way because of the different orbit after DOI-1 than the TLMCC processor expects [18:33:50] but it shouldn't really be something you have to manually iterate on [18:35:52] thewonderidiot, oh right good discovery [18:36:01] in my tests, using a constant number works fine from a nominal trajectory, but if you have a dispersed one (bad TLI) then it seems you need to modify it a bit to get back to a TLMCC solution that gives the desired pericynthion height [18:36:04] yeah there are bits for known vs unknown landmark [18:36:07] using the lunar landing site [18:37:44] but iterating it with LOI and DOI-1 is a bit much, I think just as slight adjustment so the TLMCC solution gives your desired pericynthion height (51.3 NM on Apollo 17) might be enough [18:37:56] AlexB_88, I do still need to revisit the mode 2/4 geometry stuff, I feel like it should do a better job getting exactly the orbit you want [18:38:10] right makes sense [18:38:12] and not so much guessing and iterating [18:41:37] thewonderidiot, actually there are some P22 options with LANDMARK that are not clear to me and never used [18:41:56] yeah, they had grand plans for P22 that never materialized [18:42:06] the user's manual even says "The program options that permit marks to be processed onboard, unknown landmarks [18:42:08] to be mapped, and offset landing sites to be designated are not used." [18:42:16] user's guide* [18:42:48] especially the last two digits [18:43:47] Figure 4.2.3-1 on page 4.2.3-3 (looking at rev 1) shows what all of the digits of LANDMARK mean [18:43:52] roughly [18:44:53] yeah the part that is new to me is that an input of 5X is legal for DE [19:07:08] thewonderidiot, in very simplified terms, the LVDC coordinate system has its 0° longitude at the Cape and not at Greenwich. Maybe something like this is going on with the three Corona landmarks, some constant offset like that [19:07:20] have to check that [19:09:33] without any such correct the first landmark would be at 25.413°N 116.33°E [19:09:38] correction* [19:12:13] middle of nowhere China [19:12:23] 116.33 east of the Cape, middle of the Red Sea [19:12:28] 116.33°W, water too [19:15:35] hmmmmmm [19:16:58] that latitude is a bit strange on its own. Aside from the Bahamas there isn't much interesting there [19:18:01] so maybe I am reading it wrong [19:18:37] it's just inside the tip of florida itself [19:18:45] but yeah [19:19:11] yeah could be the favourite holiday spot of the person who coded this [19:19:24] if you didn't see, and haven't already found a better way to do this, I generated images at 1-degree increments placing all three landmarks on a map [19:20:28] there's only a couple a few small ranges that manage to get all three on land [19:20:47] "couple of few" lol, nice work me [19:21:04] ...words. you know what I mean [19:21:17] good band name [19:21:22] hehehe [19:21:52] they already had the Apollo Earth Landmark catalog during Gemini [19:22:03] not sure someone from MIT would have used that, but, possible [19:22:12] they are usually landmarks at the coast [19:22:18] or runways of airports [19:23:26] ah, runways would be hard to pick up from these maps lol [19:23:48] but that is also something we can probably scan a database for [19:23:53] one thing I would want to check with EARTHMX, that there is no funny thing going on with coordinate systems [19:24:05] it should be a nice simple Z-axis rotation [19:24:17] https://wikimedia.org/api/rest_v1/media/math/render/svg/a6821937d5031de282a190f75312353c970aa2df [19:24:38] that's what it looked like to me -- essentially the same as Rz(theta) in that image [19:24:51] ah good [19:25:30] there is one interesting constellation in your maps [19:25:44] with the middle spot in Peru [19:25:51] puts all three on land or at islands [19:26:02] and I think there was an Apollo landmark at Limia [19:26:06] Lima* [19:27:17] I do have a database of those landmarks [19:27:29] assuming theta = TET * WEARTH * 8, [19:27:30] PD +2 = cos(theta) [19:27:31] PD +4 = -sin(theta) [19:27:32] PD +6 = 0 [19:27:33] PD +8 = sin(theta) [19:27:34] PD +10 = cos(theta) [19:27:35] PD +12 = 0 [19:27:35] PD +14 = 0 [19:27:36] PD +16 = 0 [19:27:37] PD +18 = 0.5 [19:27:48] ^^ that's what EARTHMX does [19:28:00] as expected then [19:28:10] which image is that? [19:29:24] oh, 86 or so [19:29:30] yeah, that was one of two that looked interesting to me [19:29:38] yeah 86 [19:29:40] https://github.com/orbiternassp/NASSP/blob/master/Config/Earth/Marker/Apollo%20Earth%20Landmarks.mkr [19:29:43] the other was 223 [19:29:51] that's the one that puts landmark 1 on florida [19:30:02] I mean, it's probably far fetched that they even used this database of landmarks [19:30:10] worth checking though :D [19:30:16] but it's the one they tested on Gemini and used on Apollo 7 so... [19:30:22] and Apollo 9 [19:52:30] it might be interesting actually to hook up some code to manually invoke DOMID15 [19:52:46] which does lat/long/az calculation on a vector and puts it up as N22 [19:52:56] just to make absolutely sure we're not losing a factor of 2 somewhere or something [19:53:16] that should be pretty simple to add as a V37 call [19:54:48] factor of 2 wouldn't matter for latitude and longitude though [21:02:04] night! [14:45:54] good afternoon [14:48:06] hey Niklas [14:52:34] what's up? [15:04:12] Im going to fly 17 again in OpenORbiter [15:04:46] so far everything works quite well with it, aside from a few minor sound issues [15:05:08] oh and Ill be using the advanced gravity mod in the RTCC [15:06:08] I've been testing with it and it seems to work quite well [15:06:24] but does it actually generate orbits as you would expect? [15:06:29] HA and HP changing [15:06:33] yes [15:06:53] I think I had extensively tested it in MATLAB, just not the C++ port of it [15:07:08] I did a test with a post-circ scenario 70x54 NM [15:07:30] and checked the HA/HP after ~50 hours on the checkout monitor [15:07:39] I think it was around 65x55 [15:08:11] if I remember correctly [15:08:23] might of been more like 65x58 [15:08:51] but it was definitely showing a trend to circularize [15:09:20] nice [15:09:30] I would also change the padload then [15:09:42] and it really does in the actual sim too [15:09:45] AGC can also account for this [15:09:51] it's just padloaded to zero [15:10:01] ah right, I was going to ask you about padloads [15:10:53] CMC: 1766 12160 and 1767 03363 [15:11:23] LGC: 1347 12160 and 1350 03363 [15:11:29] address and value [15:11:38] perfect thanks! [15:11:43] I might add a checkbox in the padload generator to use these [15:11:50] are there any others for the gravity change? [15:12:07] I think they never changed the value of these since they added the R2 gravity model on Apollo 10 [15:12:09] just these two [15:12:22] ok [15:12:27] so the padload generator would either padload 0 or these values, according to the checkbox [15:12:39] right [15:14:34] oh weird, they aren't in the Apollo 10 LGC padload document [15:14:46] but that was the change to Luminary 69 Revision 2, maybe the document was before that [15:15:13] but Apollo 11 has these values [15:15:29] so no reason for a way to manually change them [15:15:37] in the padlod generator [15:15:44] just on/off [16:00:11] hey guys [16:08:31] hey Matt [16:26:40] hey Matt [17:27:26] the different values of EARTHTAB (or I guess EARTHTAB +9D now) are bothering me enough that I might spend the next couple of nights trying to reverse engineer the code around them and understand what happened there [17:27:54] it seems pretty apparent from the velocity scale factors that sqrt(mu) didn't change, so the 400 must have, but why [17:51:27] 400/sqrt(mu), what value of mu was that again? [17:53:39] approximately this I think: [17:53:40] MUEARTH 2DEC* 3.986032 E10 B-36* [17:54:37] that's used to calculate the integration step length, right? [17:54:42] yeah [17:55:03] well, it's used to calculate DT/2 [17:55:44] which gets min/maxed [17:56:20] they changed the initial state vector to be higher than in Sunrise(?) [17:56:28] the SGA memo on the modified encke says that dt/dx = rc/sqrt(mu) -- so I'm wondering if DT/2 is essentially that dt/dx term [17:56:40] yeah Sunrise has an orbit well within Earth's atmosphere, at like 60km [17:56:45] maybe they changed the step length by the same amount to get the same number of steps [17:56:48] hmm [17:57:38] interesting thought [17:57:41] that could be [17:57:45] in Colossus and Luminary and such the step length is calculated by [17:57:57] dt = K*r^1.5/sqrt(mu) [17:58:02] K is 0.3 [17:58:06] r is the radius [17:58:24] K*r^1.5 was just taken as a constant term in Sunrise/Corona [17:58:37] btw, this equation kind of makes it a percentage of a full orbit [17:58:43] so it's a partial orbital period calculation [17:59:41] is the sqrt(mu) part important? [18:00:05] also part of the orbital period [18:00:16] my impression was that this was the only place mu is making it into this calculation -- but if this term can be arbitrary then that's clearly not right [18:00:20] Period = 2*pi*a^1.5/sqrt(mu) [18:00:23] or I'm severely misunderstanding something :D [18:00:36] a being semi major axis [18:01:59] it should be calling the Kepler subroutine somewhere, that has to be independently using mu... I would think [18:02:07] I guess in other words, would this code still integrate correctly if I made EARTHTAB any arbitrary number? it feels like the answer should be no [18:02:23] but then where does kepler get its mu? [18:02:33] not sure [18:02:43] the integration part is only the non-Kepler orbit [18:02:54] there the mu could be premultiplied with J2, J3 etc. [18:03:15] ohhhh interesting [18:03:18] later versions don't do that, I think, but only because mu could be Earth or Moon [18:03:34] so it could be hidden inside J2REQSQ, 2J3RE/J2, and J4REQ/J3 [18:04:21] hmm, those only seem to come up in the oblateness calculations though [18:04:39] yeah, that's what it integrates [18:05:17] oh right okay [18:05:30] so ignoring integration then, if we were only using the conic part [18:05:36] that still depends on mu doesn't it? [18:05:41] but if it's not units of mu then KEPLER still needs a mu somehow [18:06:29] TSCALE -18D is VSCALE? [18:07:16] uhh [18:07:20] uhh, TSCALE -18D is 9D [18:07:41] yeah [18:08:10] hmm no, I don't get it [18:08:21] I think I am confusing push list locations with scale factors :D [18:08:26] I think so too lol [18:08:31] but yeah, as far as I can tell DT/2 is the only thing in KEPLER that has mu in it [18:09:10] is "TSCALE -18D" not the address 18 (decimal) before TSCALE? [18:09:42] TSRT 1 # UPDATE TIME SINCE RECTIFICATION. [18:09:43] ROUND DAD [18:09:43] H [18:09:46] TSCALE -18D [18:09:49] TC [18:09:52] STORE TC [18:10:02] in this case it is saying "shift H right 9 places" (aka, TSCALE -18 places) [18:10:36] TSCALE = 24D [18:10:45] oh sorry, I'm looking at Solarium [18:10:58] so then it would be 6 [18:12:40] Solarium is the most trustworthy for those. I fudged them to get my assembled code to match, but it's very possible that TSCALE should still be 27 in Corona and they changed that line from TSCALE -21D [18:12:58] I don't know what all Jay changed to get the scaling to work out for Solarium but it was definitely more than just the RSCALE [18:14:27] but anyways, I think everywhere you see one of the *SCALE variables used, it's specifying a number of bits to shift for TSRT or TSLT [18:17:16] how close is KEPLER between Corona and Solarium? [18:17:36] don't see any UNKs [18:23:41] uhhh [18:23:46] it's mostly the same outside of scaling [18:27:33] oh, what are A(X) and B(X)? [18:37:47] hmm I know what S and C are [18:37:59] they are the Stumpff functions used in the Kepler equation [18:38:34] oh okay, that was going to be my next question haha [18:39:09] see figure 5.10-5 in any GSOP section 5 [18:41:17] the later programs still use the same modified encke approach right? [18:41:35] (I ask before bothering to look at the GSOP, so feel free to ignore me haha) [18:42:05] from this? [18:42:06] https://www.ibiblio.org/apollo/Documents/SGA_Memo02_650111.pdf [18:42:20] I don't think so [18:42:50] I was thinking from https://www.ibiblio.org/apollo/hrst/archive/1721.pdf [18:42:56] but... that might be the same thing? [18:43:42] what's the modified part there? [18:44:30] maybe I'm wrong then haha [18:44:40] "using X instead of t as the independent variable" would be the modified part [18:48:32] no I am pretty sure it uses time [18:48:36] not the universal anomaly [18:48:44] gotcha. so disregard the SGA memo :D [18:49:13] I feel like that is mentioned somewhere [18:49:19] in an Apollo Experience Report or something [18:55:23] ah I forgot the main advantage [18:55:25] "using X instead of t as the independent variable" [18:55:31] does not require solving Keplers equation :D [18:55:39] that's the main speed advantage haha [18:56:09] I found the experience report, but it doesn't say what I thought [18:56:23] but still, pretty sure it's using units of time [18:56:46] the report is giving me second thoughts on the coordinate system change :\ [18:57:06] oh no! why's that? [18:57:25] well it is the inferior system because you don't have one fixed coordinate system, but a changing one every year [18:57:39] but it's the one they used, in AGC and RTCC [18:57:44] right, but you knew that going in haha [18:58:00] and for me the advantages are being able to use more actual RTCC equations without extra conversions [18:58:12] while over all it's a worse system [18:58:31] making things worse in the name of accuracy sounds like our bread and butter :P [18:59:31] yeah [18:59:34] I will proceed :D [18:59:59] it's only a bit bad for Skylark, but even that can be circumvented without significant additional code [19:02:20] Skylark has a free choice of epoch, you could even use it to launch today [19:02:29] I'll try not to make the RTCC too incompatible with that [19:02:46] Certain parts of it will [19:03:13] like, I do want to make changes to the RTE so that it uses the advantages of the new coordinate system [19:04:42] but it would break down if a coordinate system is used that is far away from launch time [19:05:06] that's why Artemis/Luminary 1E, even with some of their modifications, had a limit of early 1974 [19:06:23] I guess what I want to say is, this coordinate system change makes the RTCC even more specific to the ropes we have and the actual Apollo timeframe [19:06:51] it's not going to be a good tool to fly fictional Apollo missions to the Moon in 1980 or something [19:07:05] right now that is still no big problem [19:20:02] right, yeah, makes sense [19:26:54] actually, should it come to that, we just have to create some ropes that have a 1980 coordinate system [19:27:01] we have already done this, for Apollo 14 [19:27:17] just need to calculate a few more numbers that for 14 we found in memos [19:27:21] wouldn't be a big deal [19:27:51] just couldn't use the same rope for all years [19:33:32] which would require quite a bit of development anyway [19:33:42] Like, putting the Skylark coordinate system calculations into Artemis [19:33:46] and making it lunar capable [19:34:00] would need a bunch more constants moved to erasable [19:34:20] much easier to only switch out the constants [19:36:15] ah, I was wondering that [20:52:58] night! [15:51:13] hey [15:53:29] hey Matt [15:53:40] hey guys [17:02:21] morning! [17:13:57] hey Mike [19:41:11] Luminary 116 is now supported by the padload generator [19:41:44] trying to minimize the amount of work each new version takes, but there is slightly annoying number of small differences between each mission :D [19:42:13] this time I went through the effort and save a reference file with the flown Apollo 12 padload for comparison [19:42:44] and then checked each difference to see if there is a bug or if it's a desired change [19:42:46] like no IMU bias [19:45:44] previously I just compared to our NASSP padloads, but that way I don't detect systematic errors we had already done before [19:53:12] nice! and yeah that makes sense :D [19:54:06] kind of like we did with SundanceXXX, that build has to go through and check all words that are different from the module dumps against a "explained differences" file I made [19:54:39] oh how did that file look? [19:55:21] https://github.com/virtualagc/virtualagc/blob/master/SundanceXXX/SundanceXXXDifferences.txt [19:56:00] I would have to differentiate between mission and rope specific padloads [19:56:22] after all this is meant to be able to fly a different mission with the rope [19:56:38] right, yeah [19:56:41] only the default inputs give the Apollo 12 padload [19:57:18] let's see how many typos our current Apollo 12 padload has... [20:00:35] only relevant difference really is a flag [20:00:41] which the Apollo 13 padload sets [20:00:45] but not the 12 one [20:00:52] so that's wrong in our padload [20:01:42] two flags even [20:02:48] Earth vs. Moon flag for the CSM and LM state vectors [20:02:57] not sure why that is helpful to padload... [20:03:14] gets overwritten anyway with the first uplink [20:04:01] are there other flags in the same flagword that are useful to padload? [20:04:11] could just be different people making different random choices for flags that don't matter [20:06:49] Apollo 12 has it loaded as 0 [20:07:06] so the flagword is one that is in the padload list [20:11:01] it's being padloaded with the flags set to lunar orbit for Apollo 13-17 [20:11:16] so for some reason they started doing that [20:12:22] indy91_, I had 2 engine failures on ascent yesterday [20:12:32] tough day [20:12:35] needless to say I had not enough fuel for TLI :D [20:12:57] but I really wanted to test things so I cheated and added the fuel back with the scn editor [20:13:48] I think the LVDC can deal with only engine failure if I remember correctly [20:14:11] kind of [20:14:19] it doesn't really account for it [20:14:24] or rather it can deal with more, you can make it to orbit with enough fuel with only 1 engine failure? [20:14:34] enough fuel for TLI* [20:14:45] right [20:15:00] if you are before MRS then it doesn't account for the changed conditions after MRS [20:15:20] but after MRS it uses measured acceleration for burn time calculations [20:15:25] so then it's no problem anymore [20:15:41] 2 S-IC engines or S-II? [20:17:46] 1 S-IC at ~45 seconds and 1 S-II right before S-II staging [20:18:11] oh only 1 S-II engine doesn't matter [20:18:35] the IGM needs to do certain assumptions for how the burn will proceed after MRS [20:18:50] and that part can only account for one S-II engine failure [20:19:01] so you get more of an attitude change at MRS [20:19:07] if 2 engines had failed [20:19:19] also, I think at some point they added support for 2 engine failures [20:19:27] pretty late, like Apollo 14-15 or something [20:20:09] I had about 54% SIVB fuel at insertion [20:20:18] but that early S-IC failure is what's hurting your fuel left [20:20:45] I think that's adding a lot of gravity loss [20:21:07] right [20:21:29] doesn't change its picth profile when an engine fails? [20:21:33] pitch* [20:21:49] S-1C [20:22:02] it does [20:22:45] did it do any strange attitude changes? [20:22:51] at any point during launch [20:23:16] I feel like one S-IC engine failure like that should maybe not be enough to loose so much performance [20:23:19] yes after SII ignition [20:23:22] hmm [20:23:28] might be normal [20:23:43] and the S-II failure was so late it didn't really matter I guess [20:23:54] it picthed up quite steep [20:24:07] yeah I guess it was quite low [20:24:13] yeah [20:25:01] do you want a T-60 scenario? The failures are already programmed [20:25:45] already launching :D [20:26:00] hahaha [20:26:34] I see it stopping the pitch program [20:26:41] and continuing later [20:27:21] oh I forgot to mention, this is OpenOrbiter and using Ryan's latest weight chnages [20:30:21] I am just launching Apollo 11 to see the general behavior with a failure at 45s [20:33:13] but I think it's all normal. The only part I should probably check is the behavior of the pitch program [20:33:18] maybe it stops it not long enough [20:33:41] the data we use there is from a very early stage of development iirc [20:34:01] does the center engine cutoff cause issues? since its already down 1 engine [20:37:45] it doesn't help I guess [20:37:57] but I'm pretty sure that was not inhibited if there was an engine failure [20:38:01] not 100% though [20:39:25] 56% left [20:39:55] I think it's the gravity losses from the S-II having to pitch up so much [20:48:35] I think it behaves correctly with the pitch program freeze [20:48:47] at least according to the numbers we have [20:49:13] which are from a graph that has some suggested updated values for Apollo 9, updated from 8 [20:49:33] of course possible and likely that they made further changes [20:49:54] a failure at T+45s should freeze the pitch program for about 16 seconds [20:50:15] and then continuing from where it was before [20:52:49] these numbers aren't in the presettings, they are hardcoded [20:53:53] what I would like to find though is something like "If you get an engine failure before X seconds then you can't make TLI" [21:00:06] night! [13:44:33] hey [14:30:42] hey Alex [14:48:00] n7275, is there a gravity model in the works for earth? Or is the one with OpenOrbiter already good enough? [15:09:54] hey guys [15:18:51] hey Niklas [15:19:45] about to burn LOI [15:19:57] and give these mascons a good test :D [15:20:34] im of course targeting the planned apolune for DOI-1, 15 NM [15:21:07] which should become ~13 NM by PDI [15:21:16] DOI-2* [15:21:45] ugh [15:21:48] perilune [15:26:16] will be interesting how everything holds up :D [15:35:09] hmm [15:35:13] wait a moment [15:35:33] did you input a biased DOI perilune in the LOI processor? [15:35:38] accounting for the gravity? [15:35:50] I don't mean accounting for the DOI-2 [15:37:27] oh great, just saw something with that [15:37:37] the LOI processor uses a mixed set of propagators [15:37:47] partially the old one which can't take the gravity into account [15:46:11] hmm [15:46:29] Its set to 15 for DOI perilune in the LOI processor right now [15:51:34] anyway, right now the LOI processor can not fully take that more complex gravity model into account because it uses two different propagators [15:52:00] but I am changing that in my coordinate branch here, had to do changes there anyway [15:52:16] ok [15:52:28] and the orbit parameters at the landing site will never have to be biased to account for this [15:52:44] because the LOI processor propagates the state vector backwards from PDI to DOI [15:53:48] so does this mean just a small difference or potentially a mountain? :D [15:54:33] no idea what it means right now for you mission haha [15:55:02] I guess just a bit off in time over landing site and crossrange [15:55:53] I use the GPM for DOI-1 anyway so if theres issues its probably more due to that :D [15:56:39] yeah [16:00:02] as long as its better then real Apollo 12 :D [16:07:34] morning! [16:09:26] indy91, it took me until late last night to realize that a question I asked a couple days ago is dumb [16:09:39] "where else is there mu other than earthtab" [16:10:19] the answer is, in every single velocity. all of the velocity is scaled by the sqrt(mu) so when you multiply by velocity you're also introducing a factor of 1/sqrt(mu) [16:10:38] and that has made a lot of the math make more sense lol [16:20:48] yeah, but I am not quite sure where that leaves time [16:20:58] what unit has time then :D [16:22:06] dt/2 also will have a 1/sqrt(mu) in it [16:22:16] but otherwise, weeks [16:23:33] and the Kepler equation has to divide by sqrt(mu) [16:23:42] which then doesn't have to be done to get the time of flight I guess [16:24:06] might the reason to use these units [16:24:11] as that is called so often [16:24:25] and if you can get rid of a divide by something that should make things faster [16:24:57] it also makes the code more general in a way -- it doesn't have to consider which body it's around if the mu is just baked into the time and velocity [16:25:29] yeah, it just becomes a problem if you need to switch the sphere of influence [16:25:34] like on the way to the Moon [16:25:42] yup [16:25:43] then you would need to rescale in terms of a new mu [16:28:05] AlexB_88, I hadn't added one for Earth, so Orbiter is still just using the default zonal one. there are some good ones out there I just need to write something to convert one of them into SHADR-ascii format. [16:57:47] ah ok [18:19:26] indy91, I just did a P21 at 95:40:00 (with a fresh SV) [18:19:39] and put in a time of 112:00:00 (DOI-2) [18:20:27] hmm nevermind this is not what I am trying to accomplish :D [18:22:44] ok lets try again: Im doing a V82 [18:23:05] right now (95:40:00) 59x15 [18:23:34] and at 112:00:00 (DOI-2) it gives 60.5x14.6 [18:23:41] not too different [18:23:49] with the padloads update [18:23:54] yes [18:24:42] I was expecting more [18:24:45] same [18:24:49] but it's quite mission specific [18:24:56] we have better actual orbit data for 15 [18:36:30] looking forward to see the actual orbit after the rest period [18:37:05] should have the data in 8 hours divided by 30 :D [19:05:25] indy91, so just did a V82 right after a SV update at 107:00:00 [19:05:30] 61.5x13.2 [19:06:00] pretty much as expected [19:06:15] hmm [19:06:18] but AGC didn't expect it [19:06:25] right [19:06:39] pretty sure it should [19:06:54] did you put those padloaded parameters in the right scenario? :D [19:07:00] I hope I gave you the right addresses [19:07:16] did you check in CSM or LM [19:07:29] CMC or LGC* [19:07:33] CMC [19:07:46] in my last quicksave [19:07:47] EMEM1347 12160 [19:07:48] EMEM1350 3363 [19:08:02] that's the LGC addresses [19:08:03] tahts LM [19:08:10] 1766 [19:08:20] in the CMC [19:08:36] EMEM1766 12160 [19:08:39] EMEM1767 3363 [19:08:43] that's correct [19:08:47] well [19:08:52] they did underestimate this effect [19:08:56] in the RTCC too [19:10:30] making complicated biasing procedures necessary for state vector and RLS uplinks [19:10:55] I said "as expected" but I am already at 13.2 NM at 107:00:00...I should have only attained it by DOI-2 time [19:11:23] so I guess the 15 NM they targeted should have been a bit higher [19:11:44] I wonder what the perilune was on the real mission right before DOI-2 [19:12:07] where did you get the 13.2? [19:12:18] ah sorry haha [19:12:20] roughly 80000 feet right? [19:12:24] right, seems a bit early [19:12:46] yeah [19:13:12] but [19:13:15] could be quite right [19:13:17] mission report [19:13:20] CSM sep maneuver [19:13:31] which is 1 ft/s and does change HA/HP because it's vertical [19:13:33] but not a lot [19:13:36] 61.5 x 11.5 [19:14:12] thats the pre-burn perilune? [19:14:23] orbit after CSM sep maneuver [19:14:35] ah ok [19:14:44] maybe you get something similar [19:14:57] it also says the perilune was 14.5 after DOI-1 though [19:15:03] so they started out slightly low I guess [19:15:11] interesting [21:17:10] night! [13:11:13] hey [13:19:09] hey [13:21:48] just before CSM sep, V82 showing perilune of 13 NM [13:22:06] so it didn't go down much more then I thought it would [13:26:05] ah interesting [14:36:16] hello [14:38:20] at great cost to my sanity, I have updated the CSM pipes in my pipe branch too. [14:40:40] I think I still need to fix something in code for pressure on ascent. is a bit slow right now [14:42:28] hey Matt [14:42:40] it would be much nicer if we had a system where we had to do less guessing [14:46:48] I will be very happy when the CSM ECS is only config-based systems, and not the hybrid we have now. [14:49:25] I've been looking for ways to visualize the systems interconnections from the systems-config. most of the connection information is there. some kind of automated network graph drawing utility [14:56:01] that sounds useful [15:03:23] what would be even more cool is if we had some sort of graphical editor...but that sounds like a lot of work [15:16:51] I think getting the pipe update merged, then the liquid update, then the heat update is what my task list looks like now [15:17:53] then maybe I'll pick an easy project :) [15:34:27] are there any easy projects left in NASSP? :D [15:37:46] probably not [15:38:32] telemetry is probably my next one [16:35:54] Cernan at ~4 mins into Apollo 17 PDI: "Okay. The tapemeter moves in spurts and jerks, both on altitude and altitude rate" [16:36:16] I guess that confirms the real thing wasn't smooth [16:36:19] can't be, Don fixed that! [16:36:24] haha [16:36:36] then it must also be an issue with the tapemeter itself [16:49:42] btw I gave myself a N69 downrange update, using UVW data from the vector compare display [16:49:51] was only 24 feet [16:51:31] so I guess that would be the amount of change since the state vector update (PDI -15 min) and the tracking vector I took at PDI - 20 seconds [16:52:11] yeah, not a lot of time [16:52:27] the state vector uplink might be based on tracking on the previous rev in reality [16:52:49] and then they do real time measurements shortly before PDI and calculate a downrange error [16:53:00] right thats what I imagined [16:53:14] do you have the Apollo 15 navigation results document? [16:53:21] hmm let me check [16:53:51] it goes into a lot of detail about RLS, SV biasing and N69 calculations [16:54:00] most of which I don't really understand yet :D [16:54:24] I wonder if it would be more realistic to use a vector taken on the previous REV for the uplink at PDI - 15 mins [16:55:01] because the uplinks are literally seconds after AOS [16:55:35] yes I have it [18:16:43] so I am 99% sure the real DOI-2 was calculated using a simple height change maneuver [18:17:24] lowering the perilune, without regard to a perfect placement of it from the landing site, so DVZ 0 [18:18:22] the real DOI-2 PAD had DVZ 0 [18:18:48] but its pitch attitude was about 10 degrees off from the pre-mission value [18:20:13] so that suggest that the pre DOI-2 perilune would have drifted away from the target (10 degrees post landings site) by DOI-2 time [18:20:42] but they didnt bother to correct it with any DVZ [18:26:20] come to think of it, early in the PDI gene comments about how they are 5-10 thousand feet higher then they should be...maybe this is exactly why [18:42:32] doing an DVX only burn that is not at apolune/perilune would also rotate the orbit a bit [18:42:46] maybe that's what they tried [18:47:00] right [18:49:46] unrelated, but does the failures in NASSP listen to GetDamageModel()? [18:49:59] I cant find anything in the code that references it [18:50:27] so I guess you can still get failures if that is "Damage and failure simulation" unchecked [18:50:51] yeah I think right now it doesn't really look at that [18:50:58] could be implemented again [19:55:18] Si I just tried using a SV vector taken at AOS on the REV before PDI and propagating it to PDI-10 for the final LM SV update [19:55:43] 1-69: +09148 [19:59:15] 1-69? [20:00:05] R1 of noun 69 (downrange) [20:00:23] so a 9148 foot downrange error [20:00:41] most missions it was never more then ~3000 feet though I think [20:00:49] which two vectors are that compared to each other? [20:02:07] AT PDI minus 20 seconds: TLM downlink of onboard LM SV and a current vector [20:02:17] ah ok [20:02:36] I am not really surprised based on the Apollo 15 navigation results document [20:02:43] the uplinked SV had a biased time tag [20:03:17] and the N69 then had to account for remaining errors measured after AOS on th ePDI rev [20:03:42] would the mascons introduce a plane error in the SV as well? [20:03:52] yep [20:04:30] because they didn't do any lateral N69 adjustments it seems [20:04:39] only downrange [20:04:46] yeah, I think it's mostly downrange [20:05:56] they biased the RLS a bit to account for it [20:06:02] all very messy procedures [20:06:30] because they never had a good propagation model in RTCC or AGC [20:08:14] I bet you if they had a copy of OpenOrbiter they might of used it to help the biasing :D [20:09:26] haha [20:09:27] https://history.nasa.gov/afj/ap13fj/pdf-hr/a13-nav-procs.pdf [20:09:31] also a useful document [20:09:37] navigation procedures [20:10:37] ah thanks [20:11:32] if you fully understand it let me know and explain it to me :D [20:19:37] haha [20:27:24] ELP82 is also probably not exactly 100% accurate to the real moon [20:27:36] not is LP165 [20:27:47] s/not/nor [20:30:16] if you want to give your CPU a good workout you can always try with GRGM1200A. [20:31:59] does ELP82 matter though? [20:32:11] isn't gravity calculated based on lat/long? [20:34:42] hmm, yeah good point [20:37:07] although if Alex is reading that document closely, they are actually accounting for an ephemeris error in those navigation procedures [20:38:07] DE19 vs. DE69 [20:38:39] haven't looked at it closely yet no, but interesting [20:39:07] yeah slightly strange [20:39:11] non-spherical gravity shifting line of apsides, and tidal interactions with the earth and sun couldn't account for that much if the moon was a bit off in rotation or inertial position could it? [20:39:19] why couldn't they get the good ephemeris tape from JPL and load that in the RTCC :D [20:39:48] lol [20:40:02] last minute discovery? [20:40:36] maybe [20:40:48] pretty sure I have another MSC memo about that [20:40:58] but for Apollo 15 [20:41:09] still DE19 vs 69 [14:18:41] hello [14:32:59] hey Matt [15:20:00] I'm going to work on updating some of the mission scenerios for my pipe update today [15:20:48] I think it's plausible that someone would try to fly a full mission from one of the -60 second ones, so I think I'll just prioritize those. [15:23:39] looking at some of the Apollo 7 ones. this is just a drop in the bucket of outdated things. so, probably good to merge after that. [16:34:02] Hey Niklas [16:37:57] @n7275, yeah I think Nik is making Apollo 11 scenarios again [16:40:25] hey guys [16:40:28] I am! [16:40:53] oh cool [16:44:43] hey Niklas [16:45:12] I am already up to post docking, after the rendezvous [16:45:21] MCC likes my coordinate system changes so far [16:46:02] ah nice [16:46:15] so on my Apollo 17 flight, there is something I didn't mention...my MCC-1 was 70 ft/s [16:46:45] but I chalked it up to the S1C failure and me re-adding fuel in orbit with the scn editor to make TLI [16:47:02] but I just re-flew it without the S1C failure [16:47:12] MCC-1 is now 130 ft/s :D [16:47:37] is the MCC doing something wrong or do you think it's a RTCC bug? [16:47:42] So the launch has a 52 minute delay [16:47:49] oh [16:47:51] hmm [16:48:03] I think it may be an LVDC presettings issue, but not sure [16:48:14] and you accounted for the GET difference [16:48:18] in the TLMCC [16:48:23] no the RTCC was so good that it got me right back on track lol [16:48:52] hmm [16:48:59] yes [16:49:03] what perilune does the trajectory have after TLI [16:49:20] ah good question, ill check right now... [16:50:08] if that is off it is surely a presettings issue [16:50:28] or LVDC bug [16:50:39] although I didn't change anything in the LVDC in the last year really [16:50:42] so that would be weird [16:51:17] and if perilune is off, also check if the S-IVB didn't run out of fuel :D [16:52:43] right after TLI cutoff: space digitals column 2 says HCA 6070.6 [16:52:52] ouch [16:52:59] slight overburn :D [16:53:07] hmm [16:53:26] wierd [16:54:12] would the recent mass update cause this maybe? [16:54:17] no [16:54:30] maybe an underburn, but not an overburn [16:54:50] got a lvlog for TLI? [16:54:59] if not I can check later with a pre TLI scenario [16:55:12] the presettings consist of several segments [16:55:47] if I have a typo in one presettings in the middle then my tests of launch on time and at the end of the launch window might not have caught some issue [16:56:57] hmm no but Ill fly it again and get you one [16:57:12] ill get you a pre-TLI scn too, but no rush [16:57:29] btw when I thrust forward in this post TLI scenario, the HCA goes down [16:58:08] hmm a severe underburn could cause you to not even fly to the backside of the Moon [16:58:21] SIVB fuel 0.0219 [16:58:31] that's pretty normal I think [16:58:49] ok [17:04:58] flying it right now [17:05:11] this is OpenOrbiter btw, but I don't think it should matter [17:11:17] ok weirdly after flying it again I have an MCC-2 of 30 ft/s and MCC-1: 15 ft/s [17:11:28] still a bit high though [17:11:57] indy91, https://www.dropbox.com/s/xcdv7h9qmb950ez/lvlog.txt?dl=0 [17:13:24] and those MCCs are with or without LOI time constraint? [17:13:40] accounting for the upcoming liftoff time update [17:14:12] without [17:14:16] F23 0 [17:14:39] so at MCC-1, 15 ft/s with a GET LOI of 86:25 [17:15:05] +52 minutes, it would be 87:17 [17:15:41] still way short of nominal LOI time of 88:55 [17:17:38] if I constrain it for the proper LOI time then it becomes 80 ft/s+ [17:19:09] https://www.dropbox.com/s/ie5zkn5chsvrdc7/Apollo%2017%20-%20Before%20TLI%20test.scn?dl=0 [17:22:42] SV Accuracy: 8674.516230 -25.909701 446.716891, is that ok just before TLI? [17:23:48] looks like almost 10 km in one component [17:26:39] that's a bit more than usual I would say [17:26:46] but TLI is also later for 17 [17:27:11] mission rule checks downrange error at 1:45h [17:27:21] and allows for 56,894 ft [17:27:32] otherwise a state vector uplink becomes necessary [17:30:37] I'm not seeing much unusual in the TLI orbital parameters the LVDC calculates at ignition [17:31:41] I can check your scenario in a bit, with IU state vector uplink and in Orbiter Beta [17:31:45] maybe that makes a difference [17:35:08] one thing, this scenario had a SII engine failure shortly before staging [17:35:20] but I had removed the SIC failure from the original run [17:35:45] Ideally I should have tested with no failures :D but I forgot to remove the 2nd one [17:36:10] but I doubt it should have caused issues [17:45:10] no failures and no delays :D [17:46:23] ah the scenario is in TB6 [17:46:34] can't uplink a new SV there [17:46:40] but I'll fly it anyway [17:47:08] uhh [17:47:13] what's with your mission timer [17:47:22] also got a liftoff signal failure? [17:48:15] I put 3 in the random failure box :D [17:49:46] maybe a bit too ambitious...should have done 1 or 2 [17:52:43] you know you are allowed to change the mission timer right haha [17:53:02] haha yeah [17:54:13] this particular mission was a test I started from a minus 60 scenario yesterday...I didn't necessarily fly it perfectly as I was just testing the IU performance [17:54:35] as you can see the ORDEAL isn't set either lol [17:54:47] I just used checklist MFD auto exec [17:56:05] the main thing I was testing was see how it would fly without the S1C engine failure, and see if it would get rid of that very high MCC-1 [17:56:31] but it looks like its something else [17:56:35] HCA -511.4 [17:57:06] probably the same as with your 15 ft/s MCC-1 [17:57:15] yes [17:57:28] it was -400 or so [17:58:06] so I guess not an OpenOrbiter issue [17:59:09] I guess next step is a no delay and no failure (completely no failures) test [17:59:28] mission technique document has some rules of thumb [17:59:51] 279 NM perilune difference per 1 ft/s of TLI cutoff difference [18:00:17] and we are missing the LH2 venting after cutoff [18:00:26] which they started doing on Apollo 13 or so [18:01:01] although I feel like that is accounted for in the cutoff DV biads [18:01:03] bias* [18:02:40] I think it's possible that the majority of the error comes from bad IU state vector [18:04:34] right [18:05:06] it must be since I remember you saying that MCC-2 was pretty low on your tests with the new presettings [18:05:25] "[15:28:32] MCC-2 is 4.6 ft/s with option 4" [18:05:30] https://nassp.space/irclogs/2023-03-22-18%3A55_Log.log [18:06:54] [15:31:30] 6.0 ft/s with time constraint [18:06:59] that was a launch on time [18:07:42] got a scenario that's not in TB6 yet? [18:07:50] sure [18:08:08] I'll check with the MPT, what it thinks [18:10:06] https://www.dropbox.com/s/1qscd5cry84s6fw/Apollo%2017%20-%20Before%20TB6.scn?dl=0 [18:10:46] at least you didn't forget to save often :D [18:12:51] every 3 seconds or so :D [18:13:04] nice thing about OpenOrbiter is no pause when saving [18:13:16] not even with 1000 scenarios in your quicksave folder [18:14:48] ah great improvement [18:14:51] iiiinteresting [18:15:01] MPT predict -400 NM perilune [18:15:53] so the LVDC is very accurately navigating to the wrong place :D [18:16:42] seems like it [18:17:01] the RTCC TLI file is generated from the scenario, where I had put in the presettings [18:17:08] so every typo or so would translate [18:17:17] but yeah, this is quite interesting [18:17:25] maybe it's not even a major typo or so [18:17:43] it's possible that just one number in the presettings is slightly wrong [18:17:45] but how was it so nominal in your tests? [18:17:52] well launch on time [18:17:59] and at the end of the launch window [18:18:05] I didn't test in between [18:18:09] right [18:18:27] and there are multiple numbers which the LVDC does linear interpolation on [18:19:33] 52 minutes delay... [18:20:17] the first segment of the launch window goes up to 3957 seconds [18:20:44] so it really has to be the second numbers in the table that is wrong [18:20:59] because with launch on time mostly the first number applies [18:21:55] and it's still in the first segment [18:22:05] interpolating between the first and second number in the table [18:24:54] I am not seeing an error [18:25:05] not compared to the numbers Mike gave me [18:31:37] I guess it could just be an issue with one of the segments? [18:36:14] maybe [18:36:40] for a launch on time I see a predicted perilune of -46 NM [18:36:46] so also low, but a lot less severe [18:37:15] could be a difference between RTCC simulated cutoff DV and the one it uses to simulate LVDC cutoff [18:38:23] but that's a very small DV difference [18:39:16] considering 1 ft/s gives 279 NM difference in the worst case [18:42:36] right [18:42:50] I wonder what the 2:40 delay scenario gives [18:43:06] I don't think its actually been tested yet with the new presettings [18:43:45] when I flew it last month, I unknowingly still had the old ones based off the real mission cutoff conditions I think [18:44:06] yeah, I had forgotten to update the other scenario [18:44:21] for the actual conditions we have some data [18:44:27] that I could compare to the presettings [18:45:12] also, we are really not far away from being able to use the MPT before launch [18:45:24] then you wouldn't need to actually launch to check this [18:45:32] right [18:45:36] well [18:45:48] we need updated numbers for 90 NM orbit launch [18:46:10] and I don't think the init page will automatically pull the right data out of a full Saturn [18:46:16] btw I may have asked you before, but do you think it would be feasible to calculate presettings for a full luanch window for the other missions, without access to the real ones? [18:46:22] yes [18:46:34] I started a project for that [18:46:39] but it has long to go [18:47:20] especially considering that what I started to develop, the tool they used at the MSFC for generating LVDC presettings, is not the first step [18:47:37] it needs some input data for perilune flyby conditions [18:47:52] which I think came from MSC [18:48:21] MSC might have used the Apollo Reference Mission Program to do this [18:48:44] but I don't really know the full process for translunar trajectory planning [18:48:48] not even close [18:48:54] right [18:49:41] I have a user manual for the reference mission program, but it contains no equations [18:50:02] seems difficult to calculate anything with that completely from scratch [18:50:12] slightly better is a tool that Bellcomm developed [18:50:22] but I also have only partial equations there [18:50:36] it produced graphs for lunar surface accessibility [18:50:48] but generated many actual translunar trajectories [18:51:36] so developing something from that could be useful to e.g. input a lunar landing site and it finds some estimated conditions for arriving at the Moon, TLI etc. [18:52:12] and the output from that would be really useful for the tool that generates LVDC presettings [18:59:14] AlexB_88, https://i.imgur.com/kLHc3i5.png [18:59:30] if you fly Apollo 17 with actual launch time then those "desired" values would be a good comparison [19:00:01] most of them are calculated at ignition [19:00:20] C3 is just interpolated from the table at orbital insertion [19:00:30] I can check that right now [19:03:18] ah ok [19:04:08] -1684265 [19:04:34] ah wait [19:04:44] btw LVDC_TPA1, 2 etc, those define the segmen times? [19:04:52] segment* [19:05:34] -1683906 [19:05:44] very close [19:05:56] yes [19:06:09] TPA0 is the start time of the first segment for the first TLI opportunity [19:06:18] TPB0 would be for the second TLI, but they are set the same [19:07:44] ah still mathed wrong [19:07:52] now I get exactly the right C3 [19:08:24] so if I want to test the accuracy of the other segments, I can launch at each of segments? [19:08:39] yeah, best right in the middle I guess :D [19:08:47] like at 8004, 11599 etc [19:08:49] launch window opening in the LVDC presettings is at 72° [19:09:03] actual launch window opening is rounded up to the next minute [19:09:22] so for Apollo 17 the launch on time would already be 58 seconds into the launch window [19:09:31] in terms of the LVDC presettings calculations [19:11:44] the eccentricty also seems pretty close to correct [19:12:04] the other parameters are more difficult to judge [19:13:10] I mean even at its worse, this "bug" can't cause it to be off by much I would think [19:13:28] seems like maybe 2 ft/s in TLI cutoff [19:16:11] the numbers for the new presettings were straight from the 17's LVDC memory if I recall?\ [19:16:18] yes [19:16:21] well [19:16:23] the listing [19:16:33] but it had the right launch day and everything [19:16:55] wonder if the real mission also had this error :D [19:17:12] if they had launched 52 mins late [19:17:16] I am more wondering about the post TLI LH2 venting that we don't have [19:17:30] the cutoff DV bias is mentioned in the flight evaluation report [19:17:34] we use the right one [19:18:19] usually the presettings are calculated assuming no trajectory change after TLI [19:18:26] but how does that explain why the nominal launch in NASSP is almost perfect [19:18:44] it doesn't yeah [19:18:47] wouldn't the LH2 venting affect all [19:18:50] yeah [19:37:17] the only thing I can still think of is make thewonderidiot check some presettings he gave me for typos :D [19:37:51] right [19:38:23] there is no obvious one, that is for sure [19:38:40] each of the times (3957, 8004, 11599, etc) is the time if you launch then, there is no interpolation? [19:40:29] basically [19:40:32] ah good idea [19:40:40] maybe it would be the worst if you launch at 3957 [19:41:24] would potentially make it more obvious [19:41:30] but doesn't really help us [19:41:38] the presettings look reasonable [19:41:50] would still be a typo I can't see and therefore not correct [19:42:39] I am trying 8004 right now [19:42:55] if its 3957 only that is faulty, this one should be pretty good [19:43:04] it's easier to check now that the listing has been fully transcribed [19:43:29] remember you need to subtract 58 seconds from your delay launch time [19:43:33] I can do a double-check against the transcription [19:44:07] indy91, hmm right [19:44:31] DECA1, RASA1, C3A1, COSA1, ENA1 [19:44:34] well I actually launched at 8100 :D [19:44:38] 135 minute delay [19:44:53] I mean as long as it close to it? [19:44:59] yeah [19:45:20] those above are the ones where a typo would have the worst effect on the mission that Alex had launched [19:46:03] so those 5 numbers would be good to have checked again :) [20:11:54] ibdy91, different subject, but I was trying out getting a SV on the previous REV before PDI, then storing it for the uplink at PDI minus 15 [20:12:44] and it was giving me a ~9000 ft downrange error, which is more then double what they got in RL, so I tried biasing it myself [20:12:49] without much luck :D [20:13:01] its seems to be very tough buisness this biasing [20:13:34] I mean the goal was to try and simulate the "need" for a N69 update [20:14:29] so I had another idea, I decided to try out getting a perfect SV at PDI-15 minute, but before the uplink, introduce a random error to its time tag [20:14:39] the error could be anywhere from -1 to +1 seconds [20:14:59] which would equate to -5500 to +5500 ft downrange error apprx [20:15:49] that magnitude of error is pretty realistic, but its faked of course with my technique lol [20:15:59] indy91* [20:17:04] how are you doing the biasing? [20:17:46] they probably started doing this on Apollo 12 and most of my RTCC documentation is older than that, so they probably made some changes to uplinks to make this easier [20:17:56] also, they were getting much larger errors [20:18:10] it's just that most of it was already correct for before the N69 [20:18:14] I tried measuring the downrange error of say 1 full orbit in the decent orbit, then calculating how many feet downrange per second it diverges [20:18:15] corrected* [20:18:28] yeah but how are you manipulating the uplink [20:18:52] just adjusting the MJD [20:19:03] with conversions of course [20:19:54] how? [20:19:56] like SV.MJD, convert to GET, add delta seconds, then convert back to MJD [20:19:59] oh [20:20:01] in the MCC [20:20:05] I thought RTCC MFD [20:20:21] haha yeah I was doing that with my MCC branch for 17 [20:20:27] so on Apollo 15 they prepared a state vector to uplink, called SV1 [20:20:44] I don't think they actually uplinked it, that was SV2, but it was a sort of backup [20:20:51] SV1 accounted for 2 revs of downrange error [20:21:11] they changed the time tag by a whopping 8.94 seconds to account for -49592 feet downrange error" [20:22:13] SV2, the one that actually got uplinked, was 2.91 seconds, -16206 feet [20:22:35] and then anything remaining was correct with N69 [20:22:44] with measurements after AOS on the landing rev [20:22:52] corrected* [20:24:57] and btw, state vectors using MJD are getting phased out :D [20:25:13] but it's been a long, long process and not done yet [20:28:06] using GET now? [20:28:44] GMT [20:28:50] ah [20:29:16] I guess that means less converting :D [20:29:25] yeah [20:30:32] so what was the purpose of SV1? [20:30:41] with 2 revs of downrange error [20:33:29] ah sorry, it was actually uplinked [20:33:43] on AOS on rev 13 [20:34:30] seems similar on Apollo 17, just that the uplink is a bit later [20:35:07] closer to the end of the rev before landing [20:35:22] all the processing of data usually happened between LOS and AOS [20:35:55] so they would have chewed on all the final tracking data starting with LOS and then uplinked after AOS not long before PDI [20:39:00] right [20:39:50] btw my launch test near the 3rd segment (135 minutes) is just about perfect [20:40:23] TLI-1: MCC-2 6 ft/s [20:40:34] TLI-2 2 ft/s [20:40:51] it almost seems optimized for TLI-2 [20:41:51] so it looks like there must be something off in the second segment, but not the third [20:41:57] Ill have to check the others too [20:42:56] might be a coincidence [20:43:11] usually the DVs for TLI-1 are better [20:43:18] and Apollo 17 was certainly optimized for that [20:43:23] right [20:43:31] and even with a perfect TLI there are some expected MCC-1 DVs [20:43:44] there is data on that in the LVOT [20:43:46] btw does the MPT automatically update DVREM now? [20:44:01] it has always done that I think [20:44:29] I remember at one point you had to manually enter the weight for each stage I think [20:45:08] the calculation for DVREM was there, it's just that were was no good method for inputting propellant data [20:45:20] ah with M49 [20:45:24] that was certainly improved with the new init page [20:45:42] so you don't need to update MED M49 yourself? [20:45:50] not by hand [20:46:40] but you have to put the data on the MPT still on the init page [20:46:50] the auto detection button updates all MED inputs(!) [20:47:01] ah ok [20:47:04] but you still have to switch through the MEDs and actually put the data on the MPT [20:48:33] are you usually doing that? [20:48:51] the process to update all MPT MEDs is pretty quick [20:49:31] but I didn't want it fully automated, I still wanted you to check the left side (MED inputs) before pressing UPD to put the data actually on the MPT [20:49:37] (right side) [20:49:44] for each MED [20:51:41] I like the new process much better because it has all capabilities, but if even you are having trouble with it, I might have to revisit it [20:51:55] minus CSM vs LM, that's still a bit confusing, I'll change that for sure [20:57:42] I think its fine once you understand it [20:57:59] its definitely better then before [21:00:27] yeah. I guess it will continue to improve [21:00:30] I hope :D [21:01:08] but back to the LVDC, I think your results are quite suspicious that some value of the second data point are off [21:01:14] is* [21:01:29] because launch at the first and third time is fine [21:01:37] but not the second [21:02:20] and I had tested the last one, too [21:02:52] so an error in any of the 5 parameters I wrote earlier would be a good explanation [21:04:19] I hope Mike finds something. Would be the easiest solution. [21:04:24] im luanching the fourth right now, well report back [21:04:30] sounds good [21:04:33] until then [21:04:35] good night! [21:04:39] cya! [21:10:39] .tell indy91, fourth segment also looks good [21:11:09] .tell indy91, so the error really must just be isolated to the 2nd [21:28:44] .tell indy91, another thing...it seems its only TLI-1 of the 2nd segment. TLI-2 on it shows DV MCC of 6 ft/s which is pretty nominal. [21:31:23] .tell indy91, ah wait, nevermind, I was using MCC-1 TIG...so segment 2 TLI-2 with MCC-2 TIG is about 15 ft/s (no time constraint)...still ~15 ft/s higher then nominal [06:39:14] .tell indy91 you were right, COSA1 had a typo. I had 9.978087 E-01but it should be 9.968087 E-01 [13:05:53] good morning [13:27:52] hey [13:30:51] I hadn't really been following along, how is the gravity testing going? [13:40:29] quite good [13:41:27] I targetted the planned 15 NM apolune for DOI-1, instead of straight to 13.12 NM (80000 ft) like we do in Orbiter Beta [13:42:07] and it seemed to slowly reduce from 15 down to 13 NM during the long wait from DOI-1 to DOI-2 [13:42:12] as expected [14:05:08] nice! [14:50:21] hey [14:50:55] "COSA1 had a typo. I had 9.978087 E-01but it should be 9.968087 E-01" [14:51:01] awesome! [14:51:14] that will be it [14:54:08] oooh [14:54:24] AlexB_88, hmm, but you think there is a TLI-2 issue as well? [14:54:30] because that uses a different number [14:54:37] hmm [14:55:19] well my test with 52 minutes late launch and TLI-2 on the MPT: MCC-2 (no constraints) is abou 15 ft/s [14:55:49] on the other segments that is never more then 6 ft/s (no constraints) [14:56:39] but I will say it was late when I tested :D let me try again to see if I messed up something [15:03:29] I'll test the fixed presetting with the MPT [15:04:31] I can also check the result for the second TLI using the same scenario actually [15:05:39] would be a weird coincidence if the TLI-2 presetting also has an error in the same place in the table [15:10:03] HCA = 193 NM [15:10:06] for first TLI [15:10:14] I'd call that good enough [15:10:23] it's never going to be perfect [15:11:17] second TLI in same scenario (your 52 min delayed one) has HCA = 11.5 NM [15:12:14] that's an easier check than doing a TLMCC calculation [15:12:30] because that requires you to add an undocking maneuver to the MPT which gets rid of the S-IVB etc. [15:12:40] so I call this good [15:19:56] hi Niklas [15:20:59] hey Matt [15:21:04] indy91, great! [15:22:46] so its just that one line? [15:23:02] COSA1 [15:23:16] I think so [15:24:10] it's kind of an aimpoint [15:24:26] well [15:24:40] after TLI the perigee was located in the wrong place [15:24:42] due to this typo [15:24:44] by 0.8° [15:25:34] just looking at the old value it was kind of off in the pattern [15:26:01] from 0 to 4 they all went slightly less [15:26:11] but 1 was a jump up [15:29:50] yeah, that was suspicious [15:31:14] its funny when I flew the mission, I used a randomizer to pick the delay amount [15:31:26] it just so happen to fall on the 2nd segment :D [15:31:43] maybe it would have been years before we catch it otherwise [15:35:02] quite possible haha [15:47:22] btw when you fix the scenario, don't forget the delayed one :D [15:51:10] https://github.com/orbiternassp/NASSP/pull/1006/files [16:05:15] check for yourself :D [16:19:32] just testing a launch right now with the updated numbers (52 min delay) no failures [16:28:48] looks good [16:30:20] approved [16:36:25] and merged [16:36:35] morning! [16:36:44] hey Mike, thanks for finding that [16:37:57] thanks for being so specific in where the problem might be haha [16:38:40] and thanks to Alex for launching at this specific time [16:39:15] it was an unlikely find haha [16:39:40] lol [16:40:39] hey Mike [16:40:43] nice find! [16:42:17] knowing where the error was I think I should have kind of seen that this number was off [16:42:41] but when you already know what to look for that's easily said [16:42:54] :D [16:42:58] yeah for sure [16:47:29] what is LVDC_DECA? [16:50:41] DEC A [16:50:47] declination for TLI 1 [16:50:57] it's basically a position in space the TLI is targeting [16:51:20] in the presettings it is loaded as declination and right ascension, like latitude nad longitude [16:51:23] and* [16:51:33] and builds a target direction from that [16:51:57] so LVDC_DECA is the table of those numbers for TLI-1 [16:54:21] right [16:55:03] maybe im just seeing a pattern where there isn't...but LVDC_DECA1 seems to go in the other direction then the rest [16:55:11] slightly [16:56:28] just comparing with the LVDC_DECB values, those seem to go consistently up ~0.02 [16:57:49] hmm [16:57:55] it can sometimes be non-linear [16:58:30] https://i.imgur.com/BZwC9t8.png [16:59:20] looks correct [17:00:03] graph of the declinations in the Apollo 14 LVOT looks also more like a qudratic function [17:00:33] ok can't argue with that :D [17:03:16] unrelated: I came up with new patches for RESTART CONTROL and MIDCOURSE NAVIGATION GAME in Corona that should enable and fix MNG without having any impact at all on the operation of the rest of the rope [17:03:21] https://drive.google.com/file/d/1lN3yTE-yQr8Wh-U7N7-1scok40kGOfnP/view?usp=drive_link [17:04:41] if you want to try the P29-like thing, this is the procedure [17:04:45] V37E 17E KEYREL [17:04:48] (enter delta position) [17:04:50] (enter delta velocity) [17:04:51] V37E 15E KEYREL [17:04:52] (enter desired longitude as XXX.XX) [17:04:53] PRO through displays -- time of longitude, lat/long/az, position vector at long, velocity vector at long [17:09:16] oh very nice :D [17:09:53] something that maybe no other AGC version can do [17:09:59] calculating the azimuth like that [17:10:03] hehehe [17:12:02] so V37E 17E is midcourse initialization, that's what puts you into the parking orbit (plus whatever delta pos/vel you apply). V37E 15E on its own just does the P29 thing and exits. 11 through 14 are also valid options, and I don't know what they do yet [17:15:06] do the programs interact? [17:15:14] if you call them in a specific order [17:15:24] that's what I thought at first, and it may still be true for 11-14 [17:15:54] but I'm pretty sure 15 always sets everything up by itself and ensures it doesn't interact with the others [17:16:27] it does look like some of them assume erasables to already be set up by others [17:16:57] in a way it would be easier if these were actually all separate programs [17:17:38] in Sunrise fashion, V37E 15E is really saying "start manual phase 5 of program 1". all of these except for 17 go through the same code to begin with, but they set different flags (all of which are still a mystery) and then branch off based off of the flags [17:18:44] not all programs are standalone even in Colossus/Luminary :D [17:18:46] like P33 [17:18:53] needs stuff set up from P32 [17:19:05] but you can manually load nouns instead of going through P32 [17:20:53] hahaha right [17:21:10] MNG does not have the luxury of nouns really lol [17:21:20] using N32 to ask you for a longitude :D [17:24:48] ind91, do you know what the min threshold for downrange error was for issuing a N69 update? Can't seem to find it in the mission rules [17:24:52] indy91* [17:27:52] mission rules rationale document [17:28:11] https://history.nasa.gov/alsj/a14/A14MissRulesRationale.pdf [17:28:19] PDF page 76 [17:36:25] ah thanks [17:39:03] so 1000 feet, unless the data is "smooth" [17:39:22] maybe we can say in Orbiter its pretty smooth :D [18:23:10] all of my data is smooth :) [18:34:39] with a lack of tracking data processing in the RTCC the data is really smooth, like zero error [19:12:30] I think my pipe branch is ready for another look [20:09:33] quite a few valve changes [20:09:43] always these valves... [20:16:26] the vast majority of these never change, but a few do so they all have to be saved. I wouldn't mind coming up with a solution to that at some point. [20:20:02] I had the pipe constructor tell me what the effective size was for all pipes, and compared that against the inlet size for existing ones. I found a few things I'd missed. It doesn't do great things for flow stability under time acceleration in older scenerios, but other than making needles jump around it didnt do anything catastrophic for me. [20:25:46] sounds good enough to me [20:25:56] I can only really check the code [20:26:11] I'll have to rely on your and Ryan for systems behavior testing [20:26:16] you* [20:26:31] and I agree about vavle size saving [20:26:52] maybe we need to implement a special valve class for valves that can change in size [20:27:16] and not save/load them for standard valves [20:27:23] how that works with the tank class owning valves though... [20:54:36] night! [22:04:06] n7275, Ron is having problems finding an algorithm for converting floating-point decimal constants to octals consistently correctly for the AS-512 software. what he's been doing so far works for most of them, but not all. am I right in thinking you've gone down the rabbit-hole of IBM 360 floating point representations before? [22:04:24] I'm wondering if this is a quirk in the precision of the architecture the assembler was running on [22:11:56] I've gone much further down the 7094 Rabbit-hole, but as far floating point representation and instructions in 360 hardware: http://www.bitsavers.org/pdf/ibm/360/princOps/A22-6821-7_360PrincOpsDec67.pdf#page=43 [22:12:51] Its a bit different than the IEEE-754 standard [22:12:58] cool, thanks! [22:13:24] this being on a 360 is an assumption, but considering it was internal to IBM and printed in 71-72 it seems like a reasonably safe assumption? [22:14:47] I'll dig into it and see if I can make sense of anything, but will probably have specific questions for you later :) [22:24:24] I think 360 is a safe assumption. There was a 360 emulator for the 7094, and a 7094 emulator for the 360, though. [22:28:47] http://www.bitsavers.org/pdf/ibm/360/asm/C28-6514-5_IBM_System_360_Assembler_Language_Level_E_F_Dec67.pdf mentions the 7094 package [22:29:20] oh boy, okay, I didn't know that lol [22:29:23] that makes things fun :D [11:24:36] thewonderidiot our old 36-bit shows up here https://ntrs.nasa.gov/api/citations/19660025415/downloads/19660025415.pdf pdf page 20 [11:26:01] ^"old 36-bit friend". words are hard this morning [11:27:31] given that the AGS cross-assembler was also for the 7090/4 I would say there is a good chance we're looking into this particular flavor of floating point shenanigans again :) [14:53:06] hey [14:55:51] hey guys [15:04:06] hmm [15:04:15] on my Apollo 11 mission MCC-5 is getting scrubbed [15:04:18] barely [15:04:25] our current mission scenario is for MCC-5 [15:04:33] and the actual mission did a MCC-5 [15:04:52] should I just rename it and save a MCC-6 scenario instead? [15:05:07] Or is it worth the trouble of slightly altering my trajectory so that I get a MCC-5... [15:06:59] hmm [15:07:20] my opinion would be just do MCC-6 [15:08:38] yeah I think so too [15:08:40] but that just me :D [15:10:57] I put up a small PR, fixing something that MaxQ ran into yesterday [15:11:18] there is a function that is very strict about input orbital elements being between 0 and 360°, and not negative or so [15:11:52] the tiny bug calculated the right angle, just negative [15:12:49] the RTCC had its own implementation of atan2 which returns 0 to 360 instead of -180 to 180 [15:12:57] so I am making use of that [15:13:32] ah nice [15:13:42] looks good, approved [15:13:50] this is a case of the IBM RTCC document being wrong... [15:13:55] but I am sure I got it right :D [15:14:10] thanks, merged [16:29:15] morning! [16:29:22] n7275, nice find :D [17:09:54] I am going to sell NASSP [17:10:01] Just FYI [17:10:08] :) [17:14:25] I shouldn't be mean. I am not going to sell NASSP, just wanted to troll Folgers. Yall, Ryan is unhinged. Don't let him bully you. [17:25:42] hey Mike [17:26:05] what did n7275 find? [17:26:28] oh last nights conversation. Conversion to octal. Fun stuff... [17:27:22] had fun with that when trying to get AGC padloads right that aren't off by one bit [17:28:01] lol yeah [17:28:08] yaYUL had problems with it for a long time too [17:28:23] the naive implementation works for like 99.5% of constants [17:28:36] but then a small handful are one bit off mysteriously :D [17:28:46] sounds about right [17:29:20] hall of fame of bad conversions: Use wrong imperial to metric factor [17:29:31] use one's complement for a handful of stuff [17:31:26] or two's complement I guess [17:31:45] like seriously, why use that for AOT detent azimuths [17:31:59] something where perfect precision is actually important for alignments [17:32:03] you're making Norton roll in his grave :P [17:32:25] at least the padload documents say that it is two's complement :D [17:33:18] but definitely was important to not be off by one bit for those [17:34:15] the interesting difference between the LVDC and yaYUL is that the LVDC assembler supported relatively arbitrary math in its constant definitions [17:34:43] which then was horribly abused by the people coding for it? [17:34:48] so while Yul just directly translates the specified number to octal, the LVDC assembler has to do actually math [17:34:51] of course! [17:35:19] but that's why I'm wondering if the floating point implementation of the host computer can have an effect on the resulting octals [17:38:42] fun stuff [17:39:13] I was also going to ask n7275 something, if any Fortran implementation of QATAN would work like atan2. [17:39:26] but I concluded that the person writing an IBM RTCC flowchart just made an error :D [17:39:33] hahaha classic [17:39:59] it's a bit strange, the RTCC does have its own implementation of atan2 [17:40:07] but it also uses the standard Fortran ones [17:40:26] the own implementation returns 0 to 360° [17:40:31] normally it's -180 to 180° [17:40:40] oh weird [17:41:10] I'm having a lot of fun with that in my RTCC coordinate system branch [17:41:29] haha sounds like Fun with a capital F :P [17:41:32] the Earth-centered true (ECT) coordinate system is fixed at midnight before liftoff, so doesn't rotate with the Earth [17:41:46] so to get a true longitude you have to first convert to ECT [17:41:53] and then add Earth rotational rate times GMT [17:42:04] oh boy [17:42:13] but you don't usually end up with 0 to 360 then [17:42:41] it's kind of arbitrary anyway, but I have to be somewhat consistent [17:43:10] if a table saves a longitude and a display wants to show East vs. West you have to know if the number is stored -180 to 180 or 0 to 360 [17:43:15] lots of Fun! [17:43:27] hahahaha what a mess [17:44:02] the coordinate system does have its advantages [17:44:06] but this is not one of them [17:45:41] at least I am nearly done with making the changes [17:45:52] well, haven't really had to change much since I launched Apollo 11 for testing [17:46:37] nice :D [17:47:27] as an uninformed onlooker, this seems to have gone pretty smoothly as far as deep changes to coordinate systems go [17:47:52] I would agree it was better than I feared. [17:48:05] I had made some preparations for it, even in code [17:48:37] where I left some code commented already, until being used after the change [17:49:37] I had one big crisis where I had gotten the direction of conversion wrong that a specific rotation matrix does [17:50:03] so I had to change a lot of mul (matrix times vector) to tmul (transposed matrix times vector) [17:50:07] and vice versa... [17:50:35] oh jeez [18:08:29] having now spent a lot of time in the orbital integration code, this big chunk of B VECTOR ROUTINE has captured my interest https://github.com/thewonderidiot/virtualagc/blob/Corona261/Corona261/B_VECTOR_ROUTINE.agc#L113 [18:09:33] that's loading the time of a mark, and using it to calculate a new time to which it propagates the state vector [18:09:45] and then doing math, and then calling into lat-long [18:12:00] hmm [18:12:15] like a constant time increment from the time of mark? [18:12:22] or more complicated [18:12:36] so, there's two state vectors in play at various times [18:12:56] there's the normal TET, RCV, VCV, TDELTAV, TNUV, etc. [18:13:10] but then there's a second one that's TE, REFRCV, REFVCV, DELTAV, NUV, etc. [18:13:28] there's two functions in MNG to copy one into the other and vice-versa [18:14:13] this chunk of code is subracting TE from the mark time, multiplying by 16 (which might just be scale factor adjustment?), and multiplying by earthtab to arrive at GIVENT (which is the time that KEPLER will integrate to) [18:14:49] I don't fully understand what TE is going to be here, and what parts of the math are meaningful and what parts are scaling [18:14:58] but I think this is the chunk I'm going to dig into next [18:15:02] EARTHTAB +9D [18:15:28] that's the new name for what we were just calling EARTHTAB before [18:15:35] now that we know EARTHTAB was really a table [18:15:43] it's the 4xx/sqrt(mu) constant [18:17:16] did we ever figure out why the 400 vs 4xx thing? [18:17:25] I just had an idea [18:17:29] !!!! [18:17:38] no, we didn't, and it has been bothering the everliving crap out of me [18:17:40] it uses units of orbital period [18:17:43] maybe [18:17:48] higher orbit, larger value [18:17:56] https://wikimedia.org/api/rest_v1/media/math/render/svg/3ae321ec91231d53924aa0408065ed6f8e701e36 [18:18:42] hmmm interesting [18:19:08] so for Sunrise and Corona, which have hardcoded reference orbits, it makes sense to adjust it for orbital period [18:19:27] but then why 400/sqrt(mu) for Solarium and Sunburst? [18:21:04] hmm, maybe it's close to a covenient orbital height [18:22:15] well anyway, what got me to this is that divide by something in EARTHTAB is probably something like a fraction of an orbit or so [18:22:25] hmm [18:22:40] but wouldn't that be mulitipled then [19:21:07] today is pretty busy at work, but I will try a bunch of things along these lines tonight and see if I'm able to arrive at the 4xx number [19:21:59] it is a good explanation for why it changed between Sunrise and Corona, which we weren't expecting based off of what we had seen between Sunrise and Solarium [19:23:08] although perhaps the argument against it is the actual changes in the number might not correlate well.... I'm having a hard time expressing what I'm thinking here [19:24:51] Sunrise: EARTHTAB 2DEC .70305529 # 443.87417 / SQRT(MU). [19:24:54] Corona: EARTHTAB 2DEC .703003854 # 443.8417 / SQRT(MU). [19:24:57] Solarium: EARTHTAB 2DEC .6335627 # 400 / SQRT(MU). [19:25:28] what I'm trying to get at, is that Sunrise's orbit is so low (65km), but its EARTHTAB is still much bigger than Solarium [19:26:27] and as you said, higher orbit, higher value, so Solarium's number is very strange in that case [19:27:06] because it's so much lower than the 65km orbit [19:27:54] ....also looking at them side by side, the change from Sunrise to Corona could almost be a typo fix [19:28:26] 443.87417 vs. 443.8417. maybe somebody accidentally put an extra 7 in there [20:05:36] oh yeah, that change from Sunrise to Corona is really weird [04:38:07] Message to Folgers: https://orbiter-mods.com/view/56/orbiter-nassp-8-edition [04:38:08] I have packaged NASSP 8 beta:)