Calliope Model DefinitionΒΆ
Calliope model definition.
-
data_definitions(object): Calliope data definition dictionary.-
-
Any of
-
object: Indexed data schema. Cannot contain additional properties.
-
data: Parameter / lookup value(s). If data is one value, will be applied to all dimension members. If a list, must be same length as the index array. -
dims: Model dimension(s) over which the data is indexed. Must be same length as the sub-arrays ofindex. I.e., ifindexdoes not have any sub-arrays or is simply a single value,dimsmust be of length 1. -
index: Model dimension members to apply the data value(s) to. If an array of arrays, sub-arrays must have same length as number ofdims.
-
-
-
-
data_tables(object): Calliope input data table dictionary.-
^[^_^\d][\w]*$(object): Data table schema. Cannot contain additional properties.-
table(string, required): Absolute or relative filepath. Relative paths are based on the model config file used to initialise the model. -
rows: Names of dimensions defined row-wise. Each name should correspond to a column in your data that contains index items. These columns must be to the left of the columns containing your data. Default:null. -
columns: Names of dimensions defined column-wise. Each name should correspond to a row in your data that contains index items. These rows must be above the rows containing your data. Default:null. -
select: Select one or more index item from a dimension. Selection takes place beforedropandadd_dims, so you can select a single value from a data dimension and then drop the dimension so it doesn't find its way through to the final dataset. Default:null. -
drop: Enables removing rows and/or columns that contain irrelevant data/metadata. These could include comments on the source of the data, the data license, or the parameter units. You can also drop a dimension and then reintroduce it inadd_dims, but with different index items. Default:null. -
add_dims: Data dimensions to add after loading in the array. These allow you to use the same file to assign values to different input/dimension index items (e.g., settingflow_cap_minandflow_cap_maxto the same value), or to add a dimension which would otherwise be a column containing the same information in each row (e.g., assigning the cost class to monetary for a file containing cost data). Default:null. -
rename_dims: Mapping between dimension names in the data table being loaded to equivalent Calliope dimension names. For instance, the "time" column in the data table would need to be mapped to "timesteps":{"time": "timesteps"}. Default:null.-
Any of
-
^[^_^\d][\w]*$(string): Must match pattern:^[^_^\d][\w]*$(Test).
-
-
-
-
-
nodes(object): Calliope Nodes dictionary.-
^[^_^\d][\w]*$(object): Calliope's node dimension schema. Can contain additional properties.-
-
Any of
-
object: Tech-specific data schema. Cannot contain additional properties.
-
data: Parameter / lookup value(s). If data is one value, will be applied to all dimension members. If a list, must be same length as the index array. -
dims: Model dimension(s) over which the data is indexed. Must be same length as the sub-arrays ofindex. I.e., ifindexdoes not have any sub-arrays or is simply a single value,dimsmust be of length 1. -
index: Model dimension members to apply the data value(s) to. If an array of arrays, sub-arrays must have same length as number ofdims.
-
-
-
-
techs: Technologies present at this node. Also allows to override technology data.
-
-
-
techs(object): Calliope Techs dictionary.-
-
Any of
-
object: Calliope's technology dimension schema. Can contain additional properties.
-
-
Any of
-
object: Tech-specific data schema. Cannot contain additional properties.
-
data: Parameter / lookup value(s). If data is one value, will be applied to all dimension members. If a list, must be same length as the index array. -
dims: Model dimension(s) over which the data is indexed. Must be same length as the sub-arrays ofindex. I.e., ifindexdoes not have any sub-arrays or is simply a single value,dimsmust be of length 1. -
index: Model dimension members to apply the data value(s) to. If an array of arrays, sub-arrays must have same length as number ofdims.
-
-
-
-
base_tech: One of the abstract base classes, used to derive specific defaults and to activate technology-specific constraints. Default:null.
-
-
-
-