Skip to content

Commit

Permalink
derUtilityCost: Added comments to entire code; replaced double quotes…
Browse files Browse the repository at this point in the history
… with singles.
  • Loading branch information
astronobri committed May 27, 2024
1 parent 7a367fb commit 4200679
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 142 deletions.
6 changes: 3 additions & 3 deletions omf/models/derUtilityCost.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
<input type="number" id="analysis_years" name="analysis_years" value="{{allInputDataDict.analysis_years}}" step="1" min="2" max="75" required="required"/>
</div>
<div class="shortInput">
<label class="tooltip">PV<span class="classic">Include PV in DER analysis.</span></label>
<label class="tooltip">Photovoltaic<span class="classic">Include PV in DER analysis?</span></label>
<select id="PV" name="PV" value="{{allInputDataDict.PV}}"/>
<option value="Yes" {{ 'selected' if allInputDataDict.solar == 'Yes' }}>Yes</option>
<option value="No" {{ 'selected' if allInputDataDict.solar == 'No' }}>No</option>
</select>
</div>
<div class="shortInput">
<label class="tooltip">Battery<span class="classic">Include battery energy storage in DER analysis.</span></label>
<label class="tooltip">Battery Energy Storage<span class="classic">Include battery energy storage in DER analysis?</span></label>
<select id="BESS" name="BESS" value="{{allInputDataDict.BESS}}"/>
<option value="Yes" {{ 'selected' if allInputDataDict.BESS == 'Yes' }}>Yes</option>
<option value="No" {{ 'selected' if allInputDataDict.BESS == 'No' }}>No</option>
Expand Down Expand Up @@ -159,7 +159,7 @@
}
}
</script>
<option value="0" {{ 'selected' if allInputDataDict.load_type == '1' }}>None</option>
<option value="0" {{ 'selected' if allInputDataDict.load_type == '0' }}>None</option>
<option value="1" {{ 'selected' if allInputDataDict.load_type == '1' }}>Air Conditioner</option>
<option value="2" {{ 'selected' if allInputDataDict.load_type == '2' }}>Heat Pump</option>
<option value="3" {{ 'selected' if allInputDataDict.load_type == '3' }}>Refrigerator</option>
Expand Down
Loading

0 comments on commit 4200679

Please sign in to comment.