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
c882d9b5
Commit
c882d9b5
authored
5 years ago
by
Marianna Rottoli
Browse files
Options
Downloads
Patches
Plain Diff
Relaxed prices lower bound only for entrp_frgt_lo.
parent
bb16cbfa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!67
Request to merge the new transport module EDGE-T
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/29_CES_parameters/calibrate/preloop.gms
+30
-4
30 additions, 4 deletions
modules/29_CES_parameters/calibrate/preloop.gms
with
30 additions
and
4 deletions
modules/29_CES_parameters/calibrate/preloop.gms
+
30
−
4
View file @
c882d9b5
...
...
@@ -309,11 +309,37 @@ pm_cesdata(t,regi,in_29,"price") $ (( not ((ord(t) le 1) or (ord(t) eq card(t)))
Display p29_alpha, p29_beta;
*** for entrp_frgt_lo
*** pass on to pm_cesdata and ensure the resulting price is positive
loop (ttot$( ttot.val ge 2005 AND ttot.val lt 2020),
pm_cesdata(ttot,regi_dyn29(regi),
in_29,"price")$(ppf_29(in_29)
)
pm_cesdata(ttot,regi_dyn29(regi),
"entrp_frgt_lo","price"
)
= max(
1e-3,
( pm_cesdata(ttot,regi,"entrp_frgt_lo","price")
+ p29_alpha(regi,"entrp_frgt_lo") + p29_beta(regi,"entrp_frgt_lo") * ttot.val
)
/ 2
);
);
*** Set minimal price for all periods
loop (ttot$( ttot.val ge 2005),
pm_cesdata(ttot,regi_dyn29(regi),"entrp_frgt_lo","price")
= max(
1e-3,
pm_cesdata(ttot,regi,"entrp_frgt_lo","price")
);
);
display "after entrp_frgt_lo smoothening", pm_cesdata;
*** for all other modes
*** pass on to pm_cesdata and ensure the resulting price is positive
loop (ttot$( ttot.val ge 2005 AND ttot.val lt 2020),
pm_cesdata(ttot,regi_dyn29(regi),in_29,"price")$(ppf_29(in_29) AND (NOT sameas(in_29, "entrp_frgt_lo")))
= max(
1e-2,
( pm_cesdata(ttot,regi,in_29,"price")
+ p29_alpha(regi,in_29) + p29_beta(regi,in_29) * ttot.val
)
...
...
@@ -323,14 +349,14 @@ pm_cesdata(t,regi,in_29,"price") $ (( not ((ord(t) le 1) or (ord(t) eq card(t)))
*** Set minimal price for all periods
loop (ttot$( ttot.val ge 2005),
pm_cesdata(ttot,regi_dyn29(regi),in_29,"price")$(ppf_29(in_29))
pm_cesdata(ttot,regi_dyn29(regi),in_29,"price")$(ppf_29(in_29)
AND (NOT sameas(in_29, "entrp_frgt_lo"))
)
= max(
1e-
3
,
1e-
2
,
pm_cesdata(ttot,regi,in_29,"price")
);
);
display "after all but entrp_frgt_lo smoothening", pm_cesdata;
*** Smooth prices for the whole period for elements in or below the putty-clay structure
***Problem if there are several ppfIO_putty below each other, prices are then smoothed twice
...
...
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