Opened 12 years ago
Closed 7 years ago
#1910 closed defect (worksforme)
Erroneous Warning: Parameter ... has neither value nor start value, and is fixed during initialization (fixed=true)
Reported by: | jfrenkel | Owned by: | adrpo |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | jfrenkel |
Description
For the models (msl3.2.1)
Modelica.Blocks.Examples.Filter.mos
Modelica.Blocks.Examples.FilterWithDifferentiation.mos
Modelica.Blocks.Examples.FilterWithRiseTime
The Warnings
Warning: Parameter a has neither value nor start value, and is fixed during initialization (fixed=true)
Warning: Parameter b has neither value nor start value, and is fixed during initialization (fixed=true)
Warning: Parameter ku has neither value nor start value, and is fixed during initialization (fixed=true)
Warning: Parameter c0 has neither value nor start value, and is fixed during initialization (fixed=true)
Warning: Parameter c1 has neither value nor start value, and is fixed during initialization (fixed=true)
are not valid because
parameter Real cr[ncr](each fixed=false);
parameter Real c0[nc0](each fixed=false);
parameter Real c1[nc0](each fixed=false);
Coefficients for differential equations.
parameter Real r[nr](each fixed=false);
parameter Real a[na](each fixed=false);
parameter Real b[na](each fixed=false);
parameter Real ku[na](each fixed=false);
Change History (11)
comment:1 Changed 12 years ago by anonymous
- Summary changed from Rightless Warning: Parameter ... has neither value nor start value, and is fixed during initialization (fixed=true) to Erroneous Warning: Parameter ... has neither value nor start value, and is fixed during initialization (fixed=true)
comment:2 Changed 12 years ago by jfrenkel
comment:3 Changed 11 years ago by sjoelund.se
- Milestone changed from 1.9.0 to 1.9.1
Postponed until 1.9.1
comment:4 Changed 10 years ago by sjoelund.se
- Milestone changed from 1.9.1 to 1.9.2
This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).
comment:5 Changed 10 years ago by sjoelund.se
- Milestone changed from 1.9.2 to 1.9.3
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:6 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.3 to 1.9.4
Moved to new milestone 1.9.4
comment:7 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.5
Milestone pushed to 1.9.5
comment:8 Changed 9 years ago by sjoelund.se
- Milestone changed from 1.9.5 to 1.10.0
Milestone renamed
comment:9 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.10.0 to 1.11.0
Ticket retargeted after milestone closed
comment:10 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.11.0 to 1.12.0
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:11 Changed 7 years ago by casella
- Milestone changed from 1.12.0 to 1.13.0
- Resolution set to worksforme
- Status changed from new to closed
No more warnings in v1.13.0-dev-155-g68350e9
also for the model Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary
the warning
Warning: Parameter dcpm1.friction.frictionParameters.wRef has neither value nor start value, and is fixed during initialization (fixed=true)
is not valid because a start value is set via redeclaration.
model DC_PermanentMagnet
extends Machines.Interfaces.PartialBasicDCMachine(
end DC_PermanentMagnet;
partial model Modelica.Electrical.Machines.Interfaces.PartialBasicDCMachine
parameter Modelica.SIunits.AngularVelocity wNominal(displayUnit="1/min", start=1425*2*pi/60)
extends PartialBasicMachine(Jr(start=0.15),
end Modelica.Electrical.Machines.Interfaces.PartialBasicDCMachine
partial model Modelica.Electrical.Machines.Interfaces.PartialBasicMachine
end Modelica.Electrical.Machines.Interfaces.PartialBasicMachine;
record Modelica.Electrical.Machines.Losses.FrictionParameters
parameter Modelica.SIunits.AngularVelocity wRef(displayUnit="1/min", min=Modelica.Constants.small)
end Modelica.Electrical.Machines.Losses.FrictionParameters