Skip to content

when all the demands of a certain set of nodes are zero, the corresponding input ratio between them should be determined #58

Closed
@grdw

Description

Assume graph as:

screen shot 2018-05-07 at 15 42 35

Whent the demand of A,B,C = 0. The input slot ratio of D (input slot A-D, B-D, C-D) should be able to calculate and not throw a "SystemStackError: stack level too deep".

Suggestions for solving this:

  • Take 1 / amount of nodes (in the example 3) as the default input share
  • Set the first nodes input slot to 1, all the others to zero

Related issue: quintel/etlocal#73

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions