Holarch
Capitoli del corso

Formazione · Percorso 1. Primi passi · Capitolo 1.4 di 8

1.4 Il primo diagramma 4:00

Disegnare il modello, ampliarlo nel diagramma e vedere un unico modello in ogni vista.

Mostra Holarch 1.27.

← 1.3 Attributi e relazioni · Tutti i capitoli · 1.5 Documenti →

Che cosa si impara

  • Creare un Diagramma di Asset di un sistema da + Nuovo diagramma
  • Mostrare nel diagramma le funzioni che ogni parte esegue
  • Aggiungere una parte e un conduit nel diagramma e trovarli nel Database
  • Cambiare il tipo di un diagramma per vedere gli stessi elementi come gerarchia
  • Costruire un Diagramma Spider che mostra la traccia attorno a un requisito

Creare un diagramma di Asset della Bike-Share Dock dall’elemento di sistema esistente: Holarch ne disegna le parti e le loro funzioni a partire dalle relazioni. Aggiungere il back office esterno e un conduit, una nuova parte e un cavo di alimentazione, rinominare una parte nel diagramma e vedere la modifica nel Database, poi vedere gli stessi elementi come gerarchia e tracciare un requisito con un diagramma Spider.

File di progetto

  • Progetto iniziale (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)
  • Progetto completato (.holarch.json; Gestisci progetti → File di progetto ▾ → Importa progetto (.json)…)

Il video viene riprodotto da holarch.app; vedere l’Informativa sulla privacy.

Esercitazione

Provare in prima persona in Holarch, sul progetto demo CubeSat EO-1.

  1. Aprire il proprio progetto demo EO-1 (oppure crearlo: Gestisci progetti → File di progetto ▾ → Nuovo progetto demo → CubeSat (ingegneria dei sistemi guidata)).
  2. Fare clic su Diagrammi in fondo alla barra laterale, poi su + Nuovo diagramma. Scegliere Diagramma di Asset, digitare EPS in Diagramma di, scegliere 1.3 EPS e fare clic su Crea. Attivare Action eseguite per vedere quale funzione esegue ogni parte.
  3. Scegliere + Asset ▾ → Nuovo Asset figlio… e creare Battery Heater. Fare clic su ⋯ (Altre azioni) nella barra degli strumenti del diagramma, poi su + Conduit: da Battery Pack a Battery Heater, chiamato Heater Power Line. Poi scegliere Disponi ▾ → Riordina layout.
  4. Aprire il Database e trovare Battery Heater e Heater Power Line come nuove righe.
  5. Tornati nella scheda del diagramma, cambiare il tipo in Diagramma di gerarchia con il selettore del tipo.
  6. Creare un Diagramma Spider di 3.2 Battery Capacity e mantenere il livello a 2.

L’esercizio è completato quando il diagramma Spider di 3.2 mostra il Battery Pack che lo soddisfa e il TC-07 Battery Capacity Test che lo verifica.

Verifica

  1. Non si elimina nulla, ma si rinomina una parte in un diagramma. Dove altro compare il nuovo nome?
  2. Perché un nuovo Diagramma di Asset di 1.3 EPS mostra già tre parti?
  3. Quando un Diagramma Spider è più utile di un Diagramma di Asset?
Mostra le risposte
  1. Non si elimina nulla, ma si rinomina una parte in un diagramma. Dove altro compare il nuovo nome?

    Ovunque l’elemento compaia: il Database, i documenti, gli altri diagrammi e l’ispettore. Un diagramma è una vista del modello, non un disegno separato.

  2. Perché un nuovo Diagramma di Asset di 1.3 EPS mostra già tre parti?

    Il diagramma legge le relazioni decomposed by già presenti nel modello, quindi le parti vengono disegnate senza alcun posizionamento manuale.

  3. Quando un Diagramma Spider è più utile di un Diagramma di Asset?

    Quando si vuole la traccia attorno a un elemento attraverso tipi di relazione diversi: il bisogno, la funzione, la parte e il test, ad esempio per valutare l’impatto di una modifica.

Per saperne di più

Trascrizione

Mostra la trascrizione (narrazione e contenuto dello schermo)

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.