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: | Jens Frenkel | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 1.13.0 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Jens Frenkel |
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 by , 12 years ago
Summary: | Rightless Warning: Parameter ... has neither value nor start value, and is fixed during initialization (fixed=true) → Erroneous Warning: Parameter ... has neither value nor start value, and is fixed during initialization (fixed=true) |
---|
comment:2 by , 12 years ago
comment:4 by , 10 years ago
Milestone: | 1.9.1 → 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 by , 10 years ago
Milestone: | 1.9.2 → 1.9.3 |
---|
Milestone changed to 1.9.3 since 1.9.2 was released.
comment:10 by , 8 years ago
Milestone: | 1.11.0 → 1.12.0 |
---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:11 by , 7 years ago
Milestone: | 1.12.0 → 1.13.0 |
---|---|
Resolution: | → worksforme |
Status: | new → 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