Open karthikeyad-pnnl opened 3 years ago
I noticed that the samper intervals are set to be quite small (1e-3). For example, in the MinimumFlowSetpoin, I found
Buildings.Controls.OBC.CDL.Discrete.UnitDelay uniDel( final samplePeriod=0.001) "Unit delay for Real signal" annotation (Placement(transformation(extent={{140,-120},{160,-100}})));
I wonder if those values are desired?
I have changed them to 60s and found the simulation completes quite fast
Integration terminated successfully at T = 1000 CPU-time for integration : 0.969 seconds CPU-time for one grid interval : 4.84 milliseconds CPU-time for initialization : 0.245 seconds Number of result points : 210 Number of grid points : 201 Number of accepted steps : 193 Number of f-evaluations (dynamics) : 334 Number of crossing function evaluations : 403 Number of Jacobian-evaluations : 78 Number of model time events : 16 Number of input time events : 0 Number of state events : 1 Number of step events : 0 Minimum integration stepsize : 9.98e-007 Maximum integration stepsize : 252 Maximum integration order : 5 Calling terminal section ... "dsfinal.txt" creating (final states)
@SenHuang19 : The branch is "pnnl-development".
The relevant files are: