Holarch
Розділи курсів

Навчання · Курс 4. Документи та результати · Розділ 4.2 з 5

4.2 Живі матриці в документах 2:48

Вставляйте таблиці RVTM і RTM, що самі відбудовуються з моделі.

Показано Holarch 1.27.

← 4.1 Шаблони документів · Усі розділи · 4.3 Вивід у Word і Excel →

Що ви дізнаєтеся

  • Вставити живу матрицю в текст документа й вибрати її область
  • Прочитати прогалини, які виділяє матриця
  • Закрити прогалину в моделі й побачити, як оновлюється матриця
  • Назвати стандартні матриці та що кожна з них позначає як прогалину

Замініть порожню таблицю верифікації в специфікації Bike-Share Dock живою матрицею простежуваності верифікації вимог, виберіть її область, прочитайте виділені прогалини, закрийте одну в моделі й подивіться, як оновлюється матриця, а потім так само додайте матрицю простежуваності вимог.

Файли проєкту

  • Початковий проєкт (.holarch.json; Керування проєктами → Файли проєкту ▾ → Імпортувати проєкт (.json)…)
  • Готовий проєкт (.holarch.json; Керування проєктами → Файли проєкту ▾ → Імпортувати проєкт (.json)…)

Відео відтворюється з holarch.app; див. Політику конфіденційності.

Практика

Виконайте це самостійно в Holarch на демопроєкті CubeSat EO-1.

  1. Відкрийте свій демопроєкт EO-1 або створіть його: Керування проєктами → Файли проєкту ▾ → Новий демопроєкт → CubeSat (системна інженерія з посібником).
  2. Відкрийте Потреби та вимоги → Документи → EO-1 System Requirements Specification і клацніть опис розділу 2 Attitude Determination and Control, щоб його редагувати.
  3. На панелі форматування тексту відкрийте + і виберіть Матриця…. Виберіть Матриця розподілу вимог, залиште область цього документа, натисніть Вставити і натисніть ⌘ / Ctrl↵, щоб зберегти.
  4. Прочитайте підпис і затінені рядки. 2.5 Safe Mode Recovery — прогалина: її ніщо не задовольняє.
  5. Виберіть 2.5 і в її розділі Трасування пов’яжіть F10 Enter Safe Mode у satisfied by. Поверніться до розділу 2 і знову прочитайте матрицю.

Завдання виконано, коли рядок 2.5 матриці розподілу показує F10 Enter Safe Mode і більше не затінений.

Перевірте себе

  1. Чим жива матриця відрізняється від таблиці, яку ви вводите вручну?
  2. Чому прогалину закривають у моделі, а не в матриці?
  3. Які області може охоплювати матриця?
Показати відповіді
  1. Чим жива матриця відрізняється від таблиці, яку ви вводите вручну?

    Блок зберігає лише те, яку матрицю й область показувати. Holarch відбудовує рядки з моделі щоразу, коли документ показують чи експортують, тож вона ніколи не застаріває.

  2. Чому прогалину закривають у моделі, а не в матриці?

    Живу матрицю не можна редагувати по клітинках. Прогалина — це відсутній зв’язок чи атрибут у моделі, і виправлення там оновлює кожну матрицю й кожне подання, що її показує.

  3. Які області може охоплювати матриця?

    Елементи одного документа, усі частини збірки або весь проєкт. Матриці інтерфейсів і N² також можуть охоплювати дочірні елементи одного Asset чи Action.

Докладніше

Стенограма

Показати стенограму (озвучення і те, що на екрані)

Introduction

Chapter two: live matrices in documents. Reviewers ask for traceability and verification matrices. In Holarch you don't fill them in by hand: a matrix in a document is rebuilt from the model whenever it is shown or exported.

You will insert a verification matrix into a specification, choose its scope, read the gaps it highlights, close a gap in the model, and add a traceability matrix.

Insert a matrix

Open the Bike-Share Dock system requirements. Its template ends with a verification approach, and section 11.1, Verification Matrix, holds an empty table to fill in by hand.

On screen: Documents → the SRS → Outline → 11.1 Verification Matrix.

Replace it with a live matrix. Click the section's text to edit it, select the empty table, and delete it.

On screen: Edit 11.1 → select → delete.

Open the plus menu, and choose Matrix. Pick the Requirements Verification Traceability Matrix. The scope starts on this document, which holds three of the project's six requirements. Choose Whole project, to cover them all.

On screen: + → Matrix… → RVTM → Scope: Whole project.

The preview lists each requirement with its verification method, its level, the test cases that verify it, and its status. Click Insert, then press Command Return to save the text.

On screen: Insert → Save.

Read the gaps

The matrix sits in the document with a dashed outline. Two rows are shaded as gaps. Show Available Bikes has a method but no test case yet. Anchored Without Digging has no verification method at all.

On screen: The live RVTM in 11.1, two gaps.

Close a gap

Close one gap in the model. Go to section 10, and select 10.2, Anchored Without Digging. In the inspector, click + Label and choose Inspection. The verification method is both a label and an attribute, so either one sets it.

On screen: Outline → 10.2 → inspector + Label → Inspection.

Go back to the matrix. The row for 10.2 now shows Inspection, without touching the matrix. It is still shaded, because no test case verifies it yet: the matrix shows the model as it is.

On screen: Outline → 11.1: the 10.2 row now shows Inspection.

Add an RTM

Add a traceability matrix the same way. Go to section 12, Traceability, edit its text, and insert the Requirements Traceability Matrix for the whole project: each requirement with its parent, the needs it traces from, what it traces to, and what satisfies it.

On screen: 12 Traceability → + → Matrix… → RTM → Whole project → Insert → Save.

Recap

The verification cross-reference matrix, with one column per method, works the same way. Let's recap. You inserted live matrices, chose their scope, read the gaps, and closed one in the model.

Next, you turn the document and its matrices into Word and Excel files.