deflex.DeflexScenario.add_nodes_to_es

DeflexScenario.add_nodes_to_es(nodes)

Add nodes to an existing solph.EnergySystem. If the EnergySystem does not exist an Error is raised. This method is included in the compute() method and is only needed for advanced usage.

Parameters:nodes (dict) – Dictionary with a unique key and values of type oemof.network.Node.
Returns:
Return type:self