Skip to content

Performance enhancement for setting values #4

@mnblonsky

Description

@mnblonsky

Performance can be very slow when setting values of multiple elements because of the element order in OpenDSSDirect. It may be significantly faster to create a set_values() function that takes information for multiple elements and sets them in the optimal order.

Two possible options for implementation:

  • Use class.First and class.Next and setting the values for each element as needed
  • Save the OpenDSS order of elements for each class, then sort the elements of interest, then call set_() in that order

Metadata

Metadata

Assignees

No one assigned

    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