{"ref":{"kind":"component","id":"cash_shortfall","key":"sha256:dbb711429d4821a264495d54669446ea082d9c098747acc2434f79ba38290705"},"label":"Cash Shortfall","description":"Measure the material funding gap between a cash trajectory and one minimum balance.","inputs":[{"label":"Minimum cash balance","name":"minimum_cash_balance","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Cash values","name":"values","valueType":{"axes":[{"extent":null,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Cash shortfall","name":"shortfall","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["cash_runway"],"notes":{},"calculation":{"nodes":[{"id":"input-minimum_cash_balance","label":"Minimum cash balance","kind":"input"},{"id":"input-values","label":"Cash values","kind":"input"},{"id":"step-raw_shortfall","label":"Raw shortfall","kind":"step","rule":"Higher of (Minimum cash balance − Lowest value(Cash values)) and 0","sources":[{"node":"input-minimum_cash_balance"},{"node":"input-values"}]},{"id":"output-shortfall","kind":"output","label":"Cash shortfall","rule":"if (Raw shortfall > 1e-06), then Raw shortfall, otherwise 0","sources":[{"node":"step-raw_shortfall"}]}],"topics":[{"label":"Cash Shortfall","results":["output-shortfall"]}]},"usedBy":[{"kind":"recipe","id":"saas_cash_runway","key":"sha256:15f6563c6525cf93b1ebaf8033976b73f24abf963fedbfb885079d3bd0a5f7e6"},{"kind":"recipe","id":"saas_growth","key":"sha256:88594e507d178cd99c02af20c0ae04962fac045ddd929a34b2110b58ad01324b"}]}
