tune oversell before negative buy slots
This commit is contained in:
@@ -613,6 +613,11 @@ def solve_dispatch(
|
||||
+ heat_pump.rated_heating_power_w
|
||||
)
|
||||
|
||||
# Záporný prodej (sell < 0): nevybíjet baterii do sítě pro arbitráž.
|
||||
# Export v tomto okně může vzniknout jen z přebytku FVE (pv_a/pv_b), ne z bd.
|
||||
if s.sell_price < 0:
|
||||
prob += w_arb[t] == 0
|
||||
|
||||
soc_prev_expr = current_soc_wh if t == 0 else soc[t - 1]
|
||||
arb_t = arb_floor_series[t]
|
||||
soc_low_t = soc_panel_min[t]
|
||||
|
||||
Reference in New Issue
Block a user