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 и нажмите Создать. Включите Выполняемые Action, чтобы увидеть, какую функцию выполняет каждая часть.
  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.