Data reference#
Warning
This reference is work in progress.
FLEDGE scenarios are defined through CSV files, where each CSV file represents a table as defined below (the file name is interpreted as the table name). Internally, FLEDGE loads all CSV files into a local SQLITE database for more convenient processing. The default location for FLEDGE scenario definitions is in the data
directory in the repository and all CSV files in the data
directory are automatically loaded into the database. The CSV files may be structured into sub-directories, but all files are eventually combined into the same database. Hence, all type / element identifiers must be unique across all scenario definitions.
Scenario data#
scenarios
#
Scenario definition.
Column |
Unit |
Description |
---|---|---|
|
Unique scenario identifier. |
|
|
Electric grid identifier as defined |
|
|
Thermal grid identifier as defined |
|
|
Parameter set identifier as defined in |
|
|
Type identifier as defined in |
|
|
$/kWh² |
Price sensitivity coefficient for the quadratic cost terms of DERs / grids. Optional column, which defaults to |
|
Operation limit type as defined in |
|
|
Type identifier as defined in |
|
|
Start timestep in format |
|
|
End timestep in format |
|
|
Time interval in format |
parameters
#
In all tables, a parameter_name
string can be used to define numerical parameters in place of numerical values (identifiers or string values cannot be replaced with parameters). During model setup, those strings will be parsed from the parameters
table to obtain the corresponding numerical values.
Column |
Unit |
Description |
---|---|---|
|
Parameter set identifier. |
|
|
Unique parameter identifier (must only be unique within the associated parameter set). |
|
|
- |
Parameter value. |
price_timeseries
#
Price timeseries.
Column |
Unit |
Description |
---|---|---|
|
Unique type identifier. |
|
|
Timestamp according to ISO 8601. |
|
|
$/kWh |
Price value. Currently, prices / costs are assumed to be in SGD. |
Electric grid data#
electric_grids
#
Electric grid definition.
Column |
Unit |
Description |
---|---|---|
|
Unique electric grid identifier. |
|
|
Source node name as defined in |
|
|
Hz |
Nominal grid frequency. |
|
Single-phase-equivalent modelling flag¹. If |
¹ If single-phase-equivalent modelling is used, all nodes, lines, transformers and DERs must be defined as single-phase elements, i.e., these elements should be connected only to phase 1. However, all power values (DER active / reactive power, transformer apparent power) must be defined as total three-phase power.
electric_grid_ders
#
Distributed energy resources (DERs) in the electric grid. Can define both loads (negative power) and generations (positive power). The corresponding DER models are defined in der_models
. The selection of DER types will be extended in the future.
Column |
Unit |
Description |
---|---|---|
|
Electric grid identifier as defined in |
|
|
Unique DER identifier (must only be unique within the associated electric grid). |
|
|
DER type selector, which determines the type of DER model to be used. Choices: |
|
|
DER model identifier as defined in |
|
|
Node identifier as defined in |
|
|
Selector for connection at phase 1. Choices: |
|
|
Selector for connection at phase 2. Choices: |
|
|
Selector for connection at phase 3. Choices: |
|
|
Selector for Wye / Delta connection. Choices: |
|
|
W |
Nominal active power, where loads are negative and generations are positive. |
|
VAr |
Nominal reactive power, where loads are negative and generations are positive. |
|
In-service selector. Not-in-service grid elements are ignored and not loaded into the model. Choices: |
electric_grid_line_types
#
Electric line type definitions are split into electric_grid_line_types
for the general type definition and electric_grid_line_types_matrices
for the definition of electric characteristics.
Column |
Unit |
Description |
---|---|---|
|
Unique type identifier. |
|
|
- |
Number of phases. |
|
A |
Maximum permissible current (thermal line limit). |
electric_grid_line_types_matrices
#
Electric line characteristics are defined in terms of element property matrices. Note that the matrices are expected to be symmetric and therefore only the lower triangular matrix should be defined. The matrices are defined element-wise (indexed by row / column pairs), to allow definition of single-phase line types alongside multi-phase line types.
Column |
Unit |
Description |
---|---|---|
|
Line type identifier as defined in |
|
|
Element matrix row number (first row is |
|
|
Element matrix column number (first column is |
|
|
Ω/km |
Series resistance matrix entry. |
|
Ω/km |
Series reactance matrix entry. |
|
nF/km |
Shunt capacitance matrix entry. |
electric_grid_lines
#
Electric grid lines.
Column |
Unit |
Description |
---|---|---|
|
Electric grid identifier as defined in |
|
|
Unique line identifier (must only be unique within the associated electric grid). |
|
|
Line type identifier as defined in |
|
|
Start node identifier as defined in |
|
|
End node identifier as defined in |
|
|
Selector for connection at phase 1. Choices: |
|
|
Selector for connection at phase 2. Choices: |
|
|
Selector for connection at phase 3. Choices: |
|
|
km |
Line length. |
|
In-service selector. Not-in-service grid elements are ignored and not loaded into the model. Choices: |
electric_grid_nodes
#
Electric grid nodes.
Column |
Unit |
Description |
---|---|---|
|
Electric grid identifier as defined in |
|
|
Unique node identifier (must only be unique within the associated electric grid). |
|
|
Selector for connection at phase 1. Choices: |
|
|
Selector for connection at phase 2. Choices: |
|
|
Selector for connection at phase 3. Choices: |
|
|
V |
Nominal voltage. |
|
Latitude. |
|
|
Longitude. |
|
|
In-service selector. Not-in-service grid elements are ignored and not loaded into the model. Choices: |
electric_grid_operation_limit_types
#
Operation limit type definition for the electric grid. This information is utilized for the definition of the operational constraints in an optimal operation problem.
Column |
Unit |
Description |
---|---|---|
|
Unique type identifier. |
|
|
- |
Minimum voltage in per unit of the nominal voltage. |
|
- |
Maximum voltage in per unit of the nominal voltage. |
|
- |
Maximum branch flow in per unit of the branch flow at nominal loading conditions. |
electric_grid_transformer_types
#
Transformer type characteristics.
Column |
Unit |
Description |
---|---|---|
|
Unique type identifier. |
|
|
- |
Resistance percentage. |
|
- |
Reactance percentage. |
|
- |
Maximum secondary side tap position. (Currently not used.) |
|
- |
Minimum secondary side tap position. (Currently not used.) |
electric_grid_transformers
#
Electric grid transformers, which are limited to transformers with two windings, where the same number of phases is connected at each winding.
Column |
Unit |
Description |
---|---|---|
|
Electric grid identifier as defined in |
|
|
Unique transformer identifier (must only be unique within the associated electric grid). |
|
|
Transformer type identifier as defined in |
|
|
Primary side node name as defined in |
|
|
Secondary side node name as defined in |
|
|
Selector for connection at phase 1. Choices: |
|
|
Selector for connection at phase 2. Choices: |
|
|
Selector for connection at phase 3. Choices: |
|
|
Selector for Wye / Delta connection. Choices: |
|
|
VA |
Nominal apparent power loading. |
|
In-service selector. Not-in-service grid elements are ignored and not loaded into the model. Choices: |
Thermal grid data#
thermal_grids
#
Thermal grid definition.
Column |
Unit |
Description |
---|---|---|
|
Unique thermal grid identifier. |
|
|
Source node name as defined in |
|
|
- |
Pump efficiency (pump power / electric power) of the secondary side pumps, i.e. the pumps in the distribution system / thermal grid. |
|
m |
Pump pressure head loss in the energy transfer station at each DER. |
|
J/kg |
Enthalpy difference between supply and return side of the distribution water, i.e. the water flowing to the thermal grid. |
|
kg/m³ |
Density of the distribution water. |
|
m²/s |
Kinematic viscosity of the distribution water. |
|
Thermal supply plant type. Currently only |
|
|
Plant model identifier. If plant type |
thermal_grid_ders
#
Distributed energy resources (DERs) in the thermal grid. Can define both loads (negative power) and generations (positive power). The corresponding DER models are defined in der_models
. The selection of DER types will be extended in the future.
Column |
Unit |
Description |
---|---|---|
|
Thermal grid identifier as defined in |
|
|
Unique DER identifier (must only be unique within the associated thermal grid). |
|
|
Node identifier as defined in |
|
|
DER type selector, which determines the type of DER model to be used. Choices: |
|
|
DER model identifier as defined in |
|
|
W |
Nominal thermal power, where loads are negative and generations are positive. |
|
In-service selector. Not-in-service grid elements are ignored and not loaded into the model. Choices: |
thermal_grid_line_types
#
Thermal line types for defining pipe characteristics.
Column |
Unit |
Description |
---|---|---|
|
Unique type identifier. |
|
|
m |
Pipe diameter. |
|
mm |
Absolute roughness of the pipe. |
|
m/s |
Nominal maximum pipe velocity. |
thermal_grid_lines
#
Thermal grid line (pipe) definitions. The definition only includes the supply side piping, as the return side is assumed be symmetric.
Column |
Unit |
Description |
---|---|---|
|
Thermal grid identifier as defined in |
|
|
Unique line identifier (must only be unique within the associated thermal grid). |
|
|
Line type identifier as defined in |
|
|
Start node identifier as defined in |
|
|
End node identifier as defined in |
|
|
km |
Line length. |
|
In-service selector. Not-in-service grid elements are ignored and not loaded into the model. Choices: |
thermal_grid_nodes
#
Thermal grid nodes.
Column |
Unit |
Description |
---|---|---|
|
Thermal grid identifier as defined in |
|
|
Unique node identifier (must only be unique within the associated thermal grid). |
|
|
Latitude. |
|
|
Longitude. |
|
|
In-service selector. Not-in-service grid elements are ignored and not loaded into the model. Choices: |
thermal_grid_operation_limit_types
#
Operation limit type definition for the thermal grid. This information is utilized for the definition of the operational constraints in an optimal operation problem. Note that thermal line limits are currently defined in per unit of the nominal thermal power solution, i.e., the thermal power flow solution for nominal loading conditions as defined in thermal_grid_ders
, but this should be changed in future.
Column |
Unit |
Description |
---|---|---|
|
Unique type identifier. |
|
|
- |
Maximum node head, in per unit of the nominal thermal power solution. |
|
- |
Maximum pipe / branch flow, in per unit of the nominal thermal power solution. |
Distributed energy resource (DER) data#
der_models
#
DER model parameter definitions. This table incorporates the definition of various DER types, which have different characteristics and require a different subset of the columns. See below for a detailed description of each DER type.
Column |
Unit |
Description |
---|---|---|
|
DER type selector. Choices: |
|
|
Unique DER model identifier (must only be unique within the associated DER type). |
|
|
Definition type selector, because most DER types require either additional timeseries / schedule definition¹ or other supplementary parameter definitions from either of the tables |
|
|
Definition identifier, which corresponds to |
|
|
- |
Minimum permitted power (load or generation) in per unit of the nominal power. |
|
- |
Maximum permitted power (load or generation) in per unit of the nominal power. |
|
Minimum permitted power factor. Currently not used. |
|
|
Maximum permitted power factor. Currently not used. |
|
|
h |
Energy storage capacity in per unit of the nominal active or thermal power. For example, nominal power of 1000 W and per-unit energy storage capacity of 3 h correspond to 3000 Wh energy storage capacity. |
|
- |
Energy storage charging efficiency factor. |
|
1/h |
Energy storage self discharge rate. |
|
$/kWh |
Marginal cost of power generation. Currently, prices / costs are assumed to be in SGD. |
For most DER types, the der_models
table is supplemented by timeseries / schedule definitions in the tables der_timeseries
/ der_schedules
or supplementary parameter definitions in der_cooling_plants
based on the columns definition_type
/ definition_name
. Furthermore, each DER type relies on a different subset of columns / parameters in der_models
. The table below outlines the required supplementary definitions for as well as the required columns for each DER type:
DER type |
Description |
Required columns |
Required supplementary definitions |
---|---|---|---|
|
Fixed load, following a fixed demand timeseries. |
|
Timeseries / schedule¹ for nominal active / reactive / thermal power². |
|
Flexible load, following a demand timeseries, but able shift a share of its nominal load, limited by its energy storage capacity. |
|
Timeseries / schedule¹ for nominal active / reactive / thermal power². |
|
Fixed generator, following a fixed generation timeseries. |
|
Timeseries / schedule¹ for nominal active / reactive / thermal power². |
|
Flexible generator, dispatchable within given limits and based on a generation timeseries. |
|
Timeseries / schedule¹ for nominal active / reactive / thermal power². |
|
Fixed EV charger, following a fixed demand timeseries. |
|
Timeseries / schedule¹ for nominal active / reactive / thermal power². |
|
Cooling plant, converts electric power to thermal power, dispatchable with nominal power limits. |
|
Cooling plant parameters according to |
|
Energy storage, can charge / discharge within given limits and based on its energy storage capacity. |
|
N.A. |
The selection of DER types will be extended in the future. Note that the DER type flexible_buildings
is not defined here, instead the model definition is obtained from the Control-oriented Building Model (CoBMo) submodule.
Not all DER types can be connected to all grid types, e.g. fixed_ev_charger
is only available in the electric grid. Refer to electric_grid_ders
/ thermal_grid_ders
to check which DER types can be connected respectively.
¹ For DER types which require the definition of timeseries values, these can be defined either directly as a timeseries or as a schedule, where the latter describes recurring schedules based on weekday / time of day (see der_schedules
).
² Active / reactive / thermal power values can be defined as absolute values or in per unit values. Per unit values are assumed to be in per unit of the nominal active / reactive power as defined electric_grid_ders
/ thermal_grid_ders
. Note that the sign of the active / reactive / thermal power values in the timeseries / schedule definition are ignored and superseded by the sign of the nominal active / reactive / thermal power value as defined in electric_grid_ders
/ thermal_grid_ders
, where positive values are interpreted as generation and negative values as consumption. Additionally, note that der_timeseries
/ der_schedules
only define a single power value for each timestep. Thus, for electric DERs the active power is derived directly based on the value in der_timeseries
/ der_schedules
and the reactive power is calculated from the active power assuming a fixed power factor according to the nominal active / reactive power in electric_grid_ders
.
der_timeseries
#
DER timeseries definition.
Column |
Unit |
Description |
---|---|---|
|
DER model identifier. |
|
|
Timestep in format |
|
|
- |
Power value (absolute or per unit according to |
der_schedules
#
DER schedules definition. The timeseries is constructed by obtaining the appropriate values based on the time_period
in ddTHH:MM
format. Each value is kept constant at the given value for any daytime greater than or equal to HH:MM
and any weekday greater than or equal to dd
until the next defined ddTHH:MM
. Note that the daily schedule is repeated for any weekday greater than or equal to dd
until the next defined dd
. The initial value for each schedule must start at time_period = 01T00:00
.
Column |
Unit |
Description |
---|---|---|
|
DER model identifier. |
|
|
Time period in |
|
|
- |
Power value (absolute or per unit according to |
der_cooling_plants
#
Supplementary cooling plant model parameter definition. The cooling plant model can represent district cooling plants as well as distributed cooling plants. Cooling plants must be connected to both electric and thermal grid, therefore must be defined both in electric_grid_ders
and thermal_grid_ders
.
Column |
Unit |
Description |
---|---|---|
|
DER model identifier (corresponding to |
|
|
Coefficient of performance (COP). |
|
|
- |
Pump efficiency (pump power / electric power) of the primary side pumps, i.e. the pumps within the district cooling plant. |
|
m |
Pump pressure head across the condenser. |
|
m |
Pump pressure head across the evaporator. |
|
- |
Chiller set model beta factor, used to model the chiller efficiency. |
|
K |
Chiller set minimum temperature difference at the condenser, i.e. between the condenser water cycle and chiller refrigerant cycle. |
|
K |
Chiller set evaporation temperature. |
|
W |
Chiller nominal maximum cooling capacity. |
|
K |
Condenser water temperature difference. |
|
J/kg |
Condenser water enthalpy difference. |
|
°C |
Cooling tower set reference temperature for the condenser water, i.e. the temperature at which condenser water leaves the cooling tower. |
|
°C |
Cooling tower set reference temperature for the wet bulb ambient air temperature. |
|
°C |
Cooling tower reference temperature slope, used to model the cooling tower efficiency. |
|
- |
Cooling tower set ventilation factor, used to model the ventilation requirements depending on the condenser water flow. |