Skip to content

Commit

Permalink
Fix wrong documentation for convert_factor
Browse files Browse the repository at this point in the history
  • Loading branch information
lumbric committed May 13, 2024
1 parent de2bb59 commit 169adee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syfop/node_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _get_convertion_factors(self):
def _create_constraint_inout_flow_balance(self, model, time_coords):
"""Add a constraint for each output commodity:
sum of input flows == convert_factor * sum of output flows
sum of output flows == convert_factor * sum of input flows
in each time step. Input flows are here only for the input commodity for which the
convert_factor is defined in convert_factors"""
Expand Down Expand Up @@ -284,7 +284,7 @@ def _create_constraint_inout_flow_balance_commodity(
):
"""Add a constraint to the model:
sum of input flows == convert_factor * sum of output flows
sum of output flows == convert_factor * sum of input flows
in each time step for a list of input and output flows and a certain convert_factor. This
method is intended to be used for all input and output flows of one input and one output
Expand Down

0 comments on commit 169adee

Please sign in to comment.