Skip to content

Repeated coordinates in matrix variable #9

@ivanightingale

Description

@ivanightingale

Currently plot_matrix_variable and select_matrix_entries are implemented with the documented assumption that I and J don't contain repeated coordinates or symmetry pairs like (i, j) and (j, i). Repetition could cause a bug in plot_matrix_variable.

In power systems, for example, some systems may have parallel branches, leading to repetitions in I and J.

In addition, sometimes one may want to visualize variables corresponding to the branches of a system, and other time bus pairs (in which case I and J really don't contain repetitions). viz_opf.jl currently doesn't account for this.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions