Revision history  [back]

access energyplus sql file in openstudio application

I want to write a query in openstudio application to get some result from the latest energyplus sql file . I am getting an error. How to get the last file ?

 openstudio::path sqlFilepath = openstudio::SqlFile::path();
  boost::optional<openstudio::SqlFile> mySqlFile = openstudio::SqlFile::path();
  if (mySqlFile && mySqlFile->connectionOpen())
{

........................

this does not work

access energyplus sql file in openstudio application

I want to write a query in openstudio application to get some result from the latest energyplus sql file . I am getting an error. How to get the last file ?

 openstudio::path sqlFilepath = openstudio::SqlFile::path();
   boost::optional<openstudio::SqlFile> mySqlFile = openstudio::SqlFile::path();
   if (mySqlFile && mySqlFile->connectionOpen())
{

........................

this does not work

access energyplus sql file in openstudio application

I want to write a query in openstudio application to get some result from the latest energyplus sql file . I am getting an error. How to get the last file ?

 

openstudio::path sqlFilepath = openstudio::SqlFile::path(); boost::optional<openstudio::SqlFile> boost::optional mySqlFile = openstudio::SqlFile::path(); if (mySqlFile && mySqlFile->connectionOpen()) {

........................

this does not workdoesnot work