Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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 doesnot 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<openstudio::SqlFile> mySqlFile = openstudio::SqlFile::path();
      if (mySqlFile && mySqlFile->connectionOpen())
{

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

this doesnot work 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