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

Навчання · Курс 1. Початок роботи · Розділ 1.4 з 8

1.4 Ваша перша діаграма 4:00

Намалюйте модель, доповніть її на діаграмі й побачте одну модель у кожному поданні.

Показано Holarch 1.27.

← 1.3 Атрибути та зв’язки · Усі розділи · 1.5 Документи →

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

  • Створити Діаграму Asset системи через «+ Нова діаграма»
  • Показати на діаграмі функції, які виконує кожна частина
  • Додати на діаграмі частину й Conduit і знайти їх у Базі даних
  • Змінити тип діаграми, щоб побачити ті самі елементи як ієрархію
  • Побудувати Діаграму Spider, що показує трасування навколо однієї вимоги

Створіть Діаграму Asset для Bike-Share Dock з наявного елемента системи: Holarch малює її частини та їхні функції за зв’язками. Додайте зовнішній бек-офіс і Conduit, нову частину й кабель живлення, перейменуйте частину на діаграмі й побачте зміну в Базі даних, а потім перегляньте ті самі елементи як ієрархію й простежте вимогу Діаграмою Spider.

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

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

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

Практика

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

  1. Відкрийте свій демопроєкт EO-1 (або створіть його: Керування проєктами → Файли проєкту ▾ → Новий демопроєкт → CubeSat (системна інженерія з посібником)).
  2. Натисніть Діаграми унизу бічної панелі, потім + Нова діаграма. Оберіть Діаграма Asset, введіть EPS у Діаграма для, виберіть 1.3 EPS і натисніть Створити. Увімкніть Виконувані дії, щоб побачити, яку функцію виконує кожна частина.
  3. Оберіть + Asset ▾ → Новий дочірній Asset… і створіть Battery Heater. Натисніть ⋯ (Інші дії) на панелі інструментів діаграми, потім + Conduit: від Battery Pack до Battery Heater, з назвою Heater Power Line. Потім оберіть Упорядкувати ▾ → Упорядкувати компонування.
  4. Відкрийте Базу даних і знайдіть Battery Heater та Heater Power Line як нові рядки.
  5. Поверніться на вкладку діаграми й перемкніть тип на Діаграма ієрархії за допомогою вибору типу.
  6. Створіть Діаграму Spider для 3.2 Battery Capacity і залиште рівень 2.

Завдання виконано, коли діаграма Spider для 3.2 показує Battery Pack, який її задовольняє, і TC-07 Battery Capacity Test, який її верифікує.

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

  1. Ви нічого не видаляєте, але перейменовуєте частину на діаграмі. Де ще з’являється нова назва?
  2. Чому нова Діаграма Asset для 1.3 EPS уже показує три частини?
  3. Коли Діаграма Spider корисніша за Діаграму Asset?
Показати відповіді
  1. Ви нічого не видаляєте, але перейменовуєте частину на діаграмі. Де ще з’являється нова назва?

    Всюди, де з’являється елемент: у Базі даних, документах, інших діаграмах та інспекторі. Діаграма — це подання моделі, а не окреме креслення.

  2. Чому нова Діаграма Asset для 1.3 EPS уже показує три частини?

    Діаграма зчитує зв’язки decomposed by, які вже є в моделі, тож частини малюються без розміщення вручну.

  3. Коли Діаграма Spider корисніша за Діаграму Asset?

    Коли потрібне трасування навколо одного елемента через різні типи зв’язків: потреба, функція, частина й тест — наприклад, щоб оцінити вплив зміни.

Докладніше

Стенограма

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

Introduction

Chapter four: your first diagram. In Holarch a diagram is a view of the model. It draws items and relationships that already exist, and whatever you add on a diagram goes into the model.

We continue with the Bike-Share Dock, whose parts and functions we related in the last chapter.

Create a diagram

Open Diagrams at the bottom of the rail. It lists every diagram in the project. None is saved yet, but Holarch already offers derived views of the dock, because the dock has parts.

On screen: Diagrams page: derived views only.

Click New Diagram, and pick the type. An Asset Diagram shows a system and its parts.

On screen: + New Diagram → Asset Diagram.

Then choose the root, the item the diagram is about. Type the first letters of Bike-Share Dock, pick it, and click Create.

On screen: Root: S.0 Bike-Share Dock → Create.

Holarch draws the dock with the three parts you related in the last chapter. Nothing was drawn by hand: the diagram reads the decomposed by relationships.

On screen: The asset diagram.

Check Performed Actions, and each part lists the functions it performs. That is the allocation from the last chapter, now on the picture.

On screen: Performed Actions.

Add to the model on the diagram

The back office service is outside the dock, but the kiosk talks to it. Click Asset, choose Existing Asset Outside the Root, and pick Back Office Service. It appears outside the dock's border.

On screen: + Asset ▾ → Existing Asset Outside the Root… → S.4.

A conduit is a physical or data link between assets. Click Conduit, connect the kiosk to the back office service, name the link Cellular Data Link, and click Create.

On screen: + Conduit → Kiosk → Back Office Service → Cellular Data Link.

The Arrange menu tidies the picture. Click Arrange, then Tidy Layout.

On screen: Arrange ▾ → Tidy Layout.

New parts can be added on the diagram too. Click Asset, choose New Child Asset, and create the dock's power supply.

On screen: + Asset ▾ → New Child Asset… → S.5 Power Supply.

Connect it to the charging unit with a second conduit, the Power Cable, and lay the diagram out again.

On screen: + Conduit → Power Supply → Charging Unit → Power Cable; Tidy Layout.

One model, many views

Now select the kiosk. The inspector shows the same item you created in the Database. Rename it Rental Kiosk.

On screen: Select Kiosk → inspector → Rental Kiosk.

Open the Database. The kiosk is renamed there too, and the power supply and both conduits are new rows. There is only one model, and the diagram is one view of it.

On screen: Database: Rental Kiosk, Power Supply, conduits.

The same items can be drawn in other ways. Go back to the diagram's tab, and switch its type at the top to Hierarchy Diagram: the dock's breakdown as a tree.

On screen: Back to the diagram → type: Hierarchy Diagram.

A spider diagram follows the links outward from one item. On the Diagrams page, click New Diagram, choose Spider Diagram, and make the requirement Unlock a Bike its root.

On screen: Diagrams → + New Diagram → Spider → root 1.1.

Set the level to two. It shows the requirement, the need it traces to, the function that satisfies it, and the part that performs that function: the traceability you built, on one page.

On screen: Level 2.

Every diagram can be exported with Export: as a picture, a Word document, a web page or a print, for a report or a review.

On screen: Export… dialog.

Recap

Let's recap. You created an asset diagram from the dock, saw its parts and functions drawn from the model, added an external system, a part and two conduits, renamed a part on the diagram, and viewed the same items as a hierarchy and a spider diagram.

Next, you write a requirements document whose requirements are items of this same model.