Closed Stelzhammer closed 6 years ago
@Stelzhammer : You may need to use the Radau solver which works for this model:
simulateModel("Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator", stopTime=31536000, method="radau", tolerance=1e-06, resultFile="ScrollWaterToWater_OneRoomRadiator");
Dear Mr. Wetter, Thank you for your quick reply. I have one more question if it's alright for you. I am currently writing my master's thesis with the title: A Photovoltaic heat pump hot water storage system as a flexible load with optimized control for use in smart grid solutions. Here, several buildings (around 30) with different load cycles and electrical consumers in a district are simulated and the load shifting potential calculated. In order to increase the own energy consumption, I would like to control the system like: photovoltaic power generation > electrical load and hot water storage temperature <50 degrees = activate heat pump with the difference of (photovoltaic el. - electrical load). Do you know if this is possible? and if so how can I implement such a control? Best regards
Oleg Stelzhammer
2017-11-17 0:42 GMT+01:00 Michael Wetter notifications@github.com:
@Stelzhammer https://github.com/stelzhammer : You may need to use the Radau solver which works for this model:
simulateModel("Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator", stopTime=31536000, method="radau", tolerance=1e-06, resultFile="ScrollWaterToWater_OneRoomRadiator");
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lbl-srg/modelica-buildings/issues/1064#issuecomment-345099094, or mute the thread https://github.com/notifications/unsubscribe-auth/AgKELmAtCNal2lfB9e7aSDJbGbtzcOn_ks5s3MhcgaJpZM4QgT0p .
@Stelzhammer You should be able to implement such type of control with blocks from Buildings.Controls.OBC.CDL
.
See also http://simulationresearch.lbl.gov/modelica/userGuide/bestPractice.html#controls for best practices.
If i try to simulate the example ScrollWater_To_Water_OneRoomRadiator for one year the simulation breaks afte about 40 days with this message....can you pleas help me to solve this problem ?? Log-file of program ./dymosim
(generated: Tue Nov 07 07:26:07 2017)
dymosim started
... "dsin.txt" loading (dymosim input file)
... loading "tab1" from "C:/Users/olegs/Desktop/Pakete2017/Buildings 4.0.0/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos"
... "ScrollWaterToWater_OneRoomRadiator.mat" creating (simulation result file)
Integration started at T = 0 using integration method DASSL
(DAE multi-step solver (dassl/dasslrt of Petzold modified by Dynasim))
The following error was detected at time: 1344852.102733929
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000286544) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1344852.102733929
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000286544) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1344852.102733929
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000286541) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.34485E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2193795
Accumulated number of symbolic Jacobian calc.: 663554
Last values of solution vector:
heaPum.eva.port_ref.T = 279.367
heaPum.con.port_ref.T = 346.09
The following error was detected at time: 1344852.102733929
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000286541) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1350239.0159401
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-3.21858e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1350239.0159401
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-3.21858e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1350239.0159401
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-3.21822e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.35024E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2198107
Accumulated number of symbolic Jacobian calc.: 664890
Last values of solution vector:
heaPum.eva.port_ref.T = 279.366
heaPum.con.port_ref.T = 346.56
The following error was detected at time: 1350239.0159401
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-3.21822e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1357501.196208102
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000143012) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1357501.196208102
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000143012) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1357501.196208102
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000143018) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.3575E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2202643
Accumulated number of symbolic Jacobian calc.: 666314
Last values of solution vector:
heaPum.eva.port_ref.T = 279.321
heaPum.con.port_ref.T = 345.419
The following error was detected at time: 1357501.196208102
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000143018) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1421164.873074187
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-8.28497e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1421164.873074187
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-8.28497e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1421164.873074187
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-8.28567e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.42116E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2319224
Accumulated number of symbolic Jacobian calc.: 701995
Last values of solution vector:
heaPum.eva.port_ref.T = 279.343
heaPum.con.port_ref.T = 345.36
The following error was detected at time: 1421164.873074187
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-8.28567e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1425230.419869002
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.00031937) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1425230.419869002
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.00031937) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1425230.419869002
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000319369) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.42523E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2323288
Accumulated number of symbolic Jacobian calc.: 703281
Last values of solution vector:
heaPum.eva.port_ref.T = 279.349
heaPum.con.port_ref.T = 345.982
The following error was detected at time: 1425230.419869002
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000319369) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1439657.088995132
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-4.30529e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1439657.088995132
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-4.30529e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1439657.088995132
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-4.30491e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.43966E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2328147
Accumulated number of symbolic Jacobian calc.: 704858
Last values of solution vector:
heaPum.eva.port_ref.T = 279.359
heaPum.con.port_ref.T = 346.541
The following error was detected at time: 1439657.088995132
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-4.30491e-005) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1445724.528717718
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000194214) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1445724.528717718
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000194214) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1445724.528717718
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.00019421) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.44572E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2332326
Accumulated number of symbolic Jacobian calc.: 706191
Last values of solution vector:
heaPum.eva.port_ref.T = 279.361
heaPum.con.port_ref.T = 346.284
The following error was detected at time: 1445724.528717718
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.00019421) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1503467.103623893
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000257937) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1503467.103623893
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000257937) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1503467.103623893
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000257934) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.50347E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2439179
Accumulated number of symbolic Jacobian calc.: 738989
Last values of solution vector:
heaPum.eva.port_ref.T = 279.367
heaPum.con.port_ref.T = 346.158
The following error was detected at time: 1503467.103623893
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000257934) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1767523.061441245
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000220923) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1767523.061441245
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000220923) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1767523.061441245
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000220919) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.76752E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2949298
Accumulated number of symbolic Jacobian calc.: 894613
Last values of solution vector:
heaPum.eva.port_ref.T = 279.379
heaPum.con.port_ref.T = 346.234
The following error was detected at time: 1767523.061441245
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000220919) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1770764.469898931
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000250887) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1770764.469898931
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000250887) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1770764.469898931
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000250884) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.77076E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2953577
Accumulated number of symbolic Jacobian calc.: 895922
Last values of solution vector:
heaPum.eva.port_ref.T = 279.368
heaPum.con.port_ref.T = 346.174
The following error was detected at time: 1770764.469898931
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000250884) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 1775153.042669777
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000209184) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 1775153.042669777
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000209184) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 1775153.042669777
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000209181) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 1.77515E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 2957766
Accumulated number of symbolic Jacobian calc.: 897241
Last values of solution vector:
heaPum.eva.port_ref.T = 279.36
heaPum.con.port_ref.T = 346.256
The following error was detected at time: 1775153.042669777
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000209181) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
The following error was detected at time: 3503469.623035179
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000230236) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
The following error was detected at time: 3503469.623035179
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000230236) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
The following error was detected at time: 3503469.623035179
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000230241) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
Non-linear solver will attempt to handle this problem.
ERROR: Failed to solve non-linear system using Newton solver.
It could be that:
the starting values are too far from the solution
especially if this occurs at the starting point (see homotopy in the manual) - in rare cases it could occur at events
the equations are too discontinuous for the non-linear solver (likely due to over-using noEvent) - the residual will have knees,
the equations have no solution (note that in some cases the event-logic can cause this) - the residual will be above zero.
Jacobian has inverse norm 0 and condition number -1.#IND.
The residual is large, using better start values can be a solution.
To get more information: Turn on Simulation/Setup/Debug/Nonlinear solver diagnostics/Details
Solution to systems of equations not found at time = 3.50347E+006
Nonlinear system of equations number = 3
Tag: simulation.nonlinear[2]
Failed to evaluate any residual. Try to give better start-values.
Iteration is not making good progress.
Accumulated number of residue calc.: 5536664
Accumulated number of symbolic Jacobian calc.: 1677051
Last values of solution vector:
heaPum.eva.port_ref.T = 279.349
heaPum.con.port_ref.T = 345.527
The following error was detected at time: 3503469.623035179
Model error - power: (Buildings.Utilities.Math.Functions.smoothMax(1-T/TCri, 0.0001, 0.005)) ^ (0.3333333333333333) = (-0.000230241) ^ (0.333333)
The stack of functions is:
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T
Buildings.Media.Refrigerants.R410A.enthalpySatLiq_T(heaPum.con.port_ref.T)
First evaluation failed for non-linear solver.
Solver will attempt to handle this problem.
heaPum.con.port_ref.T > 173.15 and heaPum.con.port_ref.T < 345.25
The following error was detected at time: 3506915.651825651
Condensing temperature must be above the minimum refrigerant temperature
and below the critical temperature.
Integration terminated before reaching "StopTime" at T = 3.51e+006
States and derivatives:
vol.Xi[1]=0.01 -0
vol.hOut_internal=44879.5 -1.1445
temSup.T=307.821 -0
temRet.T=303.878 0
vol.dynBal.m=216 0
rad.vol[1].dynBal.U=3.42235e+006 -301.753
rad.vol[2].dynBal.U=3.40931e+006 -292.011
rad.vol[3].dynBal.U=3.39635e+006 -282.396
rad.vol[4].dynBal.U=3.38345e+006 -272.894
rad.vol[5].dynBal.U=3.37061e+006 -263.491
heaPum.con.vol.dynBal.U=2.07303e+006 0
heaPum.eva.vol.dynBal.U=290683 0
CPU-time for integration : 197 seconds
CPU-time for one GRID interval: 590 milli-seconds
Number of result points : 5550
Number of GRID points : 335
Number of (successful) steps : 235129
Number of F-evaluations : 797109
Number of H-evaluations : 252765
Number of Jacobian-evaluations: 43514
Number of (model) time events : 81
Number of (U) time events : 0
Number of state events : 2528
Number of step events : 0
Minimum integration stepsize : 3.24e-005
Maximum integration stepsize : 1.4e+003
Maximum integration order : 5
Calling terminal section
... "dsfinal.txt" creating (final states)