Skip to content

State selection in Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise #2189

@modelica-trac-importer

Description

@modelica-trac-importer

Reported by agnes.ramle on 23 Feb 2017 13:02 UTC
In Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise JModelica has a dynamic state selection between

motor.smpm.idq_sr[1]
motor.smpm.idq_sr[2]

where these variables have stateSelect=StateSelect.prefer. A better choice would be controller.busdelay.y which doesn't have a stateSelect attribute. Therefore we suggest to set stateSelect=StateSelect.always on controller.busdelay.y. In that way the dynamic state selection would be removed.

Metadata

Metadata

Assignees

Labels

L: BlocksIssue addresses Modelica.BlocksenhancementNew feature or enhancementexampleIssue only addresses example(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions