{"ref":{"kind":"component","id":"corporate_asset_cohort_period","key":"sha256:94c09c7d2de7f8aee91ec9432b3e13d01ba52c76a5d2a7a91898c0d75f352da9"},"label":"Asset cohort cost and service","description":"Retain original cohort cost while charging supplied service against remaining book value.","inputs":[{"label":"Additions","name":"additions","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Life","name":"life","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Opening Basis","name":"opening.basis","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Opening Carrying","name":"opening.carrying","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Service Additions","name":"service.additions","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Service Existing","name":"service.existing","valueType":{"axes":[],"dtype":"f64","unit":"1"}}],"outputs":[{"label":"Basis","name":"basis","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Carrying Excess","name":"carrying_excess","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Closing","name":"closing","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Depreciation","name":"depreciation","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Invalid Life","name":"invalid_life","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Invalid Service","name":"invalid_service","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Negative Amounts","name":"negative_amounts","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Reused Cohort","name":"reused_cohort","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"corporate_straight_line_period","key":"sha256:f93a40c8100fdf36e8f08518311f3eeb4518433fa9c701ddc1f7b67d4a5b3f48","kind":"component"}],"libraries":["corporate_asset"],"notes":{"conventions":["One cohort has one original depreciable basis, zero residual and one positive useful life in years.","Opening basis is retained after depreciation; opening carrying value is the remaining book amount. Land and other nondepreciable values stay outside this cohort.","A new cohort receives additions once. Later investments require their own cohort; mixing vintages is diagnosed.","Existing and new-addition service fractions are supplied years in service during this period; new service cannot exceed existing-period service.","Each charge uses original basis divided by life and is capped at remaining carrying value by the shared straight-line rule.","Life changes, disposals, impairments, recognition counterparts and cash payments remain caller-owned accounting decisions."]},"calculation":{"nodes":[{"id":"input-additions","label":"Additions","kind":"input"},{"id":"input-life","label":"Life","kind":"input"},{"id":"input-opening.basis","label":"Opening Basis","kind":"input"},{"id":"input-opening.carrying","label":"Opening Carrying","kind":"input"},{"id":"input-service.additions","label":"Service Additions","kind":"input"},{"id":"input-service.existing","label":"Service Existing","kind":"input"},{"id":"step-value1","label":"(Life > 0)","kind":"step","rule":"(Life > 0)","sources":[{"node":"input-life"}]},{"id":"output-basis","kind":"output","label":"Basis","rule":"(Opening Basis + Additions)","sources":[{"node":"input-opening.basis"},{"node":"input-additions"}]},{"id":"output-reused_cohort","kind":"output","label":"Reused Cohort","rule":"if (Opening Basis > 0), then Higher of Additions and 0, otherwise 0","sources":[{"node":"input-opening.basis"},{"node":"input-additions"}]},{"id":"output-carrying_excess","kind":"output","label":"Carrying Excess","rule":"Higher of (Opening Carrying − Opening Basis) and 0","sources":[{"node":"input-opening.carrying"},{"node":"input-opening.basis"}]},{"id":"step-value0","label":"if (Life > 0), then Life, otherwise 1","kind":"step","rule":"if (Life > 0), then Life, otherwise 1","sources":[{"node":"step-value1"},{"node":"input-life"}]},{"id":"output-invalid_life","kind":"output","label":"Invalid Life","rule":"if (Life > 0), then 0, otherwise 1","sources":[{"node":"step-value1"}]},{"id":"step-acquired","label":"Acquired","kind":"step","rule":"Result of Straight-line service for one asset cohort","sources":[{"node":"input-additions"},{"node":"step-value0"},{"node":"input-service.additions"}],"calls":[{"component":"corporate_straight_line_period","purpose":"Apply a supplied straight-line charge to one cohort's remaining depreciable basis.","label":"Straight-line service for one asset cohort","bindings":[{"name":"annual_charge","label":"Annual Charge","value":"(Additions ÷ if (Life > 0), then Life, otherwise 1)"},{"name":"opening","label":"Opening","value":"Additions"},{"name":"residual","label":"Residual","value":"0"},{"name":"service","label":"Service","value":"Service Additions"}]}]},{"id":"step-existing","label":"Existing","kind":"step","rule":"Result of Straight-line service for one asset cohort","sources":[{"node":"input-opening.basis"},{"node":"step-value0"},{"node":"input-opening.carrying"},{"node":"input-service.existing"}],"calls":[{"component":"corporate_straight_line_period","purpose":"Apply a supplied straight-line charge to one cohort's remaining depreciable basis.","label":"Straight-line service for one asset cohort","bindings":[{"name":"annual_charge","label":"Annual Charge","value":"(Opening Basis ÷ if (Life > 0), then Life, otherwise 1)"},{"name":"opening","label":"Opening","value":"Opening Carrying"},{"name":"residual","label":"Residual","value":"0"},{"name":"service","label":"Service","value":"Service Existing"}]}]},{"id":"output-closing","kind":"output","label":"Closing","rule":"(Existing · Closing + Acquired · Closing)","sources":[{"node":"step-existing","field":"closing","fieldLabel":"Closing","url":"/catalog/components/corporate_straight_line_period/#output-closing"},{"node":"step-acquired","field":"closing","fieldLabel":"Closing","url":"/catalog/components/corporate_straight_line_period/#output-closing"}]},{"id":"output-depreciation","kind":"output","label":"Depreciation","rule":"(Existing · Depreciation + Acquired · Depreciation)","sources":[{"node":"step-existing","field":"depreciation","fieldLabel":"Depreciation","url":"/catalog/components/corporate_straight_line_period/#output-depreciation"},{"node":"step-acquired","field":"depreciation","fieldLabel":"Depreciation","url":"/catalog/components/corporate_straight_line_period/#output-depreciation"}]},{"id":"output-invalid_service","kind":"output","label":"Invalid Service","rule":"((Existing · Negative Service + Acquired · Negative Service) + Higher of (Service Additions − Service Existing) and 0)","sources":[{"node":"step-existing","field":"negative_service","fieldLabel":"Negative Service","url":"/catalog/components/corporate_straight_line_period/#output-negative_service"},{"node":"step-acquired","field":"negative_service","fieldLabel":"Negative Service","url":"/catalog/components/corporate_straight_line_period/#output-negative_service"},{"node":"input-service.additions"},{"node":"input-service.existing"}]},{"id":"output-negative_amounts","kind":"output","label":"Negative Amounts","rule":"((Existing · Negative Amounts + Acquired · Negative Amounts) + Higher of (Opening Basis × -1) and 0)","sources":[{"node":"step-existing","field":"negative_amounts","fieldLabel":"Negative Amounts","url":"/catalog/components/corporate_straight_line_period/#output-negative_amounts"},{"node":"step-acquired","field":"negative_amounts","fieldLabel":"Negative Amounts","url":"/catalog/components/corporate_straight_line_period/#output-negative_amounts"},{"node":"input-opening.basis"}]}],"topics":[{"label":"Asset cohort cost and service","results":["output-basis","output-carrying_excess","output-closing","output-depreciation","output-invalid_life","output-invalid_service","output-negative_amounts","output-reused_cohort"]}]},"usedBy":[]}
