generated from readthedocs/tutorial-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Current, if there is any legitimate error, the modeling engine will pass back warnings (which can generally be ignored). If there are no true errors, warnings are not passed back. So we get a situation like this:
"errors": [
{
"message": "[\"Warning: No dishwasher specified, the model will not include dishwasher energy use.\" \"Error: /tmp/modeling-api/dir2/2023091216415567346744/13992727_BASE.xml: Expected CompressorType to be 'single stage' or 'two stage' or 'variable speed' [context: /HPXML/Building/BuildingDetails/Systems/HVAC/HVACPlant/CoolingSystem]\" \"Error: /tmp/modeling-api/dir2/2023091216415567346744/13992727_BASE.xml: Expected CompressorType to be 'single stage' or 'two stage' or 'variable speed' [context: /HPXML/Building/BuildingDetails/Systems/HVAC/HVACPlant/CoolingSystem[CoolingSystemType=\\\"central air conditioner\\\"]]\"]",
"code": "openstudio-creating-input-unsuccessful"
}
]
Our defaulting engine may include a dishwasher or not, depending on regional characteristics, which is desired behavior. If the API user wants to specify a dishwasher they can, otherwise they can leave it up to us. The real error is compressorType.
We will try to remove the dishwasher and other irrelevant warnings from error messages.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation