Skip to content

Commit b34bb91

Browse files
committed
updated some doc strings in slc baseclass
1 parent f46e7c8 commit b34bb91

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

h2integrate/control/control_strategies/system_level/system_level_control_base.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,7 @@ def _find_feedstock_techs(self, tech_name):
597597
"""Find feedstock technologies connected upstream of tech_name.
598598
599599
Scans ``technology_interconnections`` for connections whose
600-
destination is tech_name and whose source uses
601-
``FeedstockPerformanceModel`` or ``FeedstockCostModel``.
600+
destination is tech_name and whose source is a feedstock.
602601
603602
Args:
604603
tech_name (str): the dispatchable technology name.
@@ -666,6 +665,8 @@ def get_upstream_techs_for_commodity(
666665
Args:
667666
tech_name (str): name of technology
668667
commodity (str): commodity name
668+
include_feedstock_sources (bool, optional): If True, include techs
669+
that have an input commodity from a feedstock. Defaults to True.
669670
670671
Returns:
671672
list[str]: list of technologies upstream of the tech_name that produce a given commodity
@@ -689,7 +690,10 @@ def get_upstream_techs_for_commodity(
689690

690691
def find_converter_techs(self, include_feedstock_sources=True):
691692
"""Get the name of the technology that transforms a commodity.
692-
Does not include feedstocks.
693+
694+
Args:
695+
include_feedstock_sources (bool, optional): If True, include techs
696+
that have an input commodity from a feedstock. Defaults to True.
693697
694698
Returns:
695699
set(tuple): set of converter technologies formatted as

0 commit comments

Comments
 (0)