NREL / OpenStudio

OpenStudio is a cross-platform collection of software tools to support whole building energy modeling using EnergyPlus and advanced daylight analysis using Radiance.
https://www.openstudio.net/
Other
486 stars 186 forks source link

Annoying FT warnings for always XX Scheduled missing the schedule type limits object #5116

Closed jmarrec closed 4 months ago

jmarrec commented 4 months ago

Issue overview

Current Behavior

$ openstudio -e "m = OpenStudio::Model::Model.new; ft = OpenStudio::EnergyPlus::ForwardTranslator.new(); ft.translateModel(m)"

[utilities.idf.WorkspaceObject] <0> Object of type 'Schedule:Constant' and named 'Always On Discrete', points to an object named OnOff from field 1, but that object cannot be located.
[utilities.idf.WorkspaceObject] <0> Object of type 'Schedule:Constant' and named 'Always Off Discrete', points to an object named OnOff 1 from field 1, but that object cannot be located.
[utilities.idf.WorkspaceObject] <0> Object of type 'Schedule:Constant' and named 'Always On Continuous', points to an object named Fractional from field 1, but that object cannot be located

Expected Behavior

Shouldn't get 3 warnings for an empty model!

Possible Solution

Details

Environment

Some additional details about your environment for this issue (if relevant):

Context

Reported on https://github.com/openstudiocoalition/OpenStudioApplication/issues/688#issuecomment-2006945749