Dayowe 19592f2230 • feat(kaya): use current weight for Fred & Felia MER grams
- Add current weight input + validation to Kaya UI
  - Persist/restore weight in local storage
  - Compute Fred & Felia grams/day from MER using entered weight and age factor
  - Keep kibble chart-based; allow editing Fred energy density
  - Rebuild iframe.html from src/
2026-01-28 15:51:28 +01:00

2.5 KiB
Raw Blame History

Kaya Transition Calculator — Quick Guide

This tool helps transition Kaya (30 kg adult) from kibble to gently cooked while keeping daily energy intake continuous. Enter Kayas age, set food sources and their energy values, then adjust percentages to see exactly how much to feed of each food.

How to use

  • Enter Kayas age in months (2.012.0). If outside this range, the tool adjusts to the nearest valid value.
  • Confirm energy values for each food source:
    • “Eukanuba, kibble” defaults to 372 kcal/100 g — change if your bag shows a different value.
    • “Fred & Felia, gently cooked” defaults to 115 kcal/100 g.
    • Add/rename sources (e.g., “Treats”) and enter their energy (kcal/100 g, kcal/kg, kcal/cup, or kcal/can).
  • Set percentages for each food; lock any you want fixed. The total always equals 100%.
  • Optional: switch units (g/kg/oz/lb; cups enabled only when kcal/cup is entered), choose perday or permeal, set meals/day, and use “days” to see batch totals.

What it calculates

  • Daily energy target is derived from the 30 kg kibble feeding curve using Kayas exact age (monthlevel interpolation), not from generic MER.
  • That daily kcal target is split across your foods by percentage and converted into amounts using each foods energy density.
  • Results include perfood amounts and totals, perday or permeal, in your selected units.

Formulas (at a glance)

  • Kibble grams/day (30 kg) by month (g/day): 2: 250, 3: 330, 4: 365, 5: 382, 6: 400, 7: 405, 8: 410, 9: 410, 10: 410, 11: 408, 12: 405. Linear interpolation is applied between months (e.g., 5.5 months is halfway between 5 and 6).
  • Daily kcal target = kibble_g/day × (kibble_kcal_per_100g ÷ 100)
  • Perfood kcal = daily_kcal × (food_percentage ÷ 100)
  • Perfood grams (kcal/100 g) = perfood_kcal ÷ (kcal_per_100g ÷ 100)
  • Perfood grams (kcal/kg) = perfood_kcal ÷ (kcal_per_kg ÷ 1000)
  • Cups (when kcal/cup provided) = perfood_kcal ÷ kcal_per_cup
  • Internal assumptions for conversions: 1 cup ≈ 120 g (dry), 1 can ≈ 450 g (wet)

Notes

  • Age input is limited to 212 months; values are rounded for display (permeal amounts round after splitting).
  • Accuracy depends on correct energy values on your foods labels. When in doubt, confirm the kcal numbers on the packaging.
  • This guide supports professional planning; your nutritionist may finetune based on Kayas body condition and response.