bcl 0.5.9 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +21 -0
  3. data/.rubocop.yml +8 -0
  4. data/CHANGELOG.md +79 -0
  5. data/Gemfile +3 -0
  6. data/LICENSE.md +27 -0
  7. data/README.md +40 -0
  8. data/Rakefile +347 -0
  9. data/bcl.gemspec +48 -0
  10. data/lib/bcl/base_xml.rb +31 -15
  11. data/lib/bcl/component.rb +32 -16
  12. data/lib/bcl/component_from_spreadsheet.rb +37 -23
  13. data/lib/bcl/component_methods.rb +52 -38
  14. data/lib/bcl/core_ext.rb +31 -15
  15. data/lib/bcl/tar_ball.rb +31 -15
  16. data/lib/bcl/version.rb +32 -16
  17. data/lib/bcl.rb +37 -4
  18. data/schemas/v2/component_2012_11_08.xsd +291 -0
  19. data/schemas/v2/measure_2013_3_26.xsd +153 -0
  20. data/schemas/v3/common_bcl_v3.xsd +422 -0
  21. data/schemas/v3/component_v3.xsd +445 -0
  22. data/schemas/v3/measure_v3.xsd +496 -0
  23. metadata +102 -81
  24. data/lib/bcl/component_spreadsheet.rb +0 -287
  25. data/lib/bcl/master_taxonomy.rb +0 -528
  26. data/lib/files/downloads/40237ee0-5ea7-0130-ad9b-14109fdf0b37.tar.gz +0 -0
  27. data/lib/files/staged/components/Asphalt_Shingles_1_8_in/Asphalt_Shingles_1_8_in.tar.gz +0 -0
  28. data/lib/files/staged/components/Asphalt_Shingles_1_8_in/component.xml +0 -81
  29. data/lib/files/staged/components/Built_up_Roofing_3_8_in/Built_up_Roofing_3_8_in.tar.gz +0 -0
  30. data/lib/files/staged/components/Built_up_Roofing_3_8_in/component.xml +0 -76
  31. data/lib/files/staged/components/Metal_Surface_1_16_in/Metal_Surface_1_16_in.tar.gz +0 -0
  32. data/lib/files/staged/components/Metal_Surface_1_16_in/component.xml +0 -76
  33. data/lib/files/staged/components/Shingle_Backer_1_4_in/Shingle_Backer_1_4_in.tar.gz +0 -0
  34. data/lib/files/staged/components/Shingle_Backer_1_4_in/component.xml +0 -81
  35. data/lib/files/staged/components/Shingle_Backer_3_8_in/Shingle_Backer_3_8_in.tar.gz +0 -0
  36. data/lib/files/staged/components/Shingle_Backer_3_8_in/component.xml +0 -81
  37. data/lib/files/staged/components/Wood_Shingles_1_4_in/Wood_Shingles_1_4_in.tar.gz +0 -0
  38. data/lib/files/staged/components/Wood_Shingles_1_4_in/component.xml +0 -81
  39. data/lib/files/staged/gather/1/Asphalt_Shingles_1_8_in.tar.gz +0 -0
  40. data/lib/files/staged/gather/1/Built_up_Roofing_3_8_in.tar.gz +0 -0
  41. data/lib/files/staged/gather/1/Metal_Surface_1_16_in.tar.gz +0 -0
  42. data/lib/files/staged/gather/1/Shingle_Backer_1_4_in.tar.gz +0 -0
  43. data/lib/files/staged/gather/1/Shingle_Backer_3_8_in.tar.gz +0 -0
  44. data/lib/files/staged/gather/1/Wood_Shingles_1_4_in.tar.gz +0 -0
  45. data/lib/files/staged/gather/components_1.tar.gz +0 -0
@@ -1,81 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Asphalt Shingles - 1/8 in.</name>
4
- <uid>c32e4780-c88c-012f-b24b-0026b9d40ccf</uid>
5
- <version_id>65bae990-7926-0130-b658-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Shingles</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>3.175</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>0.04</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>0.07937499999999999</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>1120.0</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>1260.0</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Wall</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Exterior Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>Typical Application</name>
66
- <value>Attic Roof</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- <attribute>
70
- <name>OpenStudio Type</name>
71
- <value>OS:Material</value>
72
- <datatype>string</datatype>
73
- </attribute>
74
- </attributes>
75
- <source>
76
- </source>
77
- <files>
78
- </files>
79
- <costs>
80
- </costs>
81
- </component>
@@ -1,76 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Built-up Roofing - 3/8 in.</name>
4
- <uid>c32853e0-c88c-012f-b247-0026b9d40ccf</uid>
5
- <version_id>65b7dc50-7926-0130-b654-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Built-Up Roofing</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>9.524999999999999</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>0.16</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>0.05953125000000001</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>1120.0</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>1459.9999999999998</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Roof</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Attic Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>OpenStudio Type</name>
66
- <value>OS:Material</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- </attributes>
70
- <source>
71
- </source>
72
- <files>
73
- </files>
74
- <costs>
75
- </costs>
76
- </component>
@@ -1,76 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Metal Surface - 1/16 in.</name>
4
- <uid>c32baf60-c88c-012f-b249-0026b9d40ccf</uid>
5
- <version_id>65b962f0-7926-0130-b656-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Metal Roofing</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>1.5875</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>45.28000000000001</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>3.505962897526502e-05</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>7824.0</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>499.99999999999994</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Roof</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Attic Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>OpenStudio Type</name>
66
- <value>OS:Material</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- </attributes>
70
- <source>
71
- </source>
72
- <files>
73
- </files>
74
- <costs>
75
- </costs>
76
- </component>
@@ -1,81 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Shingle Backer - 1/4 in.</name>
4
- <uid>c322d590-c88c-012f-b243-0026b9d40ccf</uid>
5
- <version_id>65b34870-7926-0130-b650-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Backing</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>6.35</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>0.063</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>0.10079365079365077</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>289.99999999999994</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>1299.9999999999998</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Wall</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Exterior Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>Typical Application</name>
66
- <value>Attic Roof</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- <attribute>
70
- <name>OpenStudio Type</name>
71
- <value>OS:Material</value>
72
- <datatype>string</datatype>
73
- </attribute>
74
- </attributes>
75
- <source>
76
- </source>
77
- <files>
78
- </files>
79
- <costs>
80
- </costs>
81
- </component>
@@ -1,81 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Shingle Backer - 3/8 in.</name>
4
- <uid>c325bbd0-c88c-012f-b245-0026b9d40ccf</uid>
5
- <version_id>65b59260-7926-0130-b652-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Backing</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>9.524999999999999</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>0.063</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>0.15119047619047618</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>289.99999999999994</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>1299.9999999999998</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Wall</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Exterior Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>Typical Application</name>
66
- <value>Attic Roof</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- <attribute>
70
- <name>OpenStudio Type</name>
71
- <value>OS:Material</value>
72
- <datatype>string</datatype>
73
- </attribute>
74
- </attributes>
75
- <source>
76
- </source>
77
- <files>
78
- </files>
79
- <costs>
80
- </costs>
81
- </component>
@@ -1,81 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schema.xsd">
3
- <name>Wood Shingles - 1/4 in.</name>
4
- <uid>c3312dc0-c88c-012f-b24d-0026b9d40ccf</uid>
5
- <version_id>65bc7030-7926-0130-b65a-0026b9d40ccf</version_id>
6
- <description>Material from a data set created from ASHRAE HOF 2005 and ASHRAE 90.1-2004 Appendix A</description>
7
- <modeler_description>3.0</modeler_description>
8
- <provenances>
9
- <provenance>
10
- <author>aparker</author>
11
- <datetime>2012-09-26</datetime>
12
- <comment>From EnergyPlus 7.1 DataSet ASHRAE_2005_HOF_Materials.idf; Dataset was created from ASHRAE Handbook of Fundamentals, 2005, Chapter 25, Table 4.</comment>
13
- </provenance>
14
- </provenances>
15
- <tags>
16
- <tag>Material.Opaque.Roofing</tag>
17
- </tags>
18
- <attributes>
19
- <attribute>
20
- <name>Category</name>
21
- <value>Shingles</value>
22
- <datatype>string</datatype>
23
- </attribute>
24
- <attribute>
25
- <name>Thickness</name>
26
- <value>6.35</value>
27
- <datatype>float</datatype>
28
- <units>mm</units>
29
- </attribute>
30
- <attribute>
31
- <name>Conductivity</name>
32
- <value>0.04</value>
33
- <datatype>float</datatype>
34
- <units>W/m*K</units>
35
- </attribute>
36
- <attribute>
37
- <name>Resistance</name>
38
- <value>0.15874999999999997</value>
39
- <datatype>float</datatype>
40
- <units>m^2*K/W</units>
41
- </attribute>
42
- <attribute>
43
- <name>Density</name>
44
- <value>592.0</value>
45
- <datatype>float</datatype>
46
- <units>kg/m^3</units>
47
- </attribute>
48
- <attribute>
49
- <name>Specific Heat</name>
50
- <value>1299.9999999999998</value>
51
- <datatype>float</datatype>
52
- <units>J/kg*K</units>
53
- </attribute>
54
- <attribute>
55
- <name>Typical Application</name>
56
- <value>Exterior Wall</value>
57
- <datatype>string</datatype>
58
- </attribute>
59
- <attribute>
60
- <name>Typical Application</name>
61
- <value>Exterior Roof</value>
62
- <datatype>string</datatype>
63
- </attribute>
64
- <attribute>
65
- <name>Typical Application</name>
66
- <value>Attic Roof</value>
67
- <datatype>string</datatype>
68
- </attribute>
69
- <attribute>
70
- <name>OpenStudio Type</name>
71
- <value>OS:Material</value>
72
- <datatype>string</datatype>
73
- </attribute>
74
- </attributes>
75
- <source>
76
- </source>
77
- <files>
78
- </files>
79
- <costs>
80
- </costs>
81
- </component>