Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Preloaded Examples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Monterey Phoenix
MP Model Collection
Preloaded Examples
Commits
24f6a667
Commit
24f6a667
authored
3 years ago
by
Giammarco, Kristin M
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
b56f546b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Example54_Unmanned_Spacecraft_Comms.mp
+60
-0
60 additions, 0 deletions
Example54_Unmanned_Spacecraft_Comms.mp
with
60 additions
and
0 deletions
Example54_Unmanned_Spacecraft_Comms.mp
0 → 100644
+
60
−
0
View file @
24f6a667
/* Heartbeat.mp
October 4, 2015
Created by: C. Nelson
The communication link between a spacecraft and the ISS is monitored
through a frame counter called the "Heartbeat". This model represents
the behavior of the Heartbeat while a Spacecraft is approaching
the ISS.
Run for scope 1 and up.
*/
/*—————————————————————————————
Actors
———————————————————————————————*/
SCHEMA Heartbeat
ROOT Spacecraft: Receive_Heartbeat
(+ Echo_Heartbeat
Receive_Incremented_Heartbeat
Compare_Received_Heartbeat_Values
( SC_HB_Valid | SC_HB_Invalid ) +);
SC_HB_Valid: ( Continue_Approach | Switch_to_Redundant_Comm_System );
SC_HB_Invalid: Abort_Operations;
ROOT ISS: Generate_Heartbeat
Send_Heartbeat
(+ Receive_Echoed_Heartbeat
Increment_Heartbeat Send_Incremented_Heartbeat
Compare_Sent_and_Received_HB
( HB_Valid | HB_Invalid ) +);
HB_Valid: ( Continue_Approach | Abort_Operations );
HB_Invalid: ( Switch_to_Redundant_Comm_System | Abort_Operations );
/*—————————————————————————————
Interactions
———————————————————————————————*/
ISS, Spacecraft SHARE ALL Abort_Operations,
Switch_to_Redundant_Comm_System,
Continue_Approach;
COORDINATE $a: Send_Heartbeat FROM ISS,
$b: Receive_Heartbeat FROM Spacecraft
DO ADD $a PRECEDES $b; OD;
COORDINATE $a: Echo_Heartbeat FROM Spacecraft,
$b: Receive_Echoed_Heartbeat FROM ISS
DO ADD $a PRECEDES $b; OD;
COORDINATE $a: Send_Incremented_Heartbeat FROM ISS,
$b: Receive_Incremented_Heartbeat FROM Spacecraft
DO ADD $a PRECEDES $b; OD;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment