{"ref":{"kind":"component","id":"growing_perpetuity","key":"sha256:e292586ba2727449906ae143280d3ad676629fb82f924dfafcc90f3ab92843e2"},"label":"Growing Perpetuity","description":"Value an admitted sustainable first annual payment at its preceding terminal date.","inputs":[{"label":"Discount Rate","name":"discount_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Growth Rate","name":"growth_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Next Cash Flow","name":"next_cash_flow","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Available","name":"available","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Value","name":"value","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["returns"],"notes":{"conventions":["Next cash flow is the signed first payment one year after the terminal date, not the final explicit-period cash flow.","Value is at the terminal date; the caller discounts it to the valuation date and establishes sustainable cash, reinvestment and ownership.","Effective annual discount and growth rates must exceed minus one, and discount must exceed growth. Negative cash and value remain visible.","Invalid rates produce a zero placeholder with availability false; a zero placeholder is not a terminal valuation."]},"calculation":{"nodes":[{"id":"input-discount_rate","label":"Discount Rate","kind":"input"},{"id":"input-growth_rate","label":"Growth Rate","kind":"input"},{"id":"input-next_cash_flow","label":"Next Cash Flow","kind":"input"},{"id":"step-value0","label":"Conditional result using Discount Rate","kind":"step","rule":"if if (Discount Rate > Growth Rate), then if (Growth Rate > -1), then true, otherwise false, otherwise false, then if (Discount Rate > -1), then true, otherwise false, otherwise false","sources":[{"node":"input-discount_rate"},{"node":"input-growth_rate"}]},{"id":"output-available","kind":"output","label":"Available","rule":"if Conditional result using Discount Rate, then 1, otherwise 0","sources":[{"node":"step-value0"}]},{"id":"output-value","kind":"output","label":"Value","rule":"if Conditional result using Discount Rate, then (Next Cash Flow ÷ if Conditional result using Discount Rate, then (Discount Rate − Growth Rate), otherwise 1), otherwise 0","sources":[{"node":"step-value0"},{"node":"input-next_cash_flow"},{"node":"input-discount_rate"},{"node":"input-growth_rate"}]}],"topics":[{"label":"Growing Perpetuity","results":["output-available","output-value"]}]},"usedBy":[]}
