Opened 15 years ago

Last modified 14 years ago

#1145 closed defect (invalid)

Error message "no constant value for variable V" in Modelica.Electrical.Analog.Examples.CauerLowPassSC in MSL3.1

Reported by: Peter Aronsson Owned by: Peter Aronsson
Priority: critical Milestone:
Component: Version:
Keywords: Cc: Peter Aronsson,

Description

when checking Modelica.Electrical.Analog.Examples.CauerLowPassSC the following error message appears:

Class Modelica.Electrical.Analog.Examples.CauerLowPassSC has 559 equation(s) and 559 variable(s).
353 of these are trivial equation(s).
"
"Warning: Parameter V has no value, and is fixed during initialization (fixed=true)
Error: No constant value for variable V in scope Modelica.Electrical.Analog.Sources.StepVoltage.
"

"

However, it works fine to simulate in MathModelica. The error message is wrong, since a value DO exist for V.

MathCore TRAC: http://intranet/trac/mathmodelica/ticket/2730

Change History (1)

comment:1 by Martin Sjölund, 14 years ago

It's not an error message; it's a warning. It's a parameter without binding. It has a start value, which should be overridden by a binding (this is not performed on purpose in the MSL examples).

Note: See TracTickets for help on using tickets.