Closed tbeu closed 9 years ago
Incorporated all initial conditions in tag v0.9.3
Thanks for pointing out the missing initial conditions. I hope they're all fixed by now.
All warnings are gone except
Warning In WindPowerPlants.Examples.GenericPlantElectricRealData
The structure of the initial equation system is singular.Equations are missing.
plant.windturbine.turbine.phi:
| plant.generator.mechanicalPowerSensor.flange_a.phi --> plant.generator.mechanicalPowerSensor.flange_a.phi=plant.idealGear.ratio* plant.windturbine.turbine.phi;
Equations, which do not assign a variable:
.
Message Name: Check.Singular
Warning In WindPowerPlants.Examples.GenericPlantElectricRealData
There is no unique solution for the variable plant.windturbine.turbine.phi. If applicable, add a fixed initial value, initial equation or initial assignment.
Message Name: InitialSystem.IterationVar
Warning In WindPowerPlants.Examples.GenericPlantElectricRealData
There is no start attribute of state plant.windturbine.phi. It is set to 0.
Message Name: Check.StartAttrMissing
Setting plant.windturbine.phi.fixed = true removes all of these 3 warnings left.
Fixed master with fixed=true for plant.windturbine.phi. I hope everything works now. Please check and let me know.
Now it is overdetermined, i.e. too many fixed variables.
Warning In WindPowerPlants.Examples.GenericPlantRayleigh
The system of equations for the initial value computation is overdetermined.
Free some of the following fixations:
plant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)
Message Name: InitialSystem.ToManyInitialEqns.Start
Warning In WindPowerPlants.Examples.GenericPlantRealData
The system of equations for the initial value computation is overdetermined.
Free some of the following fixations:
plant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)
Message Name: InitialSystem.ToManyInitialEqns.Start
Warning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A
The system of equations for the initial value computation is overdetermined.
Free some of the following fixations:
plant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)
Message Name: InitialSystem.ToManyInitialEqns.Start
Warning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B
The system of equations for the initial value computation is overdetermined.
Free some of the following fixations:
plant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)
Message Name: InitialSystem.ToManyInitialEqns.Start
Warning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C
The system of equations for the initial value computation is overdetermined.
Free some of the following fixations:
plant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)
Message Name: InitialSystem.ToManyInitialEqns.Start
Setting plant.windturbine.phi.fixed = true not generally but only in WindPowerPlants.Examples.GenericPlantElectricRealData did work out.
My fault, I forgot to remove the original initial equation
. Please test again.
Fix confirmed.
I attached the log of a test run of the example models with SimulationX. Please note the warnings about missing initial assignments.