Repository navigation
fix(model): station downlinks, light-time envelopes and the operations-day endpoint - #46
Conversation
…s-day endpoint - MeridianNetwork: the RawFrames flow into moc.stationFeed runs over stations.backhaul, so every connected station's frames reach the MOC - PhaseEarthRange.maximumOneWayLightTime derives from OneWayLightTime at range.maximum instead of per-phase literals; recorded as wpd-range-envelopes - OperationsTimeline::day: activity durations as attributes, the evening pass ends the day at dayLength (1 d) with a transition to done; the timeline run advances to 86400 s Co-Authored-By: jason.han <hanhuijun@gmail.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
There was a problem hiding this comment.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
|
Devin Review flagged that |
Summary
Three plain defects the WP-D review triage confirmed in the ground, communications and operations models, each reproduced on the pinned tool (
make tools, model =$(ls model/*.sysml model/*.kerml | sort)) before editing.Station downlinks (
model/50-ground.sysml).MeridianNetworkconnects all three station backhauls tomoc.stationFeed, but only Caldera's frames flowed:The flow now runs over
stations : MeridianStation[3], of whichcaldera,tablelandandsaltmarshare the subsets — one flow, not three copies. Reproduced withsysml -render "#interconnection:TethysMeridian::MeridianNetwork" $MODEL: ondevelopthe only flow edge intostationFeediscaldera.backhaul -.-> moc.stationFeed(tableland and saltmarsh have theconnectedge and nothing else); on this branch it isstations.backhaul -.-> moc.stationFeed.Light-time envelopes (
model/52-link-budgets.sysml).PhaseEarthRange::maximumOneWayLightTimewas redefined per phase with hand-typed literals that disagreed withTethysEnvironment::OneWayLightTimeat the envelopes' ownrange.maximum. The literals are gone; the attribute now derives from the calc:sysml -e TethysLinkBudgets::<phase>Range.maximumOneWayLightTime $MODEL, before → after:A new recorded run,
wpd-range-envelopes, pins the five derived values.Operations-day endpoint (
model/53-operations.sysml).OperationsTimeline::daydescribes "one characterisation day", buteveningPasshad no outgoing transition, so the machine held there from 46 800 s on. The activity durations are now attributes of the timeline, withdayLength = 1.0 [d]and the evening pass taking what the day has left:run wpd-operations-timelinenow advances to 86 400 s; before:Current state: eveningPass,Last event at: 46800.0,46800 .. 50000 eveningPass (held at the end); after:eveningPass -> doneatt=86400,State machine completed.Runs moved
runs/wpd-operations-timeline.txt— the day now closes (-advance 86400).runs/wpd-range-envelopes.txt— new.runs/house-rules.txt— element/check count only (80537 → 80542 elements), from the new timeline attributes; still 0 violations.docs/coverage/WP-D.mdrows SE-105 and SE-274 updated to match.Behaviour changes
None of the recorded verdicts changes:
-satisfy=TethysLinkBudgetsand-satisfy=TethysOperationshold as before; TF-011, the power margin and SA-001/SA-002 are untouched.Not done here (maintainer decisions, reported only)
Triage items 6.1 (concrete ground stations in the ICD system), 6.2 (one
RfPortcarrier per direction), 6.3 (the receiver of the contingency sends) and 6.8 (EPS_BUS_Vas the station-outage trigger) are design decisions and were not taken. None of the closed review-fix drafts (#30–#38) touched these three files, so nothing was absorbed from them.Link to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/27474f84d77d43268bdbc75b14158af1
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/27474f84d77d43268bdbc75b14158af1?variant=devin
Requested by: @HuiJun