Holarch
Capitoli del corso

Formazione · Percorso 6. Migrare a Holarch · Capitolo 6.2 di 5

6.2 Requisiti da Excel e CSV 2:32

Importare un foglio di calcolo di requisiti come documento, con gerarchia, etichette e attributi.

Mostra Holarch 2.21.

← 6.1 Pianificare una migrazione · Tutti i capitoli · 6.3 Requisiti da Word e ReqIF →

Che cosa si impara

  • Preparare un foglio di calcolo con una riga di intestazione, numeri di struttura e una colonna Classe
  • Importare un foglio di calcolo e controllare il Campo di Holarch di ogni colonna nel passaggio Mappa
  • Creare un documento di requisiti dalle righe importate
  • Verificare che gerarchia, etichette e stato siano arrivati dal file

Importare da Excel il tracker dei requisiti del Plant Inspection Drone: preparare il foglio, configurare l’importazione come documento di requisiti, controllare come ogni colonna si mappa su un campo, un attributo o un’etichetta, visualizzare l’anteprima, salvare e vedere nel modello la gerarchia numerata, le etichette e gli stati.

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 (se non lo si ha, crearlo: Gestisci progetti → File di progetto ▾ → Nuovo progetto demo → CubeSat (ingegneria dei sistemi guidata)). Nel Database, cercare class:Requirement, fare clic su Esporta…, scegliere Tabella (CSV), spuntare Stato e Priorità (lasciare spuntato Etichette) e fare clic su Esporta.
  2. Aprire il file in un’applicazione per fogli di calcolo. Mantenere l’intestazione e le righe delle sezioni 1 e 2, poi aggiungere due righe in cima: 1, Mission Imaging, Class Statement, e 2, Attitude Determination and Control, Class Statement. Salvarlo come .xlsx o .csv.
  3. In Gestisci progetti, fare clic su + Nuovo progetto, chiamarlo EO-1 Import Practice e fare clic su Crea progetto.
  4. Aprire Esigenze e requisiti → Importazione ed esportazione, rilasciare il file, fare clic su Continua e controllare il Campo di Holarch di ogni colonna (impostare su Salta le colonne indesiderate).
  5. Fare clic su Continua, lasciare spuntato Crea un documento da questi N elementi e fare clic su Importa N elementi.
  6. Nel nuovo documento, verificare che 1.6.1 e 1.6.2 si trovino sotto 1.6, e selezionare 1.5 per vederne le etichette e lo stato.

L’esercizio è completato quando il nuovo documento mostra le sezioni 1 e 2 con i requisiti annidati per numero, con etichette e stati intatti.

Verifica

  1. Come ricostruisce Holarch la gerarchia delle righe di un foglio di calcolo?
  2. Alcune righe sono arrivate con la classe sbagliata. Perché?
  3. Si vogliono aggiornare da un foglio di calcolo i proprietari di 50 requisiti esistenti, non crearne copie. Come?
Mostra le risposte
  1. Come ricostruisce Holarch la gerarchia delle righe di un foglio di calcolo?

    Da una colonna ID della riga padre o Numero padre se mappata, altrimenti dal numero di struttura: 1.2 va sotto 1. Se il padre manca, si usa l’antenato esistente più vicino.

  2. Alcune righe sono arrivate con la classe sbagliata. Perché?

    Una colonna Classe con nomi che lo schema non conosce ricade sulla Classe per le righe senza classe, con un avviso. Usare i nomi delle classi dell’editor dello schema.

  3. Si vogliono aggiornare da un foglio di calcolo i proprietari di 50 requisiti esistenti, non crearne copie. Come?

    Esportarli con la colonna ID, modificare il file e importarlo con la colonna ID mappata su ID globale e Abbina le entità esistenti per impostato su ID globale. Revisione li elenca allora in Elementi aggiornati.

Per saperne di più

Trascrizione

Mostra la trascrizione (narrazione e contenuto dello schermo)

Introduction

Chapter two: requirements from Excel and CSV. Spreadsheets are where most requirements live before a model exists, and they come in with their hierarchy and their columns intact.

We import the Plant Inspection Drone's requirements tracker into the project from the last chapter.

Prepare the spreadsheet

Here is the tracker. It has a header row, and outline numbers that give the hierarchy: 1, then 1.1 and 1.2 under it. A Class column says which rows are section headings and which are requirements, and further columns hold labels, priority and status.

On screen: The spreadsheet.

Choose the file

Open Needs and Requirements, then Import and Export. One page takes every format: Excel, CSV, Word, ReqIF and more. Holarch detects the format from the file.

On screen: Needs & Requirements → Import and Export: one page for every format.

Drop the file on the drop zone. Holarch reads it, and reports how many rows and columns it found.

On screen: Drop the file → Analyzed.

Map the columns

Click Continue. Map lists each column, its sample values, and the Holarch field it goes to. Columns whose titles match a field or an attribute are mapped already: Number, Name and Description, Class, Labels, and the Priority and Status attributes.

On screen: Continue → Map.

Check every column before you go on. A column you do not want is set to Skip, and a field with no home in the schema can become a new attribute.

On screen: The mapping table.

Review and import

Click Continue to review. Holarch offers to make the rows a requirements document, and lists each new item before anything is created.

On screen: Continue → Review.

Click Import. The whole import is one undo step, so if something looks wrong, Command Z takes it all back.

On screen: Import 12 items → the new document opens.

With no warnings, the new document opens at once. The outline has the three sections from the sheet, and the requirements are numbered under them, just as they were in the tracker.

On screen: The imported document.

Check the result

Select a requirement. Its labels and its status came in from the sheet's columns, so the model already knows which requirements are in review and which are performance requirements.

On screen: Select 1.1 → inspector: Labels, then Workflow (Status).

Recap

Let's recap. You prepared the spreadsheet, imported it as a requirements document, checked the column mapping, reviewed and imported it, and found its hierarchy, labels and statuses in the model.

Next, a Word specification and a supplier's ReqIF file.