Skip to content
Snippets Groups Projects
Commit 6ebab462 authored by Giammarco, Kristin M's avatar Giammarco, Kristin M
Browse files

Merge branch 'Pamela_Branch_2' into 'master'

Pamela's Merge Request: 07-09-2021

See merge request !20
parents 3ad5501e 88cac050
No related branches found
No related tags found
1 merge request!20Pamela's Merge Request: 07-09-2021
Showing
with 206 additions and 6 deletions
/* Model of Authentication
Purpose:
Description:
A Model for Simple Authentication
A demonstration that shows how to reject unwanted behaviors with ENSURE
......@@ -8,7 +12,13 @@ constraints.
created by K.Giammarco on 05/16/2017
modified by K.Giammarco on 08/07/2017 for capitalization of state events
modified by K.Giammarco on 08/07/2017 for ENSURE constraints
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Authentication
......
/* Model of Autonomous Car
Purpose:
Description:
A model of an autonomous car that was used to support a failure mode
analysis of autonomous automobile technology (student project).
Created by G. Kaminski, November 2015
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Autonomous_Car
......
/* Model of Beginner Use of MP
Purpose:
Description:
A Simple Model of Beginner MP-Firebird Use
created by K.Giammarco 2021-02-08
......@@ -23,6 +27,12 @@ of the contents of the text editor, and "Code and Event Trace" exports
the contents of the text editor plus the graphs and any changes you made
to the graph element positions.
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Beginner_Use_of_MP
......
/* Model of Cargo Screening
Purpose:
Description:
Cargo Screening process model
May 6, 2011, draft written by Mikhail Auguston, NPS, Monterey, CA
source:
......@@ -20,6 +24,12 @@ MP-Firebird may be used at least for the following:
was it always preceded by ThreatIsNotFound or No_high_risk_cargo_selected events?"
- typical query may be: "show all scenarios when Loading event does not happen"
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA CargoScreening
......
/* Model of Commercial Flight
Purpose:
Description:
Model of a commercial flight, November 27, 2013
This model demonstrates the interlacing of root events as Phases
......@@ -7,6 +11,12 @@ and as Actors. The commented out code at the bottom represents
a simulation of COORDINATE statements with SHARE ALL statements before
COORDINATE statements were implemented in the early MP tools.
References:
Search terms:
Instructions:
==========================================================*/
/*-----------------------------------------------------
......
/* Model of Cycle Pattern
Cycle_ISP Model for Systems Journal Article
Purpose:
Description:
Cycle_ISP Model for Systems Journal Article
Available at https://www.mdpi.com/2079-8954/6/2/18
created 2018-03-10 by K.Giammarco
......@@ -19,6 +23,12 @@ the different possible patterns for Cycle.
Running at scope 1 will generate zero traces because
of the ENSURE constraint on line 29.
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Cycle_ISP_v2
......
/* Model of Dining Philosophers
Purpose:
Description:
Example 17, Dining_Philosophers.mp
Five silent philosophers sit at a table around a bowl of spaghetti.
A fork is placed between each pair of adjacent philosophers.
......@@ -32,6 +36,12 @@ scope 3 yields 6 traces in approx. 0.05 sec.
scope 4 yields 14 traces in approx. 0.44 sec.
scope 5 yields 30 traces in approx. 1.6 sec.
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Dining_Philosophers
......
/* Model of Elevator
Purpose:
Description:
Elevator Model
K.Giammarco circa 2011
......@@ -14,7 +18,13 @@ in the case of this model,
( Elevator_works_fine Get_Off |
Emergency_Situation Call_for_help )
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA ELEVATOR
......
/* Model of Find Advisor
Purpose:
Description:
example63_Find_Advisor.mp
modeling human interactions
......@@ -18,7 +22,13 @@ Run for scope 1 (there is no iteration in this example, so increaasing the scope
produce more scenarios).
The "Sequence" or "Swim Lanes" layouts are the most appropriate for browsing traces here.
The "Sequence" mode yields views very similar to the UML or SysML Sequence Diagrams.
The "Sequence" mode yields views very similar to the UML or SysML Sequence Diagrams.
References:
Search terms:
Instructions:
==========================================================*/
......
/* Model of First Responder
Purpose:
Description:
A first responder scenario involving the administation of a rescue
medication (Narcan) to an overdose victim by a First Responder or a
Bystander.
......@@ -11,6 +15,12 @@ scenarios emerged that was previously not considered. Trace 6 and others
show a double administration of Narcan by both the bystander and the first
responder.
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Narcan_Administration
......
/* Model of Knapsack Weight Limit
Purpose:
Description:
Example 38 Knapsack
This is a case of well-known Knapsack Dynamic Programming Problem.
......@@ -15,6 +19,12 @@ Example 38 Knapsack
Run for scope 1 and up to 5
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Knapsack
......
/* Model of MP Architecture Specification
Purpose:
Description:
Example 28
MP compiler/trace generator architecture model
run for scope 1 or more
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA MP_architecture
......
/* Model of Manufacturing Process
Purpose:
Description:
Application of Monterey Phoenix Modeling to Manufacturing Product Systems
An example pre-dating MP-Firebird application that was used to generate scenarios
for separately estimating probability, time and cost of each of these scenarios.
......@@ -7,6 +11,12 @@ MP version 4 may be used to conduct such analysis with its native capabilities.
Created by: John Palmer
August 2014
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Manufacturing_System
......
/* Model of Martian Lander
Purpose:
Description:
Example 45. Real time system behavior modeling.
Landing system for Martian Lander.
......@@ -55,6 +59,12 @@ RRM 10
run for scope 1 and up.
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Martian_Lander
......
/* Model of Prisoners Dilemma
Purpose:
Description:
The Prisoner's Dilemma
Michael Collins
August 10, 2020.
......@@ -54,7 +58,13 @@ the payoff for Bob when Alice does not confess = 2.
in all other circumstances the payoff for Bob = 0.
To map it to classic values to show negative payoffs -- that is a sort of normalizing.
The total payoff is computed from the assignments above and then subtracting 2.
The total payoff is computed from the assignments above and then subtracting 2.
References:
Search terms:
Instructions:
==========================================================*/
......
/* Model of Railroad Crossing Safety
Purpose:
Description:
Example 27. Timing attribute use.
Railroad crossing example from [Formal Methods for Real-Time Computing, 1996].
......@@ -9,6 +13,12 @@ each train enters and exits the crossing’s region.
The main safety requirement is: if a train is in the crossing region,
then gate must be down.
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Railroad_Crossing
......
/* Model of Replay Attack
Purpose:
Description:
Example 41. The description of Replay Attack
is available at
https://en.wikipedia.org/wiki/Replay_attack
run scope up to 5
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Replay_Attack
......
/* Model of Small Package Delivery
Purpose:
Description:
Taken from use case description in the Skyzer IM20 Mission Model
(Non-Combatant Operations Scenario):
......@@ -33,6 +37,12 @@ root (line 36 and lines 114-128) and running that model subset, one can
see 6 event traces, one of which is unexpected: the Air_Vehicle drops
the payload with no vessel in sight (trace 6).
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA Small_Package_Delivery
......
/* Model of Spent Fuel Cooling and Cleanup
Purpose:
Description:
Cooling Pool
created by K.Giammarco 5/4/2020
......@@ -9,6 +13,12 @@ modified by K.Giammarco 5/13/2020 with D.VanBossuyt
The purpose of this model is to identify the components of and
interactions among a spent nuclear fuel cooling pool and its environment.
References:
Search terms:
Instructions:
==========================================================*/
/*—————————————————————————————
......
/* Model of Spiral Software Process
Purpose:
Description:
Example 16, model of the spiral software process
This example also illustrates how Melvin Conway's law
......@@ -9,6 +13,12 @@ Example 16, model of the spiral software process
run scope up to 5
References:
Search terms:
Instructions:
==========================================================*/
SCHEMA spiral
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment