anchor.diff:      echo please set CEA-SCENARIO first
       exit /b 1
   )
  -if not defined CEA-REGION (
  -    echo please set CEA-REGION first
  -    exit /b 1
  -)
  -if not defined CEA-WEATHER (
  -    echo please set CEA-WEATHER first
  -    exit /b 1
  -)
  -
  -if not defined CEA-NETWORK-TYPE (
  -    echo please set CEA-NETWORK-TYPE first
  -    exit /b 1
  -)
  -
   
   rem run each script, break on error
   
   rem copy-default-databases
   echo %date% %time% copy-default-databases begin >> %CEA-SCENARIO%\cea-workflow.log
  -cea copy-default-databases --scenario %CEA-SCENARIO% --region %CEA-REGION%
  +cea copy-default-databases --scenario %CEA-SCENARIO%
   if %errorlevel% neq 0 exit /b %errorlevel%
   echo %date% %time% copy-default-databases end >> %CEA-SCENARIO%\cea-workflow.log
   
  
positive.code: 
  rem thermal-network-matrix
  echo %date% %time% thermal-network-matrix begin >> %CEA-SCENARIO%\cea-workflow.log
  cea thermal-network-matrix --network-type %CEA-NETWORK-TYPE%
  if %errorlevel% neq 0 exit /b %errorlevel%
  echo %date% %time% thermal-network-matrix end >> %CEA-SCENARIO%\cea-workflow.log
  
  
negative.code: 
  rem radiation-daysim
  echo %date% %time% radiation-daysim begin >> %CEA-SCENARIO%\cea-workflow.log
  cea radiation-daysim
  if %errorlevel% neq 0 exit /b %errorlevel%
  echo %date% %time% radiation-daysim end >> %CEA-SCENARIO%\cea-workflow.log
  
  