Skip to content

Commit 9f25841

Browse files
committed
Update objfunc.py
1 parent f219ccc commit 9f25841

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pownet/modeling/objfunc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""model_formulation.py: Contains functions for constructing the objective function and constraints of the optimization model."""
22

3-
from __future__ import annotations
3+
from pownet.core import SystemInput
4+
45

56
""" Functions for the objective function
67
"""
@@ -52,7 +53,7 @@ def get_thermal_startup_coeff(
5253

5354

5455
def get_marginal_cost_coeff(
55-
inputs: "SystemInput",
56+
inputs: SystemInput,
5657
step_k: int,
5758
timesteps: range,
5859
units: list,

0 commit comments

Comments
 (0)