quintel / refinery

Calculates node demands and edge shares for sparse energy graphs.
2 stars 0 forks source link

Delete obsolete catalyst FromTurbine #57

Closed ploh closed 7 years ago

ploh commented 7 years ago

When this is merged, the used Refinery version in Atlas' master branch may not be updated immediately, of course.

grdw commented 7 years ago

Just one question but how are Refinery Slots now created exactly? Since they are created here. If this works in ETEngine than I'm okay with it though.

ploh commented 7 years ago

Just one question but how are Refinery Slots now created exactly?

The Atlas::GraphBuilder creates edges by calling by calling connect_to on the nodes. If the nodes are Refinery nodes this will automatically call the correct Refinery methods instead of the Turbine methods.

antw commented 7 years ago

how are Refinery Slots now created exactly?

Atlas::GraphBuilder creates edges by calling by calling connect_to on the nodes

Note that in ETSource/Atlas it is possible for a Node to have a slot without any edges; this is quite common in nodes which have loss. These edge-less slots are created in Atlas::Runner::SetSlotSharesFromEfficiency.

screen shot 2017-01-04 at 12 26 27