Kurs bölümleri
Eğitim · Kurs 1. Başlarken · Bölüm 1.4 / 8
1.4 İlk diyagramınız 4:00
Modeli çizin, diyagramda ona ekleme yapın ve her görünümde tek bir model görün.
Holarch 1.27'yi gösterir.
Neler öğreneceksiniz
- + Yeni diyagram'dan bir sistemin Asset Diyagramını oluşturun
- Her parçanın gerçekleştirdiği işlevleri diyagramda gösterin
- Diyagramda bir parça ve bir conduit ekleyin ve bunları Veritabanında bulun
- Aynı öğeleri bir hiyerarşi olarak görmek için bir diyagramın türünü değiştirin
- Bir gereksinimin çevresindeki izi gösteren bir Spider Diyagramı oluşturun
Mevcut sistem öğesinden Bike-Share Dock'un bir asset diyagramını oluşturun: Holarch parçalarını ve işlevlerini ilişkilerden çizer. Harici arka ofisi ve bir conduit'i, yeni bir parçayı ve bir güç kablosunu ekleyin, diyagramda bir parçayı yeniden adlandırın ve değişikliği Veritabanında görün; ardından aynı öğeleri bir hiyerarşi olarak görüntüleyin ve bir spider diyagramıyla bir gereksinimi izleyin.
Proje dosyaları
- Başlangıç projesi (.holarch.json; Projeleri yönet → Proje dosyaları ▾ → Proje içe aktar (.json)…)
- Bitmiş proje (.holarch.json; Projeleri yönet → Proje dosyaları ▾ → Proje içe aktar (.json)…)
Video holarch.app'ten oynatılır; bkz. Gizlilik Politikası.
Alıştırma
Bunu Holarch'ta, CubeSat EO-1 demo projesinde kendiniz yapın.
- EO-1 demo projenizi açın (veya oluşturun: Projeleri yönet → Proje dosyaları ▾ → Yeni demo proje → CubeSat (Rehberli sistem mühendisliği)).
- Şeridin altındaki Diyagramlar'a, ardından + Yeni diyagram'a tıklayın. Asset Diyagramı'nı seçin, Şunun diyagramı'na
EPSyazın, 1.3 EPS'yi seçin ve Oluştur'a tıklayın. Her parçanın hangi işlevi gerçekleştirdiğini görmek için Gerçekleştirilen Action'lar'ı açın. - + Asset ▾ → Yeni alt Asset…'i seçin ve
Battery Heater'ı oluşturun. Diyagram araç çubuğunda ⋯ (Diğer eylemler), ardından + Conduit'e tıklayın: Battery Pack'ten Battery Heater'a, adıHeater Power Line. Ardından Düzenle ▾ → Yerleşimi düzenle'yi seçin. - Veritabanı'nı açın ve Battery Heater ile Heater Power Line'ı yeni satırlar olarak bulun.
- Diyagramın sekmesine dönün ve tür seçiciyle türü Hiyerarşi Diyagramı olarak değiştirin.
- 3.2 Battery Capacity'nin bir Spider Diyagramı'nı oluşturun ve düzeyi 2'de tutun.
3.2'nin spider diyagramı onu karşılayan Battery Pack'i ve onu doğrulayan TC-07 Battery Capacity Test'i gösterdiğinde işiniz bitmiştir.
Kendinizi sınayın
- Hiçbir şey silmiyorsunuz, ancak bir diyagramda bir parçayı yeniden adlandırıyorsunuz. Yeni ad başka nerede görünür?
- 1.3 EPS'nin yeni bir Asset Diyagramı neden zaten üç parça gösteriyor?
- Bir Spider Diyagramı ne zaman bir Asset Diyagramından daha kullanışlıdır?
Yanıtları göster
Hiçbir şey silmiyorsunuz, ancak bir diyagramda bir parçayı yeniden adlandırıyorsunuz. Yeni ad başka nerede görünür?
Öğenin göründüğü her yerde: Veritabanı, belgeler, diğer diyagramlar ve özellik paneli. Diyagram ayrı bir çizim değil, modelin bir görünümüdür.
1.3 EPS'nin yeni bir Asset Diyagramı neden zaten üç parça gösteriyor?
Diyagram modelde zaten var olan decomposed by ilişkilerini okur, bu yüzden parçalar elle yerleştirme yapılmadan çizilir.
Bir Spider Diyagramı ne zaman bir Asset Diyagramından daha kullanışlıdır?
Tek bir öğenin çevresindeki izi ilişki türleri boyunca görmek istediğinizde: ihtiyaç, işlev, parça ve test; örneğin bir değişikliğin etkisini değerlendirmek için.
Daha fazla bilgi
Döküm
Dökümü göster (anlatım ve ekranda görünenler)
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.