Skip to content

Wrong initial states in flattened model #26

@ttj

Description

@ttj

We have a model of the DC microgrid that Omar has been working on in SpaceEx. He's able to analyze the original (networked) model in SpaceEx. However, when flattening with Hyst (so we can then use the SLSF translator), the initial states do not seem to get created correctly, in particular, they retain their old names instead of being converted to the new variable names. An example of the input and output models are attached, as well as a screenshot of the networked model.

This is probably related to some of the discussion Stan and I had on initial states, but wanted to raise it as a possible issue. I also noticed the simplification engine left around a variety of redundant expressions (e.g., control_i = 1 and control_i = 1). We both used Windows, but I'll try it on Linux as well to see if the python interfaces do better.

dc_microgrid

dc_microgrid.zip

Metadata

Metadata

Assignees

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