The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 36 - File: global.php(844) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/global.php(844) : eval()'d code 36 errorHandler->error
/global.php 844 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5132 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 5132 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7288 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7288 errorHandler->error
/inc/functions.php 5152 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7288 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7288 errorHandler->error
/inc/functions.php 5152 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



jeplus.org forums
Jeplus+EA could not find objective funcion in RVI files - Printable Version

+- jeplus.org forums (http://jeplus.org/mybb)
+-- Forum: Building simulation tools (http://jeplus.org/mybb/forumdisplay.php?fid=1)
+--- Forum: jEPlus+EA (http://jeplus.org/mybb/forumdisplay.php?fid=3)
+--- Thread: Jeplus+EA could not find objective funcion in RVI files (/showthread.php?tid=398)



Jeplus+EA could not find objective funcion in RVI files - Susanneb - 08-10-2015

I was running successfully Jeplis+EA project with rvi-files. However, I wanted to get uservars defined and plotted. So I am trying to use the RVX files. But it gives me some strange error although rvi has defined the objective function:

[Image: sThqOBo0aRC]

Any idea what is wrong?

my rvi file:

Code:
eplusout.eso
eplusout.csv
Electricity:HVAC
Heating:Electricity
Cooling:Electricity
Zone Ventilation Total Heat Loss Energy
Zone Ventilation Total Heat Gain Energy
Zone Infiltration Total Heat Loss Energy
Zone Infiltration Total Heat Gain Energy]
Zone Windows Total Heat Gain Energy
Zone Windows Total Heat Loss Energy
0

!-objectives
Heating Electriciy;kWh,c1
Cooling Electriciy;kWh,c2
!-end objectives

my rvx file:

Code:
{

"notes" : "Some notes about this RVX",

"rvis" : [
   {
       "fileName" : "my_LCCA.rvi",
       "tableName" : "SimResults"
   }
],

"sqls" : [
   {
       "tableName" : "Heating_Electricity",
       "columnHeaders" : "Heating Electricity [kWh]",
       "sqlcommand" : "SELECT Value FROM TabularDataWithStrings WHERE (TableName='End Uses' AND RowName='Heating' AND ColumnName='Electricity')"
   },
   {
       "tableName" : "Cooling_Electricity",
       "columnHeaders" : "Cooling Electricity [kWh]",
       "sqlcommand" : "SELECT Value FROM TabularDataWithStrings WHERE (TableName='End Uses' AND RowName='Cooling' AND ColumnName='Electricity')"
   }
   {
       "tableName" : "HVAC_Electricity_Intensity",
       "columnHeaders" : "HVAC Electricity Intensity [kWh/m2]",
       "sqlcommand" : "SELECT Value FROM TabularDataWithStrings WHERE (TableName='Utility Use Per Conditioned Floor Area' AND RowName='HVAC' AND ColumnName='Electricity Intensity')"
   }
],

"scripts" : [
   {

   }
],

"userVars" : [
   {
       "identifier" : "v0",
       "formula" : "c0",
       "caption" : "Variable 0 []",
       "report" : true
   },
   {
       "identifier" : "v1",
       "formula" : "c1",
       "caption" : "Variable 9 []",
       "report" : false
   },
           {
       "identifier" : "v2",
       "formula" : "c10",
       "caption" : "Variable 10 []",
       "report" : true
   }
   {
       "identifier" : "v3",
       "formula" : "c2",
       "caption" : "Variable 11 []",
       "report" : false
   }
],

"constraints" : [
   {
   }
],

"objectives" : [
   {
       "identifier" : "t1",
       "formula" : "v1",
       "caption" : "Heating Electricity [kWh]",
       "scaling" : true,
       "min" : 0,
       "max" : 10000,
       "weight" : 1.0
   },
   {
       "identifier" : "t2",
       "formula" : "v2",
       "caption" : "Cooling Electricity [kWh]",
       "scaling" : false,
       "min" : 0,
       "max" : 10000,
       "weight" : 1.0
   }
]
}