Allow for fixing investments #1260
Annotations
3 errors and 3 warnings
/home/runner/work/oemof-solph/oemof-solph/src/oemof/solph/_models.py#L366
SimpleFlowBlock,
NonConvexFlowBlock,
InvestNonConvexFlowBlock,
]
- def __init__(self, energysystem, discount_rate=None, fix_investments=False, **kwargs):
+ def __init__(
+ self, energysystem, discount_rate=None, fix_investments=False, **kwargs
+ ):
if discount_rate is not None:
self.discount_rate = discount_rate
elif (
not isinstance(energysystem, list)
and energysystem.periods is not None
|
check
Process completed with exit code 1.
|
docs
The operation was canceled.
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clean
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|