Opened 6 years ago
Last modified 6 years ago
#5457 closed defect
An issue with parameters and and initial equations — at Initial Version
Reported by: | massimo ceraolo | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.14.0 |
Component: | *unknown* | Version: | v1.13.2 |
Keywords: | Cc: |
Description
In the following model I get always varPar=pi/2, whatever value I give Ipm.
model Test2 import Modelica.Constants.pi; parameter Real Ipm = 1.5; parameter Real varPar (fixed=false); initial equation if Ipm>1.0 then varPar=pi/2; else varPar=asin(Ipm); end if; equation end Test2;
Note:
See TracTickets
for help on using tickets.