Skip to content

Commit

Permalink
Added error if 'Zone Mean Air Temperature' is requested as an output …
Browse files Browse the repository at this point in the history
…variable
  • Loading branch information
mwetter committed Nov 22, 2019
1 parent 4c799fe commit d6669ad
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ void* OutputVariableAllocate(
const size_t nFMU = getBuildings_nFMU();
/* Name used to check for duplicate output variable entry in the same building */
FMUOutputVariable* doubleOutVarSpec = NULL;
/* EnergyPlus cannot return Zone Mean Air Temperature as this is computed in Modelica.
See email Kyle Benne, 11/22/19 */
if (strcasecmp(outputName, "Zone Mean Air Temperature") == 0){
ModelicaFormatError("'%s' requested output '%s' but EnergyPlus cannot return this type of output. Use instead the Modelica zone air temperature.",
modelicaNameOutputVariable, outputName);
}

checkAndSetVerbosity(verbosity);

Expand Down

0 comments on commit d6669ad

Please sign in to comment.