[Econ] HomeGrownFeed Revenue and Cost Processing - #3119
Conversation
Several farm-grown feeds in the feed storage configs (cereal rye, triticale, tall fescue, winter wheat variants, and alfalfa baleage) have no dedicated commodity price series, so their homegrown feed revenue/cost line items were silently dropped. Add HOMEGROWN_FEED_PRICE_ALIASES mapping each of these crop names to the closest available proxy commodity, per the economics SME guidance (closes #3079 discussion): - cereal rye / triticale grain -> rye_grain - cereal rye / triticale / winter wheat silage and baleage -> barley_silage - tall fescue silage and baleage -> sundan_silage - alfalfa baleage -> alfalfa_silage - any non-alfalfa hay -> hay_excluding_alfalfa _build_feed_id_to_price_file_map now resolves keys via _resolve_price_file_key, which prefers an exact match and otherwise falls back to the alias, warning only when neither resolves. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Resolved the missing commodity-price data for homegrown feeds using the mapping agreed in the email thread with the economics SMEs (Kristan Reed / Braden Limb). Added
On hay: per Braden,
|
Context
Issue(s) closed by this pull request: closes #3079
What
Why
How
Test plan
Input Changes
Output Changes
Filter