import React, { useState } from 'react'; const FoodProductionModel = () => { const [selectedSystem, setSelectedSystem] = useState('aquaponics'); // Production calculations const aquaponicsData = { containers: 7, fishPerContainer: 300, // lbs/year greensPerContainer: 2100, // lbs/year totalFish: 2100, // lbs/year totalGreens: 14700, // lbs/year fishValue: 8.50, // $/lb for trout greensValue: 3.00, // $/lb for mixed greens operatingCost: 12000, // per container per year }; const foodForestData = { acres: 12, matureYears: 7, year1Yield: 500, // lbs matureYield: 15000, // lbs/year at maturity installCost: 8000, // per acre maintenanceCost: 500, // per acre per year }; const gardenData = { totalPlots: 98, // 14 per cluster × 7 clusters sqftPerPlot: 100, yieldPerSqft: 0.5, // lbs per sqft per season seasonsPerYear: 2, totalYield: 9800, // lbs/year }; const households = 50; // Calculate totals const totalFoodProduction = aquaponicsData.totalFish + aquaponicsData.totalGreens + foodForestData.year1Yield + gardenData.totalYield; const perHouseholdWeekly = (totalFoodProduction / households / 52).toFixed(1); const totalValue = (aquaponicsData.totalFish * aquaponicsData.fishValue) + (aquaponicsData.totalGreens * aquaponicsData.greensValue) + (foodForestData.year1Yield * 2.50) + (gardenData.totalYield * 2.00); return (
50 Households • Year-Round Production • Integrated Systems
| Metric | Per Container | Total (×7) |
|---|---|---|
| Rainbow Trout | 300 lbs | 2,100 lbs |
| Leafy Greens | 2,100 lbs | 14,700 lbs |
| Herbs | 150 lbs | 1,050 lbs |
| Operating Cost | $12,000 | $84,000 |
| Market Value | $9,750 | $68,250 |
Key insight: Operating cost is covered by ~86% of market value. Community benefit (free food) makes up the difference.
| Year | Yield (lbs) | Value | Cumulative |
|---|---|---|---|
| Year 1 | 500 | $1,250 | $1,250 |
| Year 2 | 1,500 | $3,750 | $5,000 |
| Year 3 | 3,500 | $8,750 | $13,750 |
| Year 5 | 8,000 | $20,000 | $47,500 |
| Year 7+ | 15,000 | $37,500 | Ongoing |
Species mix: Apples, pears, plums, hazelnuts, chestnuts, elderberry, currants, asparagus, rhubarb, perennial kale
Plus seasonal fruit from food forest
| System | {['J','F','M','A','M','J','J','A','S','O','N','D'].map((m, i) => ({m} | ))}
|---|---|
| Aquaponics | {[...Array(12)].map((_, i) => ())} |
| Gardens | {[0,0,1,2,3,3,3,3,3,2,1,0].map((level, i) => (
0 ? `rgba(34, 197, 94, ${level * 0.25})` : 'rgba(100, 116, 139, 0.2)'
}}
>
|
))}
| Food Forest | {[0,0,0,1,1,2,3,3,3,2,1,0].map((level, i) => (
0 ? `rgba(22, 163, 74, ${level * 0.25})` : 'rgba(100, 116, 139, 0.2)'
}}
>
|
))}
| Combined | {[2,2,3,4,5,6,7,7,7,5,4,2].map((level, i) => ())} |
Click system components to highlight • Food Production Model v1