Skip to content

CPP models bug to use dump state #1845

@lecourtoisflo

Description

@lecourtoisflo

When a dump file is used as input, several cpp models start from wrong values. This is caused by:

  • the variables should not be recomputed in the getY0 method as their initial values are given by the dump
  • only some local attributes (corresponding to the "init model" of Modelica models) should be computed in getY0 based on dump variable in particular if they are used in the equations
  • The values of IIDM reference parameters should use the dump values and not the input iidm ones

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions