Holarch
Rozdziały kursu

Szkolenia · Ścieżka 14. Arkusze kalkulacyjne · Rozdział 14.4 z 5

14.4 Wykresy i dane modelu 2:47

Wykres z zakresu i formatowanie jego osi, wstawianie Tabeli modelu na żywo i odczytywanie wartości modelu za pomocą SUMIFS i HOLARCH.VALUE.

Pokazuje Holarch 2.35.

Czego się nauczysz

  • Tworzenie wykresu z zakresu i przenoszenie go obok danych
  • Ustawianie granic i jednostek osi w Formatuj oś
  • Wstawianie Tabeli modelu z danymi modelu na żywo
  • Sumowanie wartości modelu za pomocą SUMIFS i odczytywanie jednej wartości za pomocą HOLARCH.VALUE
  • Obserwowanie, jak zmiana w modelu przechodzi do arkusza i wykresu

Utwórz wykres budżetu masy EO-1 i połącz go z modelem: wstaw wykres kolumnowy mas podsystemów i ustaw jego oś wartości w Formatuj oś, wstaw Tabelę modelu na żywo, tylko do odczytu, ze wszystkimi elementami Asset z ich numerem i masą, zastąp wpisane szacunki formułą SUMIFS na tej tabeli, odczytaj przydział masy z modelu za pomocą HOLARCH.VALUE, a następnie zmień masę w modelu i zobacz, jak budżet za nią podąża.

Pliki projektu

  • Projekt początkowy (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)
  • Projekt ukończony (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)

Film jest odtwarzany z holarch.app; zobacz Politykę prywatności.

Ćwiczenie

Wykonaj to samodzielnie w Holarch na projekcie CubeSat EO-1.

  1. Otwórz plik początkowy rozdziału lub swój skoroszyt z rozdziału 14.3.
  2. Zaznacz B2:C8, otwórz Wykres i wybierz Kolumnowy. Przeciągnij wykres na prawo od budżetu.
  3. Kliknij wykres prawym przyciskiem myszy, wybierz Formatuj oś pionową…, ustaw maksimum na 5, a jednostkę główną na 1.
  4. Dodaj arkusz o nazwie Model. W A1 kliknij Tabela modelu…, wybierz klasę Asset, zaznacz Numer i Mass, nazwij ją Parts i kliknij Wstaw.
  5. Na arkuszu Budżet wpisz w C3 =SUMIFS(Parts[Mass],Parts[Number],A3&"*") i wypełnij w dół do C8. Na arkuszu Assumptions wpisz w B1 =HOLARCH.VALUE("Spacecraft Mass","Threshold Value","kg").
  6. W Bazie danych zmień masę Payload Camera z 2.4 na 2.9 kg i wróć do arkusza kalkulacyjnego.

Gotowe, gdy masy pochodzą z modelu, przydział odczytuje z modelu wartość 12, a sumy, zapas i wykres podążają za zmianą Payload Camera.

Sprawdź się

  1. Czy arkusz kalkulacyjny może zmienić model?
  2. Co dopasowuje A3&"*" w kryteriach SUMIFS?
  3. Gdzie ustawia się maksimum i jednostkę główną osi wykresu?
Pokaż odpowiedzi
  1. Czy arkusz kalkulacyjny może zmienić model?

    Nie. Tabele modelu i funkcje HOLARCH odczytują model; arkusz nigdy do niego nie zapisuje.

  2. Co dopasowuje A3&"*" w kryteriach SUMIFS?

    Każdy numer części zaczynający się od numeru podsystemu, np. 1.1.1 i 1.1.2 dla 1.1.

  3. Gdzie ustawia się maksimum i jednostkę główną osi wykresu?

    W Formatuj oś, otwieranym z menu kontekstowego wykresu; puste pole pozostawia wartość automatyczną.

Więcej informacji

Transkrypcja

Pokaż transkrypcję (narracja i to, co widać na ekranie)

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.