Opened 6 years ago
Last modified 6 years ago
#5605 new defect
Parameter with only start value not accepted
| Reported by: | massimo ceraolo | Owned by: | Per Östlund | 
|---|---|---|---|
| Priority: | blocker | Milestone: | 2.0.0 | 
| Component: | New Instantiation | Version: | |
| Keywords: | Cc: | 
Description
A parameter with evaluate=true and only a start value (no binding equation) can be accepted? 
Consider model Modelica.Electrical.Machines.Examples.SMPM_NoLoad.
If in the machine we delete the boolean value useDamperCage, the model does not run with NF, while it runs with OF, which issues the following warning:
Parameter smpm.useDamperCage has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value.
Change History (1)
comment:1 by , 6 years ago
| Milestone: | Future → 2.0.0 | 
|---|---|
| Priority: | normal → blocker | 
| Type: | discussion → defect | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Replying to ceraolo:
It should, preferably with a warning, see Section 8.6 of the language specification