{"ref":{"kind":"component","id":"tenant_allocation_totals","key":"sha256:e83dfed5f85343e075425b62b3cfe3501eaf1d0cb6bef3a516cae7792f4561a3"},"label":"Tenant allocation totals","description":"Roll all tenant commitments into phase-period lease and billing demand.","inputs":[{"label":"Commitment MW","name":"commitment_mw","valueType":{"axes":[{"extent":null,"name":"lease_commitment","variable":true}],"dtype":"f64","unit":"MW"}},{"label":"Commitment Phase Name","name":"commitment_phase_name","valueType":{"axes":[{"extent":null,"name":"lease_commitment","variable":true}],"dtype":"str","unit":"text"}},{"label":"Leased","name":"leased","valueType":{"axes":[{"extent":null,"name":"lease_commitment","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"One Phase","name":"one_phase","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Phase Names","name":"phase_names","valueType":{"axes":[{"extent":null,"name":"capacity_phase","variable":true}],"dtype":"str","unit":"text"}},{"label":"Raw Billed","name":"raw_billed","valueType":{"axes":[{"extent":null,"name":"lease_commitment","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Ready By Phase","name":"ready_by_phase","valueType":{"axes":[{"extent":null,"name":"capacity_phase","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}}],"outputs":[{"label":"Phase Billing","name":"phase_billing","valueType":{"axes":[{"extent":null,"name":"capacity_phase","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Phase Leased","name":"phase_leased","valueType":{"axes":[{"extent":null,"name":"capacity_phase","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Unassigned Leased","name":"unassigned_leased","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}}],"dependencies":[{"id":"tenant_allocation_totals_period","key":"sha256:4f0b81d418ad4a137f398fb7ceb43321bb7a3c8ebdb2fd7a3de20a014608d0a5","kind":"component"}],"libraries":["data_center_lease_capacity"],"notes":{},"calculation":{"nodes":[{"id":"input-commitment_mw","label":"Commitment MW","kind":"input"},{"id":"input-commitment_phase_name","label":"Commitment Phase Name","kind":"input"},{"id":"input-leased","label":"Leased","kind":"input"},{"id":"input-one_phase","label":"One Phase","kind":"input"},{"id":"input-phase_names","label":"Phase Names","kind":"input"},{"id":"input-raw_billed","label":"Raw Billed","kind":"input"},{"id":"input-ready_by_phase","label":"Ready By Phase","kind":"input"},{"id":"step-zero_matrix","label":"Zero matrix","kind":"step","rule":"(Ready By Phase × 0)","sources":[{"node":"input-ready_by_phase"}]},{"id":"step-zero_series","label":"Zero series","kind":"step","rule":"(Value at index(Ready By Phase, 0) × 0)","sources":[{"node":"input-ready_by_phase"}]},{"id":"step-allocation_tenants","label":"Allocation tenants","kind":"step","rule":"Run Tenant allocation totals period for each lease commitment. Carry the closing state into the next period.","sources":[{"node":"input-commitment_mw"},{"node":"input-commitment_phase_name"},{"node":"input-leased"},{"node":"input-one_phase"},{"node":"input-raw_billed"},{"node":"step-zero_matrix"},{"node":"input-phase_names"},{"node":"step-zero_series"}],"calls":[{"component":"tenant_allocation_totals_period","label":"Tenant allocation totals period","purpose":"Accumulate tenant allocation matrices and unassigned lease capacity.","bindings":[{"name":"commitment_mw","label":"Commitment MW","value":"Commitment MW"},{"name":"commitment_phase_name","label":"Commitment Phase Name","value":"Commitment Phase Name"},{"name":"leased","label":"Leased","value":"Leased"},{"name":"one_phase","label":"One Phase","value":"One Phase"},{"name":"raw_billed","label":"Raw Billed","value":"Raw Billed"}],"carry":[{"input":"phase_billing","output":"phase_billing","label":"Phase Billing","initial":"Zero matrix"},{"input":"phase_leased","output":"phase_leased","label":"Phase Leased","initial":"Zero matrix"},{"input":"phase_names","output":"phase_names","label":"Phase Names","initial":"Phase Names"},{"input":"unassigned_leased","output":"unassigned_leased","label":"Unassigned Leased","initial":"Zero series"}]}]},{"id":"output-phase_billing","kind":"output","label":"Phase Billing","rule":"Value at index(Allocation tenants · Phase Billing, -1)","sources":[{"node":"step-allocation_tenants","field":"phase_billing","fieldLabel":"Phase Billing","url":"/catalog/components/tenant_allocation_totals_period/#output-phase_billing"}]},{"id":"output-phase_leased","kind":"output","label":"Phase Leased","rule":"Value at index(Allocation tenants · Phase Leased, -1)","sources":[{"node":"step-allocation_tenants","field":"phase_leased","fieldLabel":"Phase Leased","url":"/catalog/components/tenant_allocation_totals_period/#output-phase_leased"}]},{"id":"output-unassigned_leased","kind":"output","label":"Unassigned Leased","rule":"Value at index(Allocation tenants · Unassigned Leased, -1)","sources":[{"node":"step-allocation_tenants","field":"unassigned_leased","fieldLabel":"Unassigned Leased","url":"/catalog/components/tenant_allocation_totals_period/#output-unassigned_leased"}]}],"topics":[{"label":"Tenant allocation totals period","results":["output-phase_billing","output-phase_leased","output-unassigned_leased"]}]},"usedBy":[{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"}]}
