oemof.solph.helpers

Private helper functions.

oemof.solph._helpers.check_node_object_for_missing_attribute(obj, attribute)[source]

Raises a predefined warning if object does not have attribute.

Parameters:
  • obj (python object)

  • attribute ((string) name of the attribute to test for)

oemof.solph._helpers.warn_if_missing_attribute(obj, attribute)[source]

Raises warning if attribute is missing for given object