Specifying the input data #352
Closed
jacob-mannhardt
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why do we have default values and extra parameter files?
The dimensionality of our parameters demands many parameter values to be specified.
Example: Parameter
demand
of 20 energy carriers in 30 nodes in 8760 hours in 15 years demands20 x 30 x 8,760 x 15 = 78,840,000
data points for a single parameter.However, the demand is zero or constant for most carriers, nodes, hours etc. Therefore, we only want to provide those values that are necessary to provide.
What is the general workflow of specifying the input data?
We deploy a three-step procedure to specify the input data:
default_value
in theattributes.json
(see Structure of the attributes.json files #351). This default value will be used for all indices of the parameter.<parameter_name>.csv
, with additional data (see below)<parameter_name>_yearly_variation.csv
(see below)How can data be provided in the csv files for the additional parameter values?
The most straightforward way is to specify all additional indices, for example here for demand:
In this example, the time steps are defined as rows and the nodes as columns. If only a subset of time steps or nodes were given, the values of the remaining indices would be the default value.
The orientation of indices (rows or columns) does not matter. Note that at least one index must be given as rows. We could also provide both indices as rows, e.g.:
Often, we want to keep values constant for one index but specify the values for the other index. As an example, we could have a country-specific demand that is constant for all hours of the year. Or we could have an hourly-dependent demand that is the same for all countries. In both cases, we only want to provide the values for one index. We can achieve this behavior by dropping the constant index.
Node-independent demand:
Time-independent demand:
As before, we can still provide a subset of indices.
How can I vary an hourly-dependent parameter over the years?
Assuming that our demand (hourly-dependent) shall increase by 5% each year in country AT and by 10% in country BE, we can specify this in the
<parameter_name>_yearly_variation.csv
file. This is only relevant for hourly-dependent parameters. The yearly variation is given in relative terms (= multiplier) and applied to the entire time series. Thus, we cannot change the profile of the time series, but we scale it up or down. We first build the annual time series from the default values and the extra .csv file. Then we apply theThe resulting file would look like this:
Beta Was this translation helpful? Give feedback.
All reactions