{"ref":{"kind":"component","id":"data_center_phase_budget_allocation","key":"sha256:7f98779025d37041c45b40fb5702a40c2c0dcc83ded7c1f9e29ac851bce39ab6"},"label":"Data center phase budget allocation","description":"Allocate budget rows to capacity phases without package operations.","inputs":[{"label":"Budget Phases","name":"budget_phases","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"str","unit":"text"}},{"label":"Capacity Phases","name":"capacity_phases","valueType":{"axes":[{"extent":null,"name":"capacity_phase","variable":true}],"dtype":"str","unit":"text"}},{"label":"Costs","name":"costs","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Phase Costs","name":"phase_costs","valueType":{"axes":[{"extent":null,"name":"capacity_phase","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unallocated Costs","name":"unallocated_costs","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"capacity_phase_budget_period","key":"sha256:bd87269d437d56df68bbef71d85a0c1c1275561eda5664124937009524844441","kind":"component"},{"id":"unallocated_budget_period","key":"sha256:79c1e53506e11efc7c838a411a61f0e75367d1856e6bb311cc02a77f38627ccd","kind":"component"}],"libraries":["data_center_development_funding"],"notes":{},"calculation":{"nodes":[{"id":"input-budget_phases","label":"Budget Phases","kind":"input"},{"id":"input-capacity_phases","label":"Capacity Phases","kind":"input"},{"id":"input-costs","label":"Costs","kind":"input"},{"id":"step-phases","label":"Phases","kind":"step","rule":"Run Capacity phase budget period for each capacity phase. Carry the closing state into the next period.","sources":[{"node":"input-capacity_phases"},{"node":"input-budget_phases"},{"node":"input-costs"}],"calls":[{"component":"capacity_phase_budget_period","label":"Capacity phase budget period","purpose":"Select the budget cost assigned to one canonical capacity phase.","bindings":[{"name":"phase","label":"Phase","value":"Capacity Phases"}],"carry":[{"input":"budget_phases","output":"budget_phases","label":"Budget Phases","initial":"Budget Phases"},{"input":"costs","output":"costs","label":"Costs","initial":"Costs"}]}]},{"id":"step-rows","label":"Rows","kind":"step","rule":"Run Unallocated budget period for each budget. Carry the closing state into the next period.","sources":[{"node":"input-budget_phases"},{"node":"input-costs"},{"node":"input-capacity_phases"}],"calls":[{"component":"unallocated_budget_period","label":"Unallocated budget period","purpose":"Expose one budget row whose phase has no modeled capacity owner.","bindings":[{"name":"budget_phase","label":"Budget Phase","value":"Budget Phases"},{"name":"cost","label":"Cost","value":"Costs"}],"carry":[{"input":"capacity_phases","output":"capacity_phases","label":"Capacity Phases","initial":"Capacity Phases"}]}]},{"id":"output-phase_costs","kind":"output","label":"Phase Costs","rule":"Phases · Phase Cost","sources":[{"node":"step-phases","field":"phase_cost","fieldLabel":"Phase Cost","url":"/catalog/components/capacity_phase_budget_period/#output-phase_cost"}]},{"id":"output-unallocated_costs","kind":"output","label":"Unallocated Costs","rule":"Sum(Rows · Unallocated)","sources":[{"node":"step-rows","field":"unallocated","fieldLabel":"Unallocated","url":"/catalog/components/unallocated_budget_period/#output-unallocated"}]}],"topics":[{"label":"Capacity phase budget period","results":["output-phase_costs"]},{"label":"Unallocated budget period","results":["output-unallocated_costs"]}]},"usedBy":[{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"}]}
