TulipaEnergy / TulipaClustering.jl

Apache License 2.0
4 stars 4 forks source link

Update code to include latest changes in TulipaEnergyModel v0.10.0 #58

Open datejada opened 1 month ago

datejada commented 1 month ago

Description

The multi-year investment add the index year to the profiles data for TulipaEnergyModel v0.10.0.

So, we need to check how those changes affect TulipaClustering. Or show in a example how an user can use TulipaCLustering for multi-year investment profile data.

Validation and testing

No response

Motivation

No response

Target audience

No response

Can you help?

No response

greg-neustroev commented 2 days ago

The outputs now should include years, see the example. The profile_name column comes from assets-profiles.csv, while the year column comes from year-data.csv.

How do we link the two?

greg-neustroev commented 2 days ago

actually this is simpler.

We take a file with columns profile_name, year, period, timestep, value -OR- profile_name, year, timestep, value

It produces the same table, but with period related with rep_period. If there was no period column, we first split the time steps into periods. See profiles-rep-periods.csv for an example of the output table. Additionally, tables rep-periods-data.csv and rep-periods-mapping.csv are produced.

The difference with the existing implementation, is that the unique profile identifier is not profile_name, but a tuple (profile_name, year).