NREL / bioluc

3 stars 3 forks source link

"req'd commodity prod'n" #20

Closed bwbush closed 11 years ago

bwbush commented 11 years ago

I'm wondering if the equation for "req'd commodity prod'n" should guard against "milling factor commodity" being zero, which could occur if a user creates a new dataset that doesn't include certain commodities.

StevenPeterson commented 11 years ago

RHS of Eq'n now reads like this: IF milling_factor_commodity > 0 THEN (reqd_commodity_prodn_x_global_shortfall[Commodity] + local_pressure_from_global_supply_demand_shortfall[Commodity]) /milling_factor_commodity ELSE 0

potential issue is fixed in svn build 3887. I am closing the issue