Detailed grid in the LtmApi - introduction
This section introduces the use of detailed grid functionality (Samnett) in the LtmApi.
The detailed grid functionality implemented in LTM_core is documented in Samnett input file references.
The LtmApi simplifies the process of defining detailed grid models by reducing the amount of required input while preserving the information needed by EMPS. The objective is to make grid modelling as simple as possible without sacrificing physical representation or simulation accuracy.
Prerequisites for detailed grid modelling¶
The following assumptions apply:
A working LtmApi model of an EMPS dataset without detailed grid functionality already exists.
Inter-area connections are defined using DC Lines.
Activation of the detailed grid functionality in the LtmApi¶
The Areas object has a boolean attribute has_detailed_grid. The attribute must be set to true for all areas in the AC-grid. When has_detailed_grid is set to true, the area becomes part of the detailed grid representation. The attribute is used for the following purposes:
Enables generation of detailed grid input files in the run directory.
Includes the area in the detailed grid model.
Defines the pure interconnections used to establish area boundaries in
EFI-SNITT.DAT.Determines the ordering of detailed grid areas required by LTM_core.
Determines the ordering of
dclines, pure interconnections andmonitored_network_elementsas required by LTM_core.
Define AC-grid areas
Four areas in the AC-grid containing detailed grid and two areas outside the AC-grid |
|---|
|
The global_settings object provides two detailed-grid-specific options:
ignore_detailed_gridRuns EMPS without detailed grid functionality even if detailed grid objects are defined. Default value:
false.samnett_grid_validationExecutes the LTM_core detailed grid validation and writes the results to
WLog.txtwithout starting the simulation. Default value:false.
Detailed grid objects¶
The following objects are used to define the detailed grid model. Required objects are shown in bold.
Objects in detailed grid
| Object name | Description |
|---|---|
| run_config | Run configuration options for the simulation |
| busbar | Connection point in the electrical network. Used to distribute load, generation and market resources within an area. |
| monitored_network_element | Defines monitored transmission constraints and transfer capacities between areas. An MNE may represent a single network element or a combination of multiple elements. |
| line | An element connecting two busbars. |
| hvdc_connection | Represents an existing dcline as a HVDC connection within the detailed grid model. |
| two_winding_transformers | Transfers AC power between two busbars and allows voltage transformation between voltage levels. |
| lineoutage | Defines temporary outages of transmission lines. PTDF matrices are recalculated when the grid topology changes. Outages may also modify MNE capacities. |
Recipe for defining the detailed grid¶
Conceptually, a detailed grid model consists of three parts:
The electrical topology, defined by busbars, lines and transformers.
The monitored network flow constraints, defined by monitored network elements (MNEs).
Optional topology modifications such as line outages and HVDC connections.
The workflow described below follows this structure.
Activate detailed grid functionality as described in Activation of the detailed grid functionality in the LtmApi.
Define the simulation settings using the
run_configobject.Define the network topology using
lineandtwo_winding_transformerobjects.Define busbars with non-default load, generation or market-step allocations using
busbarobjects.Define monitored interconnections and transfer limits using
monitored_network_elementobjects.Optionally define HVDC connections using
hvdc_connectionobjects.Optionally define transmission outages using
lineoutageobjects.
Grid validation¶
The LtmApi includes detailed grid validation.
The electrical network must form a single connected topology. Isolated busbars, disconnected subnetworks and missing transmission elements that split the grid into multiple islands are not permitted and will result in validation errors.
LtmApi to EMPS v10¶
The LtmApi automatically generates the detailed grid input files required by EMPS and LTM_core.
Run Config: creates the input file
styredata.nettMonitored Network Element: creates the input files
KOMBSNITT.DATandEFI-SNITT.DAT(in combination with DC Lines)Line, Two Winding Transformer and Busbar creates the files
EFI-FAST.DAT,EFI-PREF.DAT,EFI-VIND.DAT,EFI-PROD1.DATandEFI-PROD2.DATHVDC Connection: creates the input file
EFI-MODRED.DATLine outage: creates the input file
linjerevisjon.csv
