pub fn select_best_assets(
model: &Model,
opt_assets: Vec<AssetRef>,
agent_addition_limits: HashMap<ProcessID, Capacity>,
agent_total_limits: HashMap<ProcessID, Capacity>,
commodity: &Commodity,
agent: &Agent,
region_id: &RegionID,
prices: &Prices,
demand: DemandMap,
year: u32,
writer: &mut DataWriter,
) -> Result<Vec<AssetRef>>Expand description
Get the best assets for meeting demand for the given commodity