@@ -24,7 +24,6 @@ def __init__(
2424 constraints : Callable | None = None ,
2525 investment : Callable | None = None ,
2626 name : str = "subsector" ,
27- forecast : int = 5 ,
2827 expand_market_prices : bool = False ,
2928 timeslice_level : str | None = None ,
3029 ):
@@ -37,7 +36,6 @@ def __init__(
3736 self .demand_share = demand_share or ds .factory ()
3837 self .constraints = constraints or cs .factory ()
3938 self .investment = investment or iv .factory ()
40- self .forecast = forecast
4139 self .name = name
4240 self .expand_market_prices = expand_market_prices
4341 self .timeslice_level = timeslice_level
@@ -142,7 +140,6 @@ def factory(
142140 asset_threshold = getattr (settings , "asset_threshold" , 1e-12 ),
143141 # only used by self-investing agents
144142 investment = getattr (settings , "lpsolver" , "scipy" ),
145- forecast = getattr (settings , "forecast" , 5 ),
146143 constraints = getattr (settings , "constraints" , ()),
147144 timeslice_level = timeslice_level ,
148145 )
@@ -181,7 +178,6 @@ def factory(
181178 constraints = cs .factory (getattr (settings , "constraints" , None ))
182179 # only used by non-self-investing agents
183180 investment = iv .factory (getattr (settings , "lpsolver" , "scipy" ))
184- forecast = getattr (settings , "forecast" , 5 )
185181
186182 expand_market_prices = getattr (settings , "expand_market_prices" , None )
187183 if expand_market_prices is None :
@@ -195,7 +191,6 @@ def factory(
195191 demand_share = demand_share ,
196192 constraints = constraints ,
197193 investment = investment ,
198- forecast = forecast ,
199194 name = name ,
200195 expand_market_prices = expand_market_prices ,
201196 timeslice_level = timeslice_level ,
0 commit comments