diff --git a/src/muse/agents/agent.py b/src/muse/agents/agent.py index db0e8a539..5082aa504 100644 --- a/src/muse/agents/agent.py +++ b/src/muse/agents/agent.py @@ -390,11 +390,14 @@ def compute_decision( # Filter prices according to the region prices = self.filter_input(market.prices) + # Select prices for the investment year + investment_year_prices = prices.isel(year=1) + # Compute the objectives objectives = self.objectives( technologies=techs, demand=reduced_demand, - prices=prices, + prices=investment_year_prices, timeslice_level=self.timeslice_level, )