Budgets sheet
A drone's mass, power and cost budgets against their requirements: the totals, each subsystem's share by how sure the number is, the parts behind it, and the mass forecast review by review. The budgets are the model's own. It does the job of the anfra Cash Flow app.
archec new my-app --kind data-app --template budgets-sheet
archec ui preview my-app/main.arche --serve
What it shows#
- A filter: the maturity of a number (an estimate, a quote, measured).
- Three tiles: the mass, the peak power and the cost, each against its requirement.
- The mass by subsystem and maturity. A click opens the subsystem's parts.
- The share of each budget used, against 100 %.
- The mass at each design review, with the requirement's limit.
- The budgets by subsystem.
The data#
- The model: each part says its
mass, itspower, its cost (prop cost = 63) and how sure they are (prop maturity = "quote"). The drone holdsbudget mass 1500g,budget power 120Wandbudget cost 1100. The dataset reads them withfrom budgets, a row per part and budget, asarchec checkadds them up. Change a part's mass and the sheet follows. data/forecast.csv: the mass of each subsystem at each review:at,subsystem,mass.
Limits#
- The forecast is a file: the model holds the numbers of today, not of each review.
- A cost has no currency unit: its label says EUR.
The model is lib/data-apps/budgets-sheet/main.arche, and the gallery lists
the other templates.