FMU/Source/SimulationTime.cpp
/**
 * @brief Calls the SimulationTime preprocess
 * @details Reads in the configuration file and sends to parser.
 * Sets up the EnergyPlus processor, the AgentModel and the ZoneManager.
 */
@brief Calls the SimulationTime preprocess
@details Reads in the configuration file and sends to parser.
Sets up the EnergyPlus processor, the AgentModel and the ZoneManager.
@brief Calls the SimulationTime preprocess @details Reads in the configuration file and sends to parser . Sets up the EnergyPlus processor the AgentModel and the ZoneManager .
void SimulationTime::preprocess() {
  monthCount.push_back(31);
  monthCount.push_back(59);
  monthCount.push_back(90);
  monthCount.push_back(120);
  monthCount.push_back(151);
  monthCount.push_back(181);
  monthCount.push_back(212);
  monthCount.push_back(243);
  monthCount.push_back(273);
  monthCount.push_back(304);
  monthCount.push_back(334);
  monthCount.push_back(365);
  databaseIdStepCount = DataStore::addVariable("TimeStep");
  databaseIdHour = DataStore::addVariable("hour");
  databaseIdDay = DataStore::addVariable("day");
  databaseIdMonth = DataStore::addVariable("month");
  databaseIdHourOfDay = DataStore::addVariable("hourOfDay");
  databaseIdMinuteOfDay = DataStore::addVariable("minuteOfDay");
}
void SimulationTime :: preprocess ( ) { monthCount . push_back ( 31 ) ; monthCount . push_back ( 59 ) ; monthCount . push_back ( 90 ) ; monthCount . push_back ( 120 ) ; monthCount . push_back ( 151 ) ; monthCount . push_back ( 181 ) ; monthCount . push_back ( 212 ) ; monthCount . push_back ( 243 ) ; monthCount . push_back ( 273 ) ; monthCount . push_back ( 304 ) ; monthCount . push_back ( 334 ) ; monthCount . push_back ( 365 ) ; databaseIdStepCount = DataStore :: addVariable ( " " ) ; databaseIdHour = DataStore :: addVariable ( " " ) ; databaseIdDay = DataStore :: addVariable ( " " ) ; databaseIdMonth = DataStore :: addVariable ( " " ) ; databaseIdHourOfDay = DataStore :: addVariable ( " " ) ; databaseIdMinuteOfDay = DataStore :: addVariable ( " " ) ; }
@brief Calls the SimulationTime preprocess
 @details Reads in the configuration file and sends to parser.
@brief Calls the SimulationTime preprocess @details Reads in the configuration file and sends to parser .