urbanopt-scenario 0.5.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -3
- data/CHANGELOG.md +25 -0
- data/Gemfile +3 -2
- data/LICENSE.md +29 -17
- data/Rakefile +16 -6
- data/docs/package-lock.json +20329 -2005
- data/docs/package.json +7 -4
- data/lib/urbanopt/scenario/default_reports.rb +16 -6
- data/lib/urbanopt/scenario/extension.rb +16 -6
- data/lib/urbanopt/scenario/logger.rb +17 -7
- data/lib/urbanopt/scenario/scenario_base.rb +16 -6
- data/lib/urbanopt/scenario/scenario_csv.rb +47 -20
- data/lib/urbanopt/scenario/scenario_datapoint_base.rb +21 -11
- data/lib/urbanopt/scenario/scenario_post_processor_base.rb +16 -6
- data/lib/urbanopt/scenario/scenario_post_processor_default.rb +20 -10
- data/lib/urbanopt/scenario/scenario_post_processor_opendss.rb +22 -12
- data/lib/urbanopt/scenario/scenario_runner_base.rb +16 -6
- data/lib/urbanopt/scenario/scenario_runner_osw.rb +20 -9
- data/lib/urbanopt/scenario/scenario_visualization.rb +46 -28
- data/lib/urbanopt/scenario/simulation_dir_base.rb +17 -11
- data/lib/urbanopt/scenario/simulation_dir_osw.rb +19 -7
- data/lib/urbanopt/scenario/simulation_mapper_base.rb +16 -6
- data/lib/urbanopt/scenario/version.rb +17 -7
- data/lib/urbanopt/scenario.rb +16 -6
- data/lib/urbanopt-scenario.rb +16 -6
- data/urbanopt-scenario-gem.gemspec +10 -12
- metadata +13 -83
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f430f39b9184f46050ae315d4498fcf7290df2fab93eb83e1639121abba7491a
|
4
|
+
data.tar.gz: 064f4da2695d4fe81f28515dce7e68da15590d470789903ce9d6a0f925f9cfcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b190ff1ed4016f43a9d226cc528294de0af82d3d8b181040a9c2f20ff88259d003d206d0bbd4ce983ca394a20c445bb9b85d924d87fab527f0a79f20187f2309
|
7
|
+
data.tar.gz: 4e6d4b70a1200fdad7d575b5f225a232fe1df4d2af3298f72f4b8194e5b7a5e6fc1d7428efca6ddab74e1cb51b4ed141f95c6fd81dd7af664db2e64b07d253e8
|
data/.rubocop.yml
CHANGED
@@ -3,8 +3,7 @@ AllCops:
|
|
3
3
|
- gems/**/*
|
4
4
|
- measures/**/*
|
5
5
|
- spec/files/**/measures/**/*
|
6
|
-
|
6
|
+
require: rubocop-performance
|
7
7
|
|
8
8
|
inherit_from:
|
9
|
-
- http://s3.amazonaws.com/openstudio-resources/styles/
|
10
|
-
|
9
|
+
- http://s3.amazonaws.com/openstudio-resources/styles/rubocop_v4.yml
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# URBANopt Scenario Gem
|
2
2
|
|
3
|
+
## Version 0.6.3
|
4
|
+
Date Range: 07/01/21 - 10/15/21:
|
5
|
+
|
6
|
+
- Fixed [#219]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/219), Add support for REopt
|
7
|
+
results for Electricity Produced in Scenario and Feature visualization
|
8
|
+
|
9
|
+
## Version 0.6.2
|
10
|
+
Date Range: 05/15/21 - 06/30/21:
|
11
|
+
|
12
|
+
- Fixed [#214]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/214 ), update rubocop configs to v4
|
13
|
+
- Fixed [#207]( https://github.com/urbanopt/urbanopt-scenario-gem/pull/207 ), Update Load-Flex measure gem version
|
14
|
+
- Fixed [#215]( https://github.com/urbanopt/urbanopt-scenario-gem/pull/215 ), update rubocop to v4 #214
|
15
|
+
|
16
|
+
## Version 0.6.1
|
17
|
+
Date Range: 04-30-21 - 05/14/21
|
18
|
+
|
19
|
+
- Fixed [#227]( https://github.com/urbanopt/urbanopt-cli/issues/227 ), Runtime error when running urbanopt cli example project
|
20
|
+
|
21
|
+
## Version 0.6.0
|
22
|
+
Date Range: 02/05/21 - 04/29/21
|
23
|
+
|
24
|
+
- Fixed [#198]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/198 ), Update copyrights for 2021
|
25
|
+
- Fixed [#205]( https://github.com/urbanopt/urbanopt-scenario-gem/issues/205 ), Incorrect bundle paths being used in UO project
|
26
|
+
- Updated dependencies for OpenStudio 3.2.0 / Ruby 2.7
|
27
|
+
|
3
28
|
## Version 0.5.1
|
4
29
|
Date Range: 12/15/20 - 02/04/21
|
5
30
|
|
data/Gemfile
CHANGED
@@ -39,11 +39,12 @@ allow_local = ENV['FAVOR_LOCAL_GEMS']
|
|
39
39
|
# end
|
40
40
|
|
41
41
|
# if allow_local && File.exist?('../urbanopt-reporting-gem')
|
42
|
-
#
|
42
|
+
# gem 'urbanopt-reporting', path: '../urbanopt-reporting-gem'
|
43
43
|
# elsif allow_local
|
44
|
-
#
|
44
|
+
# gem 'urbanopt-reporting', github: 'NREL/urbanopt-reporting', branch: 'develop'
|
45
45
|
# end
|
46
46
|
|
47
|
+
|
47
48
|
# if allow_local && File.exist?('../openstudio-load-flexibility-measures-gem')
|
48
49
|
# gem 'openstudio-load-flexibility-measures', path: '../openstudio-load-flexibility-measures-gem'
|
49
50
|
# elseif allow_local
|
data/LICENSE.md
CHANGED
@@ -1,27 +1,39 @@
|
|
1
|
-
|
1
|
+
# License
|
2
|
+
|
3
|
+
URBANopt™, Copyright (c) 2019-2021, Alliance for Sustainable Energy, LLC, and other
|
2
4
|
contributors. All rights reserved.
|
3
5
|
|
4
|
-
Redistribution and use in source and binary forms, with or without modification,
|
6
|
+
Redistribution and use in source and binary forms, with or without modification,
|
5
7
|
are permitted provided that the following conditions are met:
|
6
8
|
|
7
|
-
Redistributions of source code must retain the above copyright notice, this list
|
9
|
+
Redistributions of source code must retain the above copyright notice, this list
|
8
10
|
of conditions and the following disclaimer.
|
9
11
|
|
10
|
-
Redistributions in binary form must reproduce the above copyright notice, this
|
11
|
-
list of conditions and the following disclaimer in the documentation and/or other
|
12
|
+
Redistributions in binary form must reproduce the above copyright notice, this
|
13
|
+
list of conditions and the following disclaimer in the documentation and/or other
|
12
14
|
materials provided with the distribution.
|
13
|
-
|
14
|
-
Neither the name of the copyright holder nor the names of its contributors may be
|
15
|
-
used to endorse or promote products derived from this software without specific
|
15
|
+
|
16
|
+
Neither the name of the copyright holder nor the names of its contributors may be
|
17
|
+
used to endorse or promote products derived from this software without specific
|
16
18
|
prior written permission.
|
17
19
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
Redistribution of this software, without modification, must refer to the software
|
21
|
+
by the same designation. Redistribution of a modified version of this software
|
22
|
+
(i) may not refer to the modified version by the same designation, or by any
|
23
|
+
confusingly similar designation, and (ii) must refer to the underlying software
|
24
|
+
originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
25
|
+
the term “URBANopt”, or any confusingly similar designation may not be used to
|
26
|
+
refer to any modified version of this software or any modified version of the
|
27
|
+
underlying software originally provided by Alliance without the prior written
|
28
|
+
consent of Alliance.
|
29
|
+
|
30
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
31
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
32
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
33
|
+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
34
|
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
35
|
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
36
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
37
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
38
|
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
27
39
|
OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/Rakefile
CHANGED
@@ -1,21 +1,31 @@
|
|
1
1
|
# *********************************************************************************
|
2
|
-
# URBANopt
|
2
|
+
# URBANopt™, Copyright (c) 2019-2021, Alliance for Sustainable Energy, LLC, and other
|
3
3
|
# contributors. All rights reserved.
|
4
|
-
|
4
|
+
|
5
5
|
# Redistribution and use in source and binary forms, with or without modification,
|
6
6
|
# are permitted provided that the following conditions are met:
|
7
|
-
|
7
|
+
|
8
8
|
# Redistributions of source code must retain the above copyright notice, this list
|
9
9
|
# of conditions and the following disclaimer.
|
10
|
-
|
10
|
+
|
11
11
|
# Redistributions in binary form must reproduce the above copyright notice, this
|
12
12
|
# list of conditions and the following disclaimer in the documentation and/or other
|
13
13
|
# materials provided with the distribution.
|
14
|
-
|
14
|
+
|
15
15
|
# Neither the name of the copyright holder nor the names of its contributors may be
|
16
16
|
# used to endorse or promote products derived from this software without specific
|
17
17
|
# prior written permission.
|
18
|
-
|
18
|
+
|
19
|
+
# Redistribution of this software, without modification, must refer to the software
|
20
|
+
# by the same designation. Redistribution of a modified version of this software
|
21
|
+
# (i) may not refer to the modified version by the same designation, or by any
|
22
|
+
# confusingly similar designation, and (ii) must refer to the underlying software
|
23
|
+
# originally provided by Alliance as “URBANopt”. Except to comply with the foregoing,
|
24
|
+
# the term “URBANopt”, or any confusingly similar designation may not be used to
|
25
|
+
# refer to any modified version of this software or any modified version of the
|
26
|
+
# underlying software originally provided by Alliance without the prior written
|
27
|
+
# consent of Alliance.
|
28
|
+
|
19
29
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
20
30
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
21
31
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|