urbanopt-reporting 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +24 -0
- data/.rubocop.yml +10 -0
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTING.md +58 -0
- data/Gemfile +18 -0
- data/Jenkinsfile +10 -0
- data/LICENSE.md +27 -0
- data/README.md +40 -0
- data/Rakefile +45 -0
- data/doc_templates/LICENSE.md +27 -0
- data/doc_templates/README.md.erb +42 -0
- data/doc_templates/copyright_erb.txt +31 -0
- data/doc_templates/copyright_js.txt +4 -0
- data/doc_templates/copyright_ruby.txt +29 -0
- data/lib/measures/.rubocop.yml +5 -0
- data/lib/measures/default_feature_reports/LICENSE.md +27 -0
- data/lib/measures/default_feature_reports/README.md +26 -0
- data/lib/measures/default_feature_reports/README.md.erb +42 -0
- data/lib/measures/default_feature_reports/measure.rb +1012 -0
- data/lib/measures/default_feature_reports/measure.xml +160 -0
- data/lib/urbanopt/reporting.rb +37 -0
- data/lib/urbanopt/reporting/default_reports.rb +44 -0
- data/lib/urbanopt/reporting/default_reports/construction_cost.rb +169 -0
- data/lib/urbanopt/reporting/default_reports/date.rb +97 -0
- data/lib/urbanopt/reporting/default_reports/distributed_generation.rb +379 -0
- data/lib/urbanopt/reporting/default_reports/end_use.rb +159 -0
- data/lib/urbanopt/reporting/default_reports/end_uses.rb +140 -0
- data/lib/urbanopt/reporting/default_reports/extension.rb +15 -0
- data/lib/urbanopt/reporting/default_reports/feature_report.rb +266 -0
- data/lib/urbanopt/reporting/default_reports/generator.rb +92 -0
- data/lib/urbanopt/reporting/default_reports/location.rb +99 -0
- data/lib/urbanopt/reporting/default_reports/logger.rb +44 -0
- data/lib/urbanopt/reporting/default_reports/power_distribution.rb +103 -0
- data/lib/urbanopt/reporting/default_reports/program.rb +265 -0
- data/lib/urbanopt/reporting/default_reports/reporting_period.rb +300 -0
- data/lib/urbanopt/reporting/default_reports/scenario_report.rb +317 -0
- data/lib/urbanopt/reporting/default_reports/schema/README.md +33 -0
- data/lib/urbanopt/reporting/default_reports/schema/scenario_csv_columns.txt +34 -0
- data/lib/urbanopt/reporting/default_reports/schema/scenario_schema.json +857 -0
- data/lib/urbanopt/reporting/default_reports/solar_pv.rb +93 -0
- data/lib/urbanopt/reporting/default_reports/storage.rb +105 -0
- data/lib/urbanopt/reporting/default_reports/timeseries_csv.rb +300 -0
- data/lib/urbanopt/reporting/default_reports/validator.rb +112 -0
- data/lib/urbanopt/reporting/default_reports/wind.rb +92 -0
- data/lib/urbanopt/reporting/derived_extension.rb +63 -0
- data/lib/urbanopt/reporting/version.rb +35 -0
- data/urbanopt-reporting-gem.gemspec +33 -0
- metadata +176 -0
@@ -0,0 +1,112 @@
|
|
1
|
+
# *********************************************************************************
|
2
|
+
# URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
3
|
+
# contributors. All rights reserved.
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
6
|
+
# are permitted provided that the following conditions are met:
|
7
|
+
#
|
8
|
+
# Redistributions of source code must retain the above copyright notice, this list
|
9
|
+
# of conditions and the following disclaimer.
|
10
|
+
#
|
11
|
+
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
|
+
# list of conditions and the following disclaimer in the documentation and/or other
|
13
|
+
# materials provided with the distribution.
|
14
|
+
#
|
15
|
+
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
|
+
# used to endorse or promote products derived from this software without specific
|
17
|
+
# prior written permission.
|
18
|
+
#
|
19
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
22
|
+
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
23
|
+
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
24
|
+
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
27
|
+
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
28
|
+
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
# *********************************************************************************
|
30
|
+
|
31
|
+
require 'json'
|
32
|
+
|
33
|
+
module URBANopt
|
34
|
+
module Reporting
|
35
|
+
module DefaultReports
|
36
|
+
class Validator
|
37
|
+
@@schema = nil
|
38
|
+
|
39
|
+
# Initialize the root directory
|
40
|
+
def initialize
|
41
|
+
super
|
42
|
+
|
43
|
+
@root_dir = File.absolute_path(File.join(File.dirname(__FILE__), '..', '..', '..', '..'))
|
44
|
+
|
45
|
+
@instance_lock = Mutex.new
|
46
|
+
@@schema ||= schema
|
47
|
+
end
|
48
|
+
|
49
|
+
# Return the absolute path of the default reports files
|
50
|
+
def files_dir
|
51
|
+
File.absolute_path(File.join(@root_dir, 'lib/urbanopt/reporting/default_reports/'))
|
52
|
+
end
|
53
|
+
|
54
|
+
# return path to schema file
|
55
|
+
def schema_file
|
56
|
+
File.join(files_dir, 'schema/scenario_schema.json')
|
57
|
+
end
|
58
|
+
|
59
|
+
# return schema
|
60
|
+
def schema
|
61
|
+
@instance_lock.synchronize do
|
62
|
+
if @@schema.nil?
|
63
|
+
File.open(schema_file, 'r') do |f|
|
64
|
+
@@schema = JSON.parse(f.read, symbolize_names: true)
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
@@schema
|
70
|
+
end
|
71
|
+
|
72
|
+
# get csv headers from csv schema
|
73
|
+
def csv_headers
|
74
|
+
# read scenario csv schema headers
|
75
|
+
scenario_csv_schema = open(File.expand_path('schema/scenario_csv_columns.txt', File.dirname(__FILE__))) # .read()
|
76
|
+
|
77
|
+
scenario_csv_schema_headers = []
|
78
|
+
File.readlines(scenario_csv_schema).each do |line|
|
79
|
+
l = line.delete("\n")
|
80
|
+
a = l.delete("\t")
|
81
|
+
scenario_csv_schema_headers << a
|
82
|
+
end
|
83
|
+
|
84
|
+
return scenario_csv_schema_headers
|
85
|
+
end
|
86
|
+
|
87
|
+
##
|
88
|
+
# validate data against schema
|
89
|
+
##
|
90
|
+
# [parameters:]
|
91
|
+
# +schema+ - _Hash_ - A hash of the JSON scenario_schema.
|
92
|
+
# +data+ - _Hash_ - A hash of the data to be validated against scenario_schema.
|
93
|
+
##
|
94
|
+
def validate(schema, data)
|
95
|
+
JSON::Validator.fully_validate(schema, data)
|
96
|
+
end
|
97
|
+
|
98
|
+
# check if the schema is valid
|
99
|
+
def schema_valid?
|
100
|
+
metaschema = JSON::Validator.validator_for_name('draft6').metaschema
|
101
|
+
JSON::Validator.validate(metaschema, @@schema)
|
102
|
+
end
|
103
|
+
|
104
|
+
# return detailed schema validation errors
|
105
|
+
def schema_validation_errors
|
106
|
+
metaschema = JSON::Validator.validator_for_name('draft6').metaschema
|
107
|
+
JSON::Validator.fully_validate(metaschema, @@schema)
|
108
|
+
end
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# *********************************************************************************
|
2
|
+
# URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
3
|
+
# contributors. All rights reserved.
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
6
|
+
# are permitted provided that the following conditions are met:
|
7
|
+
#
|
8
|
+
# Redistributions of source code must retain the above copyright notice, this list
|
9
|
+
# of conditions and the following disclaimer.
|
10
|
+
#
|
11
|
+
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
|
+
# list of conditions and the following disclaimer in the documentation and/or other
|
13
|
+
# materials provided with the distribution.
|
14
|
+
#
|
15
|
+
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
|
+
# used to endorse or promote products derived from this software without specific
|
17
|
+
# prior written permission.
|
18
|
+
#
|
19
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
22
|
+
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
23
|
+
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
24
|
+
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
27
|
+
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
28
|
+
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
# *********************************************************************************
|
30
|
+
|
31
|
+
require 'json'
|
32
|
+
require 'json-schema'
|
33
|
+
|
34
|
+
module URBANopt
|
35
|
+
module Reporting
|
36
|
+
module DefaultReports
|
37
|
+
##
|
38
|
+
# Onsite wind system attributes
|
39
|
+
##
|
40
|
+
class Wind
|
41
|
+
##
|
42
|
+
# _Float_ - power capacity in kilowatts
|
43
|
+
#
|
44
|
+
attr_accessor :size_kw
|
45
|
+
|
46
|
+
##
|
47
|
+
# Initialize Wind attributes from a hash. Wind attributes currently are limited to power capacity.
|
48
|
+
##
|
49
|
+
# [parameters:]
|
50
|
+
#
|
51
|
+
# * +hash+ - _Hash_ - A hash containting a +:size_kw+ key/value pair which represents the nameplate capacity in kilowatts (kW)
|
52
|
+
#
|
53
|
+
def initialize(hash = {})
|
54
|
+
hash.delete_if { |k, v| v.nil? }
|
55
|
+
|
56
|
+
@size_kw = hash[:size_kw]
|
57
|
+
|
58
|
+
# initialize class variables @@validator and @@schema
|
59
|
+
@@validator ||= Validator.new
|
60
|
+
@@schema ||= @@validator.schema
|
61
|
+
|
62
|
+
# initialize @@logger
|
63
|
+
@@logger ||= URBANopt::Scenario::DefaultReports.logger
|
64
|
+
end
|
65
|
+
|
66
|
+
##
|
67
|
+
# Convert to a Hash equivalent for JSON serialization
|
68
|
+
##
|
69
|
+
def to_hash
|
70
|
+
result = {}
|
71
|
+
|
72
|
+
result[:size_kw] = @size_kw if @size_kw
|
73
|
+
|
74
|
+
return result
|
75
|
+
end
|
76
|
+
|
77
|
+
##
|
78
|
+
# Merge Wind systems
|
79
|
+
##
|
80
|
+
def self.add_wind(existing_wind, new_wind)
|
81
|
+
if existing_wind.size_kw.nil? && new_wind.size_kw.nil?
|
82
|
+
existing_wind.size_kw = nil
|
83
|
+
else
|
84
|
+
existing_wind.size_kw = (existing_wind.size_kw || 0) + (new_wind.size_kw || 0)
|
85
|
+
end
|
86
|
+
|
87
|
+
return existing_wind
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# *********************************************************************************
|
2
|
+
# URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
3
|
+
# contributors. All rights reserved.
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
6
|
+
# are permitted provided that the following conditions are met:
|
7
|
+
#
|
8
|
+
# Redistributions of source code must retain the above copyright notice, this list
|
9
|
+
# of conditions and the following disclaimer.
|
10
|
+
#
|
11
|
+
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
|
+
# list of conditions and the following disclaimer in the documentation and/or other
|
13
|
+
# materials provided with the distribution.
|
14
|
+
#
|
15
|
+
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
|
+
# used to endorse or promote products derived from this software without specific
|
17
|
+
# prior written permission.
|
18
|
+
#
|
19
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
22
|
+
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
23
|
+
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
24
|
+
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
27
|
+
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
28
|
+
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
# *********************************************************************************
|
30
|
+
|
31
|
+
require 'urbanopt/reporting/version'
|
32
|
+
require 'openstudio/extension'
|
33
|
+
|
34
|
+
module URBANopt
|
35
|
+
module Reporting
|
36
|
+
class Extension < OpenStudio::Extension::Extension
|
37
|
+
def initialize # :nodoc:
|
38
|
+
@root_dir = File.absolute_path(File.join(File.dirname(__FILE__), '..', '..', '..'))
|
39
|
+
end
|
40
|
+
|
41
|
+
##
|
42
|
+
# Returns the absolute path of the measures or returns nil, in case no measures are
|
43
|
+
# added. It can be used while configuring OSWs.
|
44
|
+
def measures_dir
|
45
|
+
return File.absolute_path(File.join(@root_dir, 'lib/measures'))
|
46
|
+
end
|
47
|
+
|
48
|
+
##
|
49
|
+
# The directory containign relevant files such as weather data, design days, etc.
|
50
|
+
# The method returns nil if no files are present. It is used while configuring OSWs.
|
51
|
+
def files_dir
|
52
|
+
return nil
|
53
|
+
end
|
54
|
+
|
55
|
+
# The directory containing common files like copyright and license notices which are used to update measures and other code.
|
56
|
+
# This method will only be applied to measures in the current repository and
|
57
|
+
# returns the absolute path of the +doc_templates_dir+ or nil if there is none.
|
58
|
+
def doc_templates_dir
|
59
|
+
return File.absolute_path(File.join(@root_dir, 'doc_templates'))
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# *********************************************************************************
|
2
|
+
# URBANopt, Copyright (c) 2019-2020, Alliance for Sustainable Energy, LLC, and other
|
3
|
+
# contributors. All rights reserved.
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
6
|
+
# are permitted provided that the following conditions are met:
|
7
|
+
#
|
8
|
+
# Redistributions of source code must retain the above copyright notice, this list
|
9
|
+
# of conditions and the following disclaimer.
|
10
|
+
#
|
11
|
+
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
|
+
# list of conditions and the following disclaimer in the documentation and/or other
|
13
|
+
# materials provided with the distribution.
|
14
|
+
#
|
15
|
+
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
|
+
# used to endorse or promote products derived from this software without specific
|
17
|
+
# prior written permission.
|
18
|
+
#
|
19
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
|
+
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
22
|
+
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
23
|
+
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
24
|
+
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
+
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
26
|
+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
27
|
+
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
28
|
+
# OF THE POSSIBILITY OF SUCH DAMAGE.
|
29
|
+
# *********************************************************************************
|
30
|
+
|
31
|
+
module URBANopt
|
32
|
+
module Reporting
|
33
|
+
VERSION = '0.1.0'.freeze
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path('lib', __dir__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'urbanopt/reporting/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'urbanopt-reporting'
|
8
|
+
spec.version = URBANopt::Reporting::VERSION
|
9
|
+
spec.authors = ['Rawad El Kontar', 'Dan Macumber']
|
10
|
+
spec.email = ['rawad.elkontar@nrel.gov']
|
11
|
+
|
12
|
+
spec.summary = 'Library to report URBANopt results'
|
13
|
+
spec.description = 'Library include scenario default reporting measure and scenario defaults reports schema and classes'
|
14
|
+
spec.homepage = 'https://github.com/urbanopt'
|
15
|
+
|
16
|
+
# Specify which files should be added to the gem when it is released.
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|lib.measures.*tests|spec|features)/}) }
|
20
|
+
end
|
21
|
+
spec.bindir = 'exe'
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
spec.required_ruby_version = '~> 2.5.0'
|
25
|
+
|
26
|
+
spec.add_development_dependency 'bundler', '~> 2.1'
|
27
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
28
|
+
spec.add_development_dependency 'rspec', '~> 3.7'
|
29
|
+
|
30
|
+
spec.add_dependency 'json-schema'
|
31
|
+
spec.add_dependency 'json_pure'
|
32
|
+
spec.add_dependency 'openstudio-extension', '~> 0.2.3'
|
33
|
+
end
|
metadata
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: urbanopt-reporting
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Rawad El Kontar
|
8
|
+
- Dan Macumber
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2020-08-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '2.1'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '2.1'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '13.0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '13.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rspec
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '3.7'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '3.7'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: json-schema
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: json_pure
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: openstudio-extension
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 0.2.3
|
91
|
+
type: :runtime
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.2.3
|
98
|
+
description: Library include scenario default reporting measure and scenario defaults
|
99
|
+
reports schema and classes
|
100
|
+
email:
|
101
|
+
- rawad.elkontar@nrel.gov
|
102
|
+
executables: []
|
103
|
+
extensions: []
|
104
|
+
extra_rdoc_files: []
|
105
|
+
files:
|
106
|
+
- ".gitignore"
|
107
|
+
- ".rubocop.yml"
|
108
|
+
- CHANGELOG.md
|
109
|
+
- CONTRIBUTING.md
|
110
|
+
- Gemfile
|
111
|
+
- Jenkinsfile
|
112
|
+
- LICENSE.md
|
113
|
+
- README.md
|
114
|
+
- Rakefile
|
115
|
+
- doc_templates/LICENSE.md
|
116
|
+
- doc_templates/README.md.erb
|
117
|
+
- doc_templates/copyright_erb.txt
|
118
|
+
- doc_templates/copyright_js.txt
|
119
|
+
- doc_templates/copyright_ruby.txt
|
120
|
+
- lib/measures/.rubocop.yml
|
121
|
+
- lib/measures/default_feature_reports/LICENSE.md
|
122
|
+
- lib/measures/default_feature_reports/README.md
|
123
|
+
- lib/measures/default_feature_reports/README.md.erb
|
124
|
+
- lib/measures/default_feature_reports/measure.rb
|
125
|
+
- lib/measures/default_feature_reports/measure.xml
|
126
|
+
- lib/urbanopt/reporting.rb
|
127
|
+
- lib/urbanopt/reporting/default_reports.rb
|
128
|
+
- lib/urbanopt/reporting/default_reports/construction_cost.rb
|
129
|
+
- lib/urbanopt/reporting/default_reports/date.rb
|
130
|
+
- lib/urbanopt/reporting/default_reports/distributed_generation.rb
|
131
|
+
- lib/urbanopt/reporting/default_reports/end_use.rb
|
132
|
+
- lib/urbanopt/reporting/default_reports/end_uses.rb
|
133
|
+
- lib/urbanopt/reporting/default_reports/extension.rb
|
134
|
+
- lib/urbanopt/reporting/default_reports/feature_report.rb
|
135
|
+
- lib/urbanopt/reporting/default_reports/generator.rb
|
136
|
+
- lib/urbanopt/reporting/default_reports/location.rb
|
137
|
+
- lib/urbanopt/reporting/default_reports/logger.rb
|
138
|
+
- lib/urbanopt/reporting/default_reports/power_distribution.rb
|
139
|
+
- lib/urbanopt/reporting/default_reports/program.rb
|
140
|
+
- lib/urbanopt/reporting/default_reports/reporting_period.rb
|
141
|
+
- lib/urbanopt/reporting/default_reports/scenario_report.rb
|
142
|
+
- lib/urbanopt/reporting/default_reports/schema/README.md
|
143
|
+
- lib/urbanopt/reporting/default_reports/schema/scenario_csv_columns.txt
|
144
|
+
- lib/urbanopt/reporting/default_reports/schema/scenario_schema.json
|
145
|
+
- lib/urbanopt/reporting/default_reports/solar_pv.rb
|
146
|
+
- lib/urbanopt/reporting/default_reports/storage.rb
|
147
|
+
- lib/urbanopt/reporting/default_reports/timeseries_csv.rb
|
148
|
+
- lib/urbanopt/reporting/default_reports/validator.rb
|
149
|
+
- lib/urbanopt/reporting/default_reports/wind.rb
|
150
|
+
- lib/urbanopt/reporting/derived_extension.rb
|
151
|
+
- lib/urbanopt/reporting/version.rb
|
152
|
+
- urbanopt-reporting-gem.gemspec
|
153
|
+
homepage: https://github.com/urbanopt
|
154
|
+
licenses: []
|
155
|
+
metadata: {}
|
156
|
+
post_install_message:
|
157
|
+
rdoc_options: []
|
158
|
+
require_paths:
|
159
|
+
- lib
|
160
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 2.5.0
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
requirements: []
|
171
|
+
rubyforge_project:
|
172
|
+
rubygems_version: 2.7.6
|
173
|
+
signing_key:
|
174
|
+
specification_version: 4
|
175
|
+
summary: Library to report URBANopt results
|
176
|
+
test_files: []
|