Forecast Errors and the Value of Foresight
A battery earns money by buying electricity when it is cheap and selling it when it is expensive. How much it earns depends on how well it knows tomorrow's prices.
Two things limit that knowledge, and they are easy to confuse:
- Limited foresight: the operator only sees a few hours ahead.
- Forecast error: what the operator sees is wrong.
This example separates them. We model a 20 MW / 80 MWh battery trading on a day-ahead market as a price taker. First we compute the profit it would earn knowing every price in advance. That is the benchmark, often called the intrinsic value of the asset. Then we operate the battery day by day against forecasts that are refreshed every morning and that get the prices wrong. The gap between the two numbers is the value that the forecast error destroys.
The rolling horizon example covers limited foresight with perfect data. Here we add the forecast error.
In [2]:
Copied!
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import pypsa
SEED = 42
rng = np.random.default_rng(SEED)import matplotlib.pyplot as plt import numpy as np import pandas as pd import pypsa SEED = 42 rng = np.random.default_rng(SEED)
A synthetic day-ahead price
We use two weeks of hourly prices built from three parts: a daily shape with a midday solar dip and an evening peak, a level that drifts from day to day, and a small hourly noise.
In [3]:
Copied!
days = 14
snapshots = pd.date_range("2030-06-01", periods=days * 24, freq="h")
daily_shape = np.array(
[
[-15, -22, -27, -30, -30, -24],
[-10, 12, 22, 5, -20, -40],
[-55, -58, -50, -30, 0, 25],
[45, 55, 45, 25, 5, -8],
],
dtype=float,
).ravel()
daily_shape -= daily_shape.mean()
level = 65 + rng.normal(0, 12, days).cumsum() * 0.4
price = pd.Series(
level.repeat(24) + np.tile(daily_shape, days) + rng.normal(0, 4, len(snapshots)),
index=snapshots,
name="price",
)days = 14 snapshots = pd.date_range("2030-06-01", periods=days * 24, freq="h") daily_shape = np.array( [ [-15, -22, -27, -30, -30, -24], [-10, 12, 22, 5, -20, -40], [-55, -58, -50, -30, 0, 25], [45, 55, 45, 25, 5, -8], ], dtype=float, ).ravel() daily_shape -= daily_shape.mean() level = 65 + rng.normal(0, 12, days).cumsum() * 0.4 price = pd.Series( level.repeat(24) + np.tile(daily_shape, days) + rng.normal(0, 4, len(snapshots)), index=snapshots, name="price", )
In [4]:
Copied!
fig, ax = plt.subplots(figsize=(9, 3), layout="constrained")
price.plot(ax=ax, color="black", linewidth=1)
ax.axhline(0, color="grey", linewidth=0.5)
ax.set_ylabel("EUR/MWh")
ax.set_xlabel("");fig, ax = plt.subplots(figsize=(9, 3), layout="constrained") price.plot(ax=ax, color="black", linewidth=1) ax.axhline(0, color="grey", linewidth=0.5) ax.set_ylabel("EUR/MWh") ax.set_xlabel("");

A price-taker battery
The market is a single bus. The battery is a Store attached to it, and max_hours
ties its power limit to its energy capacity e_nom. The market itself is one Generator whose output may go negative, which p_min_pu=-1 permits:
- positive output means the market delivers power to us, so we buy,
- negative output means the market absorbs power from us, so we sell.
Its marginal_cost is the spot price. Buying therefore costs the spot price and selling
earns it. Because the price is fixed data rather than a result of the optimisation, the
battery is a price taker. Profit is the negative
of the objective value.
The store is not cyclic (e_cyclic=False by default), so we can hand its energy level
e_initial from one day to the next. It starts empty.
In [5]:
Copied!
def build_network(prices):
n = pypsa.Network(snapshots=prices.index)
n.add("Carrier", ["electricity", "spot market", "battery"])
n.add("Bus", "market", carrier="electricity")
n.add(
"Generator",
"spot market",
bus="market",
carrier="spot market",
p_nom=20,
p_min_pu=-1,
marginal_cost=prices,
)
n.add(
"Store",
"battery",
bus="market",
carrier="battery",
e_nom=80,
max_hours=4,
efficiency_store=0.95,
efficiency_dispatch=0.95,
)
return ndef build_network(prices): n = pypsa.Network(snapshots=prices.index) n.add("Carrier", ["electricity", "spot market", "battery"]) n.add("Bus", "market", carrier="electricity") n.add( "Generator", "spot market", bus="market", carrier="spot market", p_nom=20, p_min_pu=-1, marginal_cost=prices, ) n.add( "Store", "battery", bus="market", carrier="battery", e_nom=80, max_hours=4, efficiency_store=0.95, efficiency_dispatch=0.95, ) return n
Settling a schedule means valuing every traded megawatt hour at the price that actually occurred. Buying is a positive market output and costs money, so the profit carries a minus sign.
In [6]:
Copied!
def settle(dispatch, prices):
"""Profit in EUR of a market schedule valued at the given prices."""
return -(dispatch * prices[dispatch.index]).sum()def settle(dispatch, prices): """Profit in EUR of a market schedule valued at the given prices.""" return -(dispatch * prices[dispatch.index]).sum()
Benchmark: perfect foresight
We solve the whole fortnight in one go with the prices that actually occur. No trader can beat this, so it is the ceiling against which everything else is measured.
In [7]:
Copied!
n = build_network(price)
n.optimize()
profit_perfect = settle(n.generators_t.p["spot market"], price)
profit_perfectn = build_network(price) n.optimize() profit_perfect = settle(n.generators_t.p["spot market"], price) profit_perfect
/tmp/ipykernel_3454/3262812631.py:2: PyPSA2Warning: pandas reads strings as `str` dtype since 3.0. PyPSA converts them back to object dtype on import, but keeps `str` from PyPSA 2.0 on. Set `pypsa.options.future.string_dtype` to True to opt in now or to False to keep the current behaviour.
n = pypsa.Network(snapshots=prices.index)
/tmp/ipykernel_3454/2724126155.py:2: PyPSA2Warning: From PyPSA 2.0 on, the objective leaves out the capital costs of existing capacity on extendable assets, which improves LP conditioning. Pass `include_objective_constant` to `n.optimize` to choose per call. Set `pypsa.options.future.exclude_objective_constant` to True to opt in now or to False to keep the current behaviour.
n.optimize()INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.06sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-2r8wgamp.lpReading time = 0.00 secondsobj: 3360 rows, 1344 columns, 5375 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 1344 primals, 3360 duals
Objective: -1.31e+05
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.31e+05
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Out[7]:
np.float64(130993.4563551728)The battery charges in the cheap hours and discharges into the peaks almost every day.
Since the marginal price of the bus equals the spot price here,
[n.statistics.revenue()][pypsa.Network.statistics.revenue] reports the same
trading result with the opposite sign.
In [8]:
Copied!
revenue = n.statistics.revenue(components="Generator")
pd.Series(
{
"full cycles": n.stores_t.p_dispatch["battery"].sum() / 80,
"profit (EUR)": profit_perfect,
"statistics revenue (EUR)": revenue.iloc[0],
}
).round(1)revenue = n.statistics.revenue(components="Generator") pd.Series( { "full cycles": n.stores_t.p_dispatch["battery"].sum() / 80, "profit (EUR)": profit_perfect, "statistics revenue (EUR)": revenue.iloc[0], } ).round(1)
Out[8]:
full cycles 26.8
profit (EUR) 130993.5
statistics revenue (EUR) -130993.5
dtype: float64In [9]:
Copied!
fig, ax = plt.subplots(figsize=(9, 3), layout="constrained")
n.stores_t.e.plot(ax=ax, color="black", linewidth=1)
ax.axhline(0, color="grey", linewidth=0.5)
ax.set_ylabel("MWh")
ax.set_xlabel("");fig, ax = plt.subplots(figsize=(9, 3), layout="constrained") n.stores_t.e.plot(ax=ax, color="black", linewidth=1) ax.axhline(0, color="grey", linewidth=0.5) ax.set_ylabel("MWh") ax.set_xlabel("");

Forecasts that are refreshed every morning
Every morning the trader receives a new price forecast for the next two days. The forecast
is the realised price plus an error that grows with lead time: the next hour is almost
known, the day after tomorrow much less so. We scale the standard deviation of the error
with the square root of the lead time, so that one day ahead it equals sigma.
The hourly errors are drawn independently. This distorts the shape of the daily price profile, which is what a battery trades on. For contrast we also build an error that drifts as a random walk and therefore mostly shifts the price level. The last section compares the two.
In [10]:
Copied!
def make_forecast(prices, issue, horizon, sigma, rng, kind="shape"):
"""Forecast of the next `horizon` hours, as seen at time `issue`."""
target = prices.loc[issue:].iloc[:horizon]
lead = np.arange(len(target)) + 1
if kind == "shape":
error = rng.standard_normal(len(target)) * np.sqrt(lead / 24)
else:
error = rng.standard_normal(len(target)).cumsum() / np.sqrt(24)
return target + sigma * errordef make_forecast(prices, issue, horizon, sigma, rng, kind="shape"):
"""Forecast of the next horizon hours, as seen at time issue."""
target = prices.loc[issue:].iloc[:horizon]
lead = np.arange(len(target)) + 1
if kind == "shape":
error = rng.standard_normal(len(target)) * np.sqrt(lead / 24)
else:
error = rng.standard_normal(len(target)).cumsum() / np.sqrt(24)
return target + sigma * error
In [11]:
Copied!
issue = snapshots[72]
example = make_forecast(price, issue, 48, sigma=20, rng=np.random.default_rng(SEED))
fig, ax = plt.subplots(figsize=(7, 3), layout="constrained")
price[example.index].plot(ax=ax, color="black", linewidth=1.5)
example.plot(ax=ax, color="tab:orange", linewidth=1.5)
ax.annotate("realised", (0.02, 0.92), xycoords="axes fraction", color="black")
ax.annotate("forecast", (0.02, 0.82), xycoords="axes fraction", color="tab:orange")
ax.set_ylabel("EUR/MWh")
ax.set_xlabel("");issue = snapshots[72] example = make_forecast(price, issue, 48, sigma=20, rng=np.random.default_rng(SEED)) fig, ax = plt.subplots(figsize=(7, 3), layout="constrained") price[example.index].plot(ax=ax, color="black", linewidth=1.5) example.plot(ax=ax, color="tab:orange", linewidth=1.5) ax.annotate("realised", (0.02, 0.92), xycoords="axes fraction", color="black") ax.annotate("forecast", (0.02, 0.82), xycoords="axes fraction", color="tab:orange") ax.set_ylabel("EUR/MWh") ax.set_xlabel("");

Trading day by day
Every morning we repeat four steps:
- write the new forecast into the
marginal_costof the market generator, - set the energy level
e_initialto where yesterday's trading left the battery, - optimise the next 48 hours,
- keep only the first 24 hours and discard the rest, which tomorrow's forecast will decide again.
The loop is written out rather than handed to
[n.optimize.optimize_with_rolling_horizon()][pypsa.Network.optimize.optimize_with_rolling_horizon]
because that helper re-solves the same data in every window. Here the data itself has to
change between the solves, since each window sees a different forecast.
In [12]:
Copied!
def trade(prices, sigma, horizon=48, commit=24, kind="shape", seed=SEED):
"""Operate the battery against forecasts reissued every `commit` hours."""
n = build_network(prices)
rng = np.random.default_rng(seed)
soc = 0.0
committed = []
expected = 0.0
for issue in prices.index[::commit]:
window = prices.index[prices.index >= issue][:horizon]
forecast = make_forecast(prices, issue, horizon, sigma, rng, kind)
n.generators_t.marginal_cost.loc[window, "spot market"] = forecast
n.stores.loc["battery", "e_initial"] = soc
n.optimize(window)
today = window[:commit]
committed.append(
pd.DataFrame(
{
"market": n.generators_t.p.loc[today, "spot market"],
"soc": n.stores_t.e.loc[today, "battery"],
}
)
)
expected += settle(committed[-1].market, forecast)
soc = committed[-1].soc.iloc[-1]
return pd.concat(committed), expecteddef trade(prices, sigma, horizon=48, commit=24, kind="shape", seed=SEED):
"""Operate the battery against forecasts reissued every commit hours."""
n = build_network(prices)
rng = np.random.default_rng(seed)
soc = 0.0
committed = []
expected = 0.0
for issue in prices.index[::commit]:
window = prices.index[prices.index >= issue][:horizon]
forecast = make_forecast(prices, issue, horizon, sigma, rng, kind)
n.generators_t.marginal_cost.loc[window, "spot market"] = forecast
n.stores.loc["battery", "e_initial"] = soc
n.optimize(window)
today = window[:commit]
committed.append(
pd.DataFrame(
{
"market": n.generators_t.p.loc[today, "spot market"],
"soc": n.stores_t.e.loc[today, "battery"],
}
)
)
expected += settle(committed[-1].market, forecast)
soc = committed[-1].soc.iloc[-1]
return pd.concat(committed), expected
What the forecast error costs
We run the loop with an error of 20 EUR/MWh one day ahead, which is a realistic order of magnitude for day-ahead price forecasts. Two profits come out of it: the one the optimiser expected while it was deciding, and the one the market actually paid.
In [13]:
Copied!
result, expected = trade(price, sigma=20)
pd.Series(
{
"Perfect foresight": profit_perfect,
"Expected under forecast": expected,
"Realised": settle(result.market, price),
}
).round(0)result, expected = trade(price, sigma=20) pd.Series( { "Perfect foresight": profit_perfect, "Expected under forecast": expected, "Realised": settle(result.market, price), } ).round(0)
INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-a3a9wztw.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.92e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.92e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.04sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-sifw9_o4.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.11e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.11e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-wvdc3xbv.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.51e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.51e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-anpr6xne.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.05e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.05e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-0g8v5yd1.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.19e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.19e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-39k6gu3w.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.13e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.13e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-8_xu5w1u.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.30e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.30e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-iv8kl7pn.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.31e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.31e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-w5p5lqr6.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.77e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.77e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-0e06pcft.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.40e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.40e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-2aljejgh.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.46e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.46e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-0tewggan.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.28e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.28e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-behnw03u.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.34e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.34e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-2_oee6xc.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -1.21e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.21e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Out[13]:
Perfect foresight 130993.0
Expected under forecast 145645.0
Realised 117277.0
dtype: float64The realised profit falls short of perfect foresight. The expected profit, in contrast, lies above it: wherever the forecast error invents a price spread, the optimiser trades on it and books the imagined margin. Noise always looks like opportunity to an optimiser that trusts its input.
Looking at three days of operation shows where the money is lost. The forecast-driven battery charges and discharges at roughly the right times, but it misjudges which peak is worth waiting for and how deep the midday trough will be.
In [14]:
Copied!
window = snapshots[48:120]
fig, axes = plt.subplots(
2, 1, figsize=(9, 4), sharex=True, height_ratios=[1, 1.4], layout="constrained"
)
price[window].plot(ax=axes[0], color="black", linewidth=1)
axes[0].set_ylabel("EUR/MWh")
n.stores_t.e.loc[window, "battery"].plot(ax=axes[1], color="black", linewidth=1.5)
result.soc[window].plot(ax=axes[1], color="tab:orange", linewidth=1.5)
axes[1].set_ylim(0, 110)
axes[1].annotate(
"perfect foresight", (0.02, 0.93), xycoords="axes fraction", color="black"
)
axes[1].annotate(
"forecast driven", (0.25, 0.93), xycoords="axes fraction", color="tab:orange"
)
axes[1].set_ylabel("state of charge (MWh)")
axes[1].set_xlabel("");window = snapshots[48:120] fig, axes = plt.subplots( 2, 1, figsize=(9, 4), sharex=True, height_ratios=[1, 1.4], layout="constrained" ) price[window].plot(ax=axes[0], color="black", linewidth=1) axes[0].set_ylabel("EUR/MWh") n.stores_t.e.loc[window, "battery"].plot(ax=axes[1], color="black", linewidth=1.5) result.soc[window].plot(ax=axes[1], color="tab:orange", linewidth=1.5) axes[1].set_ylim(0, 110) axes[1].annotate( "perfect foresight", (0.02, 0.93), xycoords="axes fraction", color="black" ) axes[1].annotate( "forecast driven", (0.25, 0.93), xycoords="axes fraction", color="tab:orange" ) axes[1].set_ylabel("state of charge (MWh)") axes[1].set_xlabel("");

Is the horizon or the forecast the binding constraint?
Before blaming the forecast, we check how much the limited horizon costs on its own. We
rerun the loop with a perfect forecast (sigma=0) and shorten the window.
In [15]:
hide-output
Copied!
horizons = {}
for horizon, commit in [(12, 12), (24, 24)]:
schedule, _ = trade(price, sigma=0, horizon=horizon, commit=commit)
horizons[f"{horizon} h"] = settle(schedule.market, price) / profit_perfecthorizons = {} for horizon, commit in [(12, 12), (24, 24)]: schedule, _ = trade(price, sigma=0, horizon=horizon, commit=commit) horizons[f"{horizon} h"] = settle(schedule.market, price) / profit_perfect
Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-pftf3xy6.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.36e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.36e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-cbb9umk6.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.39e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.39e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-zc190938.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.40e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.40e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-thzl1shx.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.76e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.76e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-qy0gaxa4.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.12e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.12e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-l_465k8v.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.44e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.44e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-fbigwk5l.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -1.90e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.90e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-67ii0gki.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.38e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.38e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-kzl68soo.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.70e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.70e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-ls9ii3tx.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.13e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.13e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-z9v51xu8.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.01e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.01e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-97jvdxet.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.56e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.56e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-27_esmde.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.64e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.64e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-79s8ufu5.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.97e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.97e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-ra2008so.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.52e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.52e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-nh8ll9bm.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.99e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.99e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-fs6nal8m.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.61e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.61e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-o24dtmir.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -7.07e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -7.07e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-satwgkfk.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.19e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.19e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-kddhq7d3.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -7.13e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -7.13e+03
Solver model: available
Solver message: 2Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-rmfusqa5.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.48e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.48e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-yaxj23cq.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.94e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.94e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-58zvj65v.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.31e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.31e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-6hzlh2_7.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.61e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.61e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-k6vn9ygf.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.80e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.80e+03
Solver model: available
Solver message: 2Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-gcgv4qh4.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.81e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.81e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-vh6d5750.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -2.11e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.11e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-iduas7w2.lpReading time = 0.00 secondsobj: 120 rows, 48 columns, 191 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 48 primals, 120 duals
Objective: -6.56e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -6.56e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-2n9muoru.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.17e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.17e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-h4l_zxa7.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.45e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.45e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.04sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-q9msp672.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -8.87e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -8.87e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-jdackfbf.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -8.76e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -8.76e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.04sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-ipiib3rb.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.18e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.18e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-zhvdcbxq.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -8.93e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -8.93e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-vxwkf7kq.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.84e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.84e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-u8th0wq6.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.70e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.70e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-4rsk5qe6.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.92e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.92e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-6_8fbvjt.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.56e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.56e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-n8rz734e.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.65e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.65e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.04sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-6u7prwuw.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.08e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.08e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-p1ors39e.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.87e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.87e+03
Solver model: available
Solver message: 2Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-5pb3j6_9.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -8.99e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -8.99e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.In [16]:
Copied!
pd.Series(horizons).round(3)pd.Series(horizons).round(3)
Out[16]:
12 h 0.969
24 h 1.000
dtype: float64One day of foresight is already enough for a four-hour battery: with a perfect forecast it captures practically all of the perfect-foresight profit. The twelve-hour window loses more, because it sees no value in energy left over at the end of its window. Long-duration storage behaves very differently, as the water value example shows, where foresight shorter than a season costs a lot and has to be repaired with a value on stored energy.
So in this case the horizon is nearly free and the forecast is what costs money.
How much is a better forecast worth?
We sweep the forecast error and record both profits, once for the error that distorts the shape of the daily profile and once for the error that only drifts the level.
In [17]:
hide-output
Copied!
sigmas = [10, 20, 40]
records = {}
for kind in ["shape", "level"]:
for sigma in sigmas:
schedule, expected = trade(price, sigma=sigma, kind=kind)
records[kind, sigma] = {
"realised": settle(schedule.market, price) / profit_perfect,
"expected": expected / profit_perfect,
}
value = pd.DataFrame(records).T
value.index.names = ["error", "sigma"]sigmas = [10, 20, 40] records = {} for kind in ["shape", "level"]: for sigma in sigmas: schedule, expected = trade(price, sigma=sigma, kind=kind) records[kind, sigma] = { "realised": settle(schedule.market, price) / profit_perfect, "expected": expected / profit_perfect, } value = pd.DataFrame(records).T value.index.names = ["error", "sigma"]
INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-9zlo79bm.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.84e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.84e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-5h1wtsyd.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.92e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.92e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-b27gc630.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.04e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.04e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-g6mhzglh.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.79e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.79e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_lbv5jnd.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.88e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.88e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-iudrx64f.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.93e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.93e+04
Solver model: available
Solver message: 2Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-qiwc23z_.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.01e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.01e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-i6um53iv.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.94e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.94e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-41y9dl_9.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.23e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.23e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-suvztw3i.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.02e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.02e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-2_57gjam.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.09e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.09e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-sklcy7fp.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.04e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.04e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-5xac0rvf.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.12e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.12e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-31sfwrxb.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -1.09e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.09e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-nnzxylk0.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.92e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.92e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-lhhb8drd.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.11e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.11e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-a7ixeg08.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.51e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.51e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_b0p271i.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.05e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.05e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-te_mvoxi.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.19e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.19e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-ly520l65.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.13e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.13e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-rxz_y42e.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.30e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.30e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-ipsm23r0.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.31e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.31e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-0w0ba02m.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.77e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.77e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-wsvgdfze.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.40e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.40e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-kwo5vwdx.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.46e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.46e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-9q98igvp.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.28e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.28e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-tphrdxia.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.34e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.34e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-659txgcj.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -1.21e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.21e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-9tvuxaa9.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.45e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.45e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-ktgav4yu.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.80e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.80e+04
Solver model: available
Solver message: 2Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_but4axh.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.62e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.62e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-3577tqdv.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.07e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.07e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-gg5u_rdy.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.10e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.10e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-vcu7kbwg.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.92e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.92e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-zfbcdgc7.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.22e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.22e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-81un__hc.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.30e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.30e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_zxwjifv.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.91e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.91e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-4ysphtio.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.46e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.46e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-e3wav2wx.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.46e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.46e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-j7ixl_ii.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.19e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.19e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-esuj_4nw.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -3.34e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -3.34e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_vqwi_pz.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -1.62e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.62e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-8423c06w.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.87e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.87e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-2ybiu2vx.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.86e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.86e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-g3ii18z0.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.83e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.83e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-ataqcm3e.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.78e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.78e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-kzvgyioq.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.71e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.71e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-zfovxv5h.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.88e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.88e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-y69t7ej2.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.92e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.92e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-9vl8_ffp.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.03e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.03e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-kwargnzi.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.92e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.92e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-1bu4gxev.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.87e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.87e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-90zmuvqa.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.82e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.82e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-x_m5ip2_.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.82e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.82e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-1irexc8_.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.83e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.83e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-hmguqcz9.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.39e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.39e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-gggk07h2.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.89e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.89e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-5smpkpp3.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.89e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.89e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_69dv4xh.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.90e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.90e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-0kgx32tl.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.78e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.78e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-v13t0bg5.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.63e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.63e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-n9akh7lb.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.88e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.88e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-3m7367wc.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.88e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.88e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-w4f91_r1.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.12e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.12e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-x7dbkd56.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.91e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.91e+04
Solver model: available
Solver message: 2Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-egm_o_ja.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.84e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.84e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-v19bguv0.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.78e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.78e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-54wqardq.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.75e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.75e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-4w6i__8b.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.90e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.90e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-n6nnuctg.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -9.81e+03
Solver: gurobi
Runtime: 0.00s
Dual bound: -9.81e+03
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-jeih1rz7.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.94e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.94e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-hq2xxt43.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.96e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.96e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-oeuzdcha.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.08e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.08e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-oux8gjjb.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.80e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.80e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-2rbaw17r.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.51e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.51e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_63puubj.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.97e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.97e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-p1u6vdh3.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.84e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.84e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-z9ebbgh8.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.39e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.39e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-c33zjxjc.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -2.02e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -2.02e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-f5i73jfs.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.87e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.87e+04
Solver model: available
Solver message: 2Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)Warning: environment still referenced so free is deferred (Continue to use WLS)INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-q82iccr0.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.82e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.82e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-_a2m38fn.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.71e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.71e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-imvkgk3n.lpReading time = 0.00 secondsobj: 480 rows, 192 columns, 767 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 192 primals, 480 duals
Objective: -1.87e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.87e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.INFO:linopy.model: Solve problem using Gurobi solverINFO:linopy.model:Solver options:
- log_to_console: FalseINFO:linopy.io: Writing time: 0.05sSet parameter WLSAccessIDSet parameter WLSSecretSet parameter LicenseID to value 2537914Academic license 2537914 - for non-commercial use only - registered to l.___@tu-berlin.deRead LP format model from file /tmp/linopy-problem-a5be75rx.lpReading time = 0.00 secondsobj: 240 rows, 96 columns, 383 nonzerosSet parameter LogToConsole to value 0INFO:linopy.constants: Optimization successful:
Status: ok
Termination condition: optimal
Solution: 96 primals, 240 duals
Objective: -1.07e+04
Solver: gurobi
Runtime: 0.00s
Dual bound: -1.07e+04
Solver model: available
Solver message: 2INFO:pypsa.optimization.optimize:The shadow-prices of the constraints Generator-fix-p-lower, Generator-fix-p-upper, Store-fix-e-lower, Store-fix-e-upper, Store-fix-p-lower, Store-fix-p-upper, Store-fix-p_store-lower, Store-fix-p_store-upper, Store-energy_balance were not assigned to the network.In [18]:
Copied!
value.round(3)value.round(3)
Out[18]:
| realised | expected | ||
|---|---|---|---|
| error | sigma | ||
| shape | 10 | 0.975 | 1.032 |
| 20 | 0.895 | 1.112 | |
| 40 | 0.706 | 1.397 | |
| level | 10 | 0.997 | 0.983 |
| 20 | 0.990 | 0.975 | |
| 40 | 0.948 | 0.969 |
In [19]:
Copied!
fig, ax = plt.subplots(figsize=(7, 4), layout="constrained")
styles = {"shape": ("tab:orange", 12), "level": ("tab:blue", -18)}
for kind, (color, offset) in styles.items():
rows = value.loc[kind]
ax.plot(rows.index, rows.realised, color=color, marker="o")
ax.plot(
rows.index, rows.expected, color=color, linestyle="--", marker="o", alpha=0.6
)
ax.annotate(
f"{kind} error",
(rows.index[-1], rows.realised.iloc[-1]),
xytext=(-8, offset),
textcoords="offset points",
color=color,
ha="right",
)
ax.axhline(1, color="black", linewidth=0.8)
ax.annotate(
"perfect foresight", (sigmas[0], 1), xytext=(5, 6), textcoords="offset points"
)
ax.set_xlabel("forecast error one day ahead (EUR/MWh)")
ax.set_ylabel("share of perfect-foresight profit")
ax.set_title("solid: realised profit, dashed: profit the optimiser expected");fig, ax = plt.subplots(figsize=(7, 4), layout="constrained") styles = {"shape": ("tab:orange", 12), "level": ("tab:blue", -18)} for kind, (color, offset) in styles.items(): rows = value.loc[kind] ax.plot(rows.index, rows.realised, color=color, marker="o") ax.plot( rows.index, rows.expected, color=color, linestyle="--", marker="o", alpha=0.6 ) ax.annotate( f"{kind} error", (rows.index[-1], rows.realised.iloc[-1]), xytext=(-8, offset), textcoords="offset points", color=color, ha="right", ) ax.axhline(1, color="black", linewidth=0.8) ax.annotate( "perfect foresight", (sigmas[0], 1), xytext=(5, 6), textcoords="offset points" ) ax.set_xlabel("forecast error one day ahead (EUR/MWh)") ax.set_ylabel("share of perfect-foresight profit") ax.set_title("solid: realised profit, dashed: profit the optimiser expected");

2026-11-10
2026-11-10