Skip to content

Commit

Permalink
adding more known issues and notes (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
kflemin authored Oct 6, 2023
1 parent 57ebb93 commit 62c6d30
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
6 changes: 6 additions & 0 deletions _sass/color_schemes/uo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ ul.jk_accordion li.acc input:checked + label::before {transform: rotate(-45deg);
padding: 0.50rem 2rem;
color: white;
}
.important-note-wide {
background-color: #68C3E8;
margin: 0.5rem 1rem;
padding: 0.25rem 1rem;
color: white;
}
.center-img {
display: inline-block;
height: 100%;
Expand Down
17 changes: 17 additions & 0 deletions developer_resources/known_issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ nav_order: 3

### All Versions

1. **Cannot Load Such File -- uo_cli** Ensure that your path on the command line is not within a directory that already has a `Gemfile` in it. If it does, move to a different directory with no Gemfiles and try the commands again. URBANopt cannot be called successfully from a directory containing a `Gemfile`. The error text will look something like this:

```terminal
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- uo_cli (LoadError)
```

1. **CERTIFICATE HAS EXPIRED** You may encounter a 'certificate has expired' error when running REopt™ optimizations. The error text will look something like this:

```bash
Expand Down Expand Up @@ -38,6 +44,15 @@ nav_order: 3

1. **OSAF** Starting with OpenStudio version 3.3.0, major biannual releases of OpenStudio SDK / OpenStudio Analysis Framework (OSAF) will *not* include the URBANopt SDK due to dependency conflicts. URBANopt SDK will be released following the OpenStudio release, and then a patch release of the OSAF will be made that includes the URBANopt dependency. Visit the [Release Instructions](release_instructions.md#openstudio---urbanopt-release-process) page for more details.

1. **Residential HPXML workflow and Non-US Weather Files** This workflow supports only US weather files at this time. If you have a weather file outside of the US, a possible work-around is to add a row to the climate zone lookup file with your weather file's WMO and climate_zone. The file can be found in your project directory under:

```bash
resources/hpxml-resources/HPXMLtoOpenStudio/resources/data/climate_zones.csv
```

### Version 0.7.0 through 0.9.0
1. Residential stochastic schedules are silently failing in UO v0.7.0-v0.9.0 and the default schedules are instead being used. Use version v0.10.0 and above to resolve this issue.

### Version 0.9.1 and below
1. An unpinned ruby dependency has been updated and is causing an issue with running URBANopt projects. If you get an error related to `unicode_normalize` similar to this:
```bash
Expand All @@ -51,6 +66,8 @@ Since this issue is isolated to the files in your project directory, you can als
gem 'addressable', '2.8.1'
```

1. The HPXML detailed functionality introduced in v0.8.0 is broken in version 0.9.0. Use version v0.10.0 and above to resolve this issue.

### Version 0.6.3

1. The REopt assumptions files have the `gcr` field set incorrectly to `1` as a default value and will cause REopt optimizations to fail. The maximum value for this field is `0.99`. This change can be made in the `base_assumptions.json` (1 occurrence) and `multiPV_assumptions.json` (2 occurrences) files found in the `reopt` folder within the project directory.
Expand Down
10 changes: 6 additions & 4 deletions getting_started/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ nav_order: 1
<p>Once the CLI is installed, help is available by typing <code><span class="code-text">uo --help</span></code> from the command line. Detailed help for each command can be found with <code><span class="code-text">uo [the command name] --help</span></code>. The main CLI commands are: <code><span class="code-text">create</span></code>, <code><span class="code-text">run</span></code>, <code><span class="code-text">process</span></code>, <code><span class="code-text">visualize</span></code>, <code><span class="code-text">opendss</span></code>, <code><span class="code-text">rnm</span></code>, <code><span class="code-text">disco</span></code>, and <code><span class="code-text">delete</span></code>.</p>
<p>Before you start, think about the capabilities and analyses you want to utilize and setup your project accordingly. The best way to start is to use the example project made with the CLI. Once you are familiar with the commands you can customize your project.</p>
</div>
<div class="col" style="padding-left:20px;">
<h2 style="padding-bottom:20px;">Important Notes</h2>
<p>Keep the project directory path short to avoid errors related to long paths, especially when running on Windows. For more information on this error, refer to the <a href="../developer_resources/known_issues" class="bold">known issues section</a>.</p>
<p>We recommend calling all URBANopt commands from outside of the project you created, using relative or absolute paths to the relevant files.</p>
<div class="col">
<div class="important-note-wide">
<h2 style="padding-bottom:20px;color:#ffffff;">Important Notes</h2>
<p>All URBANopt commands should be called from outside the project directory you created, using relative or absolute paths to the relevant files. Do not call the CLI or install it in a directory that contains a Gemfile. This will lead to unexpected errors.</p>
<p>Keep the project directory path short to avoid errors related to long paths, especially when running on Windows. For more information on this error, refer to the <a href="../developer_resources/known_issues" class="bold">known issues section</a>.</p>
</div>
<div style="float:right;padding-top:30px;padding-right:20px;"><a href="../resources/definitions" class="btn btn-uo white-text">Definitions</a></div>
<div style="float:right;padding-top:30px;padding-right:20px;"><a href="../resources/tutorials/tutorials" class="btn btn-uo white-text">Tutorial Videos</a></div>
</div>
Expand Down
10 changes: 10 additions & 0 deletions installation/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ nav_order: 6

# Troubleshooting Installation Errors

## Cannot Load such file -- uo_cli

If after installation, you try to use the URBANotp CLI and get an error similar to this:

```terminal
C:/Ruby27-x64/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- uo_cli (LoadError)
```

Ensure that your path on the command line is not within a directory that already has a `Gemfile` in it. If it does, move to a different directory with no Gemfiles and try the commands again. URBANopt cannot be called successfully from a directory containing a `Gemfile`.

## Bundler Installation Error

If you have a secure firewall that prevents **bundler** from installing properly, type the following into the command line:
Expand Down

0 comments on commit 62c6d30

Please sign in to comment.