Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
remind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jerome Hilaire
remind
Commits
bb220ca5
Commit
bb220ca5
authored
5 years ago
by
Alois Dirnaichner
Browse files
Options
Downloads
Patches
Plain Diff
Add a command line switch to the EDGE_Transport script to save reporting files.
parent
8fd4d1d5
No related branches found
No related tags found
1 merge request
!79
EDGE-T Validation Output - Fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/iterative/EDGE_transport.R
+18
-8
18 additions, 8 deletions
scripts/iterative/EDGE_transport.R
with
18 additions
and
8 deletions
scripts/iterative/EDGE_transport.R
+
18
−
8
View file @
bb220ca5
require
(
data.table
)
require
(
gdx
)
require
(
gdxdt
)
require
(
edgeTrpLib
)
require
(
rmndt
)
library
(
optparse
)
opt_parser
=
OptionParser
(
description
=
"Coupled version of EDGE-T, to be run within a REMIND output folder."
,
option_list
=
list
(
make_option
(
"--reporting"
,
action
=
"store_true"
,
help
=
"Store output files in subfolder EDGE-T"
)));
opt
=
parse_args
(
opt_parser
);
library
(
data.table
)
library
(
gdx
)
library
(
gdxdt
)
library
(
edgeTrpLib
)
library
(
rmndt
)
library
(
moinput
)
## use cached input data for speed purpose
require
(
moinput
)
setConfig
(
forcecache
=
T
)
mapspath
<-
function
(
fname
){
file.path
(
"../../modules/35_transport/edge_esm/input"
,
fname
)
}
...
...
@@ -56,7 +66,7 @@ if (EDGE_scenario == "Conservative_liquids") {
endogeff
<<-
EDGEscenarios
[
options
==
"endogeff"
,
switch
]
enhancedtech
<<-
EDGEscenarios
[
options
==
"enhancedtech"
,
switch
]
rebates_febates
<<-
EDGEscenarios
[
options
==
"rebates_febates"
,
switch
]
##NB THEY ARE ONLY IN PSI! ONLY WORKING IN EUROPE
savetmpinput
<<-
FALSE
savetmpinput
<<-
opt
$
reporting
smartlifestyle
<<-
EDGEscenarios
[
options
==
"smartlifestyle"
,
switch
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment