You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by hansolsson on 14 Jul 2016 13:20 UTC
Modelica.StateGraph.PartialCompositeStep.OuterState has a connector with 2 input Reals, 1 non-flow Real, 1 flow Real - and no equations, i.e. one equation is missing.
A solution is to make "active" an input and move
outerState.subgraphStatePort.activeSteps = if active then 1.0 else 0.0;
from Modelica.StateGraph.PartialCompositeStep to Modelica.StateGraph.PartialCompositeStep.OuterState, and in some way connect/propagate active to this sub-component.
It is an internal class that should not be used by any other models.
Reported by hansolsson on 14 Jul 2016 13:20 UTC
Modelica.StateGraph.PartialCompositeStep.OuterState has a connector with 2 input Reals, 1 non-flow Real, 1 flow Real - and no equations, i.e. one equation is missing.
A solution is to make "active" an input and move
from Modelica.StateGraph.PartialCompositeStep to Modelica.StateGraph.PartialCompositeStep.OuterState, and in some way connect/propagate active to this sub-component.
It is an internal class that should not be used by any other models.
Migrated-From: https://trac.modelica.org/Modelica/ticket/2028
The text was updated successfully, but these errors were encountered: