Created
June 11, 2018 09:35
-
-
Save dietmarw/d9403c49425fcbd9f86c2ba36cc161b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For equation | |
controller.BooleanExpression1.y = time > 2500; | |
found in class Modelica.Blocks.Interfaces, /home/dietmarw/.workspace/gh-modelica/Modelica/Modelica/Blocks/Sources.mo at line 82, and used in component controller.BooleanExpression1. | |
The expression "time > 2500" will generate a state event and not a time event. | |
This is not an error, but it slightly decreases performance and is unlikely to be intentional. | |
The only supported variants for time-events are "time>=expr" and "time<expr", where expr is a discrete-time expression. | |
You can turn off this warning by setting Advanced.PedanticModelica=false. | |
For equation | |
BooleanExpression1.y = time > 2500; | |
found in class Modelica.Blocks.Interfaces, /home/dietmarw/.workspace/gh-modelica/Modelica/Modelica/Blocks/Sources.mo at line 82, and used in component BooleanExpression1. | |
The expression "time > 2500" will generate a state event and not a time event. | |
This is not an error, but it slightly decreases performance and is unlikely to be intentional. | |
The only supported variants for time-events are "time>=expr" and "time<expr", where expr is a discrete-time expression. | |
You can turn off this warning by setting Advanced.PedanticModelica=false. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment