Skip to content

Fix/eliminate warnings #358

Fix/eliminate warnings

Fix/eliminate warnings #358

Triggered via pull request October 12, 2023 18:05
Status Success
Total duration 12m 12s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

2 errors
/home/runner/work/oemof-solph/oemof-solph/examples/invest_nonconvex_flow_examples/diesel_genset_nonconvex_investment.py#L212
nominal_storage_capacity=solph.Investment( ep_costs=epc_battery * n_days / n_days_in_year ), inputs={b_el_dc: solph.flows.Flow(variable_costs=0)}, outputs={ - b_el_dc: solph.flows.Flow(nominal_value=solph.Investment(ep_costs=0)) + b_el_dc: solph.flows.Flow( + nominal_value=solph.Investment(ep_costs=0) + ) }, initial_storage_level=0.0, min_storage_level=0.0, max_storage_level=1.0, balanced=True,
/home/runner/work/oemof-solph/oemof-solph/examples/offset_converter_example/offset_diesel_genset_nonconvex_investment.py#L223
nominal_storage_capacity=solph.Investment( ep_costs=epc_battery * n_days / n_days_in_year ), inputs={b_el_dc: solph.flows.Flow(variable_costs=0)}, outputs={ - b_el_dc: solph.flows.Flow(nominal_value=solph.Investment(ep_costs=0)) + b_el_dc: solph.flows.Flow( + nominal_value=solph.Investment(ep_costs=0) + ) }, initial_storage_level=0.0, min_storage_level=0.0, max_storage_level=1.0, balanced=True,