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
Merge requests
!190
update reporting scripts to incorporate new LCOE output file and plot…
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update reporting scripts to incorporate new LCOE output file and plot…
github/fork/fschreyer/LCOE_report
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Jerome Hilaire
requested to merge
github/fork/fschreyer/LCOE_report
into
develop
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
Created by: fschreyer
Merge once remind library version 36.165.1 installed on cluster.
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
543303c7
1 commit,
4 years ago
2 files
+
12
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
scripts/output/single/LCOEPlot.R
+
9
−
4
Options
@@ -9,22 +9,27 @@ library(lucode)
library
(
remind
)
library
(
lusweave
)
############################# BASIC CONFIGURATION #############################
gdx_name
<-
"fulldata.gdx"
# name of the gdx
if
(
!
exists
(
"source_include"
))
{
#Define arguments that can be read from command line
outputdir
<-
c
(
"C:/work/REMIND_tests/Trunk_latest/output/BAU_Nash
_201
9-0
2-
1
3_1
2.27.58"
);
outputdir
<-
"output/R17IH_SSP2_postIIASA-26
_201
6-1
2-
2
3_1
6.03.23"
# path to the output folder
# path to the output folder
lucode
::
readArgs
(
"outputdir"
)
lucode
::
readArgs
(
"outputdir"
,
"gdx_name"
)
}
gdx
<-
path
(
outputdir
,
gdx_name
)
###############################################################################
# Set mif path
scenNames
<-
getScenNames
(
outputdir
)
mif_path
<-
path
(
outputdir
,
paste
(
"REMIND_LCOE_"
,
scenNames
,
".mif"
,
sep
=
""
))
LCOE_path
<-
path
(
outputdir
,
paste
(
"REMIND_LCOE_"
,
scenNames
,
".csv"
,
sep
=
""
))
reportFile
<-
path
(
outputdir
,
paste
(
"LCOE_Plot_"
,
scenNames
,
".pdf"
,
sep
=
""
))
# run plot LCOE function
plotLCOE
(
mif
_path
)
plotLCOE
(
LCOE
_path
,
gdx
,
fileName
=
reportFile
)
Loading