anchor.diff:      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
   
  
positive.code: 
  rem network-layout
  echo %date% %time% network-layout begin >> %CEA-SCENARIO%\cea-workflow.log
  cea network-layout
  if %errorlevel% neq 0 exit /b %errorlevel%
  echo %date% %time% network-layout end >> %CEA-SCENARIO%\cea-workflow.log
  
  
negative.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
  
  