You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See #442 for details of the new proposed schema for agent parameters
Steps:
Create AgentCostLimit struct
Create read_agent_cost_limits and read_agent_cost_limits_from_iter functions to read in the data
Create cost_limits attribute of Agent (replacing current capex_limit and annual_cost_limit attributes)
This could be a vec<AgentCostLimit>, or possibly as a hashmap with commodity id as the key
ALTERNATIVELY: store this under the AgentCommodity struct that will be created in Create agent_commodities table #453. This should all become clearer after that PR is done
Validation:
Only permit agent/commodity combinations specified in agent_commodities
To do after #453
See #442 for details of the new proposed schema for agent parameters
Steps:
AgentCostLimitstructread_agent_cost_limitsandread_agent_cost_limits_from_iterfunctions to read in the datacost_limitsattribute ofAgent(replacing currentcapex_limitandannual_cost_limitattributes)vec<AgentCostLimit>, or possibly as a hashmap with commodity id as the keyAgentCommoditystruct that will be created in Createagent_commoditiestable #453. This should all become clearer after that PR is doneValidation:
agent_commoditiescapex_limitandannual_cost_limitshould be non-negative