Skip to content

String variable references for observers and manipulators #6

Open
@msteinsto

Description

@msteinsto

Variables does currently have to be referred to by their id to be monitored with a observer or edited by a manipulator. Finding the id requires the user to unzip the FMU. Indexes can also change if additonal inputs and outputs are added and the FMU recreated.

Enhancement suggestion is to fetch all input, output and parameter names and create a mapping between name and index when the model is first created and use variable name instead of index for referencing.

This would also allow data type specific functions such as slave_integer_values to be replaced with general functions such as slave_values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions