Skip to content

Commit

Permalink
Add minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jokochems committed Oct 2, 2023
1 parent f02297e commit 4f2b64c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/oemof/solph/flows/_investment_flow_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def _create_constraints(self):
&
else:\\
&
P_{old,end}(p)\\
P_{old,end}(p) = 0\\
&\\
&
if \quad p=0:\\
Expand Down Expand Up @@ -529,7 +529,7 @@ def _old_capacity_rule_end(block):

# multiple invests can be decommissioned in the same period
# but only sequential ones, thus a bookkeeping is
# introduced andconstraints are added to equation one
# introduced and constraints are added to equation one
# iteration later.
last_decomm_p = np.nan
# loop over invest periods (values are decomm_periods)
Expand Down

0 comments on commit 4f2b64c

Please sign in to comment.