コースのチャプター
トレーニング · トラック 6. Holarch への移行 · チャプター 6.2(全 5 チャプター)
6.2 Excel と CSV からの要求 2:32
要求のスプレッドシートを、階層、ラベル、属性とともにドキュメントとしてインポートします。
Holarch 2.21 の画面です。
学習内容
- ヘッダー行、アウトライン番号、Class 列を含むスプレッドシートを準備する
- スプレッドシートをインポートし、マッピングの手順ですべての列の Holarch のフィールドを確認する
- インポートした行から要求ドキュメントを作成する
- 階層、ラベル、ステータスがファイルから取り込まれたことを確認する
Plant Inspection Drone の要求トラッカーを Excel からインポートします。シートを準備し、要求ドキュメントとしてインポートを設定し、各列がフィールド、属性、ラベルにどうマッピングされるかを確認し、プレビューして保存し、番号付きの階層、ラベル、ステータスをモデルで確認します。
プロジェクトファイル
- 開始時のプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)
- 完成したプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)
動画は holarch.app から再生されます。プライバシーポリシーをご覧ください。
演習
CubeSat EO-1 デモプロジェクトを使って、Holarch で実際に操作します。
- EO-1 デモプロジェクトを開きます(ない場合は作成します:プロジェクトを管理 → プロジェクトファイル ▾ → 新しいデモプロジェクト → CubeSat(ガイド付きシステムズエンジニアリング))。データベースで
class:Requirementを検索し、エクスポート…をクリックして表(CSV)を選び、Status と Priority にチェックを入れ(Labels はチェックしたまま)、エクスポートをクリックします。 - スプレッドシートアプリでファイルを開きます。ヘッダーとセクション 1 と 2 の行を残し、先頭に 2 行を追加します:
1、Mission Imaging、ClassStatementと、2、Attitude Determination and Control、ClassStatement。.xlsx または .csv として保存します。 - プロジェクトを管理で+ 新しいプロジェクトをクリックし、名前を
EO-1 Import Practiceにしてプロジェクトを作成をクリックします。 - ニーズと要求 → インポートとエクスポートを開き、ファイルをドロップして続行をクリックし、各列の Holarch のフィールドを確認します(不要な列はスキップに設定)。
- 続行をクリックし、Create a document from these N items にチェックを入れたまま、Import N items をクリックします。
- 新しいドキュメントで、1.6.1 と 1.6.2 が 1.6 の下にあることを確認し、1.5 を選択してラベルとステータスを確認します。
新しいドキュメントにセクション 1 と 2 が表示され、その要求が番号どおりに入れ子になり、ラベルとステータスが保たれていれば完了です。
確認問題
- Holarch はスプレッドシートの行の階層をどのように再構築しますか?
- 一部の行が誤ったクラスで取り込まれました。なぜですか?
- 既存の 50 件の要求のオーナーを、コピーを作らずにスプレッドシートから更新したいと考えています。どうしますか?
解答を表示
Holarch はスプレッドシートの行の階層をどのように再構築しますか?
マッピングされていれば親行の ID 列または親番号の列から、そうでなければアウトライン番号から再構築します。1.2 は 1 の下に入ります。親がない場合は、存在する最も近い祖先が使われます。
一部の行が誤ったクラスで取り込まれました。なぜですか?
スキーマが知らない名前を含む Class 列は、警告とともに「クラスのない行のクラス」に置き換えられます。スキーマエディターのクラス名を使ってください。
既存の 50 件の要求のオーナーを、コピーを作らずにスプレッドシートから更新したいと考えています。どうしますか?
ID 列付きでエクスポートし、ファイルを編集して、ID 列をグローバル ID にマッピングし「既存の項目の照合基準」をグローバル ID に設定してインポートします。確認の手順で、それらが「更新された項目」に表示されます。
関連資料
トランスクリプト
トランスクリプトを表示 (ナレーションと画面の内容)
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.