Skip to content

Replace StateGraph by StateGraph2? #3374

@MartinOtter

Description

@MartinOtter

@HansOlsson what is your opinion:

It would be useful to move the by far outdated Modelica.StateGraph to ObsoleteModelica4 and include Modelica_StateGraph2 instead into Modelica. I just checked and it seems to be not much work to adapt Modelica_StateGraph2 so that it can be included in MSL:

  • Changing Modelica_StateGraph2 to Modelica.StateGraph2
  • Moving statements with the Modelica extensions uniqueRoot and uniqueRootIndices into comments (or removing them completely). These extensions are only used to provide meaningful error messages, e.g. to guarantee that every loop has at least one delayed transition.
  • Change license to BSD3
  • Slighly adapt the documentation (rename in the User's Guide: "Used Modelica Extensions" to "Useful Modelica Extensions")

Metadata

Metadata

Assignees

Labels

L: StateGraphIssue addresses Modelica.StateGraphdiscussionDiscussion issue that it not necessarily related to a concrete bug or feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions