Holarch
コースのチャプター

トレーニング · トラック 14. スプレッドシート · チャプター 14.4(全 5 チャプター)

14.4 グラフとモデルデータ 2:47

範囲をグラフにして軸の書式を設定し、ライブのモデルテーブルを挿入し、SUMIFS と HOLARCH.VALUE でモデルの値を読み取ります。

Holarch 2.35 の画面です。

学習内容

  • 範囲をグラフにして、データの横にグラフを移動する
  • 軸の書式設定で軸の最大値と単位を設定する
  • ライブのモデルデータを使ったモデルテーブルを挿入する
  • SUMIFS でモデルの値を合計し、HOLARCH.VALUE で 1 つの値を読み取る
  • モデルの変更がシートとグラフに反映される様子を確認する

EO-1 の質量予算をグラフ化してモデルに接続します。サブシステムの質量の縦棒グラフを挿入して軸の書式設定で数値軸を設定し、番号と質量を持つすべての Asset のライブの読み取り専用モデルテーブルを挿入し、入力した推定値をテーブルに対する SUMIFS に置き換え、HOLARCH.VALUE でモデルから質量配分を読み取り、モデルで質量を変更して予算が追従することを確認します。

プロジェクトファイル

  • 開始時のプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)
  • 完成時のプロジェクト (.holarch.json。プロジェクトを管理 → プロジェクトファイル ▾ → プロジェクトをインポート (.json)…)

動画は holarch.app から再生されます。プライバシーポリシーをご覧ください。

演習

CubeSat EO-1 を使って、Holarch で実際に操作します。

  1. チャプターの開始ファイル、またはチャプター 14.3 のワークブックを開きます。
  2. B2:C8 を選択し、グラフを開いて縦棒を選択します。グラフを予算の右側にドラッグします。
  3. グラフを右クリックし、縦軸の書式設定を選択して、最大値を 5、目盛間隔(主)を 1 に設定します。
  4. Model という名前のシートを追加します。A1 でモデルテーブルをクリックし、クラスAssetを選択し、番号と質量にチェックを入れ、名前を Parts にして挿入をクリックします。
  5. Budget の C3 に =SUMIFS(Parts[Mass],Parts[Number],A3&"*") と入力し、C8 まで下方向へコピーします。Assumptions の B1 に =HOLARCH.VALUE("Spacecraft Mass","Threshold Value","kg") と入力します。
  6. データベースで Payload Camera の質量を 2.4 kg から 2.9 kg に変更し、スプレッドシートに戻ります。

質量がモデルから取得され、配分がモデルから 12 と読み取られ、合計、マージン、グラフが Payload Camera の変更に追従すれば完了です。

確認問題

  1. スプレッドシートからモデルを変更できますか。
  2. SUMIFS の条件にある A3&"*" は何に一致しますか。
  3. グラフの軸の最大値と主目盛間隔はどこで設定しますか。
解答を表示
  1. スプレッドシートからモデルを変更できますか。

    できません。モデルテーブルと HOLARCH 関数はモデルを読み取るだけで、スプレッドシートがモデルに書き込むことはありません。

  2. SUMIFS の条件にある A3&"*" は何に一致しますか。

    サブシステムの番号で始まるすべてのパーツ番号です。たとえば 1.1 なら 1.1.1 や 1.1.2 が該当します。

  3. グラフの軸の最大値と主目盛間隔はどこで設定しますか。

    グラフの右クリックメニューから開く軸の書式設定で設定します。ボックスを空にすると自動のままになります。

関連資料

トランスクリプト

トランスクリプトを表示 (ナレーションと画面の内容)

Introduction

Chapter four: charts and model data. A chart shows the budget at a glance. And a spreadsheet can read the model, so the budget stays current without retyping.

In this chapter you chart the budget, then feed it from the model.

Charts

Select the subsystems and their masses, B2 to C8. Open Chart, and choose Column.

On screen: Name Box B2:C8 → Chart ▾ → Column.

The chart floats over the sheet. Drag it to the right of the budget, so the totals stay in view.

On screen: Drag the chart right of column E.

The chart follows its cells. Right-click it for its menu, and choose Format Vertical Axis.

On screen: Right-click the chart → Format Vertical Axis….

Format Axis sets the bounds and units. Set the maximum to five and the major unit to one. Leave a box empty to keep it automatic. Close the panel.

On screen: Maximum 5, Major 1 → close.

Model data

The masses so far are typed estimates. The model holds the current mass of every component, so read them from there. Add a sheet, and name it Model.

On screen: + → Model.

Select A1, and click Model Table. Choose the class Asset, tick Number and Mass, name the table Parts, and click Insert.

On screen: A1 → Model Table… → Class Asset; Number, Mass; name Parts → Insert.

The table lists every asset with its number and mass, live and read-only. A spreadsheet reads the model, and never writes to it.

On screen: The Parts table.

Back in the budget, replace the estimate in C3. The SUMIFS function adds the masses of the parts whose number starts with the subsystem's number.

On screen: Budget → C3: =SUMIFS(Parts[Mass],Parts[Number],A3&"*") ↵.

Fill it down to C8. Every subsystem now adds up its components from the model.

On screen: Name Box C3:C8 → Fill ▾ → Fill Down.

HOLARCH.VALUE reads one value of one item, in the unit you ask for. On the Assumptions sheet, the allocation becomes the threshold of the spacecraft mass measure in the model.

On screen: Assumptions → B1: =HOLARCH.VALUE("Spacecraft Mass","Threshold Value","kg") ↵.

The sheet follows the model

Now change the model. In the Database, open the payload camera's mass, and change it from two point four to two point nine kilograms.

On screen: Database → Payload Camera → Mass 2.4 → 2.9.

Back in the spreadsheet, with its editor tab. The payload camera's mass, the totals, the margin and the chart have all followed, with no edit to the sheet.

On screen: Editor tab → Budget: 2.90 kg, totals, margin, chart.

Recap

To recap: chart a range and format its axis, insert a Model Table for live model data, sum it with SUMIFS, and read single values with HOLARCH.VALUE.

In the last chapter, you import an Excel workbook and get AI help with formulas.