Skip to content

Add bugfixes for special cases in sets.py #46

Description

@jylambert

In sets.py some lines are failling in some special cases.

For example in line 44 -> consumers = np.where(matrices["a_c"].sum(axis=1) == 1)[0] fails if there is only one heat sink, as the vector has only one dimension and not two.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions