Skip to content

Include model entity IDs in ExpData / ReturnData #3107

@dweindl

Description

@dweindl

Currently, working with ExpData and ReturnData is less convenient than it could be, because only always needs the Model to get the parameter/observable/... IDs. It would be good to include the relevant IDs in each of those objects.
We currently have an ugly hack for attaching parameters to ReturnData in Python for "full" reporting mode, but this should be changed.

The IDs are currently stored in free std::arrays. It shouldn't be too hard to attach them to ExpData and ReturnData in a memory-efficient way. As they should be immutable anyway, there is no need for copying.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions