פרקי הקורס
הדרכה · מסלול 3. התנהגות וארכיטקטורה · פרק 3.3 מתוך 6
3.3 הקצאה 2:33
מחליטים איזה חלק של התחנה מבצע כל פונקציה, ומוצאים מה נשאר.
מציג את Holarch 1.27.
מה תלמדו
- להגדיר מטריצת עקיבות של פעולות מול נכסים עם הקשר performed by
- להקצות פונקציה לנכס שמבצע אותה בלחיצה אחת במטריצה
- להשתמש ב“פערים בלבד” כדי למצוא פעולות שאף נכס אינו מבצע
- לאשר הקצאה בקטע העקיבות של הפריט
מקצים את הפונקציות של Bike-Share Dock ואת השלבים של Rent a Bike לחלקים שמבצעים אותם, במטריצה של פעולות מול נכסים עם הקשר performed by, ואז משתמשים ב“פערים בלבד” כדי לפרט מה עדיין אין לו מבצע.
קובצי פרויקט
- פרויקט התחלה (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)
- פרויקט גמור (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)
הסרטון מוצג מ-holarch.app; ראו את מדיניות הפרטיות.
תרגול
עשו זאת בעצמכם ב-Holarch, על פרויקט ההדגמה CubeSat EO-1.
- פותחים את פרויקט ההדגמה EO-1, או יוצרים אותו: ניהול פרויקטים ← קובצי פרויקט ▾ ← פרויקט הדגמה חדש ← CubeSat (הנדסת מערכות מודרכת).
- פותחים את אימות ← מטריצת עקיבות. לוחצים על השבב שורות, מגדירים את שורות מתוך ל-היררכיה תחת ישות שורש ובוחרים את OPS Run Nominal Imaging Pass כשורש, ואז לוחצים על סיום.
- לוחצים על השבב עמודות, מגדירים את עמודות מתוך ל-כל הישויות של מחלקה עם המחלקה נכס, ומגדירים את קשר ל-performed by.
- מסמנים פערים בלבד. נשארת OPS.9 Hold Data Onboard, עם השורש OPS, שהמערכת מבצעת כמכלול.
- לוחצים על התא שבו OPS.9 Hold Data Onboard נפגשת עם 1.4 C&DH, החלק שמחזיק את נתוני המטען באחסון. אחר כך בוחרים את OPS.9 במסד הנתונים וקוראים את performed by בקטע עקיבות שלה.
- להדרכה מודרכת עם בדיקה, מריצים את המדריך 6 Physical Architecture and Allocation (עזרה ← מדריכים).
סיימתם כש“פערים בלבד” כבר אינו מפרט את OPS.9 וקטע העקיבות שלה מציג performed by 1.4 C&DH.
בדיקה עצמית
- למה להגדיר את “קשר” ל-performed by ולא לכל המותרים?
- איפה הקצאה נשמרת?
- “פערים בלבד” מציג שורה. האם זו תמיד שגיאה?
הצגת התשובות
למה להגדיר את “קשר” ל-performed by ולא לכל המותרים?
כשנבחר סוג אחד, לחיצה על תא ריק יוצרת בדיוק את הקשר הזה. עם כל הסוגים המותרים, Holarch צריך לשאול לאיזה מהם הכוונה כשכמה מתאימים.
איפה הקצאה נשמרת?
בפריטים, כ-performed by ב-Action וכ-performs ב-Asset. המטריצה היא רק תצוגה של הקישורים האלה, ולכן כל תצוגה אחרת, כמו קטע העקיבות של הפריט, מציגה את אותה הקצאה.
“פערים בלבד” מציג שורה. האם זו תמיד שגיאה?
לא. פעולה או פונקציה ברמה העליונה עשויה להתבצע על ידי המערכת כמכלול, ולכן אין לה צורך במבצע יחיד. כל שלב שנותר צריך בדרך כלל מבצע אחד.
קריאה נוספת
תמליל
הצגת התמליל (הקריינות ומה שמוצג על המסך)
Introduction
Welcome back. Functions say what the dock does. Its parts, the assets, say what it is. Allocation joins the two.
In this chapter you allocate every function to the part that performs it.
What allocation is
Each function should be performed by a part of the system. A function nothing performs will not happen, and a part with no function is weight with no job. In the model, allocation is one relationship: performed by.
On screen: Card: allocation.
Set up the matrix
A matrix is the quickest way to allocate many functions at once. Open Verification, then Traceability Matrix.
On screen: Verification → Traceability Matrix.
Click Rows, and choose all entities of the class Action. Set Columns to the class Asset the same way. Then set the relationship to performed by, so a click on a cell creates exactly that.
On screen: Rows → class Action; Columns → class Asset; Relationship: performed by.
Allocate the functions
The top-level functions first. Three were allocated in Getting Started, and the matrix marks them: Rent a Bike by the Rental Kiosk, Return a Bike by the Docking Bay, and Charge Bikes by the Charging Unit.
On screen: Existing marks: F.1, F.2, F.3.
Allocate the other two. Take Payment is performed by the Back Office Service: click the cell where its row and that column meet. Report Dock Status is performed by the kiosk, which talks to the back office.
On screen: F.4 × S.4, F.5 × S.2.
The steps of Rent a Bike from the last chapter need performers too. Identify Rider happens at the kiosk, Check Account in the back office, and Unlock Bay in the docking bay.
On screen: F.1.1 × S.2, F.1.2 × S.4, F.1.3 × S.1.
Find the gaps
Now turn on Gaps only. The matrix keeps only the rows and columns with no link: the steps still to allocate, and the top-level function, which is done by the dock as a whole.
On screen: Gaps only.
The rest follow the same way. Show Bay Number and Start Rental belong to the kiosk and the back office, and Relock Bay to the docking bay.
On screen: F.1.4 × S.2, F.1.6 × S.4, F.1.7 × S.1.
On the item
Allocation is stored on the items, not in the matrix. Select Rent a Bike in the Database, and open its Trace section: performed by lists the Rental Kiosk.
On screen: Database → F.1 → Trace.
Recap
Let's recap. You set up a matrix of actions against assets with performed by, allocated the functions and the steps with one click each, and used Gaps only to find what was left.
Next, you define how the dock's parts connect: interfaces.