Skip to content

Ceiling insulation measure broken #120

@simularis

Description

@simularis

Attempts to run models in ceiling insulation measure folder failed.

Command line example

 C:\DEER2026\DEER-Prototypes-EnergyPlus\residential measures\SWBE006-02 Ceiling Insulation\SWBE006-02 Ceiling Insulation_MFm>modelkit rake compose
(in C:/DEER2026/DEER-Prototypes-EnergyPlus/residential measures/SWBE006-02 Ceiling Insulation)
Using modelkit-config at C:/DEER2026/DEER-Prototypes-EnergyPlus/residential measures/SWBE006-02 Ceiling Insulation/.modelkit-config
Using global.pxv at C:/DEER2026/DEER-Prototypes-EnergyPlus/residential measures/SWBE006-02 Ceiling Insulation/global.pxv
Type Ctrl+C to cancel all tasks.
Evaluating worksheets...
Could not resolve path "MFm-1985/templates/root_sp_ceiling.pxt" from possible paths:
  "C:/DEER2026/DEER-Prototypes-EnergyPlus/prototypes/residential/MFm-1985/templates/root_sp_ceiling.pxt"
Check the prototypes-dir variable in modelkit-config file.
rake aborted!
root template "MFm-1985/templates/root_sp_ceiling.pxt" not found for row 2 of cohorts.csv
C:/DEER2026/DEER-Prototypes-EnergyPlus/residential measures/SWBE006-02 Ceiling Insulation/rakefile.rb:463:in `block (2 levels) in <top (required)>'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:204:in `call'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:204:in `evaluate_row'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:102:in `block in each_row'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:98:in `each_with_index'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:98:in `each_row'
C:/DEER2026/DEER-Prototypes-EnergyPlus/residential measures/SWBE006-02 Ceiling Insulation/rakefile.rb:416:in `block in <top (required)>'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:204:in `call'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:204:in `evaluate_row'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:102:in `block in each_row'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:98:in `each_with_index'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/worksheet.rb:98:in `each_row'
C:/DEER2026/DEER-Prototypes-EnergyPlus/residential measures/SWBE006-02 Ceiling Insulation/rakefile.rb:311:in `<top (required)>'
C:/Program Files (x86)/Modelkit Caboodle/lib/rubygems/gems/modelkit-0.8.1/lib/modelkit/cli.rb:348:in `block (2 levels) in <module:CLI>'
C:/Program Files (x86)/Modelkit Caboodle/vendor/rubygems/gems/gli-2.13.2/lib/gli/command_support.rb:126:in `call'
C:/Program Files (x86)/Modelkit Caboodle/vendor/rubygems/gems/gli-2.13.2/lib/gli/command_support.rb:126:in `execute'
C:/Program Files (x86)/Modelkit Caboodle/vendor/rubygems/gems/gli-2.13.2/lib/gli/app_support.rb:296:in `block in call_command'
C:/Program Files (x86)/Modelkit Caboodle/vendor/rubygems/gems/gli-2.13.2/lib/gli/app_support.rb:309:in `call'
C:/Program Files (x86)/Modelkit Caboodle/vendor/rubygems/gems/gli-2.13.2/lib/gli/app_support.rb:309:in `call_command'
C:/Program Files (x86)/Modelkit Caboodle/vendor/rubygems/gems/gli-2.13.2/lib/gli/app_support.rb:83:in `run'
C:/Program Files (x86)/Modelkit Caboodle/bin/../lib/rubygems/gems/modelkit-0.8.1/bin/modelkit:3:in `<main>'
(See full trace by running task with --trace)
error: exit

Possible explanation

The cohorts file points to prototype filenames that do not exist, neither in initial prototypes (f1aed7c) nor after the renaming in December 2023 (104d098).

skip,cohort,root,:roof_base_cavity_insul,:wall_base_type,:wall_base_cavity_insul,:wall_base_cont_insul,:glass_u,:glass_shgc,:sheathing_consol_layer_thickness,:sheathing_consol_layer_conductivity,:wall_consol_layer_thickness,:wall_consol_layer_conductivity,:floor_consol_layer_thickness,:floor_consol_layer_conductivity,:ceil_consol_layer_thickness,:ceil_consol_layer_conductivity,:heating_sch_DEER_mrn,:heating_sch_DEER_day,:heating_sch_DEER_eve,:heating_sch_DEER_nit,:cooling_sch_DEER_mrn,:cooling_sch_DEER_day,:cooling_sch_DEER_eve,:cooling_sch_DEER_nit,:climate_zone,:infiltration_ACH,:total_leakage_ratio,:shading_control,:heating_coil_cop,:cooling_coil_cop
,MFm&0&rDXGF&Ex&BldgShell__AttBatIns,MFm-1985/templates/root_sp_ceiling.pxt,,,,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration U-Factor"", ""Value"")['U-IP']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration SHGC"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_conductivity"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_conductivity"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""climate_zone"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Infiltration"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""total_leakage_ratio"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""shading_control"", ""Value"")",,
,MFm&0&rDXHP&Ex&BldgShell__AttBatIns,MFm-1985-HP/templates/root_ceiling.pxt,,,,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration U-Factor"", ""Value"")['U-IP']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration SHGC"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_conductivity"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_conductivity"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""climate_zone"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Infiltration"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""total_leakage_ratio"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""shading_control"", ""Value"")",,
,MFm&0&rNCEH&Ex&BldgShell__AttBatIns,MFm-1985-NCEH/templates/root_ceiling.pxt,,,,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration U-Factor"", ""Value"")['U-IP']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration SHGC"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_conductivity"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_conductivity"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""climate_zone"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Infiltration"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""total_leakage_ratio"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""shading_control"", ""Value"")",,
,MFm&0&rNCGF&Ex&BldgShell__AttBatIns,MFm-1985-NCGF/templates/root_ceiling.pxt,,,,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration U-Factor"", ""Value"")['U-IP']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Vertical Fenestration SHGC"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""wall_consol_layer_conductivity"", ""Value"")",,,"%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_thickness"", ""Value"")['m']","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""ceil_consol_layer_conductivity"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""heating_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_mrn"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_day"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_eve"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""cooling_sch_DEER_nit"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""climate_zone"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""Infiltration"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""total_leakage_ratio"", ""Value"")","%= codes.lookup(""Res Key Prototype Values | Climate Zone #{climate_zone}"", ""shading_control"", ""Value"")",,

Perhaps someone was working with modified prototypes and did not test this measure after committing the code.

Proposed solution

I think we can make an educated guess at templates appropriate for each HVAC type, consistent with other measures.

cohort root giving errors proposed root prototype
MFm&0&rDXGF&Ex&BldgShell__AttBatIns MFm-1985/templates/root_sp_ceiling.pxt MFm-1985/templates/root.pxt
MFm&0&rDXHP&Ex&BldgShell__AttBatIns MFm-1985-HP/templates/root_ceiling.pxt MFm-1985-HP/templates/root.pxt
MFm&0&rNCEH&Ex&BldgShell__AttBatIns MFm-1985-NCEH/templates/root_ceiling.pxt MFm-1985-NCEH/templates/root.pxt
MFm&0&rNCGF&Ex&BldgShell__AttBatIns MFm-1985-NCGF/templates/root_ceiling.pxt MFm-1985-NCGF/templates/root.pxt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions