OSeMOSYS / osemosys_global

A global power system model generator for OSeMOSYS
https://osemosys-global.readthedocs.io/
GNU Affero General Public License v3.0
27 stars 17 forks source link

Added timeshift parameter #129

Closed trevorb1 closed 2 years ago

trevorb1 commented 2 years ago

Description

Added a new parameter to the configuration file to manage time offsets.

For example, India has a +6 time offset when compared to the UTC. This means if we set the dayparts to be DP1: 12am->12pm and DP2: 12pm->12am, it will actually be DP1: 6am->6pm and DP2: 6pm->6am.

To allow users to easily correct this, a timeshift parameter has been added to change where the reference time 0 is. If the user selects DP1: 12am->12pm and DP2: 12pm->12am and includes the parameter timeshift: -6, then then dayparts will offset to truly be DP1: 12am->12pm and DP2: 12pm->12am for India.

Issue Ticket Number

closes #128

Documentation

To be documented...

trevorb1 commented 2 years ago

@maartenbrinkerink @abhishek0208 @tniet

I implemented this following our discussion last week about seeing minimal VRE uptake in BBIN, but this didn't fix the issue. Below shows the capacity and generation results for 4 seasons and 2 dayparts (12pm-12am, and 12am-12pm). I stepped through the code to make sure everything looked right, but not sure if anyone else wanted to double check that its just not a code error before merging in (although, I'm pretty sure its not...)

CAPACITY

image

GENERATION

image