Skip to content

Commit

Permalink
Fix GenricCHP docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Nov 29, 2024
1 parent 102dbb3 commit ce84bb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/oemof/solph/components/_generic_chp.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ class GenericCHP(Node):
>>> ccet = solph.components.GenericCHP(
... label='combined_cycle_extraction_turbine',
... fuel_input={bgas: solph.flows.Flow(
... custom_properties={"H_L_FG_share_max": [0.183]})},
... custom_attributes={"H_L_FG_share_max": [0.183]})},
... electrical_output={bel: solph.flows.Flow(
... custom_properties={
... custom_attributes={
... "P_max_woDH": [155.946],
... "P_min_woDH": [68.787],
... "Eta_el_max_woDH": [0.525],
... "Eta_el_min_woDH": [0.444],
... })},
... heat_output={bth: solph.flows.Flow(
... custom_properties={"Q_CW_min": [10.552]})},
... custom_attributes={"Q_CW_min": [10.552]})},
... beta=[0.122], back_pressure=False)
>>> type(ccet)
<class 'oemof.solph.components._generic_chp.GenericCHP'>
Expand Down

0 comments on commit ce84bb3

Please sign in to comment.