-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow downloading curves when Merit is disabled
It no longer makes sense to do a "real" Merit run even on scenarios with the Merit Order disabled due to interactions with Fever (particularly when P2H is present in the scenario). Fever will not be available if Merit was not enable in the scenario. Closes ETENGINE-7
- Loading branch information
Showing
2 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
!!! | ||
%html | ||
%head | ||
%title Merit and time-resolved calculations are not enabled | ||
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/ | ||
:css | ||
body { | ||
background-color: #EFEFEF; | ||
color: #2E2F30; | ||
text-align: center; | ||
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Droid Sans, Arial, sans-serif; | ||
margin: 0; | ||
} | ||
|
||
div.dialog { | ||
width: 95%; | ||
max-width: 43em; | ||
margin: 4em auto 0; | ||
} | ||
|
||
div.dialog > div { | ||
border: 1px solid #bbb; | ||
border-top: #B00100 solid 4px; | ||
background-color: white; | ||
padding: 2em; | ||
} | ||
|
||
h1 { | ||
font-size: 150%; | ||
color: #9C0100; | ||
line-height: 1.5em; | ||
} | ||
|
||
p { | ||
line-height: 1.5; | ||
padding: 0 40px; | ||
} | ||
|
||
p.back { | ||
margin-top: 1.1em; | ||
} | ||
|
||
a { | ||
color: #1975ca; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.back a { | ||
margin-left: -1em; | ||
padding: 10px 15px; | ||
} | ||
|
||
.back a:hover { | ||
background: #1975ca; | ||
color: white; | ||
text-decoration: none; | ||
} | ||
%body | ||
.dialog | ||
%div | ||
%h1 Merit and time-resolved calculations are not enabled | ||
%p | ||
To download curves you must first enable the Merit Order in your | ||
scenario. You can find this option in the settings menu or by | ||
navigating to "Electricity balance" → "Merit order". | ||
%p.back | ||
%a(href="//pro.energytransitionmodel.com" onclick="window.history.back(); return false;" title="Go back") | ||
← Go back |