Holarch
פרקי הקורס

הדרכה · מסלול 3. התנהגות וארכיטקטורה · פרק 3.4 מתוך 6

3.4 ממשקים 2:31

נותנים לכל ממשק סטטוס, בעלים וקיבולת, מעבירים דרכו פריטים ומייצאים את ה-ICD.

מציג את Holarch 1.27.

→ 3.3 הקצאה · כל הפרקים · 3.5 סימולציה ←

מה תלמדו

  • לקרוא את מרשם הממשקים ולסנן אותו לפי סטטוס ממשק
  • להגדיר בחלונית המאפיינים את הסטטוס, הבעלים, התווך והקיבולת של ממשק
  • לתת לפריט מועבר קצב נתונים ולקרוא את בדיקת הקיבולת
  • לייצא את ה-ICD של ממשק ל-Word ולפתוח את דיאגרמת ה-I² של מערכת

מנהלים את הממשקים של Bike-Share Dock במרשם הממשקים: מגדירים סטטוס, בעלים וקיבולת בקישור הנתונים הסלולרי, נותנים לפריט שהוא נושא קצב נתונים, קוראים את בדיקת הקיבולת, מייצאים את מסמך בקרת הממשק, ורואים את הממשקים של התחנה בדיאגרמת I².

קובצי פרויקט

  • פרויקט התחלה (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)
  • פרויקט גמור (.holarch.json; ניהול פרויקטים ← קובצי פרויקט ▾ ← ייבוא פרויקט (.json)…)

הסרטון מוצג מ-holarch.app; ראו את מדיניות הפרטיות.

תרגול

עשו זאת בעצמכם ב-Holarch, על פרויקט ההדגמה CubeSat EO-1.

  1. פותחים את פרויקט ההדגמה EO-1, או יוצרים אותו: ניהול פרויקטים ← קובצי פרויקט ▾ ← פרויקט הדגמה חדש ← CubeSat (הנדסת מערכות מודרכת).
  2. פותחים את ממשקים ← מרשם הממשקים ולוחצים על הכרטיס Proposed. לוחצים על השורה IF-14.1 Customer Portal.
  3. בחלונית המאפיינים מגדירים את Interface Status ל-Agreed, את בעלים ל-Ground Segment Lead ואת בינוני ל-HTTPS. משאירים את ה-Capacity שלו, 1000 Mbps.
  4. פותחים את ממשקים ← פריטים וקלט/פלט, בוחרים את Image Product (הפריט שהפורטל מעביר), ומגדירים את Data Rate ל-50 ואת Data Rate Units ל-Mbps. חוזרים למרשם, מצביעים על העמודה Capacity של IF-14.1 וקוראים את הבדיקה. לוחצים על ICD בשורה שלו כדי לייצא את מסמך בקרת הממשק.
  5. בוחרים את 1 EO-1 Spacecraft במסד הנתונים ובוחרים פתיחה ב- ▾ ← דיאגרמת I2. מוצאים את התא שמכיל את IF-01 Payload Power Line.
  6. להדרכה מודרכת עם בדיקה, מריצים את המדריך 7 Interfaces (עזרה ← מדריכים).

סיימתם כש-IF-14.1 נמצא ב-Agreed עם בעלים ו-Medium מוגדרים, בדיקת הקיבולת שלו מציגה OK, ויש בידיכם קובץ ה-Word של ה-ICD.

בדיקה עצמית

  1. איך Holarch מחליט אם Conduit יכול לשאת את הפריטים שלו?
  2. למה קצב הנתונים שייך לפריט ולא ל-Conduit?
  3. מה סטטוס ממשק כמו Proposed או Agreed אומר לקורא?
  4. מה מכיל תא של דיאגרמת I²?
הצגת התשובות
  1. איך Holarch מחליט אם Conduit יכול לשאת את הפריטים שלו?

    הוא מחבר את ה-Data Rate (או Size) של כל פריט שה-Conduit מעביר, ממיר כל אחד ליחידות של ה-Conduit ומשווה את הסכום ל-Capacity. התוצאה היא OK, ‏Over capacity, ‏Unit mismatch או No capacity.

  2. למה קצב הנתונים שייך לפריט ולא ל-Conduit?

    הקצב מתאר את מה שנישא, ואותו פריט יכול לעבור בכמה Conduits. הבדיקה של כל Conduit מסכמת את הפריטים שהוא נושא מול הקיבולת שלו.

  3. מה סטטוס ממשק כמו Proposed או Agreed אומר לקורא?

    עד כמה הגיעו הצוותים בשני הקצוות: Draft ו-Proposed כתובים אבל עדיין לא התקבלו על ידי שני הצדדים, Agreed פירושו ששניהם מקבלים אותו, ו-Baselined הוא השלב הסופי. הכרטיסים של המרשם סופרים כל סטטוס.

  4. מה מכיל תא של דיאגרמת I²?

    ה-Conduits בין שני נכסי הילד של השורה והעמודה שלו: השורה היא קצה המוצא והעמודה היא הקצה השני.

קריאה נוספת

תמליל

הצגת התמליל (הקריינות ומה שמוצג על המסך)

Introduction

Welcome back. The dock's parts connect through interfaces: a power cable, a data link. This chapter manages them.

You will work in the Interface Register, the list of every interface in the project.

The register

Open Interfaces, then Interface Register. Each conduit from Getting Started is a row: the cellular data link between the kiosk and the back office, and the power cable from the power supply to the charging unit. Neither has a status yet.

On screen: Interfaces → Interface Register.

Status, owner and capacity

Select the cellular data link. In the inspector, set its interface status to Proposed: the kiosk team has written it down, and the back office team has not agreed to it yet. Its owner is the back office team.

On screen: Cellular Data Link → Interface Status: Proposed; Owner.

Give it a capacity: sixty-four kilobits per second, and set its medium to cellular LTE.

On screen: Capacity 64, Units kbit/s, Medium.

Items it carries

Now say what the link carries. The unlock code from Rent a Bike travels from the back office to the kiosk over this link. In its Trace section, show all relations, and under transfers, link Unlock Code.

On screen: Trace → Show all relations → transfers + → Link existing… → Unlock Code.

For the capacity check, the item needs a data rate. Select Unlock Code in the Database and set its data rate: two kilobits per second.

On screen: Database → Unlock Code → Data Rate 2 kbit/s.

The capacity check

Back in the register, the row counts the item it carries, and the capacity check says OK: two kilobits per second on a link of sixty-four. If the items ever carried more than the link can, the check would turn red.

On screen: Register → capacity check.

ICD and I²

The interface control document is one click away. ICD exports this interface as a Word document for the other team, generated from the model, so it agrees with the design.

On screen: ICD → Word export.

For the whole dock, open the I squared diagram. Select the Bike-Share Dock in the Database, choose Open in, then I2 Diagram. The parts sit on the diagonal, and each cell between two parts holds the interfaces that join them.

On screen: Database → S.0 → Open in ▾ → I2 Diagram.

Recap

Let's recap. You read the register, gave an interface a status, an owner and a capacity, related the item it carries, let the capacity check compare them, exported the ICD, and opened the I squared diagram.

Next, you put numbers on Rent a Bike, and simulate it.