xixihaha1995 / urban_climate_and_who

0 stars 0 forks source link

Time Alignment #6

Closed xixihaha1995 closed 2 years ago

xixihaha1995 commented 2 years ago
VCWG: Update needed time index[accumulated seconds]: 4950300.0

EP: curr_sim_time_in_seconds:  4950150.0
EP: vcwg_needed_time_idx_in_seconds:  4950300.0
C:\ProgramData\Miniconda3\envs\urban_climate_and_who\lib\site-packages\scipy\optimize\_minpack_py.py:175: RuntimeWarning: The iteration is not making good progress, as measured by the 
  improvement from the last ten iterations.
  warnings.warn(msg, RuntimeWarning)
Exception in thread Thread-2 (run_vcwg):
Traceback (most recent call last):
  File "C:\ProgramData\Miniconda3\envs\urban_climate_and_who\lib\threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "C:\ProgramData\Miniconda3\envs\urban_climate_and_who\lib\threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\wulic\Documents\GitHub\urban_climate_and_who\1_scripts\EP_And_VCWG_v2.0.0\_1_Run_EP22_VCWG2.py", line 363, in run_vcwg
    coordiantion.init_variables_for_vcwg_ep()
  File "C:\Users\wulic\Documents\GitHub\urban_climate_and_who\1_scripts\EP_And_VCWG_v2.0.0\VCWG_Hydrology.py", line 779, in run
    self.Simulate()
  File "C:\Users\wulic\Documents\GitHub\urban_climate_and_who\1_scripts\EP_And_VCWG_v2.0.0\VCWG_Hydrology.py", line 488, in Simulate
    self.EBCanyon.EBSolver_Canyon(TemperatureC,Tsurf_2back,MeteoData,self.WBCanyon.Int,self.WBCanyon.ExWater,
  File "C:\Users\wulic\Documents\GitHub\urban_climate_and_who\1_scripts\EP_And_VCWG_v2.0.0\EB_Canyon.py", line 397, in EBSolver_Canyon
    Ttree = self.FSolver_Tree(TempVec,TemperatureC,MeteoData,Int,ExWater,Vwater,Owater,SoilPotW,self.CiCO2,ViewFactor,Geometry_m,ParTree,
  File "C:\Users\wulic\Documents\GitHub\urban_climate_and_who\1_scripts\EP_And_VCWG_v2.0.0\EB_Canyon.py", line 625, in FSolver_Tree
    Result = least_squares(self.EBSolver_Tree, TTree, bounds=(lb,ub),
  File "C:\ProgramData\Miniconda3\envs\urban_climate_and_who\lib\site-packages\scipy\optimize\_lsq\least_squares.py", line 827, in least_squares
    raise ValueError("Residuals are not finite in the initial point.")
ValueError: Residuals are not finite in the initial point.
xixihaha1995 commented 2 years ago

As long as the callback_function will always advances

perfectly matched