{"action":"created","issue":{"url":"https://api.github.com/repos/christiankral/WindPowerPlants/issues/6","labels_url":"https://api.github.com/repos/christiankral/WindPowerPlants/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/christiankral/WindPowerPlants/issues/6/comments","events_url":"https://api.github.com/repos/christiankral/WindPowerPlants/issues/6/events","html_url":"https://github.com/christiankral/WindPowerPlants/issues/6","id":98969777,"number":6,"title":"Warnings about missing initial assignments","user":{"login":"tbeu","id":5444067,"avatar_url":"https://avatars.githubusercontent.com/u/5444067?v=3","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-04T13:28:14Z","updated_at":"2015-08-06T12:51:15Z","closed_at":"2015-08-06T11:33:13Z","body":"I attached the log of a test run of the example models with SimulationX. Please note the warnings about missing initial assignments.\r\n```\r\nWarning In WindPowerPlants.Examples.CpLambdaWindTurbine\r\n\r\nFor the variable \"_pre_windturbine.limit\" is no assignment in the initial system. The startvalue \"false\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nSimulation finished successfully. (Investigate cp versus lambda of wind turbine for different pitch angles)\r\n\r\nCurrent Simulation Time: \t1 s\r\nSteps:\t100048\r\n   Valid:      \t100048\r\n   Error:      \t0\r\n   NoConv:   \t0\r\nCalculations:\r\n   Residuals:\t100217\r\n   Jacobian:\t0\r\n   Dummy-pivotings:\t0\r\n   Event iterations:\t25\r\n   Event steps:\t86\r\n   Substitute Event steps:\t0\r\nOrder:\r\n   Changes:  \t0\r\n   Max:      \t0\r\nMatrix:\r\n   Decomp:   \t0\r\n   Solve:    \t0\r\n   CodeGeneration: \t0\r\nNumber of States:   \t0\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\n\r\nFor the variable \"windSource.tNext\" is no assignment in the initial system. The startvalue \"windSource.tNext.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\n\r\nFor the variable \"windSource.velocity\" is no assignment in the initial system. The startvalue \"windSource.velocity.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\n\r\nThere is no unique solution for the variable plant.windturbine.slewRateLimiter.y. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\n\r\nFor the variable \"_pre_plant.windturbine.turbine.limit\" is no assignment in the initial system. The startvalue \"false\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\n\r\nThe structure of the initial equation system is singular.Equations are missing.\r\nplant.windturbine.turbine.phi:\r\n| plant.generator.mechanicalPowerSensor.flange_a.phi --> plant.generator.mechanicalPowerSensor.flange_a.phi=112.8*plant.windturbine.turbine.phi;\r\nEquations, which do not assign a variable:\r\n.\r\nMessage Name: Check.Singular\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\n\r\nThere is no unique solution for the variable plant.windturbine.turbine.phi. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\n\r\nThere is no start attribute of state plant.windturbine.phi. It is set to 0.\r\nMessage Name: Check.StartAttrMissing\r\nSimulation finished successfully. (Generic wind power plant simulation with statistical wind data)\r\n\r\nCurrent Simulation Time: \t2678400 s\r\nSteps:\t823272\r\n   Valid:      \t784316\r\n   Error:      \t38953\r\n   NoConv:   \t3\r\nCalculations:\r\n   Residuals:\t3194288\r\n   Jacobian:\t624313\r\n   Dummy-pivotings:\t1\r\n   Event iterations:\t86257\r\n   Event steps:\t229755\r\n   Substitute Event steps:\t0\r\nOrder:\r\n   Changes:  \t251593\r\n   Max:      \t5\r\nMatrix:\r\n   Decomp:   \t460034\r\n   Solve:    \t1750844\r\n   CodeGeneration: \t143804\r\nNumber of States:   \t8\r\nTotal energy = -511747 kWh\r\n\r\n\r\nTotal energy = -511747 kWh\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThere is no unique solution for the variable plant.windturbine.slewRateLimiter.y. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nFor the variable \"_pre_plant.windturbine.turbine.limit\" is no assignment in the initial system. The startvalue \"false\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThe structure of the initial equation system is singular.Equations are missing.\r\nplant.windturbine.turbine.phi:\r\n| plant.generator.mechanicalPowerSensor.flange_a.phi --> plant.generator.mechanicalPowerSensor.flange_a.phi=112.8*plant.windturbine.turbine.phi;\r\nEquations, which do not assign a variable:\r\n.\r\nMessage Name: Check.Singular\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThere is no unique solution for the variable plant.windturbine.turbine.phi. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThere is no start attribute of state plant.windturbine.phi. It is set to 0.\r\nMessage Name: Check.StartAttrMissing\r\n... loading \"velocity\" from \"z:/WindPowerPlants/WindPowerPlants/Resources/Data/beresford2006.txt\"\r\n\r\n\r\n... loading \"velocity\" from \"z:/WindPowerPlants/WindPowerPlants/Resources/Data/beresford2006.txt\"\r\nSimulation finished successfully. (Generic wind power plant simulation with real wind data)\r\n\r\nCurrent Simulation Time: \t2678400 s\r\nSteps:\t407081\r\n   Valid:      \t389563\r\n   Error:      \t17500\r\n   NoConv:   \t18\r\nCalculations:\r\n   Residuals:\t1682364\r\n   Jacobian:\t54867\r\n   Dummy-pivotings:\t3\r\n   Event iterations:\t3927\r\n   Event steps:\t8075\r\n   Substitute Event steps:\t0\r\nOrder:\r\n   Changes:  \t59953\r\n   Max:      \t5\r\nMatrix:\r\n   Decomp:   \t73110\r\n   Solve:    \t1258080\r\n   CodeGeneration: \t7621\r\nNumber of States:   \t8\r\nTotal energy = -536274 kWh\r\n\r\n\r\nTotal energy = -536274 kWh\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThere is no unique solution for the variable plant.windturbine.slewRateLimiter.y. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nFor the variable \"_pre_plant.windturbine.turbine.limit\" is no assignment in the initial system. The startvalue \"false\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThe structure of the initial equation system is singular.Equations are missing.\r\nplant.windturbine.turbine.phi:\r\n| plant.generator.mechanicalPowerSensor.flange_a.phi --> plant.generator.mechanicalPowerSensor.flange_a.phi=112.8*plant.windturbine.turbine.phi;\r\nEquations, which do not assign a variable:\r\n.\r\nMessage Name: Check.Singular\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThere is no unique solution for the variable plant.windturbine.turbine.phi. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\n\r\nThere is no start attribute of state plant.windturbine.phi. It is set to 0.\r\nMessage Name: Check.StartAttrMissing\r\n... loading \"velocity\" from \"z:/WindPowerPlants/WindPowerPlants/Resources/Data/beresford2006.txt\"\r\n\r\n\r\n... loading \"velocity\" from \"z:/WindPowerPlants/WindPowerPlants/Resources/Data/beresford2006.txt\"\r\nSimulation finished successfully. (Generic wind power plant simulation with real wind data)\r\n\r\nCurrent Simulation Time: \t2678400 s\r\nSteps:\t407081\r\n   Valid:      \t389563\r\n   Error:      \t17500\r\n   NoConv:   \t18\r\nCalculations:\r\n   Residuals:\t1682364\r\n   Jacobian:\t54867\r\n   Dummy-pivotings:\t3\r\n   Event iterations:\t3927\r\n   Event steps:\t8075\r\n   Substitute Event steps:\t0\r\nOrder:\r\n   Changes:  \t59953\r\n   Max:      \t5\r\nMatrix:\r\n   Decomp:   \t73110\r\n   Solve:    \t1258080\r\n   CodeGeneration: \t7621\r\nNumber of States:   \t8\r\nTotal energy = -536274 kWh\r\n\r\n\r\nTotal energy = -536274 kWh\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\n\r\nFor the variable \"windSource.tNext\" is no assignment in the initial system. The startvalue \"windSource.tNext.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\n\r\nFor the variable \"windSource.velocity\" is no assignment in the initial system. The startvalue \"windSource.velocity.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\n\r\nThere is no unique solution for the variable plant.windturbine.slewRateLimiter.y. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\n\r\nFor the variable \"_pre_plant.windturbine.turbine.limit\" is no assignment in the initial system. The startvalue \"false\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\n\r\nThe structure of the initial equation system is singular.Equations are missing.\r\nplant.windturbine.turbine.phi:\r\n| plant.generator.mechanicalPowerSensor.flange_a.phi --> plant.generator.mechanicalPowerSensor.flange_a.phi=112.8*plant.windturbine.turbine.phi;\r\nEquations, which do not assign a variable:\r\n.\r\nMessage Name: Check.Singular\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\n\r\nThere is no unique solution for the variable plant.windturbine.turbine.phi. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\n\r\nThere is no start attribute of state plant.windturbine.phi. It is set to 0.\r\nMessage Name: Check.StartAttrMissing\r\nSimulation finished successfully. (Generic wind power plant A [Eberhart2015] with statistical wind data)\r\n\r\nCurrent Simulation Time: \t31536000 s\r\nSteps:\t3511751\r\n   Valid:      \t3479209\r\n   Error:      \t32541\r\n   NoConv:   \t1\r\nCalculations:\r\n   Residuals:\t6760904\r\n   Jacobian:\t388864\r\n   Dummy-pivotings:\t1\r\n   Event iterations:\t53273\r\n   Event steps:\t141786\r\n   Substitute Event steps:\t0\r\nOrder:\r\n   Changes:  \t163230\r\n   Max:      \t5\r\nMatrix:\r\n   Decomp:   \t275506\r\n   Solve:    \t4204551\r\n   CodeGeneration: \t88953\r\nNumber of States:   \t7\r\nTotal energy = -9.49773e+006 kWh\r\n\r\n\r\nTotal energy = -9.49773e+006 kWh\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\n\r\nFor the variable \"windSource.tNext\" is no assignment in the initial system. The startvalue \"windSource.tNext.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\n\r\nFor the variable \"windSource.velocity\" is no assignment in the initial system. The startvalue \"windSource.velocity.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\n\r\nThere is no unique solution for the variable plant.windturbine.slewRateLimiter.y. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\n\r\nFor the variable \"_pre_plant.windturbine.turbine.limit\" is no assignment in the initial system. The startvalue \"false\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\n\r\nThe structure of the initial equation system is singular.Equations are missing.\r\nplant.windturbine.turbine.phi:\r\n| plant.generator.mechanicalPowerSensor.flange_a.phi --> plant.generator.mechanicalPowerSensor.flange_a.phi=112.8*plant.windturbine.turbine.phi;\r\nEquations, which do not assign a variable:\r\n.\r\nMessage Name: Check.Singular\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\n\r\nThere is no unique solution for the variable plant.windturbine.turbine.phi. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\n\r\nThere is no start attribute of state plant.windturbine.phi. It is set to 0.\r\nMessage Name: Check.StartAttrMissing\r\nSimulation finished successfully. (Generic wind power plant B [Eberhart2015] with statistical wind data)\r\n\r\nCurrent Simulation Time: \t31536000 s\r\nSteps:\t3511809\r\n   Valid:      \t3479187\r\n   Error:      \t32620\r\n   NoConv:   \t2\r\nCalculations:\r\n   Residuals:\t6905039\r\n   Jacobian:\t388610\r\n   Dummy-pivotings:\t1\r\n   Event iterations:\t53279\r\n   Event steps:\t141800\r\n   Substitute Event steps:\t0\r\nOrder:\r\n   Changes:  \t216922\r\n   Max:      \t5\r\nMatrix:\r\n   Decomp:   \t275607\r\n   Solve:    \t4186248\r\n   CodeGeneration: \t88949\r\nNumber of States:   \t7\r\nTotal energy = -9.90483e+006 kWh\r\n\r\n\r\nTotal energy = -9.90483e+006 kWh\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\n\r\nFor the variable \"windSource.tNext\" is no assignment in the initial system. The startvalue \"windSource.tNext.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\n\r\nFor the variable \"windSource.velocity\" is no assignment in the initial system. The startvalue \"windSource.velocity.start\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\n\r\nThere is no unique solution for the variable plant.windturbine.slewRateLimiter.y. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\n\r\nFor the variable \"_pre_plant.windturbine.turbine.limit\" is no assignment in the initial system. The startvalue \"false\" is used. Set fixed=true or add a assignment in a initial section\r\nMessage Name: InitialSystem.MissingInitialAssignment\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\n\r\nThe structure of the initial equation system is singular.Equations are missing.\r\nplant.windturbine.turbine.phi:\r\n| plant.generator.mechanicalPowerSensor.flange_a.phi --> plant.generator.mechanicalPowerSensor.flange_a.phi=112.8*plant.windturbine.turbine.phi;\r\nEquations, which do not assign a variable:\r\n.\r\nMessage Name: Check.Singular\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\n\r\nThere is no unique solution for the variable plant.windturbine.turbine.phi. If applicable, add a fixed initial value, initial equation or initial assignment.\r\nMessage Name: InitialSystem.IterationVar\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\n\r\nThere is no start attribute of state plant.windturbine.phi. It is set to 0.\r\nMessage Name: Check.StartAttrMissing\r\nSimulation finished successfully. (Generic wind power plant C [Eberhart2015] with statistical wind data)\r\n\r\nCurrent Simulation Time: \t31536000 s\r\nSteps:\t3473242\r\n   Valid:      \t3444431\r\n   Error:      \t28810\r\n   NoConv:   \t1\r\nCalculations:\r\n   Residuals:\t6521429\r\n   Jacobian:\t351799\r\n   Dummy-pivotings:\t1\r\n   Event iterations:\t47555\r\n   Event steps:\t126539\r\n   Substitute Event steps:\t0\r\nOrder:\r\n   Changes:  \t146208\r\n   Max:      \t5\r\nMatrix:\r\n   Decomp:   \t247794\r\n   Solve:    \t4128596\r\n   CodeGeneration: \t79171\r\nNumber of States:   \t7\r\nTotal energy = -6.8685e+006 kWh\r\n\r\n\r\nTotal energy = -6.8685e+006 kWh\r\n```"},"comment":{"url":"https://api.github.com/repos/christiankral/WindPowerPlants/issues/comments/128352701","html_url":"https://github.com/christiankral/WindPowerPlants/issues/6#issuecomment-128352701","issue_url":"https://api.github.com/repos/christiankral/WindPowerPlants/issues/6","id":128352701,"user":{"login":"tbeu","id":5444067,"avatar_url":"https://avatars.githubusercontent.com/u/5444067?v=3","gravatar_id":"","url":"https://api.github.com/users/tbeu","html_url":"https://github.com/tbeu","followers_url":"https://api.github.com/users/tbeu/followers","following_url":"https://api.github.com/users/tbeu/following{/other_user}","gists_url":"https://api.github.com/users/tbeu/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeu/subscriptions","organizations_url":"https://api.github.com/users/tbeu/orgs","repos_url":"https://api.github.com/users/tbeu/repos","events_url":"https://api.github.com/users/tbeu/events{/privacy}","received_events_url":"https://api.github.com/users/tbeu/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T12:51:15Z","updated_at":"2015-08-06T12:51:15Z","body":"Now it is overdetermined, i.e. too many fixed variables.\r\n```\r\nWarning In WindPowerPlants.Examples.GenericPlantRayleigh\r\nThe system of equations for the initial value computation is overdetermined.\r\nFree some of the following fixations:\r\nplant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)\r\n\r\nMessage Name: InitialSystem.ToManyInitialEqns.Start\r\n\r\nWarning In WindPowerPlants.Examples.GenericPlantRealData\r\nThe system of equations for the initial value computation is overdetermined.\r\nFree some of the following fixations:\r\nplant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)\r\n\r\nMessage Name: InitialSystem.ToManyInitialEqns.Start\r\n\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_A\r\nThe system of equations for the initial value computation is overdetermined.\r\nFree some of the following fixations:\r\nplant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)\r\n\r\nMessage Name: InitialSystem.ToManyInitialEqns.Start\r\n\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_B\r\nThe system of equations for the initial value computation is overdetermined.\r\nFree some of the following fixations:\r\nplant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)\r\n\r\nMessage Name: InitialSystem.ToManyInitialEqns.Start\r\n\r\nWarning In WindPowerPlants.Examples.Modelica2015Conference.GenericPlant_C\r\nThe system of equations for the initial value computation is overdetermined.\r\nFree some of the following fixations:\r\nplant.windturbine.flange_a.phi(start=plant.windturbine.phi.start)\r\n\r\nMessage Name: InitialSystem.ToManyInitialEqns.Start\r\n```"}}