Розділи курсів
Навчання · Курс 1. Початок роботи · Розділ 1.2 з 8
1.2 Ваш перший проєкт 5:43
Створіть проєкт, дізнайтеся, що таке класи, і додайте перші елементи.
Показано Holarch 2.41.
Що ви дізнаєтеся
- Створити проєкт із назвою й описом у «Керування проєктами»
- Обрати правильний клас LML для потреби, обмеження, вимоги, функції й частини
- Створювати елементи через «+ Новий елемент» і давати їм номери й мітки
- Редагувати елемент у таблиці та відміняти й повторювати зміну
Створіть проєкт Bike-Share Dock, який використовується в решті курсу, дізнайтеся, що означає клас елемента, і додайте в Базі даних перші потреби зацікавлених сторін, обмеження з міткою, вимогу, функцію й систему; редагуйте в таблиці й відміняйте зміни.
Файли проєкту
- Готовий проєкт (.holarch.json; Керування проєктами → Файли проєкту ▾ → Імпортувати проєкт (.json)…)
Відео відтворюється з holarch.app; див. Політику конфіденційності.
Практика
Виконайте це самостійно в Holarch на демопроєкті CubeSat EO-1.
- Відкрийте свій демопроєкт EO-1 (або створіть його: Керування проєктами → Файли проєкту ▾ → Новий демопроєкт → CubeSat (системна інженерія з посібником)).
- Натисніть База даних унизу бічної панелі, потім + Новий елемент. Оберіть клас Statement, назвіть його
Field Boundary Overlays, дайте номерN4, опишіть потребу (агрономи хочуть бачити межі полів на кожній карті рослинності) і натисніть Створити. - Створіть другий Statement,
Rideshare Mass Limit, номерC1, у якому сказано, що космічний апарат не має перевищувати обмеження маси диспенсера. В інспекторі натисніть + Мітка і оберіть Обмеження. - Створіть Вимога
Field Boundary Layer, номер6.6, сформульований із shall, і перевірте, що його Статус — Draft. Потім створіть ДіяOverlay Field Boundaries, номерF12. - Двічі клацніть опис N4 у таблиці, змініть слово й натисніть Enter. Натисніть ⌘Z / Ctrl+Z, щоб відмінити зміну, і ⇧⌘Z / Ctrl+Shift+Z, щоб повторити її.
- Натисніть + Фільтр і оберіть клас Statement, щоб побачити потреби й обмеження разом.
Завдання виконано, коли фільтр Statement показує N1–N4 і C1, C1 має мітку «Обмеження», а 6.6 Field Boundary Layer має статус Draft.
Перевірте себе
- Чому клас важливий під час створення елемента?
- Зацікавлена сторона каже, що оператори мають могти планувати сеанси зв’язку з дому. Це Statement чи Requirement?
- Навіщо мітка, якщо клас уже каже, чим є елемент?
Показати відповіді
Чому клас важливий під час створення елемента?
Клас визначає, які атрибути й зв’язки може мати елемент. Holarch пропонує лише доречні для нього зв’язки: Asset може виконувати Action, а Risk — ні.
Зацікавлена сторона каже, що оператори мають могти планувати сеанси зв’язку з дому. Це Statement чи Requirement?
Statement: це потреба словами зацікавленої сторони. Вимоги, що її формалізують, з’являються пізніше й простежуються до неї.
Навіщо мітка, якщо клас уже каже, чим є елемент?
Мітка розподіляє елементи одного класу за видами, як-от Statement з міткою «Обмеження», тож ви можете фільтрувати й звітувати за видом без нового класу.
Докладніше
Стенограма
Показати стенограму (озвучення і те, що на екрані)
Introduction
Chapter two: your first project. You will create a project for a new system, learn what an item's class means, and add the model's first items.
This is the project the rest of the course builds on, so it is worth following along in your own account.
Create the project
In Manage Projects, click New Project. Name the project after the system. Our example for this course is a bike-share dock: a station on the street that holds, locks, charges and rents out bicycles.
On screen: + New Project → Bike-Share Dock.
Add a short description, so others know what the project covers. The folder is optional: it only groups projects in this list. Then click Create Project.
On screen: Description → Create Project.
The new project opens on Home. It is empty for now, so Next actions has one suggestion: write or import the first requirements.
On screen: Home of the new project.
Classes
Everything in a model is an item, which Holarch also calls an entity. Its class says what kind of thing it is. The classes come from the Lifecycle Modeling Language, L M L, and a few of them cover most of the work.
On screen: Concept card: the main classes.
The class decides which attributes and relationships an item can have. A requirement can be satisfied by an asset, and an asset can perform an action, but a risk cannot perform anything. Holarch only offers the links that make sense.
On screen: Concept card.
Create items
Open the Database at the bottom of the rail. In a new project, the table is empty.
On screen: Database (empty).
Click New Entity in the top bar. Choose the class first. Start with a Statement: a good model begins with what people need, before any requirement.
On screen: + New Entity → Statement.
Name it Find a Bike Nearby, number it N.1, and describe the need in the rider's own words. Then click Create.
On screen: Name, number, description → Create.
The new item is selected, and the inspector on the right shows it. Every field can be changed there later.
On screen: The inspector shows N.1.
Add the operator's need the same way: Return Bikes Without Staff, number N.2.
On screen: + New Entity → Statement N.2.
Constraints are statements too. Create one: the dock must fit on a standard sidewalk.
On screen: + New Entity → Statement C.1.
Labels and numbers
Then click Label in the inspector, and choose Constraint. Labels sort the items of one class into kinds, and you can filter and report by them.
On screen: Inspector → + Label → Constraint.
Now the first requirement. Choose the class Requirement, name it Unlock a Bike, number it 1.1, and write it as a shall statement.
On screen: + New Entity → Requirement 1.1.
New requirements start with the status Draft. As the team reviews them, the status moves to In Review and then Approved; a later chapter shows how.
On screen: Inspector → Attributes → Status.
Functions are Actions: what the system does. Create Rent a Bike, number F.1.
On screen: + New Entity → Action F.1.
Parts are Assets. Create the system itself, Bike-Share Dock, number S.0, and give it the label System.
On screen: + New Entity → Asset S.0, label System.
The other parts, functions and requirements are added the same way: the docking bays, the kiosk, the charging unit and the operator's back office; returning a bike, charging and payment; and two more requirements.
On screen: The rest entered off camera; the table fills.
Edit and undo
You can also edit right in the table. Double-click a number or a description, type, and press Enter.
On screen: Double-click the description of Charge Bikes → edit.
Every change is one undo step. Click Undo in the top bar, or press Command Z, and the old text is back. Redo brings the change back again.
On screen: Undo, then Redo.
To see one kind of item at a time, click Filter and choose a class. Here are the assets of the dock.
On screen: + Filter → Asset.
Recap
Let's recap. You created the Bike-Share Dock project, learned what classes are, and added needs, a constraint, a requirement, a function and the system, with numbers and labels, in the Database.
Next, you describe these items with attributes and connect them with relationships.